Home
last modified time | relevance | path

Searched refs:ch_id (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-phy-db.c221 if (ch_id <= 14 || in is_valid_channel()
222 (36 <= ch_id && ch_id <= 64 && ch_id % 4 == 0) || in is_valid_channel()
223 (100 <= ch_id && ch_id <= 140 && ch_id % 4 == 0) || in is_valid_channel()
224 (145 <= ch_id && ch_id <= 165 && ch_id % 4 == 1)) in is_valid_channel()
234 if (ch_id <= 14) in ch_id_to_ch_index()
235 return ch_id - 1; in ch_id_to_ch_index()
236 if (ch_id <= 64) in ch_id_to_ch_index()
238 if (ch_id <= 140) in ch_id_to_ch_index()
249 if (1 <= ch_id && ch_id <= 14) in channel_id_to_papd()
251 if (36 <= ch_id && ch_id <= 64) in channel_id_to_papd()
[all …]
/linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/
A Dinputfifo.c66 unsigned int ch_id; member
177 unsigned int ch_id, in inputfifo_send_ch_id_and_fmt_type() argument
203 unsigned int ch_id, in inputfifo_start_frame() argument
360 unsigned int ch_id, in inputfifo_send_frame() argument
415 unsigned int ch_id) in inputfifo_get_inst() argument
424 unsigned int ch_id, in ia_css_inputfifo_send_input_frame() argument
446 unsigned int ch_id, in ia_css_inputfifo_start_frame() argument
454 s2mi->ch_id = ch_id; in ia_css_inputfifo_start_frame()
469 unsigned int ch_id, in ia_css_inputfifo_send_line() argument
493 unsigned int ch_id, in ia_css_inputfifo_send_embedded_line() argument
[all …]
/linux/drivers/gpu/drm/amd/display/include/
A Dgrph_object_defs.h71 #define DECODE_CHANNEL_ID(ch_id) \ argument
72 (ch_id) == CHANNEL_ID_DDC1 ? "CHANNEL_ID_DDC1" : \
73 (ch_id) == CHANNEL_ID_DDC2 ? "CHANNEL_ID_DDC2" : \
74 (ch_id) == CHANNEL_ID_DDC3 ? "CHANNEL_ID_DDC3" : \
75 (ch_id) == CHANNEL_ID_DDC4 ? "CHANNEL_ID_DDC4" : \
76 (ch_id) == CHANNEL_ID_DDC5 ? "CHANNEL_ID_DDC5" : \
77 (ch_id) == CHANNEL_ID_DDC6 ? "CHANNEL_ID_DDC6" : \
78 (ch_id) == CHANNEL_ID_DDC_VGA ? "CHANNEL_ID_DDC_VGA" : \
79 (ch_id) == CHANNEL_ID_I2C_PAD ? "CHANNEL_ID_I2C_PAD" : "Invalid"
/linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/interface/
A Dia_css_inputfifo.h29 unsigned int ch_id,
34 unsigned int ch_id,
39 unsigned int ch_id,
46 unsigned int ch_id,
52 unsigned int ch_id);
/linux/drivers/staging/media/atomisp/pci/
A Disp2400_input_system_public.h236 u32 ch_id,
243 u32 ch_id,
255 u32 ch_id,
266 u32 ch_id,
278 u32 ch_id,
289 u32 ch_id,
301 u32 ch_id,
312 u32 ch_id,
A Dinput_switch_2400_defs.h19 #define _HIVE_INPUT_SWITCH_GET_LUT_REG_ID(ch_id, fmt_type) (((ch_id) * 2) + ((fmt_type) >= 16)) argument
/linux/drivers/input/misc/
A Diqs626a.c471 switch (ch_id) { in iqs626_parse_events()
486 i = ch_id - IQS626_CH_GEN_0; in iqs626_parse_events()
504 if (ch_id == IQS626_CH_TP_2 || ch_id == IQS626_CH_TP_3) { in iqs626_parse_events()
563 if (ch_id != IQS626_CH_TP_2 && ch_id != IQS626_CH_TP_3 && in iqs626_parse_events()
595 switch (ch_id) { in iqs626_parse_ati_target()
608 i = ch_id - IQS626_CH_GEN_0; in iqs626_parse_ati_target()
632 if (ch_id != IQS626_CH_TP_2 && ch_id != IQS626_CH_TP_3 && in iqs626_parse_ati_target()
715 enum iqs626_ch_id ch_id) in iqs626_parse_trackpad() argument
891 switch (ch_id) { in iqs626_parse_channel()
990 if (ch_id == IQS626_CH_HALL) in iqs626_parse_channel()
[all …]
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
A Dinput_system.c114 switch (ch_id) { in receiver_set_compression()
860 u32 ch_id, in input_system_csi_fifo_channel_cfg() argument
868 channel.ch_id = ch_id; in input_system_csi_fifo_channel_cfg()
894 channel.ch_id = ch_id; in input_system_csi_fifo_channel_with_counting_cfg()
926 channel.ch_id = ch_id; in input_system_csi_sram_channel_cfg()
959 channel.ch_id = ch_id; in input_system_csi_xmem_channel_cfg()
988 channel.ch_id = ch_id; in input_system_csi_xmem_acquire_only_channel_cfg()
1016 channel.ch_id = ch_id; in input_system_csi_xmem_capture_only_channel_cfg()
1038 u32 ch_id, in input_system_prbs_channel_cfg() argument
1052 channel.ch_id = ch_id; in input_system_prbs_channel_cfg()
[all …]
A Dfifo_monitor.c534 fifo_channel_t ch_id; in fifo_monitor_get_state() local
540 for (ch_id = 0; ch_id < N_FIFO_CHANNEL; ch_id++) { in fifo_monitor_get_state()
541 fifo_channel_get_state(ID, ch_id, in fifo_monitor_get_state()
542 &state->fifo_channels[ch_id]); in fifo_monitor_get_state()
/linux/drivers/bus/mhi/ep/
A Dmain.c170 u32 tmp, ch_id; in mhi_ep_process_cmd_ring() local
173 ch_id = MHI_TRE_GET_CMD_CHID(el); in mhi_ep_process_cmd_ring()
176 if ((ch_id >= mhi_cntrl->max_chan) || !mhi_cntrl->mhi_chan[ch_id].name) { in mhi_ep_process_cmd_ring()
181 mhi_chan = &mhi_cntrl->mhi_chan[ch_id]; in mhi_ep_process_cmd_ring()
182 ch_ring = &mhi_cntrl->mhi_chan[ch_id].ring; in mhi_ep_process_cmd_ring()
231 if (!(ch_id % 2) && !mhi_chan->mhi_dev) { in mhi_ep_process_cmd_ring()
241 mhi_ep_mmio_enable_chdb(mhi_cntrl, ch_id); in mhi_ep_process_cmd_ring()
314 MHI_TRE_GET_CMD_TYPE(el), ch_id); in mhi_ep_process_cmd_ring()
499 if (ring->ch_id % 2) { in mhi_ep_process_ch_ring()
867 ring->ch_id, ret); in mhi_ep_ch_ring_worker()
[all …]
A Dmmio.c54 static void mhi_ep_mmio_set_chdb(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id, bool enable) in mhi_ep_mmio_set_chdb() argument
58 chid_shift = ch_id % 32; in mhi_ep_mmio_set_chdb()
60 chdb_idx = ch_id / 32; in mhi_ep_mmio_set_chdb()
71 void mhi_ep_mmio_enable_chdb(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id) in mhi_ep_mmio_enable_chdb() argument
73 mhi_ep_mmio_set_chdb(mhi_cntrl, ch_id, true); in mhi_ep_mmio_enable_chdb()
76 void mhi_ep_mmio_disable_chdb(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id) in mhi_ep_mmio_disable_chdb() argument
78 mhi_ep_mmio_set_chdb(mhi_cntrl, ch_id, false); in mhi_ep_mmio_disable_chdb()
A Dinternal.h136 u32 ch_id; member
192 void mhi_ep_mmio_enable_chdb(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id);
193 void mhi_ep_mmio_disable_chdb(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id);
/linux/drivers/staging/most/net/
A Dnet.c58 int ch_id; member
193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { in most_nd_open()
199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { in most_nd_open()
201 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_open()
227 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_stop()
228 most_stop_channel(nd->iface, nd->tx.ch_id, &comp); in most_nd_stop()
240 mbo = most_get_mbo(nd->iface, nd->tx.ch_id, &comp); in most_nd_start_xmit()
354 ch->ch_id = channel_idx; in comp_probe_channel()
377 if (nd->rx.linked && channel_idx == nd->rx.ch_id) { in comp_disconnect_channel()
418 if (nd->tx.ch_id != channel_idx) in comp_resume_tx_channel()
[all …]
/linux/drivers/net/wwan/iosm/
A Diosm_ipc_wwan.c32 int ch_id; member
60 priv->ch_id = ipc_imem_sys_wwan_open(ipc_wwan->ipc_imem, if_id); in ipc_wwan_link_open()
62 if (priv->ch_id < 0) { in ipc_wwan_link_open()
73 priv->ch_id, priv->if_id); in ipc_wwan_link_open()
86 priv->ch_id); in ipc_wwan_link_stop()
87 priv->ch_id = -1; in ipc_wwan_link_stop()
111 if_id, priv->ch_id, skb); in ipc_wwan_link_transmit()
A Diosm_ipc_imem_ops.c289 int ch_id; in ipc_imem_sys_port_open() local
298 ch_id = ipc_imem_channel_alloc(ipc_imem, chl_id, IPC_CTYPE_CTRL); in ipc_imem_sys_port_open()
300 if (ch_id < 0) { in ipc_imem_sys_port_open()
305 channel = ipc_imem_channel_open(ipc_imem, ch_id, hp_id); in ipc_imem_sys_port_open()
/linux/drivers/net/wwan/t7xx/
A Dt7xx_cldma.c150 unsigned int ch_id; in t7xx_cldma_hw_tx_done() local
152 ch_id = ioread32(hw_info->ap_pdn_base + REG_CLDMA_L2TISAR0); in t7xx_cldma_hw_tx_done()
153 ch_id &= bitmask; in t7xx_cldma_hw_tx_done()
155 iowrite32(ch_id, hw_info->ap_pdn_base + REG_CLDMA_L2TISAR0); in t7xx_cldma_hw_tx_done()
161 unsigned int ch_id; in t7xx_cldma_hw_rx_done() local
163 ch_id = ioread32(hw_info->ap_pdn_base + REG_CLDMA_L2RISAR0); in t7xx_cldma_hw_rx_done()
164 ch_id &= bitmask; in t7xx_cldma_hw_rx_done()
166 iowrite32(ch_id, hw_info->ap_pdn_base + REG_CLDMA_L2RISAR0); in t7xx_cldma_hw_rx_done()
A Dt7xx_port_proxy.c351 u8 ch_id; in t7xx_proxy_setup_ch_mapping() local
353 ch_id = FIELD_GET(PORT_CH_ID_MASK, port_conf->rx_ch); in t7xx_proxy_setup_ch_mapping()
354 list_add_tail(&port->entry, &port_prox->rx_ch_ports[ch_id]); in t7xx_proxy_setup_ch_mapping()
399 u8 ch_id; in t7xx_port_proxy_find_port() local
401 ch_id = FIELD_GET(PORT_CH_ID_MASK, channel); in t7xx_port_proxy_find_port()
402 port_list = &port_prox->rx_ch_ports[ch_id]; in t7xx_port_proxy_find_port()
594 int t7xx_port_proxy_chl_enable_disable(struct port_proxy *port_prox, unsigned int ch_id, in t7xx_port_proxy_chl_enable_disable() argument
597 struct t7xx_port *port = t7xx_proxy_get_port_by_ch(port_prox, ch_id); in t7xx_port_proxy_chl_enable_disable()
A Dt7xx_port_ctrl_msg.c146 unsigned int ch_id; in t7xx_port_enum_msg_handler() local
149 ch_id = FIELD_GET(PORT_INFO_CH_ID, port_info); in t7xx_port_enum_msg_handler()
151 if (t7xx_port_proxy_chl_enable_disable(md->port_prox, ch_id, en_flag)) in t7xx_port_enum_msg_handler()
152 dev_dbg(dev, "Port:%x not found\n", ch_id); in t7xx_port_enum_msg_handler()
A Dt7xx_port_proxy.h106 int t7xx_port_proxy_chl_enable_disable(struct port_proxy *port_prox, unsigned int ch_id,
/linux/drivers/dma/
A Dst_fdma.c102 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_ch_sta_update() local
352 int ch_id = fchan->vchan.chan.chan_id; in config_reqctrl() local
407 ch_id, addr, fchan->cfg.req_ctrl); in config_reqctrl()
625 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_pause() local
626 unsigned long cmd = FDMA_CMD_PAUSE(ch_id); in st_fdma_pause()
628 dev_dbg(fchan->fdev->dev, "pause chan:%d\n", ch_id); in st_fdma_pause()
643 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_resume() local
645 dev_dbg(fchan->fdev->dev, "resume chan:%d\n", ch_id); in st_fdma_resume()
663 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_terminate_all() local
664 unsigned long cmd = FDMA_CMD_PAUSE(ch_id); in st_fdma_terminate_all()
[all …]
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_core.c835 u32 ch_id; in peak_usb_get_eeprom() local
839 err = dev->adapter->dev_get_can_channel_id(dev, &ch_id); in peak_usb_get_eeprom()
849 ch_id_le = cpu_to_le32(ch_id); in peak_usb_get_eeprom()
853 dev->can_channel_id = ch_id; in peak_usb_get_eeprom()
864 u32 ch_id; in peak_usb_set_eeprom() local
869 err = dev->adapter->dev_get_can_channel_id(dev, &ch_id); in peak_usb_set_eeprom()
882 ch_id_le = cpu_to_le32(ch_id); in peak_usb_set_eeprom()
884 ch_id = le32_to_cpu(ch_id_le); in peak_usb_set_eeprom()
887 err = dev->adapter->dev_set_can_channel_id(dev, ch_id); in peak_usb_set_eeprom()
895 dev->can_channel_id = ch_id; in peak_usb_set_eeprom()
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/
A Dinput_formatter_global.h28 #define _HIVE_INPUT_SWITCH_GET_FSYNC_REG_LSB(ch_id) ((ch_id) * 3) argument
/linux/drivers/net/can/
A Dkvaser_pciefd.c1190 u8 ch_id = FIELD_GET(KVASER_PCIEFD_PACKET_CHID_MASK, p->header[1]); in kvaser_pciefd_handle_data_packet() local
1193 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_data_packet()
1196 priv = &pcie->can[ch_id]->can; in kvaser_pciefd_handle_data_packet()
1343 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_error_packet()
1346 can = pcie->can[ch_id]; in kvaser_pciefd_handle_error_packet()
1412 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_status_packet()
1415 can = pcie->can[ch_id]; in kvaser_pciefd_handle_status_packet()
1493 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_ack_packet()
1496 can = pcie->can[ch_id]; in kvaser_pciefd_handle_ack_packet()
1539 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_eflush_packet()
[all …]
/linux/drivers/counter/
A Drz-mtu3-cnt.c100 const size_t ch_id = rz_mtu3_get_hw_ch(id); in rz_mtu3_get_ch() local
102 return &priv->ch[ch_id]; in rz_mtu3_get_ch()
320 const size_t ch_id = rz_mtu3_get_hw_ch(count->id); in rz_mtu3_count_ceiling_read() local
330 *ceiling = priv->mtu_16bit_max[ch_id]; in rz_mtu3_count_ceiling_read()
351 const size_t ch_id = rz_mtu3_get_hw_ch(count->id); in rz_mtu3_count_ceiling_write() local
365 priv->mtu_16bit_max[ch_id] = ceiling; in rz_mtu3_count_ceiling_write()
/linux/drivers/rapidio/
A Drio_cm.c783 static int riocm_ch_send(u16 ch_id, void *buf, int len) in riocm_ch_send() argument
789 if (buf == NULL || ch_id == 0 || len == 0 || len > RIO_MAX_MSG_SIZE) in riocm_ch_send()
792 ch = riocm_get_channel(ch_id); in riocm_ch_send()
795 task_pid_nr(current), ch_id); in riocm_ch_send()
1084 ch = riocm_get_channel(ch_id); in riocm_ch_accept()
1203 static int riocm_ch_listen(u16 ch_id) in riocm_ch_listen() argument
1208 riocm_debug(CHOP, "(ch_%d)", ch_id); in riocm_ch_listen()
1210 ch = riocm_get_channel(ch_id); in riocm_ch_listen()
1230 static int riocm_ch_bind(u16 ch_id, u8 mport_id, void *context) in riocm_ch_bind() argument
1236 riocm_debug(CHOP, "ch_%d to mport_%d", ch_id, mport_id); in riocm_ch_bind()
[all …]

Completed in 84 milliseconds

12