/linux/drivers/net/wireless/intel/iwlwifi/ |
A D | iwl-phy-db.c | 223 if (ch_id <= 14 || in is_valid_channel() 224 (36 <= ch_id && ch_id <= 64 && ch_id % 4 == 0) || in is_valid_channel() 225 (100 <= ch_id && ch_id <= 140 && ch_id % 4 == 0) || in is_valid_channel() 226 (145 <= ch_id && ch_id <= 165 && ch_id % 4 == 1)) in is_valid_channel() 236 if (ch_id <= 14) in ch_id_to_ch_index() 237 return ch_id - 1; in ch_id_to_ch_index() 238 if (ch_id <= 64) in ch_id_to_ch_index() 240 if (ch_id <= 140) in ch_id_to_ch_index() 251 if (1 <= ch_id && ch_id <= 14) in channel_id_to_papd() 253 if (36 <= ch_id && ch_id <= 64) in channel_id_to_papd() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
A D | inputfifo.c | 66 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 D | grph_object_defs.h | 71 #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/ |
A D | isp2400_input_system_public.h | 273 u32 ch_id, 280 u32 ch_id, 292 u32 ch_id, 303 u32 ch_id, 315 u32 ch_id, 326 u32 ch_id, 338 u32 ch_id, 349 u32 ch_id, 364 u32 ch_id,
|
A D | input_switch_2400_defs.h | 19 #define _HIVE_INPUT_SWITCH_GET_LUT_REG_ID(ch_id, fmt_type) (((ch_id) * 2) + ((fmt_type) >= 16)) argument
|
A D | isp2400_input_system_global.h | 87 u32 ch_id; member
|
A D | sh_css_sp.h | 167 int ch_id,
|
A D | atomisp_compat_css20.h | 77 unsigned int ch_id; /* virtual channel ID */ member
|
A D | isp2401_input_system_global.h | 125 s32 ch_id; member
|
A D | isp2400_input_system_local.h | 112 u32 ch_id; member
|
/linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/interface/ |
A D | ia_css_inputfifo.h | 29 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/hive_isp_css_common/host/ |
A D | input_system.c | 216 for (ch_id = 0U; ch_id < N_RX_CHANNEL_ID; ch_id++) { in receiver_get_state() 283 switch (ch_id) { in receiver_set_compression() 1315 channel.ch_id = ch_id; in input_system_csi_fifo_channel_cfg() 1341 channel.ch_id = ch_id; in input_system_csi_fifo_channel_with_counting_cfg() 1373 channel.ch_id = ch_id; in input_system_csi_sram_channel_cfg() 1406 channel.ch_id = ch_id; in input_system_csi_xmem_channel_cfg() 1435 channel.ch_id = ch_id; in input_system_csi_xmem_acquire_only_channel_cfg() 1463 channel.ch_id = ch_id; in input_system_csi_xmem_capture_only_channel_cfg() 1499 channel.ch_id = ch_id; in input_system_prbs_channel_cfg() 1532 channel.ch_id = ch_id; in input_system_tpg_channel_cfg() [all …]
|
A D | fifo_monitor.c | 534 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/input/misc/ |
A D | iqs626a.c | 462 enum iqs626_ch_id ch_id) in iqs626_parse_events() argument 474 switch (ch_id) { in iqs626_parse_events() 489 i = ch_id - IQS626_CH_GEN_0; in iqs626_parse_events() 507 if (ch_id == IQS626_CH_TP_2 || ch_id == IQS626_CH_TP_3) { in iqs626_parse_events() 564 if (ch_id != IQS626_CH_TP_2 && ch_id != IQS626_CH_TP_3 && in iqs626_parse_events() 611 enum iqs626_ch_id ch_id) in iqs626_parse_ati_target() argument 621 switch (ch_id) { in iqs626_parse_ati_target() 658 if (ch_id != IQS626_CH_TP_2 && ch_id != IQS626_CH_TP_3 && in iqs626_parse_ati_target() 902 switch (ch_id) { in iqs626_parse_channel() 987 if (ch_id == IQS626_CH_HALL) in iqs626_parse_channel() [all …]
|
/linux/drivers/staging/most/net/ |
A D | net.c | 58 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 D | iosm_ipc_wwan.c | 33 int ch_id; member 66 priv->ch_id = ipc_imem_sys_wwan_open(ipc_wwan->ipc_imem, if_id); in ipc_wwan_link_open() 68 if (priv->ch_id < 0) { in ipc_wwan_link_open() 80 priv->ch_id, priv->if_id); in ipc_wwan_link_open() 97 priv->ch_id); in ipc_wwan_link_stop() 98 priv->ch_id = -1; in ipc_wwan_link_stop() 123 if_id, priv->ch_id, skb); in ipc_wwan_link_transmit()
|
A D | iosm_ipc_imem_ops.c | 274 int ch_id; in ipc_imem_sys_port_open() local 283 ch_id = ipc_imem_channel_alloc(ipc_imem, chl_id, IPC_CTYPE_CTRL); in ipc_imem_sys_port_open() 285 if (ch_id < 0) { in ipc_imem_sys_port_open() 290 channel = ipc_imem_channel_open(ipc_imem, ch_id, hp_id); in ipc_imem_sys_port_open()
|
/linux/drivers/dma/ |
A D | st_fdma.c | 101 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_ch_sta_update() local 351 int ch_id = fchan->vchan.chan.chan_id; in config_reqctrl() local 406 ch_id, addr, fchan->cfg.req_ctrl); in config_reqctrl() 624 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_pause() local 625 unsigned long cmd = FDMA_CMD_PAUSE(ch_id); in st_fdma_pause() 627 dev_dbg(fchan->fdev->dev, "pause chan:%d\n", ch_id); in st_fdma_pause() 642 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_resume() local 644 dev_dbg(fchan->fdev->dev, "resume chan:%d\n", ch_id); in st_fdma_resume() 662 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_terminate_all() local 663 unsigned long cmd = FDMA_CMD_PAUSE(ch_id); in st_fdma_terminate_all() [all …]
|
/linux/drivers/net/can/ |
A D | kvaser_pciefd.c | 1156 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_data_packet() 1159 priv = &pcie->can[ch_id]->can; in kvaser_pciefd_handle_data_packet() 1326 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_error_packet() 1329 can = pcie->can[ch_id]; in kvaser_pciefd_handle_error_packet() 1405 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_status_packet() 1408 can = pcie->can[ch_id]; in kvaser_pciefd_handle_status_packet() 1465 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_eack_packet() 1468 can = pcie->can[ch_id]; in kvaser_pciefd_handle_eack_packet() 1529 if (ch_id >= pcie->nr_channels) in kvaser_pciefd_handle_ack_packet() 1532 can = pcie->can[ch_id]; in kvaser_pciefd_handle_ack_packet() [all …]
|
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/ |
A D | input_formatter_global.h | 28 #define _HIVE_INPUT_SWITCH_GET_FSYNC_REG_LSB(ch_id) ((ch_id) * 3) argument
|
/linux/drivers/rapidio/ |
A D | rio_cm.c | 781 static int riocm_ch_send(u16 ch_id, void *buf, int len) in riocm_ch_send() argument 787 if (buf == NULL || ch_id == 0 || len == 0 || len > RIO_MAX_MSG_SIZE) in riocm_ch_send() 790 ch = riocm_get_channel(ch_id); in riocm_ch_send() 793 task_pid_nr(current), ch_id); in riocm_ch_send() 1082 ch = riocm_get_channel(ch_id); in riocm_ch_accept() 1201 static int riocm_ch_listen(u16 ch_id) in riocm_ch_listen() argument 1206 riocm_debug(CHOP, "(ch_%d)", ch_id); in riocm_ch_listen() 1208 ch = riocm_get_channel(ch_id); in riocm_ch_listen() 1228 static int riocm_ch_bind(u16 ch_id, u8 mport_id, void *context) in riocm_ch_bind() argument 1234 riocm_debug(CHOP, "ch_%d to mport_%d", ch_id, mport_id); in riocm_ch_bind() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
A D | ia_css_debug.c | 885 int i, ch_id; in ia_css_debug_dump_dma_state() local 913 ch_id = state.last_command_channel; in ia_css_debug_dump_dma_state() 918 "Read 2D Block [Channel: %d]", ch_id); in ia_css_debug_dump_dma_state() 922 "Write 2D Block [Channel: %d]", ch_id); in ia_css_debug_dump_dma_state() 925 snprintf(last_cmd_str, 64, "Set Channel [Channel: %d]", ch_id); in ia_css_debug_dump_dma_state() 930 state.last_command_param, ch_id); in ia_css_debug_dump_dma_state() 934 "Read Specific 2D Block [Channel: %d]", ch_id); in ia_css_debug_dump_dma_state() 938 "Write Specific 2D Block [Channel: %d]", ch_id); in ia_css_debug_dump_dma_state() 942 "Init 2D Block on Device A [Channel: %d]", ch_id); in ia_css_debug_dump_dma_state() 946 "Init Specific 2D Block [Channel: %d]", ch_id); in ia_css_debug_dump_dma_state() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-eth-debugfs.c | 108 ch->ch_id, in dpaa2_dbg_ch_show()
|
/linux/drivers/staging/media/atomisp/include/linux/ |
A D | atomisp_platform.h | 177 u8 ch_id; member
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | scan.c | 1526 u8 ch_id, u8 band, u8 *ch_bitmap, in iwl_mvm_scan_ch_add_n_aps_override() argument 1535 if (p2p_go_friendly_chs[i] == ch_id) { in iwl_mvm_scan_ch_add_n_aps_override() 1538 ch_idx = iwl_mvm_scan_ch_and_band_to_idx(ch_id, band); in iwl_mvm_scan_ch_add_n_aps_override() 1554 static u32 iwl_mvm_scan_ch_n_aps_flag(enum nl80211_iftype vif_type, u8 ch_id) in iwl_mvm_scan_ch_n_aps_flag() argument 1563 if (p2p_go_friendly_chs[i] == ch_id) { in iwl_mvm_scan_ch_n_aps_flag() 1573 if (social_chs[i] == ch_id) { in iwl_mvm_scan_ch_n_aps_flag()
|