Searched refs:__ioc (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.h | 228 #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 …]
|
D | bfa_ioc.c | 28 #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 …]
|
D | bnad_debugfs.c | 254 #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
|
D | bfa_ioc_ct.c | 26 #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/ |
D | bfa_ioc.h | 810 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) argument 811 #define bfa_ioc_devid(__ioc) ((__ioc)->pcidev.device_id) argument 812 #define bfa_ioc_bar0(__ioc) ((__ioc)->pcidev.pci_bar_kva) argument 813 #define bfa_ioc_portid(__ioc) ((__ioc)->port_id) argument 814 #define bfa_ioc_asic_gen(__ioc) ((__ioc)->asic_gen) argument 815 #define bfa_ioc_is_cna(__ioc) \ argument 816 ((bfa_ioc_get_type(__ioc) == BFA_IOC_TYPE_FCoE) || \ 817 (bfa_ioc_get_type(__ioc) == BFA_IOC_TYPE_LL)) 818 #define bfa_ioc_fetch_stats(__ioc, __stats) \ argument 819 (((__stats)->drv_stats) = (__ioc)->stats) [all …]
|
D | bfa_ioc.c | 37 #define bfa_ioc_timer_start(__ioc) \ argument 38 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->ioc_timer, \ 39 bfa_ioc_timeout, (__ioc), BFA_IOC_TOV) 40 #define bfa_ioc_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->ioc_timer) argument 42 #define bfa_hb_timer_start(__ioc) \ argument 43 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->hb_timer, \ 44 bfa_ioc_hb_check, (__ioc), BFA_IOC_HB_TOV) 45 #define bfa_hb_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->hb_timer) argument 61 #define bfa_ioc_firmware_lock(__ioc) \ argument 62 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc)) [all …]
|
D | bfad_debugfs.c | 196 #define BFA_REG_ADDRSZ(__ioc) \ argument 197 ((u32)(bfa_asic_id_ctc(bfa_ioc_devid(__ioc)) ? \ 199 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) argument
|
D | bfa_ioc_ct.c | 25 #define bfa_ioc_ct_sync_pos(__ioc) \ argument 26 ((uint32_t) (1 << bfa_ioc_pcifn(__ioc))) 31 #define bfa_ioc_ct_sync_reqd_pos(__ioc) \ argument 32 (bfa_ioc_ct_sync_pos(__ioc) << BFA_IOC_SYNC_REQD_SH)
|
D | bfa_ioc_cb.c | 25 #define bfa_ioc_cb_join_pos(__ioc) ((u32) (1 << BFA_IOC_CB_JOIN_SH)) argument
|