/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-phy-db.c | 265 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 < in is_valid_channel() 275 ch_id_to_ch_index(u16 ch_id) ch_id_to_ch_index() argument 290 channel_id_to_papd(u16 ch_id) channel_id_to_papd() argument 304 channel_id_to_txp(struct iwl_phy_db *phy_db, u16 ch_id) channel_id_to_txp() argument 326 iwl_phy_db_get_section_data(struct iwl_phy_db *phy_db, u32 type, u8 **data, u16 *size, u16 ch_id) iwl_phy_db_get_section_data() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-phy-db.c | 219 static int is_valid_channel(u16 ch_id) in is_valid_channel() argument 221 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 < in is_valid_channel() 229 ch_id_to_ch_index(u16 ch_id) ch_id_to_ch_index() argument 244 channel_id_to_papd(u16 ch_id) channel_id_to_papd() argument 258 channel_id_to_txp(struct iwl_phy_db *phy_db, u16 ch_id) channel_id_to_txp() argument 280 iwl_phy_db_get_section_data(struct iwl_phy_db *phy_db, u32 type, u8 **data, u16 *size, u16 ch_id) iwl_phy_db_get_section_data() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
H A D | inputfifo.c | 66 unsigned int ch_id; member 77 * Maintain a basic streaming to Mipi administration with ch_id as index 78 * ch_id maps on the "Mipi virtual channel ID" and can have value 0..3 177 unsigned int ch_id, in inputfifo_send_ch_id_and_fmt_type() 182 inputfifo_curr_ch_id = ch_id & _HIVE_ISP_CH_ID_MASK; in inputfifo_send_ch_id_and_fmt_type() 184 /* we send an zero marker, this will wrap the ch_id and in inputfifo_send_ch_id_and_fmt_type() 203 unsigned int ch_id, in inputfifo_start_frame() 206 inputfifo_send_ch_id_and_fmt_type(ch_id, fmt_type); in inputfifo_start_frame() 334 * - ch_id: channel ID. 360 unsigned int ch_id, in inputfifo_send_frame() 174 inputfifo_send_ch_id_and_fmt_type( unsigned int ch_id, unsigned int fmt_type) inputfifo_send_ch_id_and_fmt_type() argument 201 inputfifo_start_frame( unsigned int ch_id, unsigned int fmt_type) inputfifo_start_frame() argument 356 inputfifo_send_frame( const unsigned short *data, unsigned int width, unsigned int height, unsigned int ch_id, unsigned int fmt_type, unsigned int hblank_cycles, unsigned int marker_cycles, unsigned int two_ppc, enum inputfifo_mipi_data_type type) inputfifo_send_frame() argument 414 inputfifo_get_inst( unsigned int ch_id) inputfifo_get_inst() argument 420 ia_css_inputfifo_send_input_frame( const unsigned short *data, unsigned int width, unsigned int height, unsigned int ch_id, enum atomisp_input_format input_format, bool two_ppc) ia_css_inputfifo_send_input_frame() argument 445 ia_css_inputfifo_start_frame( unsigned int ch_id, enum atomisp_input_format input_format, bool two_ppc) ia_css_inputfifo_start_frame() argument 468 ia_css_inputfifo_send_line( unsigned int ch_id, const unsigned short *data, unsigned int width, const unsigned short *data2, unsigned int width2) ia_css_inputfifo_send_line() argument 492 ia_css_inputfifo_send_embedded_line( unsigned int ch_id, enum atomisp_input_format data_type, const unsigned short *data, unsigned int width) ia_css_inputfifo_send_embedded_line() argument 513 ia_css_inputfifo_end_frame( unsigned int ch_id) ia_css_inputfifo_end_frame() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
H A D | inputfifo.c | 66 unsigned int ch_id; member 77 * Maintain a basic streaming to Mipi administration with ch_id as index 78 * ch_id maps on the "Mipi virtual channel ID" and can have value 0..3 177 unsigned int ch_id, in inputfifo_send_ch_id_and_fmt_type() 182 inputfifo_curr_ch_id = ch_id & _HIVE_ISP_CH_ID_MASK; in inputfifo_send_ch_id_and_fmt_type() 184 /* we send an zero marker, this will wrap the ch_id and in inputfifo_send_ch_id_and_fmt_type() 203 unsigned int ch_id, in inputfifo_start_frame() 206 inputfifo_send_ch_id_and_fmt_type(ch_id, fmt_type); in inputfifo_start_frame() 334 * - ch_id: channel ID. 360 unsigned int ch_id, in inputfifo_send_frame() 174 inputfifo_send_ch_id_and_fmt_type( unsigned int ch_id, unsigned int fmt_type) inputfifo_send_ch_id_and_fmt_type() argument 201 inputfifo_start_frame( unsigned int ch_id, unsigned int fmt_type) inputfifo_start_frame() argument 356 inputfifo_send_frame( const unsigned short *data, unsigned int width, unsigned int height, unsigned int ch_id, unsigned int fmt_type, unsigned int hblank_cycles, unsigned int marker_cycles, unsigned int two_ppc, enum inputfifo_mipi_data_type type) inputfifo_send_frame() argument 414 inputfifo_get_inst( unsigned int ch_id) inputfifo_get_inst() argument 420 ia_css_inputfifo_send_input_frame( const unsigned short *data, unsigned int width, unsigned int height, unsigned int ch_id, enum atomisp_input_format input_format, bool two_ppc) ia_css_inputfifo_send_input_frame() argument 445 ia_css_inputfifo_start_frame( unsigned int ch_id, enum atomisp_input_format input_format, bool two_ppc) ia_css_inputfifo_start_frame() argument 468 ia_css_inputfifo_send_line( unsigned int ch_id, const unsigned short *data, unsigned int width, const unsigned short *data2, unsigned int width2) ia_css_inputfifo_send_line() argument 492 ia_css_inputfifo_send_embedded_line( unsigned int ch_id, enum atomisp_input_format data_type, const unsigned short *data, unsigned int width) ia_css_inputfifo_send_embedded_line() argument 513 ia_css_inputfifo_end_frame( unsigned int ch_id) ia_css_inputfifo_end_frame() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
H A D | grph_object_defs.h | 71 #define DECODE_CHANNEL_ID(ch_id) \ 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-6.6/drivers/gpu/drm/amd/display/include/ |
H A D | grph_object_defs.h | 71 #define DECODE_CHANNEL_ID(ch_id) \ 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/ |
H 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);
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/inputfifo/interface/ |
H 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);
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H 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,
|
H 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))
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H 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,
|
H 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))
|
/kernel/linux/linux-5.10/drivers/staging/most/net/ |
H 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() 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 in comp_probe_channel() [all...] |
/kernel/linux/linux-6.6/drivers/staging/most/net/ |
H 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() 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 in comp_probe_channel() [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | iqs626a.c | 461 struct fwnode_handle *ch_node, enum iqs626_ch_id ch_id) in iqs626_parse_events() 471 switch (ch_id) { in iqs626_parse_events() 486 i = ch_id - IQS626_CH_GEN_0; in iqs626_parse_events() 501 if (!iqs626_channels[ch_id].events[i]) in iqs626_parse_events() 504 if (ch_id == IQS626_CH_TP_2 || ch_id == IQS626_CH_TP_3) { in iqs626_parse_events() 518 iqs626->kp_code[ch_id][i] = val; in iqs626_parse_events() 523 if (ch_id == IQS626_CH_HALL) in iqs626_parse_events() 537 iqs626->kp_type[ch_id][i] = val; in iqs626_parse_events() 563 if (ch_id ! in iqs626_parse_events() 460 iqs626_parse_events(struct iqs626_private *iqs626, struct fwnode_handle *ch_node, enum iqs626_ch_id ch_id) iqs626_parse_events() argument 586 iqs626_parse_ati_target(struct iqs626_private *iqs626, struct fwnode_handle *ch_node, enum iqs626_ch_id ch_id) iqs626_parse_ati_target() argument 713 iqs626_parse_trackpad(struct iqs626_private *iqs626, struct fwnode_handle *ch_node, enum iqs626_ch_id ch_id) iqs626_parse_trackpad() argument 881 iqs626_parse_channel(struct iqs626_private *iqs626, struct fwnode_handle *ch_node, enum iqs626_ch_id ch_id) iqs626_parse_channel() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | input_system.c | 105 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() 604 rx_channel_get_state( const rx_ID_t ID, const unsigned int ch_id, rx_channel_state_t *state) rx_channel_get_state() argument 1360 input_system_csi_fifo_channel_cfg( u32 ch_id, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, target_cfg2400_t target ) input_system_csi_fifo_channel_cfg() argument 1383 input_system_csi_fifo_channel_with_counting_cfg( u32 ch_id, u32 nof_frames, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, u32 csi_mem_reg_size, u32 csi_nof_mem_regs, target_cfg2400_t target ) input_system_csi_fifo_channel_with_counting_cfg() argument 1414 input_system_csi_sram_channel_cfg( u32 ch_id, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, u32 csi_mem_reg_size, u32 csi_nof_mem_regs, target_cfg2400_t target ) input_system_csi_sram_channel_cfg() argument 1446 input_system_csi_xmem_channel_cfg( u32 ch_id, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, u32 csi_mem_reg_size, u32 csi_nof_mem_regs, u32 acq_mem_reg_size, u32 acq_nof_mem_regs, target_cfg2400_t target, uint32_t nof_xmem_buffers ) input_system_csi_xmem_channel_cfg() argument 1478 input_system_csi_xmem_acquire_only_channel_cfg( u32 ch_id, u32 nof_frames, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, u32 acq_mem_reg_size, u32 acq_nof_mem_regs, target_cfg2400_t target) input_system_csi_xmem_acquire_only_channel_cfg() argument 1505 input_system_csi_xmem_capture_only_channel_cfg( u32 ch_id, u32 nof_frames, input_system_csi_port_t port, u32 csi_mem_reg_size, u32 csi_nof_mem_regs, u32 acq_mem_reg_size, u32 acq_nof_mem_regs, target_cfg2400_t target) input_system_csi_xmem_capture_only_channel_cfg() argument 1538 input_system_prbs_channel_cfg( u32 ch_id, u32 nof_frames, u32 seed, u32 sync_gen_width, u32 sync_gen_height, u32 sync_gen_hblank_cycles, u32 sync_gen_vblank_cycles, target_cfg2400_t target ) input_system_prbs_channel_cfg() argument 1567 input_system_tpg_channel_cfg( u32 ch_id, u32 nof_frames, u32 x_mask, u32 y_mask, u32 x_delta, u32 y_delta, u32 xy_mask, u32 sync_gen_width, u32 sync_gen_height, u32 sync_gen_hblank_cycles, u32 sync_gen_vblank_cycles, target_cfg2400_t target ) input_system_tpg_channel_cfg() argument 1604 input_system_gpfifo_channel_cfg( u32 ch_id, u32 nof_frames, target_cfg2400_t target) input_system_gpfifo_channel_cfg() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | input_system.c | 105 const unsigned int ch_id, 184 unsigned int ch_id; in receiver_get_state() local 216 for (ch_id = 0U; ch_id < N_RX_CHANNEL_ID; ch_id++) { in receiver_get_state() 217 rx_channel_get_state(ID, ch_id, in receiver_get_state() 218 &state->rx_channel_state[ch_id]); in receiver_get_state() 269 const unsigned int ch_id = cfg_ID / N_MIPI_FORMAT_CUSTOM; in receiver_set_compression() local 277 assert(ch_id < N_RX_CHANNEL_ID); in receiver_set_compression() 283 switch (ch_id) { in receiver_set_compression() 587 rx_channel_get_state( const rx_ID_t ID, const unsigned int ch_id, rx_channel_state_t *state) rx_channel_get_state() argument 1306 input_system_csi_fifo_channel_cfg( u32 ch_id, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, target_cfg2400_t target ) input_system_csi_fifo_channel_cfg() argument 1329 input_system_csi_fifo_channel_with_counting_cfg( u32 ch_id, u32 nof_frames, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, u32 csi_mem_reg_size, u32 csi_nof_mem_regs, target_cfg2400_t target ) input_system_csi_fifo_channel_with_counting_cfg() argument 1360 input_system_csi_sram_channel_cfg( u32 ch_id, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, u32 csi_mem_reg_size, u32 csi_nof_mem_regs, target_cfg2400_t target ) input_system_csi_sram_channel_cfg() argument 1392 input_system_csi_xmem_channel_cfg( u32 ch_id, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, u32 csi_mem_reg_size, u32 csi_nof_mem_regs, u32 acq_mem_reg_size, u32 acq_nof_mem_regs, target_cfg2400_t target, uint32_t nof_xmem_buffers ) input_system_csi_xmem_channel_cfg() argument 1424 input_system_csi_xmem_acquire_only_channel_cfg( u32 ch_id, u32 nof_frames, input_system_csi_port_t port, backend_channel_cfg_t backend_ch, u32 acq_mem_reg_size, u32 acq_nof_mem_regs, target_cfg2400_t target) input_system_csi_xmem_acquire_only_channel_cfg() argument 1451 input_system_csi_xmem_capture_only_channel_cfg( u32 ch_id, u32 nof_frames, input_system_csi_port_t port, u32 csi_mem_reg_size, u32 csi_nof_mem_regs, u32 acq_mem_reg_size, u32 acq_nof_mem_regs, target_cfg2400_t target) input_system_csi_xmem_capture_only_channel_cfg() argument 1484 input_system_prbs_channel_cfg( u32 ch_id, u32 nof_frames, u32 seed, u32 sync_gen_width, u32 sync_gen_height, u32 sync_gen_hblank_cycles, u32 sync_gen_vblank_cycles, target_cfg2400_t target ) input_system_prbs_channel_cfg() argument 1513 input_system_tpg_channel_cfg( u32 ch_id, u32 nof_frames, u32 x_mask, u32 y_mask, u32 x_delta, u32 y_delta, u32 xy_mask, u32 sync_gen_width, u32 sync_gen_height, u32 sync_gen_hblank_cycles, u32 sync_gen_vblank_cycles, target_cfg2400_t target ) input_system_tpg_channel_cfg() argument 1550 input_system_gpfifo_channel_cfg( u32 ch_id, u32 nof_frames, target_cfg2400_t target) input_system_gpfifo_channel_cfg() argument [all...] |
/kernel/linux/linux-6.6/drivers/bus/mhi/ep/ |
H A D | main.c | 25 static int mhi_ep_create_device(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id); 83 event->dword[1] = MHI_TRE_EV_DWORD1(ring->ch_id, MHI_PKT_TYPE_TX_EVENT); in mhi_ep_send_completion_event() 154 u32 tmp, ch_id; in mhi_ep_process_cmd_ring() local 157 ch_id = MHI_TRE_GET_CMD_CHID(el); in mhi_ep_process_cmd_ring() 160 if ((ch_id >= mhi_cntrl->max_chan) || !mhi_cntrl->mhi_chan[ch_id].name) { in mhi_ep_process_cmd_ring() 161 dev_dbg(dev, "Channel (%u) not supported!\n", ch_id); in mhi_ep_process_cmd_ring() 165 mhi_chan = &mhi_cntrl->mhi_chan[ch_id]; in mhi_ep_process_cmd_ring() 166 ch_ring = &mhi_cntrl->mhi_chan[ch_id].ring; in mhi_ep_process_cmd_ring() 170 dev_dbg(dev, "Received START command for channel (%u)\n", ch_id); in mhi_ep_process_cmd_ring() 862 u32 ch_id = ch_idx + i; mhi_ep_queue_channel_db() local 1255 mhi_ep_create_device(struct mhi_ep_cntrl *mhi_cntrl, u32 ch_id) mhi_ep_create_device() argument [all...] |
H A D | mmio.c | 54 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()
|
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/ |
H A D | t7xx_cldma.c | 150 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()
|
H A D | t7xx_port_proxy.c | 323 u8 ch_id; in t7xx_proxy_setup_ch_mapping() local 325 ch_id = FIELD_GET(PORT_CH_ID_MASK, port_conf->rx_ch); in t7xx_proxy_setup_ch_mapping() 326 list_add_tail(&port->entry, &port_prox->rx_ch_ports[ch_id]); in t7xx_proxy_setup_ch_mapping() 338 u8 ch_id; in t7xx_port_proxy_find_port() local 340 ch_id = FIELD_GET(PORT_CH_ID_MASK, channel); in t7xx_port_proxy_find_port() 341 port_list = &port_prox->rx_ch_ports[ch_id]; in t7xx_port_proxy_find_port() 513 int t7xx_port_proxy_chl_enable_disable(struct port_proxy *port_prox, unsigned int ch_id, in t7xx_port_proxy_chl_enable_disable() argument 516 struct t7xx_port *port = t7xx_proxy_get_port_by_ch(port_prox, ch_id); in t7xx_port_proxy_chl_enable_disable()
|
H A D | t7xx_port_ctrl_msg.c | 146 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()
|
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_wwan.c | 26 * @ch_id: IPC channel number for which interface device is created. 32 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()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | st_fdma.c | 101 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() 281 dev_dbg(fchan->fdev->dev, "alloc ch_id:%d type:%d\n", in st_fdma_alloc_chan_res() 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; st_fdma_terminate_all() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | st_fdma.c | 101 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() 281 dev_dbg(fchan->fdev->dev, "alloc ch_id:%d type:%d\n", in st_fdma_alloc_chan_res() 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; st_fdma_terminate_all() local [all...] |