Home
last modified time | relevance | path

Searched refs:channel_idx (Results 1 - 25 of 51) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/
H A Dmost.h241 int (*configure)(struct most_interface *iface, int channel_idx,
243 int (*enqueue)(struct most_interface *iface, int channel_idx,
245 int (*poison_channel)(struct most_interface *iface, int channel_idx);
246 void (*request_netinfo)(struct most_interface *iface, int channel_idx,
267 int (*probe_channel)(struct most_interface *iface, int channel_idx,
271 int channel_idx);
273 int (*tx_completion)(struct most_interface *iface, int channel_idx);
298 * @channel_idx: channel index
300 void most_stop_enqueue(struct most_interface *iface, int channel_idx);
305 * @channel_idx
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dmost.h241 int (*configure)(struct most_interface *iface, int channel_idx,
243 int (*enqueue)(struct most_interface *iface, int channel_idx,
245 int (*poison_channel)(struct most_interface *iface, int channel_idx);
246 void (*request_netinfo)(struct most_interface *iface, int channel_idx,
267 int (*probe_channel)(struct most_interface *iface, int channel_idx,
271 int channel_idx);
273 int (*tx_completion)(struct most_interface *iface, int channel_idx);
298 * @channel_idx: channel index
300 void most_stop_enqueue(struct most_interface *iface, int channel_idx);
305 * @channel_idx
[all...]
/kernel/linux/linux-5.10/drivers/tty/ipwireless/
H A Dhardware.c38 unsigned int channel_idx, const unsigned char *data, int len);
340 unsigned int channel_idx; member
625 unsigned int channel_idx = address - 1; in queue_received_packet() local
630 if (channel_idx >= NL_NUM_OF_ADDRESSES) { in queue_received_packet()
641 &hw->packet_assembler[channel_idx]; in queue_received_packet()
654 (*assem)->channel_idx = channel_idx; in queue_received_packet()
678 packet->channel_idx = channel_idx; in queue_received_packet()
734 packet->channel_idx, in ipw_receive_data_work()
765 handle_received_CTRL_packet(struct ipw_hardware *hw, unsigned int channel_idx, const unsigned char *data, int len) handle_received_CTRL_packet() argument
1294 ipwireless_send_packet(struct ipw_hardware *hw, unsigned int channel_idx, const unsigned char *data, unsigned int length, void (*callback) (void *cb, unsigned int length), void *callback_data) ipwireless_send_packet() argument
1314 set_control_line(struct ipw_hardware *hw, int prio, unsigned int channel_idx, int line, int state) set_control_line() argument
1334 set_DTR(struct ipw_hardware *hw, int priority, unsigned int channel_idx, int state) set_DTR() argument
1345 set_RTS(struct ipw_hardware *hw, int priority, unsigned int channel_idx, int state) set_RTS() argument
1356 ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx, int state) ipwireless_set_DTR() argument
1362 ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx, int state) ipwireless_set_RTS() argument
1406 unsigned int channel_idx; __handle_setup_get_version_rsp() local
1551 unsigned int channel_idx = rx_msg->open_msg.port_no - 1; handle_received_SETUP_packet() local
[all...]
H A Dnetwork.h35 unsigned int channel_idx, unsigned int control_lines,
38 unsigned int channel_idx, unsigned char *data,
43 unsigned int channel_idx, struct ipw_tty *tty);
45 unsigned int channel_idx);
H A Dnetwork.c313 unsigned int channel_idx, in ipwireless_network_notify_control_line_change()
319 if (channel_idx == IPW_CHANNEL_RAS) in ipwireless_network_notify_control_line_change()
324 network->associated_ttys[channel_idx][i]; in ipwireless_network_notify_control_line_change()
334 channel_idx, in ipwireless_network_notify_control_line_change()
365 unsigned int channel_idx, in ipwireless_network_packet_received()
373 struct ipw_tty *tty = network->associated_ttys[channel_idx][i]; in ipwireless_network_packet_received()
384 if (channel_idx == IPW_CHANNEL_RAS in ipwireless_network_packet_received()
452 unsigned int channel_idx, in ipwireless_associate_network_tty()
458 if (network->associated_ttys[channel_idx][i] == NULL) { in ipwireless_associate_network_tty()
459 network->associated_ttys[channel_idx][ in ipwireless_associate_network_tty()
312 ipwireless_network_notify_control_line_change(struct ipw_network *network, unsigned int channel_idx, unsigned int control_lines, unsigned int changed_mask) ipwireless_network_notify_control_line_change() argument
364 ipwireless_network_packet_received(struct ipw_network *network, unsigned int channel_idx, unsigned char *data, unsigned int length) ipwireless_network_packet_received() argument
451 ipwireless_associate_network_tty(struct ipw_network *network, unsigned int channel_idx, struct ipw_tty *tty) ipwireless_associate_network_tty() argument
464 ipwireless_disassociate_network_ttys(struct ipw_network *network, unsigned int channel_idx) ipwireless_disassociate_network_ttys() argument
[all...]
H A Dhardware.h39 int ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx,
41 int ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx,
44 unsigned int channel_idx,
H A Dtty.c50 unsigned int channel_idx; member
312 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 1); in set_control_lines()
323 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 1); in set_control_lines()
334 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 0); in set_control_lines()
343 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 0); in set_control_lines()
439 struct ipw_network *network, int channel_idx, in add_tty()
447 ttys[j]->channel_idx = channel_idx; in add_tty()
455 ipwireless_associate_network_tty(network, channel_idx, ttys[j]); in add_tty()
542 ttyj->channel_idx); in ipwireless_tty_free()
437 add_tty(int j, struct ipw_hardware *hardware, struct ipw_network *network, int channel_idx, int secondary_channel_idx, int tty_type) add_tty() argument
615 ipwireless_tty_notify_control_line_change(struct ipw_tty *tty, unsigned int channel_idx, unsigned int control_lines, unsigned int changed_mask) ipwireless_tty_notify_control_line_change() argument
[all...]
/kernel/linux/linux-6.6/drivers/tty/ipwireless/
H A Dhardware.c38 unsigned int channel_idx, const unsigned char *data, int len);
340 unsigned int channel_idx; member
625 unsigned int channel_idx = address - 1; in queue_received_packet() local
630 if (channel_idx >= NL_NUM_OF_ADDRESSES) { in queue_received_packet()
641 &hw->packet_assembler[channel_idx]; in queue_received_packet()
654 (*assem)->channel_idx = channel_idx; in queue_received_packet()
678 packet->channel_idx = channel_idx; in queue_received_packet()
734 packet->channel_idx, in ipw_receive_data_work()
765 handle_received_CTRL_packet(struct ipw_hardware *hw, unsigned int channel_idx, const unsigned char *data, int len) handle_received_CTRL_packet() argument
1294 ipwireless_send_packet(struct ipw_hardware *hw, unsigned int channel_idx, const u8 *data, unsigned int length, void (*callback) (void *cb, unsigned int length), void *callback_data) ipwireless_send_packet() argument
1314 set_control_line(struct ipw_hardware *hw, int prio, unsigned int channel_idx, int line, int state) set_control_line() argument
1334 set_DTR(struct ipw_hardware *hw, int priority, unsigned int channel_idx, int state) set_DTR() argument
1345 set_RTS(struct ipw_hardware *hw, int priority, unsigned int channel_idx, int state) set_RTS() argument
1356 ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx, int state) ipwireless_set_DTR() argument
1362 ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx, int state) ipwireless_set_RTS() argument
1406 unsigned int channel_idx; __handle_setup_get_version_rsp() local
1551 unsigned int channel_idx = rx_msg->open_msg.port_no - 1; handle_received_SETUP_packet() local
[all...]
H A Dnetwork.h35 unsigned int channel_idx, unsigned int control_lines,
38 unsigned int channel_idx, unsigned char *data,
43 unsigned int channel_idx, struct ipw_tty *tty);
45 unsigned int channel_idx);
H A Dnetwork.c313 unsigned int channel_idx, in ipwireless_network_notify_control_line_change()
319 if (channel_idx == IPW_CHANNEL_RAS) in ipwireless_network_notify_control_line_change()
324 network->associated_ttys[channel_idx][i]; in ipwireless_network_notify_control_line_change()
334 channel_idx, in ipwireless_network_notify_control_line_change()
365 unsigned int channel_idx, in ipwireless_network_packet_received()
373 struct ipw_tty *tty = network->associated_ttys[channel_idx][i]; in ipwireless_network_packet_received()
384 if (channel_idx == IPW_CHANNEL_RAS in ipwireless_network_packet_received()
452 unsigned int channel_idx, in ipwireless_associate_network_tty()
458 if (network->associated_ttys[channel_idx][i] == NULL) { in ipwireless_associate_network_tty()
459 network->associated_ttys[channel_idx][ in ipwireless_associate_network_tty()
312 ipwireless_network_notify_control_line_change(struct ipw_network *network, unsigned int channel_idx, unsigned int control_lines, unsigned int changed_mask) ipwireless_network_notify_control_line_change() argument
364 ipwireless_network_packet_received(struct ipw_network *network, unsigned int channel_idx, unsigned char *data, unsigned int length) ipwireless_network_packet_received() argument
451 ipwireless_associate_network_tty(struct ipw_network *network, unsigned int channel_idx, struct ipw_tty *tty) ipwireless_associate_network_tty() argument
464 ipwireless_disassociate_network_ttys(struct ipw_network *network, unsigned int channel_idx) ipwireless_disassociate_network_ttys() argument
[all...]
H A Dhardware.h39 int ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx,
41 int ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx,
44 unsigned int channel_idx,
H A Dtty.c50 unsigned int channel_idx; member
310 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 1); in set_control_lines()
321 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 1); in set_control_lines()
332 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 0); in set_control_lines()
341 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 0); in set_control_lines()
437 struct ipw_network *network, int channel_idx, in add_tty()
445 ttys[j]->channel_idx = channel_idx; in add_tty()
453 ipwireless_associate_network_tty(network, channel_idx, ttys[j]); in add_tty()
539 ttyj->channel_idx); in ipwireless_tty_free()
435 add_tty(int j, struct ipw_hardware *hardware, struct ipw_network *network, int channel_idx, int secondary_channel_idx, int tty_type) add_tty() argument
607 ipwireless_tty_notify_control_line_change(struct ipw_tty *tty, unsigned int channel_idx, unsigned int control_lines, unsigned int changed_mask) ipwireless_tty_notify_control_line_change() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dumc_v6_7.h60 #define CHANNEL_HASH(channel_idx, pa) (((channel_idx) >> 4) ^ \
64 #define SET_CHANNEL_HASH(channel_idx, pa) do { \
66 (pa) |= (CHANNEL_HASH(channel_idx, pa) << UMC_V6_7_PA_CH4_BIT); \
/kernel/linux/linux-6.6/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h256 * @channel_idx: Channel index, starts at zero.
272 u8 channel_idx; member
354 u8 cmd_id, u8 channel_idx, u16 cmd_len);
664 int channel_idx = channel_no - channel_idx_offset; in es58x_get_netdev() local
667 if (channel_idx < 0 || channel_idx >= es58x_dev->num_can_ch) in es58x_get_netdev()
670 *netdev = es58x_dev->netdev[channel_idx]; in es58x_get_netdev()
736 const void *msg, u16 cmd_len, int channel_idx);
H A Des581_4.c334 u8 cmd_id, u8 channel_idx, u16 msg_len) in es581_4_fill_urb_header()
362 priv->channel_idx, msg_len); in es581_4_tx_can_msg()
379 tx_can_msg->channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_tx_can_msg()
409 tx_conf_msg.channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_set_bittiming()
413 sizeof(tx_conf_msg), priv->channel_idx); in es581_4_set_bittiming()
419 u8 msg = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_enable_channel()
427 priv->channel_idx); in es581_4_enable_channel()
432 u8 msg = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_disable_channel()
436 priv->channel_idx); in es581_4_disable_channel()
333 es581_4_fill_urb_header(union es58x_urb_cmd *urb_cmd, u8 cmd_type, u8 cmd_id, u8 channel_idx, u16 msg_len) es581_4_fill_urb_header() argument
H A Des58x_fd.c227 ret = es58x_get_netdev(es58x_dev, es58x_fd_urb_cmd->channel_idx, in es58x_fd_can_cmd_id()
320 u8 cmd_id, u8 channel_idx, u16 msg_len) in es58x_fd_fill_urb_header()
327 es58x_fd_urb_cmd->channel_idx = channel_idx; in es58x_fd_fill_urb_header()
349 priv->channel_idx, msg_len); in es58x_fd_tx_can_msg()
399 struct net_device *netdev = es58x_dev->netdev[priv->channel_idx]; in es58x_fd_enable_channel()
445 &tx_conf_msg, conf_len, priv->channel_idx); in es58x_fd_enable_channel()
455 ES58X_EMPTY_MSG, 0, priv->channel_idx); in es58x_fd_disable_channel()
319 es58x_fd_fill_urb_header(union es58x_urb_cmd *urb_cmd, u8 cmd_type, u8 cmd_id, u8 channel_idx, u16 msg_len) es58x_fd_fill_urb_header() argument
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-cti.h224 enum cti_trig_dir direction, u32 channel_idx,
227 u32 channel_idx);
229 u32 channel_idx);
H A Dcoresight-cti-core.c329 enum cti_trig_dir direction, u32 channel_idx, in cti_channel_trig_op()
340 if ((channel_idx >= config->nr_ctm_channels) || in cti_channel_trig_op()
360 chan_bitmask = BIT(channel_idx); in cti_channel_trig_op()
388 u32 channel_idx) in cti_channel_gate_op()
396 if (channel_idx >= config->nr_ctm_channels) in cti_channel_gate_op()
399 chan_bitmask = BIT(channel_idx); in cti_channel_gate_op()
426 u32 channel_idx) in cti_channel_setop()
435 if (channel_idx >= config->nr_ctm_channels) in cti_channel_setop()
438 chan_bitmask = BIT(channel_idx); in cti_channel_setop()
328 cti_channel_trig_op(struct device *dev, enum cti_chan_op op, enum cti_trig_dir direction, u32 channel_idx, u32 trigger_idx) cti_channel_trig_op() argument
387 cti_channel_gate_op(struct device *dev, enum cti_chan_gate_op op, u32 channel_idx) cti_channel_gate_op() argument
425 cti_channel_setop(struct device *dev, enum cti_chan_set_op op, u32 channel_idx) cti_channel_setop() argument
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-cti.h224 enum cti_trig_dir direction, u32 channel_idx,
227 u32 channel_idx);
229 u32 channel_idx);
H A Dcoresight-cti-core.c337 enum cti_trig_dir direction, u32 channel_idx, in cti_channel_trig_op()
348 if ((channel_idx >= config->nr_ctm_channels) || in cti_channel_trig_op()
368 chan_bitmask = BIT(channel_idx); in cti_channel_trig_op()
396 u32 channel_idx) in cti_channel_gate_op()
404 if (channel_idx >= config->nr_ctm_channels) in cti_channel_gate_op()
407 chan_bitmask = BIT(channel_idx); in cti_channel_gate_op()
434 u32 channel_idx) in cti_channel_setop()
443 if (channel_idx >= config->nr_ctm_channels) in cti_channel_setop()
446 chan_bitmask = BIT(channel_idx); in cti_channel_setop()
336 cti_channel_trig_op(struct device *dev, enum cti_chan_op op, enum cti_trig_dir direction, u32 channel_idx, u32 trigger_idx) cti_channel_trig_op() argument
395 cti_channel_gate_op(struct device *dev, enum cti_chan_gate_op op, u32 channel_idx) cti_channel_gate_op() argument
433 cti_channel_setop(struct device *dev, enum cti_chan_set_op op, u32 channel_idx) cti_channel_setop() argument
/kernel/linux/linux-5.10/drivers/staging/most/video/
H A Dvideo.c369 struct most_interface *iface, int channel_idx) in get_comp_dev()
376 if (mdev->iface == iface && mdev->ch_idx == channel_idx) { in get_comp_dev()
450 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
455 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_probe_channel()
482 mdev->ch_idx = channel_idx; in comp_probe_channel()
510 int channel_idx) in comp_disconnect_channel()
512 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_disconnect_channel()
368 get_comp_dev( struct most_interface *iface, int channel_idx) get_comp_dev() argument
509 comp_disconnect_channel(struct most_interface *iface, int channel_idx) comp_disconnect_channel() argument
/kernel/linux/linux-5.10/drivers/staging/most/net/
H A Dnet.c305 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
354 ch->ch_id = channel_idx; in comp_probe_channel()
363 int channel_idx) in comp_disconnect_channel()
377 if (nd->rx.linked && channel_idx == nd->rx.ch_id) { in comp_disconnect_channel()
379 } else if (nd->tx.linked && channel_idx == nd->tx.ch_id) { in comp_disconnect_channel()
410 int channel_idx) in comp_resume_tx_channel()
418 if (nd->tx.ch_id != channel_idx) in comp_resume_tx_channel()
362 comp_disconnect_channel(struct most_interface *iface, int channel_idx) comp_disconnect_channel() argument
409 comp_resume_tx_channel(struct most_interface *iface, int channel_idx) comp_resume_tx_channel() argument
/kernel/linux/linux-6.6/drivers/staging/most/video/
H A Dvideo.c368 static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx) in get_comp_dev() argument
375 if (mdev->iface == iface && mdev->ch_idx == channel_idx) { in get_comp_dev()
449 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
454 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_probe_channel()
481 mdev->ch_idx = channel_idx; in comp_probe_channel()
509 int channel_idx) in comp_disconnect_channel()
511 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); in comp_disconnect_channel()
508 comp_disconnect_channel(struct most_interface *iface, int channel_idx) comp_disconnect_channel() argument
/kernel/linux/linux-6.6/drivers/staging/most/net/
H A Dnet.c305 static int comp_probe_channel(struct most_interface *iface, int channel_idx, in comp_probe_channel() argument
354 ch->ch_id = channel_idx; in comp_probe_channel()
363 int channel_idx) in comp_disconnect_channel()
377 if (nd->rx.linked && channel_idx == nd->rx.ch_id) { in comp_disconnect_channel()
379 } else if (nd->tx.linked && channel_idx == nd->tx.ch_id) { in comp_disconnect_channel()
410 int channel_idx) in comp_resume_tx_channel()
418 if (nd->tx.ch_id != channel_idx) in comp_resume_tx_channel()
362 comp_disconnect_channel(struct most_interface *iface, int channel_idx) comp_disconnect_channel() argument
409 comp_resume_tx_channel(struct most_interface *iface, int channel_idx) comp_resume_tx_channel() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
H A Drx.c909 unsigned int channel_idx, index, size; in __ef4_filter_rfs_expire() local
916 channel_idx = efx->rps_expire_channel; in __ef4_filter_rfs_expire()
920 struct ef4_channel *channel = ef4_get_channel(efx, channel_idx); in __ef4_filter_rfs_expire()
927 index, channel_idx, flow_id); in __ef4_filter_rfs_expire()
931 if (++channel_idx == efx->n_channels) in __ef4_filter_rfs_expire()
932 channel_idx = 0; in __ef4_filter_rfs_expire()
936 efx->rps_expire_channel = channel_idx; in __ef4_filter_rfs_expire()

Completed in 20 milliseconds

123