/linux/drivers/net/ipa/ |
H A D | gsi.c | 251 static void gsi_irq_ch_ctrl_enable(struct gsi *gsi, u32 channel_id) in gsi_irq_ch_ctrl_enable() argument 253 u32 val = BIT(channel_id); in gsi_irq_ch_ctrl_enable() 512 u32 channel_id = gsi_channel_id(channel); in gsi_channel_state() local 518 val = ioread32(virt + reg_n_offset(reg, channel_id)); in gsi_channel_state() 527 u32 channel_id = gsi_channel_id(channel); in gsi_channel_command() local 535 gsi_irq_ch_ctrl_enable(gsi, channel_id); in gsi_channel_command() 538 val = reg_encode(reg, CH_CHID, channel_id); in gsi_channel_command() 549 opcode, channel_id, gsi_channel_state(channel)); in gsi_channel_command() 553 static int gsi_channel_alloc_command(struct gsi *gsi, u32 channel_id) in gsi_channel_alloc_command() argument 555 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_alloc_command() [all …]
|
H A 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 …]
|
H A D | ipa_gsi.c | 20 ipa_endpoint_trans_complete(ipa->channel_map[trans->channel_id], trans); in ipa_gsi_trans_complete() 27 ipa_endpoint_trans_release(ipa->channel_map[trans->channel_id], trans); in ipa_gsi_trans_release() 30 void ipa_gsi_channel_tx_queued(struct gsi *gsi, u32 channel_id, u32 count, in ipa_gsi_channel_tx_queued() argument 36 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_queued() 41 void ipa_gsi_channel_tx_completed(struct gsi *gsi, u32 channel_id, u32 count, in ipa_gsi_channel_tx_completed() argument 47 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_completed()
|
H A D | gsi.h | 181 u32 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id); 190 int gsi_channel_start(struct gsi *gsi, u32 channel_id); 199 int gsi_channel_stop(struct gsi *gsi, u32 channel_id); 207 void gsi_modem_channel_flow_control(struct gsi *gsi, u32 channel_id, 222 void gsi_channel_reset(struct gsi *gsi, u32 channel_id, bool doorbell); 243 int gsi_channel_suspend(struct gsi *gsi, u32 channel_id); 252 int gsi_channel_resume(struct gsi *gsi, u32 channel_id);
|
H A D | gsi_trans.h | 52 u8 channel_id; member 142 bool gsi_channel_trans_idle(struct gsi *gsi, u32 channel_id); 154 struct gsi_trans *gsi_channel_trans_alloc(struct gsi *gsi, u32 channel_id, 217 int gsi_trans_read_byte(struct gsi *gsi, u32 channel_id, dma_addr_t addr); 227 void gsi_trans_read_byte_done(struct gsi *gsi, u32 channel_id);
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_fdma.c | 60 FDMA_DCB_LLP(fdma->channel_id)); in sparx5_fdma_rx_activate() 62 FDMA_DCB_LLP1(fdma->channel_id)); in sparx5_fdma_rx_activate() 68 sparx5, FDMA_CH_CFG(fdma->channel_id)); in sparx5_fdma_rx_activate() 80 spx5_rmw(BIT(fdma->channel_id), in sparx5_fdma_rx_activate() 81 BIT(fdma->channel_id) & FDMA_INTR_DB_ENA_INTR_DB_ENA, in sparx5_fdma_rx_activate() 85 spx5_wr(BIT(fdma->channel_id), sparx5, FDMA_CH_ACTIVATE); in sparx5_fdma_rx_activate() 93 spx5_rmw(0, BIT(fdma->channel_id) & FDMA_CH_ACTIVATE_CH_ACTIVATE, in sparx5_fdma_rx_deactivate() 97 spx5_rmw(0, BIT(fdma->channel_id) & FDMA_INTR_DB_ENA_INTR_DB_ENA, in sparx5_fdma_rx_deactivate() 111 FDMA_DCB_LLP(fdma->channel_id)); in sparx5_fdma_tx_activate() 113 FDMA_DCB_LLP1(fdma->channel_id)); in sparx5_fdma_tx_activate() [all …]
|
/linux/drivers/net/wwan/iosm/ |
H A 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 …]
|
H A 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/drivers/staging/iio/adc/ |
H A 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/net/caif/ |
H A 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 …]
|
H A 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/drivers/most/ |
H A 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/drivers/net/ipa/data/ |
H A D | ipa_data-v4.2.c | 51 .channel_id = 1, 72 .channel_id = 2, 95 .channel_id = 0, 121 .channel_id = 3, 145 .channel_id = 1, 151 .channel_id = 3, 157 .channel_id = 0, 166 .channel_id = 2,
|
H A D | ipa_data-v4.11.c | 55 .channel_id = 5, 76 .channel_id = 14, 99 .channel_id = 2, 124 .channel_id = 7, 148 .channel_id = 0, 157 .channel_id = 7, 163 .channel_id = 2,
|
H A D | ipa_data-v4.7.c | 53 .channel_id = 5, 74 .channel_id = 14, 97 .channel_id = 2, 121 .channel_id = 7, 144 .channel_id = 0, 153 .channel_id = 7, 159 .channel_id = 2,
|
H A D | ipa_data-v3.5.1.c | 61 .channel_id = 4, 82 .channel_id = 5, 105 .channel_id = 3, 131 .channel_id = 6, 155 .channel_id = 0, 164 .channel_id = 4, 173 .channel_id = 2,
|
H A D | ipa_data-v4.5.c | 64 .channel_id = 9, 85 .channel_id = 10, 108 .channel_id = 7, 133 .channel_id = 1, 157 .channel_id = 0, 166 .channel_id = 7, 172 .channel_id = 2,
|
H A D | ipa_data-v5.0.c | 68 .channel_id = 12, 89 .channel_id = 13, 112 .channel_id = 11, 137 .channel_id = 1, 161 .channel_id = 0, 170 .channel_id = 7, 176 .channel_id = 2,
|
H A D | ipa_data-v4.9.c | 56 .channel_id = 6, 77 .channel_id = 7, 100 .channel_id = 2, 125 .channel_id = 12, 149 .channel_id = 0, 158 .channel_id = 7, 164 .channel_id = 2,
|
H A D | ipa_data-v5.5.c | 68 .channel_id = 12, 89 .channel_id = 13, 112 .channel_id = 11, 137 .channel_id = 1, 161 .channel_id = 0, 170 .channel_id = 7, 176 .channel_id = 2,
|
/linux/drivers/media/platform/ti/davinci/ |
H A D | vpif_capture.c | 196 ret = vpif_set_video_params(vpif, ch->channel_id); in vpif_start_streaming() 224 channel_first_int[VPIF_VIDEO_INDEX][ch->channel_id] = 1; in vpif_start_streaming() 225 if (VPIF_CHANNEL0_VIDEO == ch->channel_id) { in vpif_start_streaming() 230 if (VPIF_CHANNEL1_VIDEO == ch->channel_id || in vpif_start_streaming() 267 if (VPIF_CHANNEL0_VIDEO == ch->channel_id) { in vpif_stop_streaming() 271 if (VPIF_CHANNEL1_VIDEO == ch->channel_id || in vpif_stop_streaming() 371 int channel_id; in vpif_channel_isr() local 374 channel_id = *(int *)(dev_id); in vpif_channel_isr() 375 if (!vpif_intr_status(channel_id)) in vpif_channel_isr() 378 ch = dev->dev[channel_id]; in vpif_channel_isr() [all …]
|
/linux/drivers/firmware/arm_scmi/transports/ |
H A D | optee.c | 120 u32 channel_id; member 241 param[0].u.value.a = channel->channel_id; in get_channel() 252 channel->channel_id = param[0].u.value.a; in get_channel() 269 param[0].u.value.a = channel->channel_id; in invoke_process_smt_channel() 274 channel->channel_id, ret, arg.ret); in invoke_process_smt_channel() 292 param[0].u.value.a = channel->channel_id; in invoke_process_msg_channel() 305 channel->channel_id, ret, arg.ret); in invoke_process_msg_channel() 317 u32 channel_id; in scmi_optee_chan_available() local 320 idx, &channel_id); in scmi_optee_chan_available() 373 uint32_t channel_id; in scmi_optee_chan_setup() local [all …]
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_fdma.c | 139 FDMA_DCB_LLP(fdma->channel_id)); in lan966x_fdma_rx_start() 141 FDMA_DCB_LLP1(fdma->channel_id)); in lan966x_fdma_rx_start() 147 lan966x, FDMA_CH_CFG(fdma->channel_id)); in lan966x_fdma_rx_start() 157 mask |= BIT(fdma->channel_id); in lan966x_fdma_rx_start() 163 lan_rmw(FDMA_CH_ACTIVATE_CH_ACTIVATE_SET(BIT(fdma->channel_id)), in lan966x_fdma_rx_start() 175 lan_rmw(FDMA_CH_DISABLE_CH_DISABLE_SET(BIT(fdma->channel_id)), in lan966x_fdma_rx_disable() 180 val, !(val & BIT(fdma->channel_id)), in lan966x_fdma_rx_disable() 183 lan_rmw(FDMA_CH_DB_DISCARD_DB_DISCARD_SET(BIT(fdma->channel_id)), in lan966x_fdma_rx_disable() 192 lan_rmw(FDMA_CH_RELOAD_CH_RELOAD_SET(BIT(rx->fdma.channel_id)), in lan966x_fdma_rx_reload() 239 FDMA_DCB_LLP(fdma->channel_id)); in lan966x_fdma_tx_activate() [all …]
|
/linux/sound/pci/ca0106/ |
H A 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 …]
|
/linux/drivers/media/platform/allegro-dvt/ |
H A 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
|