Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c136 u16 mux_id; in rmnet_newlink() local
149 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_newlink()
156 err = rmnet_vnd_newlink(mux_id, dev, port, real_dev, ep); in rmnet_newlink()
162 hlist_add_head_rcu(&ep->hlnode, &port->muxed_ep[mux_id]); in rmnet_newlink()
189 u8 mux_id; in rmnet_dellink() local
198 mux_id = rmnet_vnd_get_mux(dev); in rmnet_dellink()
200 ep = rmnet_get_endpoint(port, mux_id); in rmnet_dellink()
204 rmnet_vnd_dellink(mux_id, port, ep); in rmnet_dellink()
233 rmnet_vnd_dellink(ep->mux_id, port, ep); in rmnet_force_unassociate_device()
273 u16 mux_id; in rmnet_rtnl_validate() local
[all …]
Drmnet_handlers.c61 u8 mux_id; in __rmnet_map_ingress_handler() local
70 mux_id = RMNET_MAP_GET_MUX_ID(skb); in __rmnet_map_ingress_handler()
74 if (mux_id >= RMNET_MAX_LOGICAL_EP) in __rmnet_map_ingress_handler()
77 ep = rmnet_get_endpoint(port, mux_id); in __rmnet_map_ingress_handler()
126 struct rmnet_port *port, u8 mux_id, in rmnet_map_egress_handler() argument
152 map_header->mux_id = mux_id; in rmnet_map_egress_handler()
211 u8 mux_id; in rmnet_egress_handler() local
218 mux_id = priv->mux_id; in rmnet_egress_handler()
224 if (rmnet_map_egress_handler(skb, port, mux_id, orig_dev)) in rmnet_egress_handler()
Drmnet_map_command.c17 u8 mux_id; in rmnet_map_do_flow_control() local
20 mux_id = RMNET_MAP_GET_MUX_ID(skb); in rmnet_map_do_flow_control()
22 if (mux_id >= RMNET_MAX_LOGICAL_EP) { in rmnet_map_do_flow_control()
27 ep = rmnet_get_endpoint(port, mux_id); in rmnet_map_do_flow_control()
Drmnet_config.h16 u8 mux_id; member
61 u8 mux_id; member
69 struct rmnet_endpoint *rmnet_get_endpoint(struct rmnet_port *port, u8 mux_id);
Drmnet_vnd.c245 ep->mux_id = id; in rmnet_vnd_newlink()
250 priv->mux_id = id; in rmnet_vnd_newlink()
274 return priv->mux_id; in rmnet_vnd_get_mux()
Drmnet_map.h36 (Y)->data)->mux_id)
/Linux-v5.4/drivers/net/usb/
Dqmi_wwan.c69 u8 mux_id; member
75 u8 mux_id; member
107 hdr->mux_id = priv->mux_id; in qmimux_start_xmit()
176 static struct net_device *qmimux_find_dev(struct usbnet *dev, u8 mux_id) in qmimux_find_dev() argument
185 if (priv->mux_id == mux_id) { in qmimux_find_dev()
225 net = qmimux_find_dev(dev, hdr->mux_id); in qmimux_rx_fixup()
266 static int qmimux_register_device(struct net_device *real_dev, u8 mux_id) in qmimux_register_device() argument
279 priv->mux_id = mux_id; in qmimux_register_device()
413 "0x%02x\n", priv->mux_id); in add_mux_show()
423 u8 mux_id; in add_mux_store() local
[all …]
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c307 static int radeon_atpx_switch_disp_mux(struct radeon_atpx *atpx, u16 mux_id) in radeon_atpx_switch_disp_mux() argument
315 input.mux = mux_id; in radeon_atpx_switch_disp_mux()
339 static int radeon_atpx_switch_i2c_mux(struct radeon_atpx *atpx, u16 mux_id) in radeon_atpx_switch_i2c_mux() argument
347 input.mux = mux_id; in radeon_atpx_switch_i2c_mux()
371 static int radeon_atpx_switch_start(struct radeon_atpx *atpx, u16 mux_id) in radeon_atpx_switch_start() argument
379 input.mux = mux_id; in radeon_atpx_switch_start()
403 static int radeon_atpx_switch_end(struct radeon_atpx *atpx, u16 mux_id) in radeon_atpx_switch_end() argument
411 input.mux = mux_id; in radeon_atpx_switch_end()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c336 static int amdgpu_atpx_switch_disp_mux(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_disp_mux() argument
344 input.mux = mux_id; in amdgpu_atpx_switch_disp_mux()
368 static int amdgpu_atpx_switch_i2c_mux(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_i2c_mux() argument
376 input.mux = mux_id; in amdgpu_atpx_switch_i2c_mux()
400 static int amdgpu_atpx_switch_start(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_start() argument
408 input.mux = mux_id; in amdgpu_atpx_switch_start()
432 static int amdgpu_atpx_switch_end(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_end() argument
440 input.mux = mux_id; in amdgpu_atpx_switch_end()
/Linux-v5.4/drivers/clk/tegra/
Dclk-tegra-pmc.c30 int mux_id; member
43 .mux_id = tegra_clk_clk_out_ ##_num ##_mux,\
82 dt_clk = tegra_lookup_dt_id(data->mux_id, tegra_clks); in tegra_pmc_clk_init()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c154 static int nouveau_dsm_switch_mux(acpi_handle handle, int mux_id) in nouveau_dsm_switch_mux() argument
156 mxm_wmi_call_mxmx(mux_id == NOUVEAU_DSM_LED_STAMINA ? MXM_MXDS_ADAPTER_IGD : MXM_MXDS_ADAPTER_0); in nouveau_dsm_switch_mux()
157 mxm_wmi_call_mxds(mux_id == NOUVEAU_DSM_LED_STAMINA ? MXM_MXDS_ADAPTER_IGD : MXM_MXDS_ADAPTER_0); in nouveau_dsm_switch_mux()
158 return nouveau_dsm(handle, NOUVEAU_DSM_LED, mux_id); in nouveau_dsm_switch_mux()
/Linux-v5.4/drivers/pinctrl/freescale/
Dpinctrl-imx1.h24 unsigned int mux_id; member
Dpinctrl-imx1-core.c318 unsigned int mux = pins[i].mux_id; in imx1_pmx_set()
496 grp->pins[i].mux_id = be32_to_cpu(*list++); in imx1_pinctrl_parse_groups()
/Linux-v5.4/include/linux/
Dif_rmnet.h20 u8 mux_id; member
/Linux-v5.4/include/media/drv-intf/
Dexynos-fimc.h74 u16 mux_id; member
/Linux-v5.4/drivers/media/platform/exynos4-is/
Dmedia-dev.c408 pd->mux_id = (endpoint.base.port - 1) & 0x1; in fimc_md_parse_port_node()
953 if (WARN(pdata->mux_id >= CSIS_MAX_ENTITIES, in fimc_md_create_links()
954 "Wrong CSI channel id: %d\n", pdata->mux_id)) in fimc_md_create_links()
957 csis = fmd->csis[pdata->mux_id].sd; in fimc_md_create_links()
974 csi_sensors[pdata->mux_id] = sensor; in fimc_md_create_links()
Dfimc-lite-reg.c214 flite_hw_set_camera_port(dev, si->mux_id); in flite_hw_set_camera_bus()
Dfimc-reg.c684 if (source->mux_id == 0) in fimc_hw_set_camera_type()
708 if (source->mux_id == 0) /* ITU-A, ITU-B: 0, 1 */ in fimc_hw_set_camera_type()