Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c145 u16 mux_id; in rmnet_newlink() local
158 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_newlink()
165 err = rmnet_vnd_newlink(mux_id, dev, port, real_dev, ep); in rmnet_newlink()
171 hlist_add_head_rcu(&ep->hlnode, &port->muxed_ep[mux_id]); in rmnet_newlink()
198 u8 mux_id; in rmnet_dellink() local
207 mux_id = rmnet_vnd_get_mux(dev); in rmnet_dellink()
209 ep = rmnet_get_endpoint(port, mux_id); in rmnet_dellink()
213 rmnet_vnd_dellink(mux_id, port, ep); in rmnet_dellink()
242 rmnet_vnd_dellink(ep->mux_id, port, ep); in rmnet_force_unassociate_device()
282 u16 mux_id; in rmnet_rtnl_validate() local
[all …]
Drmnet_handlers.c70 u8 mux_id; in __rmnet_map_ingress_handler() local
79 mux_id = RMNET_MAP_GET_MUX_ID(skb); in __rmnet_map_ingress_handler()
83 if (mux_id >= RMNET_MAX_LOGICAL_EP) in __rmnet_map_ingress_handler()
86 ep = rmnet_get_endpoint(port, mux_id); in __rmnet_map_ingress_handler()
135 struct rmnet_port *port, u8 mux_id, in rmnet_map_egress_handler() argument
161 map_header->mux_id = mux_id; in rmnet_map_egress_handler()
220 u8 mux_id; in rmnet_egress_handler() local
227 mux_id = priv->mux_id; in rmnet_egress_handler()
233 if (rmnet_map_egress_handler(skb, port, mux_id, orig_dev)) in rmnet_egress_handler()
Drmnet_map_command.c29 u8 mux_id; in rmnet_map_do_flow_control() local
32 mux_id = RMNET_MAP_GET_MUX_ID(skb); in rmnet_map_do_flow_control()
35 if (mux_id >= RMNET_MAX_LOGICAL_EP) { in rmnet_map_do_flow_control()
40 ep = rmnet_get_endpoint(port, mux_id); in rmnet_map_do_flow_control()
Drmnet_config.h25 u8 mux_id; member
70 u8 mux_id; member
78 struct rmnet_endpoint *rmnet_get_endpoint(struct rmnet_port *port, u8 mux_id);
Drmnet_map.h46 u8 mux_id; member
67 (Y)->data)->mux_id)
Drmnet_vnd.c253 ep->mux_id = id; in rmnet_vnd_newlink()
259 priv->mux_id = id; in rmnet_vnd_newlink()
284 return priv->mux_id; in rmnet_vnd_get_mux()
/Linux-v4.19/drivers/net/usb/
Dqmi_wwan.c70 u8 mux_id; member
76 u8 mux_id; member
106 hdr->mux_id = priv->mux_id; in qmimux_start_xmit()
129 static struct net_device *qmimux_find_dev(struct usbnet *dev, u8 mux_id) in qmimux_find_dev() argument
138 if (priv->mux_id == mux_id) { in qmimux_find_dev()
171 net = qmimux_find_dev(dev, hdr->mux_id); in qmimux_rx_fixup()
201 static int qmimux_register_device(struct net_device *real_dev, u8 mux_id) in qmimux_register_device() argument
214 priv->mux_id = mux_id; in qmimux_register_device()
340 "0x%02x\n", priv->mux_id); in add_mux_show()
350 u8 mux_id; in add_mux_store() local
[all …]
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c308 static int radeon_atpx_switch_disp_mux(struct radeon_atpx *atpx, u16 mux_id) in radeon_atpx_switch_disp_mux() argument
316 input.mux = mux_id; in radeon_atpx_switch_disp_mux()
340 static int radeon_atpx_switch_i2c_mux(struct radeon_atpx *atpx, u16 mux_id) in radeon_atpx_switch_i2c_mux() argument
348 input.mux = mux_id; in radeon_atpx_switch_i2c_mux()
372 static int radeon_atpx_switch_start(struct radeon_atpx *atpx, u16 mux_id) in radeon_atpx_switch_start() argument
380 input.mux = mux_id; in radeon_atpx_switch_start()
404 static int radeon_atpx_switch_end(struct radeon_atpx *atpx, u16 mux_id) in radeon_atpx_switch_end() argument
412 input.mux = mux_id; in radeon_atpx_switch_end()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c337 static int amdgpu_atpx_switch_disp_mux(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_disp_mux() argument
345 input.mux = mux_id; in amdgpu_atpx_switch_disp_mux()
369 static int amdgpu_atpx_switch_i2c_mux(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_i2c_mux() argument
377 input.mux = mux_id; in amdgpu_atpx_switch_i2c_mux()
401 static int amdgpu_atpx_switch_start(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_start() argument
409 input.mux = mux_id; in amdgpu_atpx_switch_start()
433 static int amdgpu_atpx_switch_end(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_end() argument
441 input.mux = mux_id; in amdgpu_atpx_switch_end()
/Linux-v4.19/drivers/clk/tegra/
Dclk-tegra-pmc.c41 int mux_id; member
54 .mux_id = tegra_clk_clk_out_ ##_num ##_mux,\
93 dt_clk = tegra_lookup_dt_id(data->mux_id, tegra_clks); in tegra_pmc_clk_init()
/Linux-v4.19/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-v4.19/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-v4.19/include/media/drv-intf/
Dexynos-fimc.h77 u16 mux_id; member
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dmedia-dev.c412 pd->mux_id = (endpoint.base.port - 1) & 0x1; in fimc_md_parse_port_node()
940 if (WARN(pdata->mux_id >= CSIS_MAX_ENTITIES, in fimc_md_create_links()
941 "Wrong CSI channel id: %d\n", pdata->mux_id)) in fimc_md_create_links()
944 csis = fmd->csis[pdata->mux_id].sd; in fimc_md_create_links()
961 csi_sensors[pdata->mux_id] = sensor; in fimc_md_create_links()
Dfimc-lite-reg.c217 flite_hw_set_camera_port(dev, si->mux_id); in flite_hw_set_camera_bus()
Dfimc-reg.c687 if (source->mux_id == 0) in fimc_hw_set_camera_type()
711 if (source->mux_id == 0) /* ITU-A, ITU-B: 0, 1 */ in fimc_hw_set_camera_type()