Home
last modified time | relevance | path

Searched refs:hb (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.15/include/linux/
H A Dhdlcdrv.h163 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()
176 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_empty()
177 ret = (hb->rd == hb->wr); in hdlcdrv_hbuf_empty()
190 spin_lock_irqsave(&hb->lock, flags); in hdlcdrv_hbuf_get()
191 if (hb->rd == hb->wr) in hdlcdrv_hbuf_get()
195 val = hb->buf[hb->rd]; in hdlcdrv_hbuf_get()
196 hb->rd = newr; in hdlcdrv_hbuf_get()
212 if (newp != hb->rd) { in hdlcdrv_hbuf_put()
213 hb->buf[hb->wr] = val & 0xffff; in hdlcdrv_hbuf_put()
[all …]
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat_dbgfs.c200 if (!hb) 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()
208 hb->dbgfs.failed = debugfs_create_file("queries_failed", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
210 hb->dbgfs.cfg = debugfs_create_file("config", 0600, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
230 if (!hb) in adf_heartbeat_dbgfs_rm()
234 hb->dbgfs.status = NULL; in adf_heartbeat_dbgfs_rm()
236 hb->dbgfs.sent = NULL; in adf_heartbeat_dbgfs_rm()
238 hb->dbgfs.failed = NULL; in adf_heartbeat_dbgfs_rm()
240 hb->dbgfs.cfg = NULL; in adf_heartbeat_dbgfs_rm()
[all …]
H A Dadf_heartbeat.c224 struct adf_heartbeat *hb; in adf_heartbeat_status() local
238 hb->hb_sent_counter++; in adf_heartbeat_status()
244 hb->hb_failed_counter++; in adf_heartbeat_status()
284 hb = kzalloc(sizeof(*hb), GFP_KERNEL); in adf_heartbeat_init()
285 if (!hb) in adf_heartbeat_init()
290 if (!hb->dma.virt_addr) in adf_heartbeat_init()
303 kfree(hb); in adf_heartbeat_init()
336 if (!hb) in adf_heartbeat_shutdown()
339 if (hb->dma.virt_addr) in adf_heartbeat_shutdown()
341 hb->dma.virt_addr, hb->dma.phy_addr); in adf_heartbeat_shutdown()
[all …]
/linux-6.15/Documentation/devicetree/bindings/clock/
H A 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.15/kernel/futex/
H A Dfutex.h222 struct futex_q *q, struct futex_hash_bucket **hb);
309 __releases(&hb->lock) in futex_queue()
311 __futex_queue(q, hb, task); in futex_queue()
312 spin_unlock(&hb->lock); in futex_queue()
322 static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb) in futex_hb_waiters_inc() argument
325 atomic_inc(&hb->waiters); in futex_hb_waiters_inc()
337 static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb) in futex_hb_waiters_dec() argument
340 atomic_dec(&hb->waiters); in futex_hb_waiters_dec()
344 static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb) in futex_hb_waiters_pending() argument
351 return atomic_read(&hb->waiters); in futex_hb_waiters_pending()
[all …]
H A Dwaitwake.c157 struct futex_hash_bucket *hb; in futex_wake() local
173 hb = futex_hash(&key); in futex_wake()
179 spin_lock(&hb->lock); in futex_wake()
198 spin_unlock(&hb->lock); in futex_wake()
352 futex_queue(q, hb, current); in futex_wait_queue()
415 struct futex_hash_bucket *hb; in futex_wait_multiple_setup() local
454 hb = futex_q_lock(q); in futex_wait_multiple_setup()
467 futex_q_unlock(hb); in futex_wait_multiple_setup()
621 *hb = futex_q_lock(q); in futex_wait_setup()
626 futex_q_unlock(*hb); in futex_wait_setup()
[all …]
H A Dcore.c501 futex_hb_waiters_dec(hb); in __futex_unqueue()
506 __acquires(&hb->lock) in futex_q_lock()
510 hb = futex_hash(&q->key); in futex_q_lock()
522 q->lock_ptr = &hb->lock; in futex_q_lock()
524 spin_lock(&hb->lock); in futex_q_lock()
525 return hb; in futex_q_lock()
529 __releases(&hb->lock) in futex_q_unlock()
531 spin_unlock(&hb->lock); in futex_q_unlock()
965 hb = futex_hash(&key); in exit_pi_state_list()
985 spin_lock(&hb->lock); in exit_pi_state_list()
[all …]
H A Drequeue.c226 struct futex_hash_bucket *hb) in requeue_pi_wake_futex() argument
235 q->lock_ptr = &hb->lock; in requeue_pi_wake_futex()
708 WARN_ON_ONCE(&hb->lock != q->lock_ptr); in handle_early_requeue_pi_wakeup()
714 plist_del(&q->list, &hb->chain); in handle_early_requeue_pi_wakeup()
715 futex_hb_waiters_dec(hb); in handle_early_requeue_pi_wakeup()
772 struct futex_hash_bucket *hb; in futex_wait_requeue_pi() local
817 futex_q_unlock(hb); in futex_wait_requeue_pi()
823 futex_wait_queue(hb, &q, to); in futex_wait_requeue_pi()
828 spin_lock(&hb->lock); in futex_wait_requeue_pi()
829 ret = handle_early_requeue_pi_wakeup(hb, &q, to); in futex_wait_requeue_pi()
[all …]
H A Dpi.c923 struct futex_hash_bucket *hb; in futex_lock_pi() local
942 hb = futex_q_lock(&q); in futex_lock_pi()
966 futex_q_unlock(hb); in futex_lock_pi()
1086 futex_q_unlock(hb); in futex_lock_pi()
1096 futex_q_unlock(hb); in futex_lock_pi()
1117 struct futex_hash_bucket *hb; in futex_unlock_pi() local
1137 hb = futex_hash(&key); in futex_unlock_pi()
1138 spin_lock(&hb->lock); in futex_unlock_pi()
1196 spin_unlock(&hb->lock); in futex_unlock_pi()
1235 spin_unlock(&hb->lock); in futex_unlock_pi()
[all …]
/linux-6.15/kernel/power/
H A Dswap.c237 hb->error = BLK_STS_OK; in hib_init_batch()
266 wake_up(&hb->wait); in hib_end_io()
289 if (hb) { in hib_submit_io()
291 bio->bi_private = hb; in hib_submit_io()
308 wait_event(hb->wait, atomic_read(&hb->count) == 0); in hib_wait_io()
389 if (hb) { in write_page()
560 hib_init_batch(&hb); in save_image()
582 hib_finish_batch(&hb); in save_image()
712 hib_init_batch(&hb); in save_compressed_image()
1110 hib_init_batch(&hb); in load_image()
[all …]
/linux-6.15/arch/arm/boot/dts/calxeda/
H A 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";
175 compatible = "calxeda,hb-pll-clock";
182 compatible = "calxeda,hb-emmc-clock";
204 compatible = "calxeda,hb-xgmac";
211 compatible = "calxeda,hb-xgmac";
218 compatible = "calxeda,hb-combophy";
[all …]
H A Dhighbank.dts108 compatible = "calxeda,hb-ddr-ctrl";
150 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-6.15/tools/perf/ui/browsers/
H A Dhists.c59 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
100 hb->nr_callchain_rows = hist_browser__get_folding(hb); in hist_browser__nr_entries()
111 if (!hb->show_headers) { in hist_browser__update_rows()
1828 if (hb->show_headers) in hist_browser__refresh()
1832 hb->he_selection = NULL; in hist_browser__refresh()
1833 hb->selection = NULL; in hist_browser__refresh()
1919 struct hist_browser *hb; in ui_browser__hists_seek() local
1931 hb->min_pcnt); in ui_browser__hists_seek()
1985 hb->min_pcnt); in ui_browser__hists_seek()
2019 hb->min_pcnt); in ui_browser__hists_seek()
[all …]
/linux-6.15/Documentation/devicetree/bindings/arm/calxeda/
H A Dhb-sregs.yaml4 $id: http://devicetree.org/schemas/arm/calxeda/hb-sregs.yaml#
19 const: calxeda,hb-sregs
36 compatible = "calxeda,hb-sregs";
H A Dl2ecc.yaml19 const: calxeda,hb-sregs-l2-ecc
39 compatible = "calxeda,hb-sregs-l2-ecc";
/linux-6.15/drivers/cxl/
H A Dacpi.c509 static int cxl_get_chbs(struct device *dev, struct acpi_device *hb, in cxl_get_chbs() argument
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()
633 pci_root = acpi_pci_find_root(hb->handle); in add_host_bridge_uport()
[all …]
/linux-6.15/drivers/misc/bcm-vk/
H A Dbcm_vk_msg.c151 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()
185 struct bcm_vk_hb_ctrl *hb = &vk->hb_ctrl; in bcm_vk_hb_init() local
187 INIT_DELAYED_WORK(&hb->work, bcm_vk_hb_poll); in bcm_vk_hb_init()
193 struct bcm_vk_hb_ctrl *hb = &vk->hb_ctrl; in bcm_vk_hb_deinit() local
[all …]
/linux-6.15/drivers/atm/
H A Dnicstar.c203 struct sk_buff *hb; in nicstar_remove_one() local
229 dev_kfree_skb_any(hb); in nicstar_remove_one()
658 struct sk_buff *hb; in ns_init_card() local
660 if (hb == NULL) { in ns_init_card()
838 struct sk_buff *hb; in ns_init_card_error() local
2234 if (hb == NULL) { in dequeue_rx()
2322 vcc->push(vcc, hb); in dequeue_rx()
2612 struct sk_buff *hb; in ns_ioctl() local
2618 if (hb == NULL) in ns_ioctl()
2627 struct sk_buff *hb; in ns_ioctl() local
[all …]
/linux-6.15/Documentation/devicetree/bindings/memory-controllers/
H A Dcalxeda-ddr-ctrlr.yaml20 - calxeda,hb-ddr-ctrl
39 compatible = "calxeda,hb-ddr-ctrl";
/linux-6.15/Documentation/devicetree/bindings/phy/
H A Dcalxeda-combophy.yaml22 const: calxeda,hb-combophy
46 compatible = "calxeda,hb-combophy";
/linux-6.15/drivers/net/phy/
H A Dbcm-phy-ptp.c180 u16 hb[4]; in bcm_ptp_get_framesync_ts() local
184 hb[0] = bcm_phy_read_exp(phydev, HB_REG_0); in bcm_ptp_get_framesync_ts()
185 hb[1] = bcm_phy_read_exp(phydev, HB_REG_1); in bcm_ptp_get_framesync_ts()
186 hb[2] = bcm_phy_read_exp(phydev, HB_REG_2); in bcm_ptp_get_framesync_ts()
187 hb[3] = bcm_phy_read_exp(phydev, HB_REG_3); in bcm_ptp_get_framesync_ts()
192 ts->tv_sec = (hb[3] << 16) | hb[2]; in bcm_ptp_get_framesync_ts()
193 ts->tv_nsec = (hb[1] << 16) | hb[0]; in bcm_ptp_get_framesync_ts()
/linux-6.15/Documentation/devicetree/bindings/net/
H A Dcalxeda-xgmac.yaml21 const: calxeda,hb-xgmac
46 compatible = "calxeda,hb-xgmac";
/linux-6.15/drivers/scsi/
H A Dconstants.c411 enum scsi_host_status hb = host_byte(result); in scsi_hostbyte_string() local
414 if (hb < ARRAY_SIZE(hostbyte_table)) in scsi_hostbyte_string()
415 hb_string = hostbyte_table[hb]; in scsi_hostbyte_string()
/linux-6.15/tools/memory-model/
H A Dlinux-kernel.cat109 let hb = [Marked] ; (ppo | rfe | ((prop \ id) & int)) ; [Marked]
110 acyclic hb as happens-before
117 let pb = prop ; strong-fence ; hb* ; [Marked]
144 let rcu-link = po? ; hb* ; pb* ; prop ; po
169 let rb = prop ; rcu-fence ; hb* ; pb* ; [Marked]
178 * let xb = hb | pb | rb
192 let xbstar = (hb | pb | rb)*
/linux-6.15/Documentation/devicetree/bindings/media/i2c/
H A Dov7670.txt21 - ov7670,pclk-hb-disable: a boolean property to suppress pixel clock output
44 ov7670,pclk-hb-disable;

123