/kernel/linux/linux-5.10/drivers/net/ipa/ |
D | gsi.c | 419 u32 channel_id = gsi_channel_id(channel); in gsi_channel_state() local 423 val = ioread32(virt + GSI_CH_C_CNTXT_0_OFFSET(channel_id)); in gsi_channel_state() 433 u32 channel_id = gsi_channel_id(channel); in gsi_channel_command() local 438 val = u32_encode_bits(channel_id, CH_CHID_FMASK); in gsi_channel_command() 445 opcode, channel_id, gsi_channel_state(channel)); in gsi_channel_command() 451 static int gsi_channel_alloc_command(struct gsi *gsi, u32 channel_id) in gsi_channel_alloc_command() argument 453 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_alloc_command() 565 static void gsi_channel_de_alloc_command(struct gsi *gsi, u32 channel_id) in gsi_channel_de_alloc_command() argument 567 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_de_alloc_command() 707 u32 channel_id = gsi_channel_id(channel); in gsi_channel_program() local [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 | ipa_data-sdm845.c | 18 .channel_id = 4, 36 .channel_id = 5, 57 .channel_id = 3, 82 .channel_id = 6, 104 .channel_id = 1, 110 .channel_id = 0, 119 .channel_id = 3, 125 .channel_id = 4, 134 .channel_id = 2,
|
D | ipa_data-sc7180.c | 16 .channel_id = 1, 34 .channel_id = 2, 55 .channel_id = 0, 80 .channel_id = 3, 102 .channel_id = 1, 108 .channel_id = 3, 114 .channel_id = 0, 123 .channel_id = 2,
|
D | gsi.h | 189 u32 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id); 198 u32 gsi_channel_trans_tre_max(struct gsi *gsi, u32 channel_id); 207 int gsi_channel_start(struct gsi *gsi, u32 channel_id); 216 int gsi_channel_stop(struct gsi *gsi, u32 channel_id); 230 void gsi_channel_reset(struct gsi *gsi, u32 channel_id, bool legacy); 232 int gsi_channel_suspend(struct gsi *gsi, u32 channel_id, bool stop); 233 int gsi_channel_resume(struct gsi *gsi, u32 channel_id, bool start);
|
D | gsi_trans.c | 263 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_pending() 278 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_complete() 294 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_polled() 328 struct gsi_trans *gsi_channel_trans_alloc(struct gsi *gsi, u32 channel_id, in gsi_channel_trans_alloc() argument 332 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_trans_alloc() 349 trans->channel_id = channel_id; in gsi_channel_trans_alloc() 381 trans_info = &trans->gsi->channel[trans->channel_id].trans_info; in gsi_trans_free() 543 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in __gsi_trans_commit() 689 int gsi_trans_read_byte(struct gsi *gsi, u32 channel_id, dma_addr_t addr) in gsi_trans_read_byte() argument 691 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_trans_read_byte() [all …]
|
D | ipa_endpoint.c | 238 u32 channel_id = endpoint->channel_id; in ipa_endpoint_trans_alloc() local 243 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc() 941 if (backlog == gsi_channel_tre_max(gsi, endpoint->channel_id)) in ipa_endpoint_replenish() 957 max_backlog = gsi_channel_tre_max(gsi, endpoint->channel_id); in ipa_endpoint_replenish_enable() 1244 gsi_channel_reset(gsi, endpoint->channel_id, false); in ipa_endpoint_reset_rx_aggr() 1250 ret = gsi_channel_start(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr() 1254 ret = gsi_trans_read_byte(gsi, endpoint->channel_id, addr); in ipa_endpoint_reset_rx_aggr() 1271 gsi_trans_read_byte_done(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr() 1273 ret = gsi_channel_stop(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr() 1283 gsi_channel_reset(gsi, endpoint->channel_id, legacy); in ipa_endpoint_reset_rx_aggr() [all …]
|
D | gsi_trans.h | 51 u8 channel_id; member 140 struct gsi_trans *gsi_channel_trans_alloc(struct gsi *gsi, u32 channel_id, 214 int gsi_trans_read_byte(struct gsi *gsi, u32 channel_id, dma_addr_t addr); 224 void gsi_trans_read_byte_done(struct gsi *gsi, u32 channel_id);
|
D | ipa_gsi.h | 44 void ipa_gsi_channel_tx_queued(struct gsi *gsi, u32 channel_id, u32 count, 57 void ipa_gsi_channel_tx_completed(struct gsi *gsi, u32 channel_id, u32 count,
|
/kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
D | vpif.c | 285 u8 channel_id, u8 config_channel_id) in vpif_set_mode_info() argument 292 regw(value, vpifregs[channel_id].h_cfg); in vpif_set_mode_info() 297 regw(value, vpifregs[channel_id].v_cfg_00); in vpif_set_mode_info() 302 regw(value, vpifregs[channel_id].v_cfg_01); in vpif_set_mode_info() 307 regw(value, vpifregs[channel_id].v_cfg_02); in vpif_set_mode_info() 310 regw(value, vpifregs[channel_id].v_cfg); in vpif_set_mode_info() 319 u8 channel_id, u8 found) in config_vpif_params() argument 326 start = channel_id; in config_vpif_params() 327 end = channel_id + found; in config_vpif_params() 331 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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
D | cfveil.c | 26 struct cflayer *cfvei_create(u8 channel_id, struct dev_info *dev_info) in cfvei_create() argument 32 cfsrvl_init(vei, channel_id, dev_info, true); in cfvei_create() 35 snprintf(vei->layer.name, CAIF_LAYER_NAME_SZ, "vei%d", channel_id); in cfvei_create() 94 info->channel_id = service->layer.id; in cfvei_transmit()
|
D | cfdgml.c | 27 struct cflayer *cfdgml_create(u8 channel_id, struct dev_info *dev_info) in cfdgml_create() argument 33 cfsrvl_init(dgm, channel_id, dev_info, true); in cfdgml_create() 36 snprintf(dgm->layer.name, CAIF_LAYER_NAME_SZ, "dgm%d", channel_id); in cfdgml_create() 106 info->channel_id = service->layer.id; in cfdgml_transmit()
|
D | cfvidl.c | 22 struct cflayer *cfvidl_create(u8 channel_id, struct dev_info *dev_info) in cfvidl_create() argument 29 cfsrvl_init(vid, channel_id, dev_info, false); in cfvidl_create() 62 info->channel_id = service->layer.id; in cfvidl_transmit()
|
/kernel/linux/linux-5.10/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 …]
|
D | core.c | 43 u16 channel_id; member 173 unsigned int i = c->channel_id; in available_directions_show() 189 unsigned int i = c->channel_id; in available_datatypes_show() 209 unsigned int i = c->channel_id; in number_of_packet_buffers_show() 220 unsigned int i = c->channel_id; in number_of_stream_buffers_show() 231 unsigned int i = c->channel_id; in size_of_packet_buffer_show() 242 unsigned int i = c->channel_id; in size_of_stream_buffer_show() 567 ret = comp->probe_channel(c->iface, c->channel_id, &c->cfg, name, in link_channel_to_component() 701 if (comp->disconnect_channel(c->iface, c->channel_id)) in most_remove_link() 811 static int run_enqueue_thread(struct most_channel *c, int channel_id) in run_enqueue_thread() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 75 u16 channel_id; member 103 channel->channel_id = HIGH_WORD(edx); in vmw_open_channel() 129 channel->channel_id << 16, in vmw_close_channel() 164 VMWARE_HYPERVISOR_HB | (channel->channel_id << 16) | in vmw_port_hb_out() 186 channel->channel_id << 16, in vmw_port_hb_out() 219 VMWARE_HYPERVISOR_HB | (channel->channel_id << 16), in vmw_port_hb_in() 236 channel->channel_id << 16, in vmw_port_hb_in() 275 channel->channel_id << 16, in vmw_send_msg() 333 channel->channel_id << 16, in vmw_recv_msg() 377 channel->channel_id << 16, in vmw_recv_msg()
|
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/ |
D | allegro-mail.h | 150 u32 channel_id; member 166 u32 channel_id; member 171 u32 channel_id; member 182 u32 channel_id; member 189 u32 channel_id; member 199 u32 channel_id; member 235 u32 channel_id; member
|
/kernel/linux/linux-5.10/sound/pci/ca0106/ |
D | ca0106_main.c | 507 int channel_id) in snd_ca0106_channel_dac() argument 509 switch (channel_id) { in snd_ca0106_channel_dac() 520 channel_id); in snd_ca0106_channel_dac() 525 static int snd_ca0106_pcm_power_dac(struct snd_ca0106 *chip, int channel_id, in snd_ca0106_pcm_power_dac() argument 530 channel_id); in snd_ca0106_pcm_power_dac() 548 int channel_id) in snd_ca0106_pcm_open_playback_channel() argument 551 struct snd_ca0106_channel *channel = &(chip->playback_channels[channel_id]); in snd_ca0106_pcm_open_playback_channel() 562 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel() 570 channel->number = channel_id; in snd_ca0106_pcm_open_playback_channel() 586 if (channel_id != PCM_FRONT_CHANNEL) { in snd_ca0106_pcm_open_playback_channel() [all …]
|
/kernel/linux/linux-5.10/drivers/counter/ |
D | 104-quad-8.c | 912 const size_t channel_id = signal->id - 16; in quad8_index_polarity_get() local 914 *index_polarity = priv->index_polarity[channel_id]; in quad8_index_polarity_get() 923 const size_t channel_id = signal->id - 16; in quad8_index_polarity_set() local 924 const int base_offset = priv->base + 2 * channel_id + 1; in quad8_index_polarity_set() 929 idr_cfg |= priv->synchronous_mode[channel_id]; in quad8_index_polarity_set() 931 priv->index_polarity[channel_id] = index_polarity; in quad8_index_polarity_set() 952 const size_t channel_id = signal->id - 16; in quad8_synchronous_mode_get() local 954 *synchronous_mode = priv->synchronous_mode[channel_id]; in quad8_synchronous_mode_get() 963 const size_t channel_id = signal->id - 16; in quad8_synchronous_mode_set() local 964 const int base_offset = priv->base + 2 * channel_id + 1; in quad8_synchronous_mode_set() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/most/sound/ |
D | sound.c | 170 int channel_id) in get_channel() argument 176 if ((channel->iface == iface) && (channel->id == channel_id)) in get_channel() 521 static int audio_probe_channel(struct most_interface *iface, int channel_id, in audio_probe_channel() argument 572 if (get_channel(iface, channel_id)) { in audio_probe_channel() 574 iface->description, channel_id); in audio_probe_channel() 593 channel->id = channel_id; in audio_probe_channel() 649 int channel_id) in audio_disconnect_channel() argument 654 channel = get_channel(iface, channel_id); in audio_disconnect_channel() 701 static int audio_tx_completion(struct most_interface *iface, int channel_id) in audio_tx_completion() argument 703 struct channel *channel = get_channel(iface, channel_id); in audio_tx_completion()
|