Searched refs:__ioc (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.h | 220 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) argument 221 #define bfa_ioc_devid(__ioc) ((__ioc)->pcidev.device_id) argument 222 #define bfa_ioc_bar0(__ioc) ((__ioc)->pcidev.pci_bar_kva) argument 223 #define bfa_ioc_portid(__ioc) ((__ioc)->port_id) argument 224 #define bfa_ioc_asic_gen(__ioc) ((__ioc)->asic_gen) argument 225 #define bfa_ioc_is_default(__ioc) \ argument 226 (bfa_ioc_pcifn(__ioc) == bfa_ioc_portid(__ioc)) 227 #define bfa_ioc_speed_sup(__ioc) \ argument 228 BFI_ADAPTER_GETP(SPEED, (__ioc)->attr->adapter_prop) 229 #define bfa_ioc_get_nports(__ioc) \ argument [all …]
|
D | bfa_ioc.c | 20 #define bfa_ioc_firmware_lock(__ioc) \ argument 21 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc)) 22 #define bfa_ioc_firmware_unlock(__ioc) \ argument 23 ((__ioc)->ioc_hwif->ioc_firmware_unlock(__ioc)) 24 #define bfa_ioc_reg_init(__ioc) ((__ioc)->ioc_hwif->ioc_reg_init(__ioc)) argument 25 #define bfa_ioc_map_port(__ioc) ((__ioc)->ioc_hwif->ioc_map_port(__ioc)) argument 26 #define bfa_ioc_notify_fail(__ioc) \ argument 27 ((__ioc)->ioc_hwif->ioc_notify_fail(__ioc)) 28 #define bfa_ioc_sync_start(__ioc) \ argument 29 ((__ioc)->ioc_hwif->ioc_sync_start(__ioc)) [all …]
|
D | bnad_debugfs.c | 246 #define BFA_REG_ADDRSZ(__ioc) \ argument 247 ((u32)(bfa_asic_id_ctc(bfa_ioc_devid(__ioc)) ? \ 249 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) argument
|
D | bfa_ioc_ct.c | 18 #define bfa_ioc_ct_sync_pos(__ioc) BIT(bfa_ioc_pcifn(__ioc)) argument 23 #define bfa_ioc_ct_sync_reqd_pos(__ioc) \ argument 24 (bfa_ioc_ct_sync_pos(__ioc) << BFA_IOC_SYNC_REQD_SH)
|
/linux-6.1.9/drivers/scsi/bfa/ |
D | bfa_ioc.h | 807 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) argument 808 #define bfa_ioc_devid(__ioc) ((__ioc)->pcidev.device_id) argument 809 #define bfa_ioc_bar0(__ioc) ((__ioc)->pcidev.pci_bar_kva) argument 810 #define bfa_ioc_portid(__ioc) ((__ioc)->port_id) argument 811 #define bfa_ioc_asic_gen(__ioc) ((__ioc)->asic_gen) argument 812 #define bfa_ioc_is_cna(__ioc) \ argument 813 ((bfa_ioc_get_type(__ioc) == BFA_IOC_TYPE_FCoE) || \ 814 (bfa_ioc_get_type(__ioc) == BFA_IOC_TYPE_LL)) 815 #define bfa_ioc_fetch_stats(__ioc, __stats) \ argument 816 (((__stats)->drv_stats) = (__ioc)->stats) [all …]
|
D | bfa_ioc.c | 30 #define bfa_ioc_timer_start(__ioc) \ argument 31 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->ioc_timer, \ 32 bfa_ioc_timeout, (__ioc), BFA_IOC_TOV) 33 #define bfa_ioc_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->ioc_timer) argument 35 #define bfa_hb_timer_start(__ioc) \ argument 36 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->hb_timer, \ 37 bfa_ioc_hb_check, (__ioc), BFA_IOC_HB_TOV) 38 #define bfa_hb_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->hb_timer) argument 54 #define bfa_ioc_firmware_lock(__ioc) \ argument 55 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc)) [all …]
|
D | bfad_debugfs.c | 185 #define BFA_REG_ADDRSZ(__ioc) \ argument 186 ((u32)(bfa_asic_id_ctc(bfa_ioc_devid(__ioc)) ? \ 188 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) argument
|
D | bfa_ioc_ct.c | 18 #define bfa_ioc_ct_sync_pos(__ioc) \ argument 19 ((uint32_t) (1 << bfa_ioc_pcifn(__ioc))) 24 #define bfa_ioc_ct_sync_reqd_pos(__ioc) \ argument 25 (bfa_ioc_ct_sync_pos(__ioc) << BFA_IOC_SYNC_REQD_SH)
|
D | bfa_ioc_cb.c | 18 #define bfa_ioc_cb_join_pos(__ioc) ((u32) (1 << BFA_IOC_CB_JOIN_SH)) argument
|