Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.h220 #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 …]
Dbfa_ioc.c20 #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 …]
Dbnad_debugfs.c246 #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
Dbfa_ioc_ct.c18 #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/
Dbfa_ioc.h807 #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 …]
Dbfa_ioc.c30 #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 …]
Dbfad_debugfs.c185 #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
Dbfa_ioc_ct.c18 #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)
Dbfa_ioc_cb.c18 #define bfa_ioc_cb_join_pos(__ioc) ((u32) (1 << BFA_IOC_CB_JOIN_SH)) argument