Home
last modified time | relevance | path

Searched refs:__ioc (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.h228 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) argument
229 #define bfa_ioc_devid(__ioc) ((__ioc)->pcidev.device_id) argument
230 #define bfa_ioc_bar0(__ioc) ((__ioc)->pcidev.pci_bar_kva) argument
231 #define bfa_ioc_portid(__ioc) ((__ioc)->port_id) argument
232 #define bfa_ioc_asic_gen(__ioc) ((__ioc)->asic_gen) argument
233 #define bfa_ioc_is_default(__ioc) \ argument
234 (bfa_ioc_pcifn(__ioc) == bfa_ioc_portid(__ioc))
235 #define bfa_ioc_speed_sup(__ioc) \ argument
236 BFI_ADAPTER_GETP(SPEED, (__ioc)->attr->adapter_prop)
237 #define bfa_ioc_get_nports(__ioc) \ argument
[all …]
Dbfa_ioc.c28 #define bfa_ioc_firmware_lock(__ioc) \ argument
29 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc))
30 #define bfa_ioc_firmware_unlock(__ioc) \ argument
31 ((__ioc)->ioc_hwif->ioc_firmware_unlock(__ioc))
32 #define bfa_ioc_reg_init(__ioc) ((__ioc)->ioc_hwif->ioc_reg_init(__ioc)) argument
33 #define bfa_ioc_map_port(__ioc) ((__ioc)->ioc_hwif->ioc_map_port(__ioc)) argument
34 #define bfa_ioc_notify_fail(__ioc) \ argument
35 ((__ioc)->ioc_hwif->ioc_notify_fail(__ioc))
36 #define bfa_ioc_sync_start(__ioc) \ argument
37 ((__ioc)->ioc_hwif->ioc_sync_start(__ioc))
[all …]
Dbnad_debugfs.c254 #define BFA_REG_ADDRSZ(__ioc) \ argument
255 ((u32)(bfa_asic_id_ctc(bfa_ioc_devid(__ioc)) ? \
257 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) argument
Dbfa_ioc_ct.c26 #define bfa_ioc_ct_sync_pos(__ioc) BIT(bfa_ioc_pcifn(__ioc)) argument
31 #define bfa_ioc_ct_sync_reqd_pos(__ioc) \ argument
32 (bfa_ioc_ct_sync_pos(__ioc) << BFA_IOC_SYNC_REQD_SH)
/drivers/scsi/bfa/
Dbfa_ioc.h815 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) argument
816 #define bfa_ioc_devid(__ioc) ((__ioc)->pcidev.device_id) argument
817 #define bfa_ioc_bar0(__ioc) ((__ioc)->pcidev.pci_bar_kva) argument
818 #define bfa_ioc_portid(__ioc) ((__ioc)->port_id) argument
819 #define bfa_ioc_asic_gen(__ioc) ((__ioc)->asic_gen) argument
820 #define bfa_ioc_is_cna(__ioc) \ argument
821 ((bfa_ioc_get_type(__ioc) == BFA_IOC_TYPE_FCoE) || \
822 (bfa_ioc_get_type(__ioc) == BFA_IOC_TYPE_LL))
823 #define bfa_ioc_fetch_stats(__ioc, __stats) \ argument
824 (((__stats)->drv_stats) = (__ioc)->stats)
[all …]
Dbfa_ioc.c38 #define bfa_ioc_timer_start(__ioc) \ argument
39 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->ioc_timer, \
40 bfa_ioc_timeout, (__ioc), BFA_IOC_TOV)
41 #define bfa_ioc_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->ioc_timer) argument
43 #define bfa_hb_timer_start(__ioc) \ argument
44 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->hb_timer, \
45 bfa_ioc_hb_check, (__ioc), BFA_IOC_HB_TOV)
46 #define bfa_hb_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->hb_timer) argument
62 #define bfa_ioc_firmware_lock(__ioc) \ argument
63 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc))
[all …]
Dbfad_debugfs.c197 #define BFA_REG_ADDRSZ(__ioc) \ argument
198 ((u32)(bfa_asic_id_ctc(bfa_ioc_devid(__ioc)) ? \
200 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) argument
Dbfa_ioc_ct.c26 #define bfa_ioc_ct_sync_pos(__ioc) \ argument
27 ((uint32_t) (1 << bfa_ioc_pcifn(__ioc)))
32 #define bfa_ioc_ct_sync_reqd_pos(__ioc) \ argument
33 (bfa_ioc_ct_sync_pos(__ioc) << BFA_IOC_SYNC_REQD_SH)
Dbfa_ioc_cb.c26 #define bfa_ioc_cb_join_pos(__ioc) ((u32) (1 << BFA_IOC_CB_JOIN_SH)) argument