Home
last modified time | relevance | path

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

/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c125 u16 mux_id; in rmnet_newlink() local
142 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_newlink()
149 err = rmnet_vnd_newlink(mux_id, dev, port, real_dev, ep, extack); in rmnet_newlink()
160 hlist_add_head_rcu(&ep->hlnode, &port->muxed_ep[mux_id]); in rmnet_newlink()
176 rmnet_vnd_dellink(mux_id, port, ep); in rmnet_newlink()
190 u8 mux_id = priv->mux_id; in rmnet_dellink() local
204 ep = rmnet_get_endpoint(real_port, mux_id); in rmnet_dellink()
207 rmnet_vnd_dellink(mux_id, real_port, ep); in rmnet_dellink()
232 rmnet_vnd_dellink(ep->mux_id, port, ep); in rmnet_force_unassociate_device()
274 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()
219 u8 mux_id; in rmnet_egress_handler() local
226 mux_id = priv->mux_id; in rmnet_egress_handler()
232 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
62 u8 mux_id; member
70 struct rmnet_endpoint *rmnet_get_endpoint(struct rmnet_port *port, u8 mux_id);
Drmnet_map.h36 (Y)->data)->mux_id)
Drmnet_vnd.c277 ep->mux_id = id; in rmnet_vnd_newlink()
282 priv->mux_id = id; in rmnet_vnd_newlink()
/drivers/net/usb/
Dqmi_wwan.c68 u8 mux_id; member
74 u8 mux_id; member
106 hdr->mux_id = priv->mux_id; in qmimux_start_xmit()
153 static struct net_device *qmimux_find_dev(struct usbnet *dev, u8 mux_id) in qmimux_find_dev() argument
162 if (priv->mux_id == mux_id) { in qmimux_find_dev()
202 net = qmimux_find_dev(dev, hdr->mux_id); in qmimux_rx_fixup()
243 static int qmimux_register_device(struct net_device *real_dev, u8 mux_id) in qmimux_register_device() argument
256 priv->mux_id = mux_id; in qmimux_register_device()
393 "0x%02x\n", priv->mux_id); in add_mux_show()
403 u8 mux_id; in add_mux_store() local
[all …]
/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()
/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()
/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c153 static int nouveau_dsm_switch_mux(acpi_handle handle, int mux_id) in nouveau_dsm_switch_mux() argument
155 mxm_wmi_call_mxmx(mux_id == NOUVEAU_DSM_LED_STAMINA ? MXM_MXDS_ADAPTER_IGD : MXM_MXDS_ADAPTER_0); in nouveau_dsm_switch_mux()
156 mxm_wmi_call_mxds(mux_id == NOUVEAU_DSM_LED_STAMINA ? MXM_MXDS_ADAPTER_IGD : MXM_MXDS_ADAPTER_0); in nouveau_dsm_switch_mux()
157 return nouveau_dsm(handle, NOUVEAU_DSM_LED, mux_id); in nouveau_dsm_switch_mux()
/drivers/pinctrl/freescale/
Dpinctrl-imx1.h24 unsigned int mux_id; member
Dpinctrl-imx1-core.c317 unsigned int mux = pins[i].mux_id; in imx1_pmx_set()
495 grp->pins[i].mux_id = be32_to_cpu(*list++); in imx1_pinctrl_parse_groups()
/drivers/media/platform/exynos4-is/
Dmedia-dev.c419 pd->mux_id = (endpoint.base.port - 1) & 0x1; in fimc_md_parse_one_endpoint()
977 if (WARN(pdata->mux_id >= CSIS_MAX_ENTITIES, in fimc_md_create_links()
978 "Wrong CSI channel id: %d\n", pdata->mux_id)) in fimc_md_create_links()
981 csis = fmd->csis[pdata->mux_id].sd; in fimc_md_create_links()
998 csi_sensors[pdata->mux_id] = sensor; in fimc_md_create_links()
Dfimc-reg.c689 if (source->mux_id == 0) in fimc_hw_set_camera_type()
713 if (source->mux_id == 0) /* ITU-A, ITU-B: 0, 1 */ in fimc_hw_set_camera_type()
Dfimc-lite-reg.c214 flite_hw_set_camera_port(dev, si->mux_id); in flite_hw_set_camera_bus()
/drivers/net/ipa/
Dipa_endpoint.c503 off = offsetof(struct rmnet_map_header, mux_id); in ipa_endpoint_init_hdr()