/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A 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() 676 gsi_channel_de_alloc_command(struct gsi *gsi, u32 channel_id) gsi_channel_de_alloc_command() argument 828 u32 channel_id = gsi_channel_id(channel); gsi_channel_program() local 945 gsi_channel_start(struct gsi *gsi, u32 channel_id) gsi_channel_start() argument 1000 gsi_channel_stop(struct gsi *gsi, u32 channel_id) gsi_channel_stop() argument 1017 gsi_channel_reset(struct gsi *gsi, u32 channel_id, bool doorbell) gsi_channel_reset() argument 1037 gsi_channel_suspend(struct gsi *gsi, u32 channel_id) gsi_channel_suspend() argument 1053 gsi_channel_resume(struct gsi *gsi, u32 channel_id) gsi_channel_resume() argument 1085 u32 channel_id = trans->channel_id; gsi_trans_tx_queued() local 1118 u32 channel_id = trans->channel_id; gsi_trans_tx_completed() local 1147 u32 channel_id = __ffs(channel_mask); gsi_isr_chan_ctrl() local 1178 gsi_isr_glob_chan_err(struct gsi *gsi, u32 err_ee, u32 channel_id, u32 code) gsi_isr_glob_chan_err() argument 1197 u32 channel_id = gsi_channel_id(evt_ring->channel); gsi_isr_glob_evt_err() local 1440 u32 channel_id = event->chid; gsi_event_trans() local 1591 u32 channel_id = gsi_channel_id(channel); gsi_channel_doorbell() local 1711 gsi_channel_setup_one(struct gsi *gsi, u32 channel_id) gsi_channel_setup_one() argument 1749 gsi_channel_teardown_one(struct gsi *gsi, u32 channel_id) gsi_channel_teardown_one() argument 1768 gsi_generic_command(struct gsi *gsi, u32 channel_id, enum gsi_generic_cmd_opcode opcode, u8 params) gsi_generic_command() argument 1821 gsi_modem_channel_alloc(struct gsi *gsi, u32 channel_id) gsi_modem_channel_alloc() argument 1827 gsi_modem_channel_halt(struct gsi *gsi, u32 channel_id) gsi_modem_channel_halt() argument 1844 gsi_modem_channel_flow_control(struct gsi *gsi, u32 channel_id, bool enable) gsi_modem_channel_flow_control() argument 1871 u32 channel_id = 0; gsi_channel_setup() local 1942 u32 channel_id; gsi_channel_teardown() local 2155 u32 channel_id = data->channel_id; gsi_channel_data_valid() local 2349 u32 channel_id = GSI_CHANNEL_COUNT_MAX - 1; gsi_channel_exit() local 2425 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id) gsi_channel_tre_max() argument [all...] |
H A 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()
|
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() 671 gsi_trans_read_byte(struct gsi *gsi, u32 channel_id, dma_addr_t addr) gsi_trans_read_byte() argument 696 gsi_trans_read_byte_done(struct gsi *gsi, u32 channel_id) gsi_trans_read_byte_done() argument 704 gsi_channel_trans_init(struct gsi *gsi, u32 channel_id) gsi_channel_trans_init() argument [all...] |
H A D | gsi.h | 181 * @channel_id: Channel whose limit is to be returned 185 u32 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id); 190 * @channel_id: Channel to start 194 int gsi_channel_start(struct gsi *gsi, u32 channel_id); 199 * @channel_id: Channel to stop 203 int gsi_channel_stop(struct gsi *gsi, u32 channel_id); 208 * @channel_id: Modem TX channel to control 211 void gsi_modem_channel_flow_control(struct gsi *gsi, u32 channel_id, 217 * @channel_id: Channel to be reset 226 void gsi_channel_reset(struct gsi *gsi, u32 channel_id, boo [all...] |
H A D | gsi_trans.h | 33 * @channel_id: Channel number transaction is associated with 53 u8 channel_id; member 138 * @channel_id: Channel the transaction is associated with 143 bool gsi_channel_trans_idle(struct gsi *gsi, u32 channel_id); 148 * @channel_id: Channel the transaction is associated with 155 struct gsi_trans *gsi_channel_trans_alloc(struct gsi *gsi, u32 channel_id, 212 * @channel_id: Channel on which to read a byte 218 int gsi_trans_read_byte(struct gsi *gsi, u32 channel_id, dma_addr_t addr); 223 * @channel_id: Channel on which byte was read 228 void gsi_trans_read_byte_done(struct gsi *gsi, u32 channel_id); [all...] |
/kernel/linux/linux-5.10/drivers/net/ipa/ |
H A 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 in gsi_channel_program() local 786 gsi_channel_start(struct gsi *gsi, u32 channel_id) gsi_channel_start() argument 803 gsi_channel_stop(struct gsi *gsi, u32 channel_id) gsi_channel_stop() argument 833 gsi_channel_reset(struct gsi *gsi, u32 channel_id, bool legacy) gsi_channel_reset() argument 851 gsi_channel_suspend(struct gsi *gsi, u32 channel_id, bool stop) gsi_channel_suspend() argument 864 gsi_channel_resume(struct gsi *gsi, u32 channel_id, bool start) gsi_channel_resume() argument 956 u32 channel_id = __ffs(channel_mask); gsi_isr_chan_ctrl() local 990 gsi_isr_glob_chan_err(struct gsi *gsi, u32 err_ee, u32 channel_id, u32 code) gsi_isr_glob_chan_err() argument 1009 u32 channel_id = gsi_channel_id(evt_ring->channel); gsi_isr_glob_evt_err() local 1306 u32 channel_id = gsi_channel_id(channel); gsi_channel_doorbell() local 1455 gsi_channel_setup_one(struct gsi *gsi, u32 channel_id, bool legacy) gsi_channel_setup_one() argument 1494 gsi_channel_teardown_one(struct gsi *gsi, u32 channel_id) gsi_channel_teardown_one() argument 1510 gsi_generic_command(struct gsi *gsi, u32 channel_id, enum gsi_generic_cmd_opcode opcode) gsi_generic_command() argument 1535 gsi_modem_channel_alloc(struct gsi *gsi, u32 channel_id) gsi_modem_channel_alloc() argument 1541 gsi_modem_channel_halt(struct gsi *gsi, u32 channel_id) gsi_modem_channel_halt() argument 1554 u32 channel_id = 0; gsi_channel_setup() local 1627 u32 channel_id; gsi_channel_teardown() local 1765 u32 channel_id = data->channel_id; gsi_channel_data_valid() local 1945 u32 channel_id = GSI_CHANNEL_COUNT_MAX - 1; gsi_channel_exit() local 2058 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id) gsi_channel_tre_max() argument 2067 gsi_channel_trans_tre_max(struct gsi *gsi, u32 channel_id) gsi_channel_trans_tre_max() argument [all...] |
H A 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()
|
H A 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,
|
H A D | gsi.h | 185 * @channel_id: Channel whose limit is to be returned 189 u32 gsi_channel_tre_max(struct gsi *gsi, u32 channel_id); 194 * @channel_id: Channel whose limit is to be returned 198 u32 gsi_channel_trans_tre_max(struct gsi *gsi, u32 channel_id); 203 * @channel_id: Channel to start 207 int gsi_channel_start(struct gsi *gsi, u32 channel_id); 212 * @channel_id: Channel to stop 216 int gsi_channel_stop(struct gsi *gsi, u32 channel_id); 221 * @channel_id: Channel to be reset 230 void gsi_channel_reset(struct gsi *gsi, u32 channel_id, boo [all...] |
H A 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,
|
H A D | gsi_trans.c | 262 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in gsi_trans_move_pending() 277 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() 327 struct gsi_trans *gsi_channel_trans_alloc(struct gsi *gsi, u32 channel_id, in gsi_channel_trans_alloc() argument 331 struct gsi_channel *channel = &gsi->channel[channel_id]; in gsi_channel_trans_alloc() 335 /* assert(tre_count <= gsi_channel_trans_tre_max(gsi, channel_id)); */ in gsi_channel_trans_alloc() 348 trans->channel_id = channel_id; in gsi_channel_trans_alloc() 380 trans_info = &trans->gsi->channel[trans->channel_id].trans_info; in gsi_trans_free() 542 struct gsi_channel *channel = &trans->gsi->channel[trans->channel_id]; in __gsi_trans_commit() 688 gsi_trans_read_byte(struct gsi *gsi, u32 channel_id, dma_addr_t addr) gsi_trans_read_byte() argument 713 gsi_trans_read_byte_done(struct gsi *gsi, u32 channel_id) gsi_trans_read_byte_done() argument 721 gsi_channel_trans_init(struct gsi *gsi, u32 channel_id) gsi_channel_trans_init() argument [all...] |
H A 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() 943 if (backlog == gsi_channel_tre_max(gsi, endpoint->channel_id)) in ipa_endpoint_replenish() 959 max_backlog = gsi_channel_tre_max(gsi, endpoint->channel_id); in ipa_endpoint_replenish_enable() 1246 gsi_channel_reset(gsi, endpoint->channel_id, false); in ipa_endpoint_reset_rx_aggr() 1252 ret = gsi_channel_start(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr() 1256 ret = gsi_trans_read_byte(gsi, endpoint->channel_id, addr); in ipa_endpoint_reset_rx_aggr() 1273 gsi_trans_read_byte_done(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr() 1275 ret = gsi_channel_stop(gsi, endpoint->channel_id); in ipa_endpoint_reset_rx_aggr() 1305 u32 channel_id = endpoint->channel_id; ipa_endpoint_reset() local 1474 u32 channel_id = endpoint->channel_id; ipa_endpoint_setup_one() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
H A D | vpif.c | 285 u8 channel_id, u8 config_channel_id) in vpif_set_mode_info() 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() 326 start = channel_id; in config_vpif_params() 327 end = channel_id + found; in config_vpif_params() 331 if (channel_id < in config_vpif_params() 284 vpif_set_mode_info(const struct vpif_channel_config_params *config, u8 channel_id, u8 config_channel_id) vpif_set_mode_info() argument 318 config_vpif_params(struct vpif_params *vpifparams, u8 channel_id, u8 found) config_vpif_params() argument 374 vpif_set_video_params(struct vpif_params *vpifparams, u8 channel_id) vpif_set_video_params() argument 395 vpif_set_vbi_display_params(struct vpif_vbi_params *vbiparams, u8 channel_id) vpif_set_vbi_display_params() argument 419 vpif_channel_getfid(u8 channel_id) vpif_channel_getfid() argument [all...] |
H A 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...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/davinci/ |
H A D | vpif.c | 292 u8 channel_id, u8 config_channel_id) in vpif_set_mode_info() 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() 333 start = channel_id; in config_vpif_params() 334 end = channel_id + found; in config_vpif_params() 338 if (channel_id < in config_vpif_params() 291 vpif_set_mode_info(const struct vpif_channel_config_params *config, u8 channel_id, u8 config_channel_id) vpif_set_mode_info() argument 325 config_vpif_params(struct vpif_params *vpifparams, u8 channel_id, u8 found) config_vpif_params() argument 381 vpif_set_video_params(struct vpif_params *vpifparams, u8 channel_id) vpif_set_video_params() argument 402 vpif_set_vbi_display_params(struct vpif_vbi_params *vbiparams, u8 channel_id) vpif_set_vbi_display_params() argument 426 vpif_channel_getfid(u8 channel_id) vpif_channel_getfid() argument [all...] |
H A 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...] |
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_imem_ops.c | 33 int channel_id) in ipc_imem_sys_wwan_close() 58 int if_id, int channel_id, struct sk_buff *skb) in ipc_imem_sys_wwan_transmit() 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 in ipc_imem_sys_devlink_open() 32 ipc_imem_sys_wwan_close(struct iosm_imem *ipc_imem, int if_id, int channel_id) ipc_imem_sys_wwan_close() argument 57 ipc_imem_sys_wwan_transmit(struct iosm_imem *ipc_imem, int if_id, int channel_id, struct sk_buff *skb) ipc_imem_sys_wwan_transmit() argument [all...] |
/kernel/linux/linux-5.10/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 372 cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id, enum cfctrl_srv serv, u8 phyid, struct cflayer *adapt_layer) cfcnfg_linkup_rsp() argument [all...] |
/kernel/linux/linux-6.6/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 372 cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id, enum cfctrl_srv serv, u8 phyid, struct cflayer *adapt_layer) cfcnfg_linkup_rsp() argument [all...] |
/kernel/linux/linux-5.10/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() 315 * @channel_id: channel index 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() 380 * @channel_id 384 comp_tx_completion(struct most_interface *iface, int channel_id) comp_tx_completion() argument 412 comp_probe(struct most_interface *iface, int channel_id, struct most_channel_config *cfg, char *name, char *args) comp_probe() argument [all...] |
/kernel/linux/linux-6.6/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() 315 * @channel_id: channel index 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() 380 * @channel_id 384 comp_tx_completion(struct most_interface *iface, int channel_id) comp_tx_completion() argument 413 comp_probe(struct most_interface *iface, int channel_id, struct most_channel_config *cfg, char *name, char *args) comp_probe() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A 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...] |
/kernel/linux/linux-5.10/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() [all...] |
/kernel/linux/linux-6.6/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() [all...] |
/kernel/linux/linux-6.6/drivers/net/ipa/data/ |
H A 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,
|