/linux-6.6.21/drivers/net/ipa/ |
D | gsi.c | 253 static void gsi_irq_ch_ctrl_enable(struct gsi *gsi, u32 channel_id) in gsi_irq_ch_ctrl_enable() argument 255 u32 val = BIT(channel_id); in gsi_irq_ch_ctrl_enable() 514 u32 channel_id = gsi_channel_id(channel); in gsi_channel_state() local 520 val = ioread32(virt + reg_n_offset(reg, channel_id)); in gsi_channel_state() 529 u32 channel_id = gsi_channel_id(channel); in gsi_channel_command() local 537 gsi_irq_ch_ctrl_enable(gsi, channel_id); in gsi_channel_command() 540 val = reg_encode(reg, CH_CHID, channel_id); in gsi_channel_command() 551 opcode, channel_id, gsi_channel_state(channel)); in gsi_channel_command() 555 static int gsi_channel_alloc_command(struct gsi *gsi, u32 channel_id) in gsi_channel_alloc_command() argument 557 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_alloc_command() [all …]
|
D | ipa_gsi.c | 19 ipa_endpoint_trans_complete(ipa->channel_map[trans->channel_id], trans); in ipa_gsi_trans_complete() 26 ipa_endpoint_trans_release(ipa->channel_map[trans->channel_id], trans); in ipa_gsi_trans_release() 29 void ipa_gsi_channel_tx_queued(struct gsi *gsi, u32 channel_id, u32 count, in ipa_gsi_channel_tx_queued() argument 35 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_queued() 40 void ipa_gsi_channel_tx_completed(struct gsi *gsi, u32 channel_id, u32 count, in ipa_gsi_channel_tx_completed() argument 46 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_completed()
|
D | gsi_trans.c | 221 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_map() 256 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_committed() 266 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_pending() 279 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_complete() 293 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_polled() 324 bool gsi_channel_trans_idle(struct gsi *gsi, u32 channel_id) in gsi_channel_trans_idle() argument 326 u32 tre_max = gsi_channel_tre_max(gsi, channel_id); in gsi_channel_trans_idle() 329 trans_info = &gsi->channel[channel_id].trans_info; in gsi_channel_trans_idle() 335 struct gsi_trans *gsi_channel_trans_alloc(struct gsi *gsi, u32 channel_id, in gsi_channel_trans_alloc() argument 339 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_trans_alloc() [all …]
|
D | gsi.h | 185 u32 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id); 194 int gsi_channel_start(struct gsi *gsi, u32 channel_id); 203 int gsi_channel_stop(struct gsi *gsi, u32 channel_id); 211 void gsi_modem_channel_flow_control(struct gsi *gsi, u32 channel_id, 226 void gsi_channel_reset(struct gsi *gsi, u32 channel_id, bool doorbell); 247 int gsi_channel_suspend(struct gsi *gsi, u32 channel_id); 256 int gsi_channel_resume(struct gsi *gsi, u32 channel_id);
|
D | gsi_trans.h | 53 u8 channel_id; member 143 bool gsi_channel_trans_idle(struct gsi *gsi, u32 channel_id); 155 struct gsi_trans *gsi_channel_trans_alloc(struct gsi *gsi, u32 channel_id, 218 int gsi_trans_read_byte(struct gsi *gsi, u32 channel_id, dma_addr_t addr); 228 void gsi_trans_read_byte_done(struct gsi *gsi, u32 channel_id);
|
/linux-6.6.21/drivers/media/platform/ti/davinci/ |
D | vpif.c | 292 u8 channel_id, u8 config_channel_id) in vpif_set_mode_info() argument 299 regw(value, vpifregs[channel_id].h_cfg); in vpif_set_mode_info() 304 regw(value, vpifregs[channel_id].v_cfg_00); in vpif_set_mode_info() 309 regw(value, vpifregs[channel_id].v_cfg_01); in vpif_set_mode_info() 314 regw(value, vpifregs[channel_id].v_cfg_02); in vpif_set_mode_info() 317 regw(value, vpifregs[channel_id].v_cfg); in vpif_set_mode_info() 326 u8 channel_id, u8 found) in config_vpif_params() argument 333 start = channel_id; in config_vpif_params() 334 end = channel_id + found; in config_vpif_params() 338 if (channel_id < 2) in config_vpif_params() [all …]
|
D | vpif_display.c | 191 ret = vpif_set_video_params(vpif, ch->channel_id + 2); in vpif_start_streaming() 215 channel_first_int[VPIF_VIDEO_INDEX][ch->channel_id] = 1; in vpif_start_streaming() 216 if (VPIF_CHANNEL2_VIDEO == ch->channel_id) { in vpif_start_streaming() 224 if (VPIF_CHANNEL3_VIDEO == ch->channel_id || ycmux_mode == 2) { in vpif_start_streaming() 260 if (VPIF_CHANNEL2_VIDEO == ch->channel_id) { in vpif_stop_streaming() 264 if (VPIF_CHANNEL3_VIDEO == ch->channel_id || ycmux_mode == 2) { in vpif_stop_streaming() 367 int channel_id; in vpif_channel_isr() local 369 channel_id = *(int *)(dev_id); in vpif_channel_isr() 370 if (!vpif_intr_status(channel_id + 2)) in vpif_channel_isr() 373 ch = dev->dev[channel_id]; in vpif_channel_isr() [all …]
|
D | vpif_capture.c | 195 ret = vpif_set_video_params(vpif, ch->channel_id); in vpif_start_streaming() 223 channel_first_int[VPIF_VIDEO_INDEX][ch->channel_id] = 1; in vpif_start_streaming() 224 if (VPIF_CHANNEL0_VIDEO == ch->channel_id) { in vpif_start_streaming() 229 if (VPIF_CHANNEL1_VIDEO == ch->channel_id || in vpif_start_streaming() 266 if (VPIF_CHANNEL0_VIDEO == ch->channel_id) { in vpif_stop_streaming() 270 if (VPIF_CHANNEL1_VIDEO == ch->channel_id || in vpif_stop_streaming() 372 int channel_id; in vpif_channel_isr() local 375 channel_id = *(int *)(dev_id); in vpif_channel_isr() 376 if (!vpif_intr_status(channel_id)) in vpif_channel_isr() 379 ch = dev->dev[channel_id]; in vpif_channel_isr() [all …]
|
/linux-6.6.21/drivers/net/wwan/iosm/ |
D | iosm_ipc_imem_ops.c | 33 int channel_id) in ipc_imem_sys_wwan_close() argument 58 int if_id, int channel_id, struct sk_buff *skb) in ipc_imem_sys_wwan_transmit() argument 62 if (!ipc_imem || channel_id < 0) in ipc_imem_sys_wwan_transmit() 165 channel->channel_id, channel->state, in ipc_imem_is_channel_active() 174 channel->channel_id, phase); in ipc_imem_is_channel_active() 180 channel->channel_id, channel->state); in ipc_imem_is_channel_active() 217 channel->channel_id, channel->state); in ipc_imem_sys_port_close() 339 ipc_cdev->channel->channel_id); in ipc_imem_sys_cdev_write() 350 int channel_id; in ipc_imem_sys_devlink_open() local 357 channel_id = ipc_imem_channel_alloc(ipc_imem, in ipc_imem_sys_devlink_open() [all …]
|
D | iosm_ipc_mux.c | 11 int channel_id; in ipc_mux_channel_create() local 13 channel_id = ipc_imem_channel_alloc(ipc_mux->imem, ipc_mux->instance_id, in ipc_mux_channel_create() 16 if (channel_id < 0) { in ipc_mux_channel_create() 25 ipc_mux->channel = ipc_imem_channel_open(ipc_mux->imem, channel_id, in ipc_mux_channel_create() 40 return channel_id; in ipc_mux_channel_create() 187 ipc_imem_channel_close(ipc_mux->imem, ipc_mux->channel_id); in ipc_mux_channel_close() 215 ipc_mux->channel_id = ipc_mux_channel_create(ipc_mux); in ipc_mux_schedule() 218 ret = ipc_mux->channel_id; /* Missing the MUX channel */ in ipc_mux_schedule() 229 ret = ipc_mux->channel_id; in ipc_mux_schedule() 242 ret = ipc_mux->channel_id; in ipc_mux_schedule() [all …]
|
/linux-6.6.21/drivers/staging/iio/adc/ |
D | ad7816.c | 51 u8 channel_id; /* 0 always be temperature */ member 72 ret = spi_write(spi_dev, &chip->channel_id, sizeof(chip->channel_id)); in ad7816_spi_read() 172 return sprintf(buf, "%d\n", chip->channel_id); in ad7816_show_channel() 203 chip->channel_id = data; in ad7816_store_channel() 229 if (chip->channel_id == 0) { in ad7816_show_value() 277 if (chip->channel_id > AD7816_CS_MAX) { in ad7816_show_oti() 278 dev_err(dev, "Invalid oti channel id %d.\n", chip->channel_id); in ad7816_show_oti() 280 } else if (chip->channel_id == 0) { in ad7816_show_oti() 282 (chip->oti_data[chip->channel_id] - in ad7816_show_oti() 286 return sprintf(buf, "%u\n", chip->oti_data[chip->channel_id]); in ad7816_show_oti() [all …]
|
/linux-6.6.21/net/caif/ |
D | cfcnfg.c | 63 static void cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id, 66 static void cfcnfg_linkdestroy_rsp(struct cflayer *layer, u8 channel_id); 67 static void cfcnfg_reject_rsp(struct cflayer *layer, u8 channel_id, 181 u8 channel_id; in caif_disconnect_client() local 186 channel_id = adap_layer->id; in caif_disconnect_client() 187 if (channel_id != 0) { in caif_disconnect_client() 189 servl = cfmuxl_remove_uplayer(cfg->mux, channel_id); in caif_disconnect_client() 190 cfctrl_linkdown_req(cfg->ctrl, channel_id, adap_layer); in caif_disconnect_client() 205 static void cfcnfg_linkdestroy_rsp(struct cflayer *layer, u8 channel_id) in cfcnfg_linkdestroy_rsp() argument 363 static void cfcnfg_reject_rsp(struct cflayer *layer, u8 channel_id, in cfcnfg_reject_rsp() argument [all …]
|
D | cfdbgl.c | 20 struct cflayer *cfdbgl_create(u8 channel_id, struct dev_info *dev_info) in cfdbgl_create() argument 26 cfsrvl_init(dbg, channel_id, dev_info, false); in cfdbgl_create() 29 snprintf(dbg->layer.name, CAIF_LAYER_NAME_SZ, "dbg%d", channel_id); in cfdbgl_create() 51 info->channel_id = service->layer.id; in cfdbgl_transmit()
|
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_fdma.c | 117 FDMA_DCB_LLP(rx->channel_id)); in sparx5_fdma_rx_activate() 118 spx5_wr(((u64)rx->dma) >> 32, sparx5, FDMA_DCB_LLP1(rx->channel_id)); in sparx5_fdma_rx_activate() 124 sparx5, FDMA_CH_CFG(rx->channel_id)); in sparx5_fdma_rx_activate() 136 spx5_rmw(BIT(rx->channel_id), in sparx5_fdma_rx_activate() 137 BIT(rx->channel_id) & FDMA_INTR_DB_ENA_INTR_DB_ENA, in sparx5_fdma_rx_activate() 141 spx5_wr(BIT(rx->channel_id), sparx5, FDMA_CH_ACTIVATE); in sparx5_fdma_rx_activate() 147 spx5_rmw(0, BIT(rx->channel_id) & FDMA_CH_ACTIVATE_CH_ACTIVATE, in sparx5_fdma_rx_deactivate() 151 spx5_rmw(0, BIT(rx->channel_id) & FDMA_INTR_DB_ENA_INTR_DB_ENA, in sparx5_fdma_rx_deactivate() 163 FDMA_DCB_LLP(tx->channel_id)); in sparx5_fdma_tx_activate() 164 spx5_wr(((u64)tx->dma) >> 32, sparx5, FDMA_DCB_LLP1(tx->channel_id)); in sparx5_fdma_tx_activate() [all …]
|
/linux-6.6.21/drivers/net/ipa/data/ |
D | ipa_data-v4.2.c | 50 .channel_id = 1, 71 .channel_id = 2, 94 .channel_id = 0, 120 .channel_id = 3, 144 .channel_id = 1, 150 .channel_id = 3, 156 .channel_id = 0, 165 .channel_id = 2,
|
D | ipa_data-v4.11.c | 54 .channel_id = 5, 75 .channel_id = 14, 98 .channel_id = 2, 123 .channel_id = 7, 147 .channel_id = 0, 156 .channel_id = 7, 162 .channel_id = 2,
|
D | ipa_data-v4.7.c | 52 .channel_id = 5, 73 .channel_id = 14, 96 .channel_id = 2, 120 .channel_id = 7, 143 .channel_id = 0, 152 .channel_id = 7, 158 .channel_id = 2,
|
D | ipa_data-v3.5.1.c | 60 .channel_id = 4, 81 .channel_id = 5, 104 .channel_id = 3, 130 .channel_id = 6, 154 .channel_id = 0, 163 .channel_id = 4, 172 .channel_id = 2,
|
D | ipa_data-v4.5.c | 63 .channel_id = 9, 84 .channel_id = 10, 107 .channel_id = 7, 132 .channel_id = 1, 156 .channel_id = 0, 165 .channel_id = 7, 171 .channel_id = 2,
|
D | ipa_data-v4.9.c | 55 .channel_id = 6, 76 .channel_id = 7, 99 .channel_id = 2, 124 .channel_id = 12, 148 .channel_id = 0, 157 .channel_id = 7, 163 .channel_id = 2,
|
D | ipa_data-v5.0.c | 67 .channel_id = 12, 88 .channel_id = 13, 111 .channel_id = 11, 136 .channel_id = 1, 160 .channel_id = 0, 169 .channel_id = 7, 175 .channel_id = 2,
|
/linux-6.6.21/drivers/most/ |
D | most_cdev.c | 38 unsigned int channel_id; member 52 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo() 58 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo() 72 if ((c->iface == iface) && (c->channel_id == id)) { in get_channel() 87 most_stop_channel(c->iface, c->channel_id, &comp.cc); in stop_channel() 143 ret = most_start_channel(c->iface, c->channel_id, &comp.cc); in comp_open() 320 static int comp_disconnect_channel(struct most_interface *iface, int channel_id) in comp_disconnect_channel() argument 324 c = get_channel(iface, channel_id); in comp_disconnect_channel() 384 static int comp_tx_completion(struct most_interface *iface, int channel_id) in comp_tx_completion() argument 388 c = get_channel(iface, channel_id); in comp_tx_completion() [all …]
|
/linux-6.6.21/drivers/firmware/arm_scmi/ |
D | optee.c | 118 u32 channel_id; member 239 param[0].u.value.a = channel->channel_id; in get_channel() 250 channel->channel_id = param[0].u.value.a; in get_channel() 267 param[0].u.value.a = channel->channel_id; in invoke_process_smt_channel() 272 channel->channel_id, ret, arg.ret); in invoke_process_smt_channel() 290 param[0].u.value.a = channel->channel_id; in invoke_process_msg_channel() 303 channel->channel_id, ret, arg.ret); in invoke_process_msg_channel() 333 u32 channel_id; in scmi_optee_chan_available() local 336 idx, &channel_id); in scmi_optee_chan_available() 415 uint32_t channel_id; in scmi_optee_chan_setup() local [all …]
|
/linux-6.6.21/drivers/media/platform/allegro-dvt/ |
D | allegro-mail.h | 153 u32 channel_id; member 169 u32 channel_id; member 174 u32 channel_id; member 185 u32 channel_id; member 192 u32 channel_id; member 202 u32 channel_id; member 238 u32 channel_id; member
|
/linux-6.6.21/sound/pci/ca0106/ |
D | ca0106_main.c | 506 int channel_id) in snd_ca0106_channel_dac() argument 508 switch (channel_id) { in snd_ca0106_channel_dac() 519 channel_id); in snd_ca0106_channel_dac() 524 static int snd_ca0106_pcm_power_dac(struct snd_ca0106 *chip, int channel_id, in snd_ca0106_pcm_power_dac() argument 529 channel_id); in snd_ca0106_pcm_power_dac() 547 int channel_id) in snd_ca0106_pcm_open_playback_channel() argument 550 struct snd_ca0106_channel *channel = &(chip->playback_channels[channel_id]); in snd_ca0106_pcm_open_playback_channel() 561 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel() 569 channel->number = channel_id; in snd_ca0106_pcm_open_playback_channel() 587 if (channel_id != PCM_FRONT_CHANNEL) { in snd_ca0106_pcm_open_playback_channel() [all …]
|