Home
last modified time | relevance | path

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

12345

/linux/drivers/crypto/intel/qat/qat_common/
H A 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 …]
H A 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/include/linux/
H A 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/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/kernel/futex/
H A Dfutex.h227 extern void futex_hash_get(struct futex_hash_bucket *hb);
228 extern void futex_hash_put(struct futex_hash_bucket *hb);
234 static inline void futex_hash_get(struct futex_hash_bucket *hb) { } in futex_hash_get() argument
235 static inline void futex_hash_put(struct futex_hash_bucket *hb) { } in futex_hash_put() argument
240 DEFINE_CLASS(hb, struct futex_hash_bucket *,
271 extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key);
344 extern void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb,
351 * @hb: The destination hash bucket
354 * The hb->lock must be held by the caller, and is released here. A call to
363 static inline void futex_queue(struct futex_q *q, struct futex_hash_bucket *hb, in futex_queue() argument
[all …]
H A Dwaitwake.c29 * the hb spinlock can be avoided and simply return. In order for this
147 * the hb->lock. in futex_wake_mark()
172 CLASS(hb, hb)(&key); in futex_wake()
175 if (!futex_hb_waiters_pending(hb)) in futex_wake()
178 spin_lock(&hb->lock); in futex_wake()
180 plist_for_each_entry_safe(this, next, &hb->chain, list) { in futex_wake()
197 spin_unlock(&hb->lock); in futex_wake()
269 CLASS(hb, hb1)(&key1); in futex_wake_op()
270 CLASS(hb, hb in futex_wake_op()
157 struct futex_hash_bucket *hb; futex_wake() local
342 futex_wait_queue(struct futex_hash_bucket * hb,struct futex_q * q,struct hrtimer_sleeper * timeout) futex_wait_queue() argument
415 struct futex_hash_bucket *hb; futex_wait_multiple_setup() local
592 futex_wait_setup(u32 __user * uaddr,u32 val,unsigned int flags,struct futex_q * q,struct futex_hash_bucket ** hb) futex_wait_setup() argument
650 struct futex_hash_bucket *hb; __futex_wait() local
[all...]
H A 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
515 futex_lock_pi_atomic(u32 __user * uaddr,struct futex_hash_bucket * hb,union futex_key * key,struct futex_pi_state ** ps,struct task_struct * task,struct task_struct ** exiting,int set_waiters) futex_lock_pi_atomic() argument
923 struct futex_hash_bucket *hb; futex_lock_pi() local
1117 struct futex_hash_bucket *hb; futex_unlock_pi() local
[all...]
H A Drequeue.c69 * requeue_futex() - Requeue a futex_q from one hb to another
205 * @hb: the hash_bucket of the requeue target futex
218 * 4) Set the q->lock_ptr to the requeue target hb->lock for the case that
227 * Must be called with both q->lock_ptr and hb->lock held.
231 struct futex_hash_bucket *hb) in requeue_pi_wake_futex() argument
244 futex_hash_get(hb); in requeue_pi_wake_futex()
246 q->lock_ptr = &hb->lock; in requeue_pi_wake_futex()
459 CLASS(hb, hb1)(&key1); in futex_requeue()
460 CLASS(hb, hb2)(&key2); in futex_requeue()
698 * @hb: the hash_bucket futex_q was original enqueued on
[all …]
H A Dcore.c158 * @hb: ptr to the private local hash.
163 void futex_hash_get(struct futex_hash_bucket *hb) in futex_hash_get() argument
165 struct futex_private_hash *fph = hb->priv; in futex_hash_get()
172 void futex_hash_put(struct futex_hash_bucket *hb) in futex_hash_put() argument
174 struct futex_private_hash *fph = hb->priv; in futex_hash_put()
305 struct futex_hash_bucket *hb; in futex_hash() local
309 hb = __futex_hash(key, NULL); in futex_hash()
310 fph = hb->priv; in futex_hash()
313 return hb; in futex_hash()
421 struct futex_hash_bucket *hb; in __futex_hash() local
[all …]
/linux/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";
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/kernel/power/
H A Dswap.c233 static void hib_init_batch(struct hib_bio_batch *hb) in hib_init_batch()
235 atomic_set(&hb->count, 0); in hib_init_batch()
236 init_waitqueue_head(&hb->wait); in hib_init_batch()
237 hb->error = BLK_STS_OK; in hib_init_batch()
238 blk_start_plug(&hb->plug); in hib_init_batch()
241 static void hib_finish_batch(struct hib_bio_batch *hb) in hib_finish_batch()
243 blk_finish_plug(&hb->plug); in hib_finish_batch()
248 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io()
263 if (bio->bi_status && !hb->error) in hib_end_io()
264 hb in hib_end_io()
232 hib_init_batch(struct hib_bio_batch * hb) hib_init_batch() argument
240 hib_finish_batch(struct hib_bio_batch * hb) hib_finish_batch() argument
247 struct hib_bio_batch *hb = bio->bi_private; hib_end_io() local
271 hib_submit_io(blk_opf_t opf,pgoff_t page_off,void * addr,struct hib_bio_batch * hb) hib_submit_io() argument
301 hib_wait_io(struct hib_bio_batch * hb) hib_wait_io() argument
380 write_page(void * buf,sector_t offset,struct hib_bio_batch * hb) write_page() argument
453 swap_write_page(struct swap_map_handle * handle,void * buf,struct hib_bio_batch * hb) swap_write_page() argument
555 struct hib_bio_batch hb; save_image() local
700 struct hib_bio_batch hb; save_compressed_image() local
1047 swap_read_page(struct swap_map_handle * handle,void * buf,struct hib_bio_batch * hb) swap_read_page() argument
1096 struct hib_bio_batch hb; load_image() local
1205 struct hib_bio_batch hb; load_compressed_image() local
[all...]
/linux/tools/perf/ui/browsers/
H A 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/Documentation/driver-api/cxl/platform/
H A Dexample-configs.rst10 example-configurations/one-dev-per-hb.rst
11 example-configurations/multi-dev-per-hb.rst
12 example-configurations/hb-interleave.rst
/linux/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/arch/arm/mach-highbank/
H A 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/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/drivers/clk/
H A Dclk-highbank.c285 srnp = of_find_compatible_node(NULL, NULL, "calxeda,hb-sregs"); in hb_clk_init()
314 CLK_OF_DECLARE(hb_pll, "calxeda,hb-pll-clock", hb_pll_init);
320 CLK_OF_DECLARE(hb_a9periph, "calxeda,hb-a9periph-clock", hb_a9periph_init);
326 CLK_OF_DECLARE(hb_a9bus, "calxeda,hb-a9bus-clock", hb_a9bus_init);
332 CLK_OF_DECLARE(hb_emmc, "calxeda,hb-emmc-clock", hb_emmc_init);
/linux/drivers/cxl/
H A Dacpi.c586 static int cxl_get_chbs(struct device *dev, struct acpi_device *hb, in cxl_get_chbs() argument
592 rc = acpi_evaluate_integer(hb->handle, METHOD_NAME__UID, NULL, &uid); in cxl_get_chbs()
622 struct acpi_device *hb = to_cxl_host_bridge(NULL, dev); in get_genport_coordinates() local
625 if (kstrtou32(acpi_device_uid(hb), 0, &uid)) in get_genport_coordinates()
641 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_dport() local
643 if (!hb) in add_host_bridge_dport()
646 rc = cxl_get_chbs(match, hb, &ctx); in add_host_bridge_dport()
662 pci_root = acpi_pci_find_root(hb->handle); in add_host_bridge_dport()
698 struct acpi_device *hb = to_cxl_host_bridge(host, match); in add_host_bridge_uport() local
707 if (!hb) in add_host_bridge_uport()
[all …]
/linux/drivers/misc/bcm-vk/
H A 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/drivers/atm/
H A 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/Documentation/devicetree/bindings/memory-controllers/
H A Dcalxeda-ddr-ctrlr.yaml20 - calxeda,hb-ddr-ctrl
39 compatible = "calxeda,hb-ddr-ctrl";
/linux/Documentation/devicetree/bindings/net/
H A Dcalxeda-xgmac.yaml21 const: calxeda,hb-xgmac
46 compatible = "calxeda,hb-xgmac";
/linux/Documentation/devicetree/bindings/phy/
H A Dcalxeda-combophy.yaml22 const: calxeda,hb-combophy
46 compatible = "calxeda,hb-combophy";
/linux/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()

12345