Home
last modified time | relevance | path

Searched refs:mcdi (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmcdi.c63 struct efx_mcdi_iface *mcdi; in efx_mcdi_init() local
67 efx->mcdi = kzalloc(sizeof(*efx->mcdi), GFP_KERNEL); in efx_mcdi_init()
68 if (!efx->mcdi) in efx_mcdi_init()
71 mcdi = efx_mcdi(efx); in efx_mcdi_init()
72 mcdi->efx = efx; in efx_mcdi_init()
75 mcdi->logging_buffer = (char *)__get_free_page(GFP_KERNEL); in efx_mcdi_init()
76 if (!mcdi->logging_buffer) in efx_mcdi_init()
78 mcdi->logging_enabled = mcdi_logging_default; in efx_mcdi_init()
80 init_waitqueue_head(&mcdi->wq); in efx_mcdi_init()
81 init_waitqueue_head(&mcdi->proxy_rx_wq); in efx_mcdi_init()
[all …]
Dmcdi.h129 EFX_WARN_ON_PARANOID(!efx->mcdi); in efx_mcdi()
130 return &efx->mcdi->iface; in efx_mcdi()
136 EFX_WARN_ON_PARANOID(!efx->mcdi); in efx_mcdi_mon()
137 return &efx->mcdi->hwmon; in efx_mcdi_mon()
DMakefile6 mcdi.o mcdi_port.o mcdi_port_common.o \
Defx_common.c1167 struct efx_mcdi_iface *mcdi = efx_mcdi(efx); in show_mcdi_log() local
1169 return scnprintf(buf, PAGE_SIZE, "%d\n", mcdi->logging_enabled); in show_mcdi_log()
1176 struct efx_mcdi_iface *mcdi = efx_mcdi(efx); in set_mcdi_log() local
1179 mcdi->logging_enabled = enable; in set_mcdi_log()
Def10.c380 ((efx->mcdi->fn_flags) & in efx_ef10_show_link_control_flag()
392 ((efx->mcdi->fn_flags) & in efx_ef10_show_primary_flag()
680 efx->mcdi->fn_flags & in efx_ef10_probe()
1680 if (!(efx->mcdi->fn_flags & in efx_ef10_raw_stat_mask()
Dnet_driver.h1037 struct efx_mcdi_data *mcdi; member
Def100_nic.c1155 if (!rc && efx->mcdi->fn_flags & in ef100_probe_main()
Dptp.c1529 if (efx->mcdi->fn_flags & in efx_ptp_probe()