Home
last modified time | relevance | path

Searched refs:bar_entry (Results 1 – 3 of 3) sorted by relevance

/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c42 #define MAX_DIRECT_MW ARRAY_SIZE(((struct ntb_ctrl_regs *)(0))->bar_entry)
227 ctl_val = ioread32(&ctl->bar_entry[bar].ctl); in switchtec_ntb_mw_clr_direct()
229 iowrite32(ctl_val, &ctl->bar_entry[bar].ctl); in switchtec_ntb_mw_clr_direct()
230 iowrite32(0, &ctl->bar_entry[bar].win_size); in switchtec_ntb_mw_clr_direct()
232 iowrite64(sndev->self_partition, &ctl->bar_entry[bar].xlate_addr); in switchtec_ntb_mw_clr_direct()
250 ctl_val = ioread32(&ctl->bar_entry[bar].ctl); in switchtec_ntb_mw_set_direct()
253 iowrite32(ctl_val, &ctl->bar_entry[bar].ctl); in switchtec_ntb_mw_set_direct()
255 &ctl->bar_entry[bar].win_size); in switchtec_ntb_mw_set_direct()
258 &ctl->bar_entry[bar].xlate_addr); in switchtec_ntb_mw_set_direct()
924 ctl_val = ioread32(&ctl->bar_entry[peer_bar].ctl); in config_rsvd_lut_win()
[all …]
/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c565 struct rt2x00_bar_list_entry *bar_entry; in rt2x00queue_bar_check() local
570 bar_entry = kmalloc(sizeof(*bar_entry), GFP_ATOMIC); in rt2x00queue_bar_check()
577 if (!bar_entry) in rt2x00queue_bar_check()
580 bar_entry->entry = entry; in rt2x00queue_bar_check()
581 bar_entry->block_acked = 0; in rt2x00queue_bar_check()
589 memcpy(bar_entry->ra, bar->ra, sizeof(bar->ra)); in rt2x00queue_bar_check()
590 memcpy(bar_entry->ta, bar->ta, sizeof(bar->ta)); in rt2x00queue_bar_check()
591 bar_entry->control = bar->control; in rt2x00queue_bar_check()
592 bar_entry->start_seq_num = bar->start_seq_num; in rt2x00queue_bar_check()
598 list_add_tail_rcu(&bar_entry->list, &rt2x00dev->bar_list); in rt2x00queue_bar_check()
Drt2x00dev.c265 struct rt2x00_bar_list_entry *bar_entry; in rt2x00lib_txdone_bar_status() local
286 list_for_each_entry_rcu(bar_entry, &rt2x00dev->bar_list, list) { in rt2x00lib_txdone_bar_status()
287 if (bar_entry->entry != entry) in rt2x00lib_txdone_bar_status()
292 ret = bar_entry->block_acked; in rt2x00lib_txdone_bar_status()
294 list_del_rcu(&bar_entry->list); in rt2x00lib_txdone_bar_status()
296 kfree_rcu(bar_entry, head); in rt2x00lib_txdone_bar_status()