Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-phy-db.c265 static int is_valid_channel(u16 ch_id) in is_valid_channel() argument
267 if (ch_id <= 14 || in is_valid_channel()
268 (36 <= ch_id && ch_id <= 64 && ch_id % 4 == 0) || in is_valid_channel()
269 (100 <= ch_id && ch_id <= 140 && ch_id % 4 == 0) || in is_valid_channel()
270 (145 <= ch_id && ch_id <= 165 && ch_id % 4 == 1)) in is_valid_channel()
275 static u8 ch_id_to_ch_index(u16 ch_id) in ch_id_to_ch_index() argument
277 if (WARN_ON(!is_valid_channel(ch_id))) in ch_id_to_ch_index()
280 if (ch_id <= 14) in ch_id_to_ch_index()
281 return ch_id - 1; in ch_id_to_ch_index()
282 if (ch_id <= 64) in ch_id_to_ch_index()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/
Dinputfifo.c66 unsigned int ch_id; member
177 unsigned int ch_id, in inputfifo_send_ch_id_and_fmt_type() argument
182 inputfifo_curr_ch_id = ch_id & _HIVE_ISP_CH_ID_MASK; in inputfifo_send_ch_id_and_fmt_type()
203 unsigned int ch_id, in inputfifo_start_frame() argument
206 inputfifo_send_ch_id_and_fmt_type(ch_id, fmt_type); in inputfifo_start_frame()
360 unsigned int ch_id, in inputfifo_send_frame() argument
370 inputfifo_start_frame(ch_id, fmt_type); in inputfifo_send_frame()
415 unsigned int ch_id) in inputfifo_get_inst() argument
417 return &inputfifo_inst_admin[ch_id]; in inputfifo_get_inst()
424 unsigned int ch_id, in ia_css_inputfifo_send_input_frame() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
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"
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/inputfifo/interface/
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);
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Disp2400_input_system_public.h273 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,
Dinput_switch_2400_defs.h19 #define _HIVE_INPUT_SWITCH_GET_LUT_REG_ID(ch_id, fmt_type) (((ch_id) * 2) + ((fmt_type) >= 16)) argument
Disp2400_input_system_global.h87 u32 ch_id; member
Dsh_css_sp.h167 int ch_id,
Datomisp_compat_css20.h77 unsigned int ch_id; /* virtual channel ID */ member
Disp2401_input_system_global.h125 s32 ch_id; member
Disp2400_input_system_local.h112 u32 ch_id; member
Dsh_css_sp.c666 int ch_id, in sh_css_sp_program_input_circuit() argument
671 sh_css_sp_group.config.input_circuit.ch_id = ch_id; in sh_css_sp_program_input_circuit()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dinput_system.c105 const unsigned int ch_id,
186 unsigned int ch_id; in receiver_get_state() local
218 for (ch_id = 0U; ch_id < N_RX_CHANNEL_ID; ch_id++) { in receiver_get_state()
219 rx_channel_get_state(ID, ch_id, in receiver_get_state()
220 &state->rx_channel_state[ch_id]); in receiver_get_state()
273 const unsigned int ch_id = cfg_ID / N_MIPI_FORMAT_CUSTOM; in receiver_set_compression() local
281 assert(ch_id < N_RX_CHANNEL_ID); in receiver_set_compression()
287 switch (ch_id) { in receiver_set_compression()
606 const unsigned int ch_id, in rx_channel_get_state() argument
612 assert(ch_id < N_RX_CHANNEL_ID); in rx_channel_get_state()
[all …]
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()
/kernel/linux/linux-5.10/drivers/staging/most/net/
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()
213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open()
226 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL); in most_nd_stop()
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()
[all …]
/kernel/linux/linux-5.10/drivers/dma/
Dst_fdma.c101 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_ch_sta_update() local
109 dev_warn(fdev->dev, "chan:%d, error:%ld\n", ch_id, ch_err); in st_fdma_ch_sta_update()
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
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/
Dinput_formatter_global.h28 #define _HIVE_INPUT_SWITCH_GET_FSYNC_REG_LSB(ch_id) ((ch_id) * 3) argument
/kernel/linux/linux-5.10/drivers/net/can/
Dkvaser_pciefd.c1154 u8 ch_id = (p->header[1] >> KVASER_PCIEFD_PACKET_CHID_SHIFT) & 0x7; in kvaser_pciefd_handle_data_packet() local
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()
1324 u8 ch_id = (p->header[1] >> KVASER_PCIEFD_PACKET_CHID_SHIFT) & 0x7; in kvaser_pciefd_handle_error_packet() local
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()
1403 u8 ch_id = (p->header[1] >> KVASER_PCIEFD_PACKET_CHID_SHIFT) & 0x7; in kvaser_pciefd_handle_status_packet() local
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()
1463 u8 ch_id = (p->header[1] >> KVASER_PCIEFD_PACKET_CHID_SHIFT) & 0x7; in kvaser_pciefd_handle_eack_packet() local
[all …]
/kernel/linux/linux-5.10/drivers/rapidio/
Drio_cm.c781 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()
1071 static struct rio_channel *riocm_ch_accept(u16 ch_id, u16 *new_ch_id, in riocm_ch_accept() argument
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
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/debug/src/
Dia_css_debug.c885 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-debugfs.c108 ch->ch_id, in dpaa2_dbg_ch_show()
Ddpaa2-eth.h450 int ch_id; member
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/linux/
Datomisp_platform.h178 u8 ch_id; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c1560 u8 ch_id, u8 band, u8 *ch_bitmap, in iwl_mvm_scan_ch_add_n_aps_override() argument
1569 if (p2p_go_friendly_chs[i] == ch_id) { in iwl_mvm_scan_ch_add_n_aps_override()
1572 ch_idx = iwl_mvm_scan_ch_and_band_to_idx(ch_id, band); in iwl_mvm_scan_ch_add_n_aps_override()
1588 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
1597 if (p2p_go_friendly_chs[i] == ch_id) { in iwl_mvm_scan_ch_n_aps_flag()
1607 if (social_chs[i] == ch_id) { in iwl_mvm_scan_ch_n_aps_flag()
/kernel/linux/linux-5.10/drivers/rapidio/devices/
Dtsi721.h714 int ch_id; /* BDMA channel number */ member

12