Searched refs:mcdi (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/cdx/controller/ |
H A D | mcdi.c | 35 static void cdx_mcdi_start_or_queue(struct cdx_mcdi_iface *mcdi, 37 static void cdx_mcdi_cmd_start_or_queue(struct cdx_mcdi_iface *mcdi, 39 static bool cdx_mcdi_complete_cmd(struct cdx_mcdi_iface *mcdi, 44 static void cdx_mcdi_timeout_cmd(struct cdx_mcdi_iface *mcdi, 67 static void _cdx_mcdi_remove_cmd(struct cdx_mcdi_iface *mcdi, in _cdx_mcdi_remove_cmd() argument 77 ++mcdi->outstanding_cleanups; in _cdx_mcdi_remove_cmd() 82 static void cdx_mcdi_remove_cmd(struct cdx_mcdi_iface *mcdi, in cdx_mcdi_remove_cmd() argument 87 _cdx_mcdi_remove_cmd(mcdi, cmd, cleanup_list); in cdx_mcdi_remove_cmd() 90 if (list_empty(&mcdi->cmd_list)) in cdx_mcdi_remove_cmd() 91 wake_up(&mcdi->cmd_complete_wq); in cdx_mcdi_remove_cmd() [all …]
|
H A D | mcdi.h | 73 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()
|
H A D | Makefile | 9 cdx-controller-objs := cdx_controller.o cdx_rpmsg.o mcdi.o mcdi_functions.o
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi.c | 64 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 …]
|
H A D | mcdi.h | 129 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()
|
H A D | Makefile | 6 mcdi.o mcdi_port.o mcdi_port_common.o \
|
H A D | efx_common.c | 1172 struct efx_mcdi_iface *mcdi = efx_mcdi(efx); in mcdi_logging_show() local 1174 return sysfs_emit(buf, "%d\n", mcdi->logging_enabled); in mcdi_logging_show() 1182 struct efx_mcdi_iface *mcdi = efx_mcdi(efx); in mcdi_logging_store() local 1185 mcdi->logging_enabled = enable; in mcdi_logging_store()
|
H A D | ptp.c | 1495 if (efx->mcdi->fn_flags & in efx_ptp_probe()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | Makefile | 6 mcdi.o mcdi_port.o mcdi_port_common.o \
|
H A D | ef100_netdev.c | 431 if (efx->mcdi->fn_flags & in ef100_probe_netdev()
|
H A D | ef10.c | 380 ((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()
|
H A D | ptp.c | 1614 if (efx->mcdi->fn_flags & in efx_ptp_probe()
|