Home
last modified time | relevance | path

Searched refs:mux_id (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
H A 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, por in rmnet_force_unassociate_device()
274 u16 mux_id; rmnet_rtnl_validate() local
297 u16 mux_id; rmnet_changelink() local
412 rmnet_get_endpoint(struct rmnet_port *port, u8 mux_id) rmnet_get_endpoint() argument
[all...]
H A 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()
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()
125 rmnet_map_egress_handler(struct sk_buff *skb, struct rmnet_port *port, u8 mux_id, struct net_device *orig_dev) rmnet_map_egress_handler() argument
[all...]
H A 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()
H A 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);
H A Drmnet_map.h36 (Y)->data)->mux_id)
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c130 u16 mux_id; in rmnet_newlink() local
147 mux_id = nla_get_u16(data[IFLA_RMNET_MUX_ID]); in rmnet_newlink()
154 err = rmnet_vnd_newlink(mux_id, dev, port, real_dev, ep, extack); in rmnet_newlink()
165 hlist_add_head_rcu(&ep->hlnode, &port->muxed_ep[mux_id]); in rmnet_newlink()
182 rmnet_vnd_dellink(mux_id, port, ep); in rmnet_newlink()
196 u8 mux_id = priv->mux_id; in rmnet_dellink() local
210 ep = rmnet_get_endpoint(real_port, mux_id); in rmnet_dellink()
213 rmnet_vnd_dellink(mux_id, real_port, ep); in rmnet_dellink()
238 rmnet_vnd_dellink(ep->mux_id, por in rmnet_force_unassociate_device()
280 u16 mux_id; rmnet_rtnl_validate() local
303 u16 mux_id; rmnet_changelink() local
419 rmnet_get_endpoint(struct rmnet_port *port, u8 mux_id) rmnet_get_endpoint() argument
[all...]
H A Drmnet_handlers.c62 u8 mux_id; in __rmnet_map_ingress_handler() local
72 mux_id = map_header->mux_id; in __rmnet_map_ingress_handler()
76 if (mux_id >= RMNET_MAX_LOGICAL_EP) in __rmnet_map_ingress_handler()
79 ep = rmnet_get_endpoint(port, mux_id); in __rmnet_map_ingress_handler()
134 struct rmnet_port *port, u8 mux_id, in rmnet_map_egress_handler()
165 map_header->mux_id = mux_id; in rmnet_map_egress_handler()
247 u8 mux_id; in rmnet_egress_handler() local
255 mux_id in rmnet_egress_handler()
133 rmnet_map_egress_handler(struct sk_buff *skb, struct rmnet_port *port, u8 mux_id, struct net_device *orig_dev) rmnet_map_egress_handler() argument
[all...]
H A Drmnet_map_command.c18 u8 mux_id; in rmnet_map_do_flow_control() local
21 mux_id = map_header->mux_id; in rmnet_map_do_flow_control()
23 if (mux_id >= RMNET_MAX_LOGICAL_EP) { in rmnet_map_do_flow_control()
28 ep = rmnet_get_endpoint(port, mux_id); in rmnet_map_do_flow_control()
H A Drmnet_config.h18 u8 mux_id; member
85 u8 mux_id; member
93 struct rmnet_endpoint *rmnet_get_endpoint(struct rmnet_port *port, u8 mux_id);
/kernel/linux/linux-6.6/drivers/clk/stm32/
H A Dclk-stm32mp13.c943 .mux_id = MUX_SDMMC1,
951 .mux_id = MUX_SDMMC2,
959 .mux_id = MUX_FMC,
967 .mux_id = MUX_QSPI,
975 .mux_id = MUX_SPI23,
983 .mux_id = MUX_SPI23,
991 .mux_id = MUX_I2C12,
999 .mux_id = MUX_I2C12,
1007 .mux_id = MUX_LPTIM45,
1015 .mux_id
[all...]
H A Dclk-stm32-core.c101 u16 mux_id) in stm32_mux_get_parent()
103 const struct stm32_mux_cfg *mux = &data->muxes[mux_id]; in stm32_mux_get_parent()
115 u16 mux_id, u8 index) in stm32_mux_set_parent()
117 const struct stm32_mux_cfg *mux = &data->muxes[mux_id]; in stm32_mux_set_parent()
260 return stm32_mux_get_parent(mux->base, mux->clock_data, mux->mux_id); in clk_stm32_mux_get_parent()
270 stm32_mux_set_parent(mux->base, mux->clock_data, mux->mux_id, index); in clk_stm32_mux_set_parent()
472 return stm32_mux_get_parent(composite->base, composite->clock_data, composite->mux_id); in clk_stm32_composite_get_parent()
482 stm32_mux_set_parent(composite->base, composite->clock_data, composite->mux_id, index); in clk_stm32_composite_set_parent()
514 const struct stm32_mux_cfg *mux = &composite->clock_data->muxes[composite->mux_id]; in clk_stm32_has_safe_mux()
538 composite->mux_id, MUX_SAFE_POSITIO in clk_stm32_set_safe_position_mux()
99 stm32_mux_get_parent(void __iomem *base, struct clk_stm32_clock_data *data, u16 mux_id) stm32_mux_get_parent() argument
113 stm32_mux_set_parent(void __iomem *base, struct clk_stm32_clock_data *data, u16 mux_id, u8 index) stm32_mux_set_parent() argument
[all...]
H A Dclk-stm32-core.h94 u16 mux_id; member
125 u16 mux_id; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c329 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
336 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()
361 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
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()
393 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
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()
425 * @mux_id
432 amdgpu_atpx_switch_end(struct amdgpu_atpx *atpx, u16 mux_id) amdgpu_atpx_switch_end() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c300 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
307 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()
332 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
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()
364 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
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()
396 * @mux_id
403 radeon_atpx_switch_end(struct radeon_atpx *atpx, u16 mux_id) radeon_atpx_switch_end() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c335 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
342 static int amdgpu_atpx_switch_disp_mux(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_disp_mux() argument
350 input.mux = mux_id; in amdgpu_atpx_switch_disp_mux()
367 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
374 static int amdgpu_atpx_switch_i2c_mux(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_i2c_mux() argument
382 input.mux = mux_id; in amdgpu_atpx_switch_i2c_mux()
399 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
406 static int amdgpu_atpx_switch_start(struct amdgpu_atpx *atpx, u16 mux_id) in amdgpu_atpx_switch_start() argument
414 input.mux = mux_id; in amdgpu_atpx_switch_start()
431 * @mux_id
438 amdgpu_atpx_switch_end(struct amdgpu_atpx *atpx, u16 mux_id) amdgpu_atpx_switch_end() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c300 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
307 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()
332 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
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()
364 * @mux_id: mux state (0 = integrated GPU, 1 = discrete GPU)
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()
396 * @mux_id
403 radeon_atpx_switch_end(struct radeon_atpx *atpx, u16 mux_id) radeon_atpx_switch_end() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dqmi_wwan.c70 u8 mux_id; member
76 u8 mux_id; member
107 hdr->mux_id = priv->mux_id; in qmimux_start_xmit()
139 static struct net_device *qmimux_find_dev(struct usbnet *dev, u8 mux_id) in qmimux_find_dev() argument
148 if (priv->mux_id == mux_id) { in qmimux_find_dev()
188 net = qmimux_find_dev(dev, hdr->mux_id); in qmimux_rx_fixup()
229 return sysfs_emit(buf, "0x%02x\n", priv->mux_id); in mux_id_show()
232 static DEVICE_ATTR_RO(mux_id);
244 qmimux_register_device(struct net_device *real_dev, u8 mux_id) qmimux_register_device() argument
413 u8 mux_id; add_mux_store() local
452 u8 mux_id; del_mux_store() local
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A 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()
244 static int qmimux_register_device(struct net_device *real_dev, u8 mux_id) in qmimux_register_device() argument
257 priv->mux_id in qmimux_register_device()
404 u8 mux_id; add_mux_store() local
443 u8 mux_id; del_mux_store() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A 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()
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/
H A Dpinctrl-imx1.h19 * @mux_id: ID of the mux setup.
24 unsigned int mux_id; member
/kernel/linux/linux-6.6/drivers/pinctrl/freescale/
H A Dpinctrl-imx1.h19 * @mux_id: ID of the mux setup.
24 unsigned int mux_id; member
/kernel/linux/linux-6.6/include/linux/
H A Dif_rmnet.h12 u8 mux_id; member
/kernel/linux/linux-5.10/include/linux/
H A Dif_rmnet.h20 u8 mux_id; member
/kernel/linux/linux-5.10/include/media/drv-intf/
H A Dexynos-fimc.h68 * @mux_id: FIMC camera interface multiplexer index (separate for MIPI and ITU)
74 u16 mux_id; member

Completed in 15 milliseconds

12