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

12

/linux-master/drivers/tty/ipwireless/
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 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.h42 unsigned int channel_idx,
H A Dhardware.c38 unsigned int channel_idx, const unsigned char *data, int len);
340 unsigned int channel_idx; member in struct:ipw_rx_packet
625 unsigned int channel_idx = address - 1; local
630 if (channel_idx >= NL_NUM_OF_ADDRESSES) {
641 &hw->packet_assembler[channel_idx];
654 (*assem)->channel_idx = channel_idx;
678 packet->channel_idx = channel_idx;
734 packet->channel_idx,
765 handle_received_CTRL_packet(struct ipw_hardware *hw, unsigned int channel_idx, const unsigned char *data, int len) 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) argument
1314 set_control_line(struct ipw_hardware *hw, int prio, unsigned int channel_idx, int line, int state) argument
1334 set_DTR(struct ipw_hardware *hw, int priority, unsigned int channel_idx, int state) argument
1345 set_RTS(struct ipw_hardware *hw, int priority, unsigned int channel_idx, int state) argument
1356 ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx, int state) argument
1362 ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx, int state) argument
1406 unsigned int channel_idx; local
1551 unsigned int channel_idx = rx_msg->open_msg.port_no - 1; local
[all...]
H A Dnetwork.c313 unsigned int channel_idx,
319 if (channel_idx == IPW_CHANNEL_RAS)
324 network->associated_ttys[channel_idx][i];
334 channel_idx,
365 unsigned int channel_idx,
373 struct ipw_tty *tty = network->associated_ttys[channel_idx][i];
384 if (channel_idx == IPW_CHANNEL_RAS
452 unsigned int channel_idx,
458 if (network->associated_ttys[channel_idx][i] == NULL) {
459 network->associated_ttys[channel_idx][
312 ipwireless_network_notify_control_line_change(struct ipw_network *network, unsigned int channel_idx, unsigned int control_lines, unsigned int changed_mask) argument
364 ipwireless_network_packet_received(struct ipw_network *network, unsigned int channel_idx, unsigned char *data, unsigned int length) argument
451 ipwireless_associate_network_tty(struct ipw_network *network, unsigned int channel_idx, struct ipw_tty *tty) argument
464 ipwireless_disassociate_network_ttys(struct ipw_network *network, unsigned int channel_idx) argument
[all...]
H A Dtty.c50 unsigned int channel_idx; member in struct:ipw_tty
310 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 1);
321 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 1);
332 ret = ipwireless_set_RTS(tty->hardware, tty->channel_idx, 0);
341 ret = ipwireless_set_DTR(tty->hardware, tty->channel_idx, 0);
437 struct ipw_network *network, int channel_idx,
445 ttys[j]->channel_idx = channel_idx;
453 ipwireless_associate_network_tty(network, channel_idx, ttys[j]);
539 ttyj->channel_idx);
435 add_tty(int j, struct ipw_hardware *hardware, struct ipw_network *network, int channel_idx, int secondary_channel_idx, int tty_type) argument
607 ipwireless_tty_notify_control_line_change(struct ipw_tty *tty, unsigned int channel_idx, unsigned int control_lines, unsigned int changed_mask) argument
[all...]
/linux-master/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); \
H A Dumc_v12_0.h97 #define UMC_V12_0_CHANNEL_HASH_CH4(channel_idx, pa) ((((channel_idx) >> 5) & 0x1) ^ \
102 #define UMC_V12_0_CHANNEL_HASH_CH5(channel_idx, pa) ((((channel_idx) >> 6) & 0x1) ^ \
107 #define UMC_V12_0_CHANNEL_HASH_CH6(channel_idx, pa) ((((channel_idx) >> 4) & 0x1) ^ \
113 #define UMC_V12_0_SET_CHANNEL_HASH(channel_idx, pa) do { \
115 (pa) |= (UMC_V12_0_CHANNEL_HASH_CH4(channel_idx, pa) << UMC_V12_0_PA_CH4_BIT); \
116 (pa) |= (UMC_V12_0_CHANNEL_HASH_CH5(channel_idx, pa) << UMC_V12_0_PA_CH5_BIT); \
117 (pa) |= (UMC_V12_0_CHANNEL_HASH_CH6(channel_idx, p
[all...]
H A Dta_ras_if.h154 uint32_t channel_idx; member in struct:ta_ras_phy_addr
H A Dumc_v8_10.c186 uint32_t channel_idx,
196 tmp_addr = SWIZZLE_MODE_TMP_ADDR(na, channel_num, channel_idx);
185 umc_v8_10_swizzle_mode_na_to_pa(struct amdgpu_device *adev, uint32_t channel_idx, uint64_t na, uint64_t *soc_pa) argument
H A Dumc_v12_0.c265 addr_out->pa.channel_idx = channel_index;
291 channel_index = addr_out.pa.channel_idx;
/linux-master/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...]
/linux-master/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h256 * @channel_idx: Channel index, starts at zero.
272 u8 channel_idx; member in struct:es58x_priv
354 u8 cmd_id, u8 channel_idx, u16 cmd_len);
664 int channel_idx = channel_no - channel_idx_offset; local
667 if (channel_idx < 0 || channel_idx >= es58x_dev->num_can_ch)
670 *netdev = es58x_dev->netdev[channel_idx];
736 const void *msg, u16 cmd_len, int channel_idx);
H A Des581_4.c334 u8 cmd_id, u8 channel_idx, u16 msg_len)
362 priv->channel_idx, msg_len);
379 tx_can_msg->channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET;
409 tx_conf_msg.channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET;
413 sizeof(tx_conf_msg), priv->channel_idx);
419 u8 msg = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET;
427 priv->channel_idx);
432 u8 msg = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET;
436 priv->channel_idx);
333 es581_4_fill_urb_header(union es58x_urb_cmd *urb_cmd, u8 cmd_type, u8 cmd_id, u8 channel_idx, u16 msg_len) argument
H A Des58x_fd.c227 ret = es58x_get_netdev(es58x_dev, es58x_fd_urb_cmd->channel_idx,
320 u8 cmd_id, u8 channel_idx, u16 msg_len)
327 es58x_fd_urb_cmd->channel_idx = channel_idx;
349 priv->channel_idx, msg_len);
399 struct net_device *netdev = es58x_dev->netdev[priv->channel_idx];
445 &tx_conf_msg, conf_len, priv->channel_idx);
455 ES58X_EMPTY_MSG, 0, priv->channel_idx);
319 es58x_fd_fill_urb_header(union es58x_urb_cmd *urb_cmd, u8 cmd_type, u8 cmd_id, u8 channel_idx, u16 msg_len) argument
H A Des58x_fd.h182 * @channel_idx: Channel index starting at 0.
210 u8 channel_idx; member in struct:es58x_fd_urb_cmd
H A Des58x_core.c989 priv->channel_idx + 1);
1654 * @channel_idx: Index of the network device.
1662 const void *msg, u16 msg_len, int channel_idx)
1669 if (channel_idx == ES58X_CHANNEL_IDX_NA)
1672 netdev = es58x_dev->netdev[channel_idx];
1684 channel_idx, msg_len);
2041 * @channel_idx: Index of the network device.
2047 struct es58x_priv *priv, int channel_idx)
2056 priv->channel_idx = channel_idx;
1661 es58x_send_msg(struct es58x_device *es58x_dev, u8 cmd_type, u8 cmd_id, const void *msg, u16 msg_len, int channel_idx) argument
2046 es58x_init_priv(struct es58x_device *es58x_dev, struct es58x_priv *priv, int channel_idx) argument
2083 es58x_init_netdev(struct es58x_device *es58x_dev, int channel_idx) argument
[all...]
/linux-master/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,
348 if ((channel_idx >= config->nr_ctm_channels) ||
368 chan_bitmask = BIT(channel_idx);
396 u32 channel_idx)
404 if (channel_idx >= config->nr_ctm_channels)
407 chan_bitmask = BIT(channel_idx);
434 u32 channel_idx)
443 if (channel_idx >= config->nr_ctm_channels)
446 chan_bitmask = BIT(channel_idx);
336 cti_channel_trig_op(struct device *dev, enum cti_chan_op op, enum cti_trig_dir direction, u32 channel_idx, u32 trigger_idx) argument
395 cti_channel_gate_op(struct device *dev, enum cti_chan_gate_op op, u32 channel_idx) argument
433 cti_channel_setop(struct device *dev, enum cti_chan_set_op op, u32 channel_idx) argument
/linux-master/drivers/staging/most/net/
H A Dnet.c305 static int comp_probe_channel(struct most_interface *iface, int channel_idx, argument
354 ch->ch_id = channel_idx;
363 int channel_idx)
377 if (nd->rx.linked && channel_idx == nd->rx.ch_id) {
379 } else if (nd->tx.linked && channel_idx == nd->tx.ch_id) {
410 int channel_idx)
418 if (nd->tx.ch_id != channel_idx)
362 comp_disconnect_channel(struct most_interface *iface, int channel_idx) argument
409 comp_resume_tx_channel(struct most_interface *iface, int channel_idx) argument
/linux-master/drivers/staging/most/video/
H A Dvideo.c368 static struct most_video_dev *get_comp_dev(struct most_interface *iface, int channel_idx) argument
375 if (mdev->iface == iface && mdev->ch_idx == channel_idx) {
449 static int comp_probe_channel(struct most_interface *iface, int channel_idx, argument
454 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx);
481 mdev->ch_idx = channel_idx;
509 int channel_idx)
511 struct most_video_dev *mdev = get_comp_dev(iface, channel_idx);
508 comp_disconnect_channel(struct most_interface *iface, int channel_idx) argument
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Drx.c911 unsigned int channel_idx, index, size; local
918 channel_idx = efx->rps_expire_channel;
922 struct ef4_channel *channel = ef4_get_channel(efx, channel_idx);
929 index, channel_idx, flow_id);
933 if (++channel_idx == efx->n_channels)
934 channel_idx = 0;
938 efx->rps_expire_channel = channel_idx;
/linux-master/drivers/soc/fsl/dpio/
H A Dqbman-portal.c938 * @channel_idx: the channel index to query
942 void qbman_swp_push_get(struct qbman_swp *s, u8 channel_idx, int *enabled) argument
946 WARN_ON(channel_idx > 15);
947 *enabled = src | (1 << channel_idx);
953 * @channel_idx: the channel index (0 to 15)
956 void qbman_swp_push_set(struct qbman_swp *s, u8 channel_idx, int enable) argument
960 WARN_ON(channel_idx > 15);
962 s->sdq |= 1 << channel_idx;
964 s->sdq &= ~(1 << channel_idx);
H A Dqbman-portal.h204 void qbman_swp_push_get(struct qbman_swp *p, u8 channel_idx, int *enabled);
205 void qbman_swp_push_set(struct qbman_swp *p, u8 channel_idx, int enable);
/linux-master/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu_8192f.c540 u8 channel_idx = 0; local
543 channel_idx = 0;
545 channel_idx = 1;
547 channel_idx = 2;
578 bb_gain_for_path = (bb_gain[channel_idx] & bb_gain_path_mask[rfpath]);
582 0x70000, channel_idx * 2);
587 0x70000, channel_idx * 2 + 1);

Completed in 279 milliseconds

12