Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/cdx/controller/
Dmcdi.c39 static void cdx_mcdi_start_or_queue(struct cdx_mcdi_iface *mcdi,
41 static void cdx_mcdi_cmd_start_or_queue(struct cdx_mcdi_iface *mcdi,
43 static bool cdx_mcdi_complete_cmd(struct cdx_mcdi_iface *mcdi,
48 static void cdx_mcdi_timeout_cmd(struct cdx_mcdi_iface *mcdi,
71 static void _cdx_mcdi_remove_cmd(struct cdx_mcdi_iface *mcdi, in _cdx_mcdi_remove_cmd() argument
81 ++mcdi->outstanding_cleanups; in _cdx_mcdi_remove_cmd()
86 static void cdx_mcdi_remove_cmd(struct cdx_mcdi_iface *mcdi, in cdx_mcdi_remove_cmd() argument
91 _cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in cdx_mcdi_remove_cmd()
94 if (list_empty(&mcdi->cmd_list)) in cdx_mcdi_remove_cmd()
95 wake_up(&mcdi->cmd_complete_wq); in cdx_mcdi_remove_cmd()
[all …]
Dmcdi.h73 struct cdx_mcdi_data *mcdi; member
124 struct cdx_mcdi_iface *mcdi; member
185 return cdx->mcdi ? &cdx->mcdi->iface : NULL; in cdx_mcdi_if()
DMakefile9 cdx-controller-objs := cdx_controller.o cdx_rpmsg.o mcdi.o mcdi_functions.o
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dmcdi.c64 struct efx_mcdi_iface *mcdi; in efx_siena_mcdi_init() local
68 efx->mcdi = kzalloc(sizeof(*efx->mcdi), GFP_KERNEL); in efx_siena_mcdi_init()
69 if (!efx->mcdi) in efx_siena_mcdi_init()
72 mcdi = efx_mcdi(efx); in efx_siena_mcdi_init()
73 mcdi->efx = efx; in efx_siena_mcdi_init()
76 mcdi->logging_buffer = (char *)__get_free_page(GFP_KERNEL); in efx_siena_mcdi_init()
77 if (!mcdi->logging_buffer) in efx_siena_mcdi_init()
79 mcdi->logging_enabled = efx_siena_mcdi_logging_default; in efx_siena_mcdi_init()
81 init_waitqueue_head(&mcdi->wq); in efx_siena_mcdi_init()
82 init_waitqueue_head(&mcdi->proxy_rx_wq); in efx_siena_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.c1179 struct efx_mcdi_iface *mcdi = efx_mcdi(efx); in mcdi_logging_show() local
1181 return sysfs_emit(buf, "%d\n", mcdi->logging_enabled); in mcdi_logging_show()
1189 struct efx_mcdi_iface *mcdi = efx_mcdi(efx); in mcdi_logging_store() local
1192 mcdi->logging_enabled = enable; in mcdi_logging_store()
Dnet_driver.h1039 struct efx_mcdi_data *mcdi; member
Dptp.c1495 if (efx->mcdi->fn_flags & in efx_ptp_probe()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dmcdi.c62 struct efx_mcdi_iface *mcdi; in efx_mcdi_init() local
66 efx->mcdi = kzalloc(sizeof(*efx->mcdi), GFP_KERNEL); in efx_mcdi_init()
67 if (!efx->mcdi) in efx_mcdi_init()
70 mcdi = efx_mcdi(efx); in efx_mcdi_init()
71 mcdi->efx = efx; in efx_mcdi_init()
74 mcdi->logging_buffer = (char *)__get_free_page(GFP_KERNEL); in efx_mcdi_init()
75 if (!mcdi->logging_buffer) in efx_mcdi_init()
77 mcdi->logging_enabled = mcdi_logging_default; in efx_mcdi_init()
79 init_waitqueue_head(&mcdi->wq); in efx_mcdi_init()
80 init_waitqueue_head(&mcdi->proxy_rx_wq); in efx_mcdi_init()
[all …]
DMakefile6 mcdi.o mcdi_port.o mcdi_port_common.o \
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()
Defx_common.c1160 struct efx_mcdi_iface *mcdi = efx_mcdi(efx); in mcdi_logging_show() local
1162 return sysfs_emit(buf, "%d\n", mcdi->logging_enabled); in mcdi_logging_show()
1170 struct efx_mcdi_iface *mcdi = efx_mcdi(efx); in mcdi_logging_store() local
1173 mcdi->logging_enabled = enable; in mcdi_logging_store()
Def100_netdev.c431 if (efx->mcdi->fn_flags & in ef100_probe_netdev()
Def10.c380 ((efx->mcdi->fn_flags) & in link_control_flag_show()
392 ((efx->mcdi->fn_flags) & in primary_flag_show()
679 efx->mcdi->fn_flags & in efx_ef10_probe()
1693 if (!(efx->mcdi->fn_flags & in efx_ef10_raw_stat_mask()
Dnet_driver.h1073 struct efx_mcdi_data *mcdi; member
Dptp.c1613 if (efx->mcdi->fn_flags & in efx_ptp_probe()
/linux-6.6.21/arch/arm64/boot/dts/mediatek/
Dmt8365.dtsi208 CPU_MCDI: cpu-mcdi {
217 CLUSTER_MCDI: cluster-mcdi {