Home
last modified time | relevance | path

Searched full:hb (Results 1 – 25 of 156) sorted by relevance

1234567

/linux-6.14.4/drivers/crypto/intel/qat/qat_common/
Dadf_heartbeat_dbgfs.c127 * On 4xxx devices adf_timer is responsible for HB updates and in adf_hb_cfg_write()
198 struct adf_heartbeat *hb = accel_dev->heartbeat; in adf_heartbeat_dbgfs_add() local
200 if (!hb) in adf_heartbeat_dbgfs_add()
203 hb->dbgfs.base_dir = debugfs_create_dir("heartbeat", accel_dev->debugfs_dir); in adf_heartbeat_dbgfs_add()
204 hb->dbgfs.status = debugfs_create_file("status", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
206 hb->dbgfs.sent = debugfs_create_file("queries_sent", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
207 &hb->hb_sent_counter, &adf_hb_stats_fops); in adf_heartbeat_dbgfs_add()
208 hb->dbgfs.failed = debugfs_create_file("queries_failed", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
209 &hb->hb_failed_counter, &adf_hb_stats_fops); in adf_heartbeat_dbgfs_add()
210 hb->dbgfs.cfg = debugfs_create_file("config", 0600, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
[all …]
Dadf_heartbeat.c33 "HB polling too frequent. Configured HB timer %d ms\n", in adf_hb_check_polling_freq()
87 /* fill hb stats memory with pattern */ in adf_heartbeat_check_ctrs()
117 * On 4xxx devices adf_timer is responsible for HB updates and in get_timer_ticks()
224 struct adf_heartbeat *hb; in adf_heartbeat_status() local
237 hb = accel_dev->heartbeat; in adf_heartbeat_status()
238 hb->hb_sent_counter++; in adf_heartbeat_status()
244 hb->hb_failed_counter++; in adf_heartbeat_status()
258 /* HB clock may be different than AE clock */ in adf_heartbeat_ms_to_ticks()
282 struct adf_heartbeat *hb; in adf_heartbeat_init() local
284 hb = kzalloc(sizeof(*hb), GFP_KERNEL); in adf_heartbeat_init()
[all …]
/linux-6.14.4/include/linux/
Dhdlcdrv.h158 static inline int hdlcdrv_hbuf_full(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_full() argument
163 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_full()
164 ret = !((HDLCDRV_HDLCBUFFER - 1 + hb->rd - hb->wr) % HDLCDRV_HDLCBUFFER); in hdlcdrv_hbuf_full()
165 spin_unlock_irqrestore(&hb->lock, flags); in hdlcdrv_hbuf_full()
171 static inline int hdlcdrv_hbuf_empty(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_empty() argument
176 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_empty()
177 ret = (hb->rd == hb->wr); in hdlcdrv_hbuf_empty()
178 spin_unlock_irqrestore(&hb->lock, flags); in hdlcdrv_hbuf_empty()
184 static inline unsigned short hdlcdrv_hbuf_get(struct hdlcdrv_hdlcbuffer *hb) in hdlcdrv_hbuf_get() argument
190 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_get()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/clock/
Dcalxeda.yaml13 "hb-sregs" node.
24 - calxeda,hb-pll-clock
25 - calxeda,hb-a9periph-clock
26 - calxeda,hb-a9bus-clock
27 - calxeda,hb-emmc-clock
46 compatible = "calxeda,hb-sregs";
61 compatible = "calxeda,hb-pll-clock";
68 compatible = "calxeda,hb-pll-clock";
75 compatible = "calxeda,hb-a9periph-clock";
/linux-6.14.4/arch/arm/boot/dts/calxeda/
Decx-common.dtsi26 compatible = "calxeda,hb-ahci";
39 compatible = "calxeda,hb-sdhci";
132 compatible = "calxeda,hb-sregs";
147 compatible = "calxeda,hb-pll-clock";
154 compatible = "calxeda,hb-pll-clock";
161 compatible = "calxeda,hb-a9periph-clock";
168 compatible = "calxeda,hb-a9bus-clock";
175 compatible = "calxeda,hb-pll-clock";
182 compatible = "calxeda,hb-emmc-clock";
204 compatible = "calxeda,hb-xgmac";
[all …]
/linux-6.14.4/kernel/futex/
Dfutex.h222 struct futex_q *q, struct futex_hash_bucket **hb);
223 extern void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q,
229 extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);
288 extern void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb,
295 * @hb: The destination hash bucket
298 * The hb->lock must be held by the caller, and is released here. A call to
307 static inline void futex_queue(struct futex_q *q, struct futex_hash_bucket *hb, in futex_queue() argument
309 __releases(&hb->lock) in futex_queue()
311 __futex_queue(q, hb, task); in futex_queue()
312 spin_unlock(&hb->lock); in futex_queue()
[all …]
Dwaitwake.c29 * the hb spinlock can be avoided and simply return. In order for this
147 * the hb->lock. in futex_wake_mark()
157 struct futex_hash_bucket *hb; in futex_wake() local
173 hb = futex_hash(&key); in futex_wake()
176 if (!futex_hb_waiters_pending(hb)) in futex_wake()
179 spin_lock(&hb->lock); in futex_wake()
181 plist_for_each_entry_safe(this, next, &hb->chain, list) { in futex_wake()
198 spin_unlock(&hb->lock); in futex_wake()
338 * @hb: the futex hash bucket, must be locked by the caller
342 void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q, in futex_wait_queue() argument
[all …]
Dpi.c166 * hb->lock:
168 * hb -> futex_q, relation
171 * (cannot be raw because hb can contain arbitrary amount
192 * hb->lock
218 * We get here with hb->lock held, and having found a in attach_to_pi_state()
220 * has dropped the hb->lock in between futex_queue() and futex_unqueue_pi(), in attach_to_pi_state()
383 * This creates pi_state, we have hb->lock held, this means nothing can in __attach_to_pi_owner()
494 * @hb: the pi futex hash bucket
495 * @key: the futex key associated with uaddr and hb
509 * The hb->lock must be held by the caller.
[all …]
Drequeue.c69 * requeue_futex() - Requeue a futex_q from one hb to another
200 * @hb: the hash_bucket of the requeue target futex
213 * 4) Set the q->lock_ptr to the requeue target hb->lock for the case that
222 * Must be called with both q->lock_ptr and hb->lock held.
226 struct futex_hash_bucket *hb) in requeue_pi_wake_futex() argument
235 q->lock_ptr = &hb->lock; in requeue_pi_wake_futex()
685 * @hb: the hash_bucket futex_q was original enqueued on
695 int handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb, in handle_early_requeue_pi_wakeup() argument
702 * With the hb lock held, we avoid races while we process the wakeup. in handle_early_requeue_pi_wakeup()
703 * We only need to hold hb (and not hb2) to ensure atomicity as the in handle_early_requeue_pi_wakeup()
[all …]
Dcore.c438 * @hb: the hash bucket the futex_q's reside in
441 * Must be called with the hb lock held.
443 struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) in futex_top_waiter() argument
447 plist_for_each_entry(this, &hb->chain, list) { in futex_top_waiter()
493 struct futex_hash_bucket *hb; in __futex_unqueue() local
499 hb = container_of(q->lock_ptr, struct futex_hash_bucket, lock); in __futex_unqueue()
500 plist_del(&q->list, &hb->chain); in __futex_unqueue()
501 futex_hb_waiters_dec(hb); in __futex_unqueue()
506 __acquires(&hb->lock) in futex_q_lock()
508 struct futex_hash_bucket *hb; in futex_q_lock() local
[all …]
/linux-6.14.4/kernel/power/
Dswap.c232 static void hib_init_batch(struct hib_bio_batch *hb) in hib_init_batch() argument
234 atomic_set(&hb->count, 0); in hib_init_batch()
235 init_waitqueue_head(&hb->wait); in hib_init_batch()
236 hb->error = BLK_STS_OK; in hib_init_batch()
237 blk_start_plug(&hb->plug); in hib_init_batch()
240 static void hib_finish_batch(struct hib_bio_batch *hb) in hib_finish_batch() argument
242 blk_finish_plug(&hb->plug); in hib_finish_batch()
247 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io() local
262 if (bio->bi_status && !hb->error) in hib_end_io()
263 hb->error = bio->bi_status; in hib_end_io()
[all …]
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/mvm/tests/
Dlinks.c93 .desc = "HB, RSSI above range, no factors",
102 .desc = "HB, BSS Load IE (20 percent), inactive link, no puncturing factor",
133 { .desc = "HB, 80 MHz, no channel load factor, punctured percentage 0",
142 { .desc = "HB, 160 MHz, no channel load factor, punctured percentage 25",
160 { .desc = "HB, 160 MHz, channel load 20, channel load by us 10, punctured percentage 25",
256 .desc = "HB + UHB, valid.",
262 .desc = "LB + HB, no BT.",
268 .desc = "LB + HB, with BT.",
343 .desc = "RSSI: HB, 160 MHz, high",
/linux-6.14.4/tools/perf/ui/browsers/
Dhists.c52 static void hist_browser__update_nr_entries(struct hist_browser *hb);
57 static bool hist_browser__has_filter(struct hist_browser *hb) in hist_browser__has_filter() argument
59 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
80 static void hist_browser__set_title_space(struct hist_browser *hb) in hist_browser__set_title_space() argument
82 struct ui_browser *browser = &hb->b; in hist_browser__set_title_space()
83 struct hists *hists = hb->hists; in hist_browser__set_title_space()
86 browser->extra_title_lines = hb->show_headers ? hpp_list->nr_header_lines : 0; in hist_browser__set_title_space()
89 static u32 hist_browser__nr_entries(struct hist_browser *hb) in hist_browser__nr_entries() argument
94 nr_entries = hb->nr_hierarchy_entries; in hist_browser__nr_entries()
95 else if (hist_browser__has_filter(hb)) in hist_browser__nr_entries()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/arm/calxeda/
Dhb-sregs.yaml4 $id: http://devicetree.org/schemas/arm/calxeda/hb-sregs.yaml#
19 const: calxeda,hb-sregs
36 compatible = "calxeda,hb-sregs";
Dl2ecc.yaml19 const: calxeda,hb-sregs-l2-ecc
39 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-6.14.4/arch/arm/mach-highbank/
Dhighbank.c78 if (of_device_is_compatible(dev->of_node, "calxeda,hb-ahci")) in highbank_platform_notifier()
80 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-sdhci")) in highbank_platform_notifier()
84 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-xgmac")) { in highbank_platform_notifier()
142 np = of_find_compatible_node(NULL, NULL, "calxeda,hb-sregs"); in highbank_init()
/linux-6.14.4/tools/memory-model/
Dlinux-kernel.cat99 let hb = [Marked] ; (ppo | rfe | ((prop \ id) & int)) ; [Marked]
100 acyclic hb as happens-before
107 let pb = prop ; strong-fence ; hb* ; [Marked]
134 let rcu-link = po? ; hb* ; pb* ; prop ; po
159 let rb = prop ; rcu-fence ; hb* ; pb* ; [Marked]
168 * let xb = hb | pb | rb
182 let xbstar = (hb | pb | rb)*
/linux-6.14.4/drivers/cxl/
Dacpi.c509 static int cxl_get_chbs(struct device *dev, struct acpi_device *hb, in cxl_get_chbs() argument
515 rc = acpi_evaluate_integer(hb->handle, METHOD_NAME__UID, NULL, &uid); in cxl_get_chbs()
545 struct acpi_device *hb = to_cxl_host_bridge(NULL, dev); in get_genport_coordinates() local
548 if (kstrtou32(acpi_device_uid(hb), 0, &uid)) in get_genport_coordinates()
564 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_dport() local
566 if (!hb) in add_host_bridge_dport()
569 rc = cxl_get_chbs(match, hb, &ctx); in add_host_bridge_dport()
585 pci_root = acpi_pci_find_root(hb->handle); in add_host_bridge_dport()
621 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_uport() local
630 if (!hb) in add_host_bridge_uport()
[all …]
/linux-6.14.4/drivers/clk/
Dclk-highbank.c281 srnp = of_find_compatible_node(NULL, NULL, "calxeda,hb-sregs"); in hb_clk_init()
310 CLK_OF_DECLARE(hb_pll, "calxeda,hb-pll-clock", hb_pll_init);
316 CLK_OF_DECLARE(hb_a9periph, "calxeda,hb-a9periph-clock", hb_a9periph_init);
322 CLK_OF_DECLARE(hb_a9bus, "calxeda,hb-a9bus-clock", hb_a9bus_init);
328 CLK_OF_DECLARE(hb_emmc, "calxeda,hb-emmc-clock", hb_emmc_init);
/linux-6.14.4/Documentation/devicetree/bindings/memory-controllers/
Dcalxeda-ddr-ctrlr.yaml20 - calxeda,hb-ddr-ctrl
39 compatible = "calxeda,hb-ddr-ctrl";
/linux-6.14.4/drivers/misc/bcm-vk/
Dbcm_vk_msg.c143 struct bcm_vk_hb_ctrl *hb = container_of(to_delayed_work(work), struct bcm_vk_hb_ctrl, in bcm_vk_hb_poll() local
145 struct bcm_vk *vk = container_of(hb, struct bcm_vk, hb_ctrl); in bcm_vk_hb_poll()
151 if (uptime_s == hb->last_uptime) in bcm_vk_hb_poll()
152 hb->lost_cnt++; in bcm_vk_hb_poll()
154 hb->lost_cnt = 0; in bcm_vk_hb_poll()
157 hb->last_uptime, uptime_s, hb->lost_cnt); in bcm_vk_hb_poll()
164 hb->last_uptime = uptime_s; in bcm_vk_hb_poll()
167 hb->lost_cnt = 0; in bcm_vk_hb_poll()
171 if (hb->lost_cnt > BCM_VK_HB_LOST_MAX) { in bcm_vk_hb_poll()
180 schedule_delayed_work(&hb->work, BCM_VK_HB_TIMER_VALUE); in bcm_vk_hb_poll()
[all …]
/linux-6.14.4/drivers/atm/
Dnicstar.c203 struct sk_buff *hb; in nicstar_remove_one() local
228 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) { in nicstar_remove_one()
229 dev_kfree_skb_any(hb); in nicstar_remove_one()
658 struct sk_buff *hb; in ns_init_card() local
659 hb = __dev_alloc_skb(NS_HBUFSIZE, GFP_KERNEL); in ns_init_card()
660 if (hb == NULL) { in ns_init_card()
668 NS_PRV_BUFTYPE(hb) = BUF_NONE; in ns_init_card()
669 skb_queue_tail(&card->hbpool.queue, hb); in ns_init_card()
838 struct sk_buff *hb; in ns_init_card_error() local
839 while ((hb = skb_dequeue(&card->hbpool.queue)) != NULL) in ns_init_card_error()
[all …]
/linux-6.14.4/drivers/iio/temperature/
Dmlx90635.c38 #define MLX90635_EE_Hb 0x0020 /* Hb customer calib value reg 16bit */
313 s16 *Ga, s16 *Gb, s16 *Ha, s16 *Hb, u16 *Fa_scale) in mlx90635_read_ee_object() argument
338 *Hb = (s16)read_tmp; in mlx90635_read_ee_object()
523 s16 Ha, s16 Hb, u16 emissivity) in mlx90635_calc_temp_object_iteration() argument
529 Hb_customer = ((s64)Hb * 100) >> 10ULL; in mlx90635_calc_temp_object_iteration()
556 s16 Ga, u32 Fa, u16 Fa_scale, s16 Fb, s16 Ha, s16 Hb, in mlx90635_calc_temp_object() argument
571 Ga, Fa, Fa_scale, Fb, Ha, Hb, in mlx90635_calc_temp_object()
580 s16 Fb, Ga, Gb, Ha, Hb; in mlx90635_calc_object() local
586 ret = mlx90635_read_ee_object(data->regmap_ee, &Ea, &Eb, &Fa, &Fb, &Ga, &Gb, &Ha, &Hb, &Fa_scale); in mlx90635_calc_object()
603 Ha, Hb, data->emissivity); in mlx90635_calc_object()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/phy/
Dcalxeda-combophy.yaml22 const: calxeda,hb-combophy
46 compatible = "calxeda,hb-combophy";
/linux-6.14.4/Documentation/devicetree/bindings/net/
Dcalxeda-xgmac.yaml21 const: calxeda,hb-xgmac
46 compatible = "calxeda,hb-xgmac";

1234567