Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 1833) sorted by relevance

12345678910>>...74

/linux-6.3-rc2/drivers/char/xillybus/
A Dxillybus_core.c255 channel->wr_hangup = channel->wr_empty && in xillybus_isr()
458 if (!channel) in xilly_setupchannels()
763 (channel->wr_host_buf_idx == channel->wr_eof); in xillybus_read()
822 (channel->wr_synchronous && channel->wr_allow_partial))) in xillybus_read()
952 channel->wr_wait, in xillybus_read()
1269 tail = channel-> in xillybus_write()
1458 (channel->wr_synchronous || !channel->wr_allow_partial || in xillybus_open()
1466 (channel->rd_synchronous || !channel->rd_allow_partial)) { in xillybus_open()
1537 channel->rd_fpga_buf_idx = channel->num_rd_buffers - 1; in xillybus_open()
1755 if (!channel->wr_synchronous && channel->wr_supports_nonempty) { in xillybus_poll()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Defx_channels.c542 channel->channel = i; in efx_alloc_channel()
550 tx_queue->channel = channel; in efx_alloc_channel()
623 tx_queue->channel = channel; in efx_copy_channel()
685 number = channel->channel; in efx_get_channel_name()
707 channel->type->get_name(channel, in efx_siena_set_channel_names()
730 channel->channel); in efx_siena_probe_channels()
894 channel = efx->channel[i]; in efx_siena_realloc_channels()
896 channel = channel->type->copy(channel); in efx_siena_realloc_channels()
916 channel = efx->channel[i]; in efx_siena_realloc_channels()
976 channel->rx_queue.core_index = channel->channel; in efx_siena_set_channels()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Defx_channels.c540 channel->channel = i; in efx_alloc_channel()
548 tx_queue->channel = channel; in efx_alloc_channel()
620 tx_queue->channel = channel; in efx_copy_channel()
682 number = channel->channel; in efx_get_channel_name()
727 channel->channel); in efx_probe_channels()
887 channel = efx->channel[i]; in efx_realloc_channels()
889 channel = channel->type->copy(channel); in efx_realloc_channels()
909 channel = efx->channel[i]; in efx_realloc_channels()
972 channel->rx_queue.core_index = channel->channel; in efx_set_channels()
987 return channel->channel - channel->efx->tx_channel_offset < in efx_default_channel_want_txqs()
[all …]
/linux-6.3-rc2/drivers/phy/renesas/
A Dr8a779f0-ether-serdes.c64 dev_dbg(&channel->phy->dev, in r8a779f0_eth_serdes_reg_wait()
78 channel = &dd->channel[i]; in r8a779f0_eth_serdes_common_init_ram()
147 if (channel->speed == 1000) in r8a779f0_eth_serdes_chan_setting()
172 if (channel->speed == 1000) in r8a779f0_eth_serdes_chan_speed()
260 *channel) in r8a779f0_eth_serdes_hw_init_late()
309 channel->speed = speed; in r8a779f0_eth_serdes_set_speed()
368 struct r8a779f0_eth_serdes_channel *channel = &dd->channel[i]; in r8a779f0_eth_serdes_probe() local
372 if (IS_ERR(channel->phy)) in r8a779f0_eth_serdes_probe()
375 channel->dd = dd; in r8a779f0_eth_serdes_probe()
376 channel->index = i; in r8a779f0_eth_serdes_probe()
[all …]
/linux-6.3-rc2/drivers/rpmsg/
A Dqcom_smd.c407 channel->pkt_size = 0; in qcom_smd_channel_reset()
553 if (tail + channel->pkt_size >= channel->fifo_size) { in qcom_smd_channel_recv_single()
555 len = qcom_smd_channel_peek(channel, ptr, channel->pkt_size); in qcom_smd_channel_recv_single()
614 } else if (channel->pkt_size && avail >= channel->pkt_size) { in qcom_smd_channel_intr()
885 ret = channel; in qcom_smd_find_channel()
1135 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in qcom_smd_create_channel()
1136 if (!channel) in qcom_smd_create_channel()
1139 channel->edge = edge; in qcom_smd_create_channel()
1190 return channel; in qcom_smd_create_channel()
1195 kfree(channel); in qcom_smd_create_channel()
[all …]
A Dqcom_glink_native.c210 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in qcom_glink_alloc_channel()
211 if (!channel) in qcom_glink_alloc_channel()
233 return channel; in qcom_glink_alloc_channel()
269 kfree(channel); in qcom_glink_channel_release()
417 if (!channel) { in qcom_glink_handle_intent_req_ack()
738 if (!channel) { in qcom_glink_handle_rx_done()
782 if (!channel) { in qcom_glink_handle_intent_req()
857 if (!channel) { in qcom_glink_rx_data()
917 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data()
967 if (!channel) { in qcom_glink_handle_intent()
[all …]
/linux-6.3-rc2/drivers/hsi/controllers/
A Domap_ssi_regs.h33 # define SSI_DATAACCEPT(channel) (1 << (channel)) argument
34 # define SSI_DATAAVAILABLE(channel) (1 << ((channel) + 8)) argument
35 # define SSI_DATAOVERRUN(channel) (1 << ((channel) + 16)) argument
40 # define SSI_GDD_LCH(channel) (1 << (channel)) argument
44 # define SSI_WAKE(channel) (1 << (channel)) argument
62 # define SSI_FULL(channel) (1 << (channel)) argument
71 #define SSI_SST_BUFFER_CH_REG(channel) (0x80 + ((channel) * 4)) argument
82 # define SSI_NOTEMPTY(channel) (1 << (channel)) argument
111 #define SSI_GDD_CSDP_REG(channel) (0x800 + ((channel) * 0x40)) argument
130 #define SSI_GDD_CCR_REG(channel) (0x802 + ((channel) * 0x40)) argument
[all …]
/linux-6.3-rc2/drivers/ipack/devices/
A Dipoctal.c63 channel->rx_enable = 0; in ipoctal_reset_channel()
81 channel->rx_enable = 1; in ipoctal_port_activate()
130 channel->nb_bytes = 0; in ipoctal_free_channel()
214 channel->stats.tx++; in ipoctal_irq_tx()
217 channel->nb_bytes--; in ipoctal_irq_tx()
328 struct ipoctal_channel *channel = &ipoctal->channel[i]; in ipoctal_inst_slot() local
398 channel = &ipoctal->channel[i]; in ipoctal_inst_slot()
453 channel->nb_bytes++; in ipoctal_copy_write_buffer()
638 if (channel == NULL) in ipoctal_hangup()
658 if (channel == NULL) in ipoctal_shutdown()
[all …]
/linux-6.3-rc2/drivers/dma/sh/
A Drz-dmac.c275 rz_dmac_ch_writel(channel, channel->chcfg, CHCFG, 1); in rz_dmac_enable_hw()
377 rz_dmac_set_dmars_register(dmac, channel->index, channel->mid_rid); in rz_dmac_prepare_descs_for_slave_sg()
451 list_splice_tail_init(&channel->ld_active, &channel->ld_free); in rz_dmac_free_chan_resources()
452 list_splice_tail_init(&channel->ld_queue, &channel->ld_free); in rz_dmac_free_chan_resources()
492 list_move_tail(channel->ld_free.next, &channel->ld_queue); in rz_dmac_prep_dma_memcpy()
528 list_move_tail(channel->ld_free.next, &channel->ld_queue); in rz_dmac_prep_slave_sg()
540 list_splice_tail_init(&channel->ld_active, &channel->ld_free); in rz_dmac_terminate_all()
541 list_splice_tail_init(&channel->ld_queue, &channel->ld_free); in rz_dmac_terminate_all()
678 if (channel) { in rz_dmac_irq_handler()
701 list_move_tail(channel->ld_active.next, &channel->ld_free); in rz_dmac_irq_handler_thread()
[all …]
/linux-6.3-rc2/drivers/staging/greybus/
A Dlight.c108 if (channel && channel->mode == mode) in get_channel_from_mode()
111 return channel; in get_channel_from_mode()
147 channel = get_channel_from_mode(channel->light, in __gb_lights_flash_brightness_set()
152 (channel->intensity_uA.step * channel->led->brightness); in __gb_lights_flash_brightness_set()
290 channel->attrs = kcalloc(size + 1, sizeof(*channel->attrs), GFP_KERNEL); in channel_attr_groups_set()
291 if (!channel->attrs) in channel_attr_groups_set()
293 channel->attr_group = kzalloc(sizeof(*channel->attr_group), GFP_KERNEL); in channel_attr_groups_set()
296 channel->attr_groups = kcalloc(2, sizeof(*channel->attr_groups), in channel_attr_groups_set()
308 channel->attr_group->attrs = channel->attrs; in channel_attr_groups_set()
310 channel->attr_groups[0] = channel->attr_group; in channel_attr_groups_set()
[all …]
/linux-6.3-rc2/drivers/most/
A Dmost_snd.c165 struct channel *channel; in get_channel() local
229 struct channel *const channel = data; in playback_thread() local
239 (mbo = most_get_mbo(channel->iface, channel->id, in playback_thread()
267 struct channel *channel = substream->private_data; in pcm_open() local
307 struct channel *channel = substream->private_data; in pcm_close() local
326 struct channel *channel = substream->private_data; in pcm_prepare() local
372 struct channel *channel = substream->private_data; in pcm_trigger() local
489 struct channel *channel, *tmp; in release_adapter() local
517 struct channel *channel; in audio_probe_channel() local
577 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in audio_probe_channel()
[all …]
/linux-6.3-rc2/drivers/ptp/
A Dptp_clockmatrix.c1040 err = channel->do_phase_pull_in(channel, delta, 0); in _idtcm_adjtime_deprecated()
1687 channel->configure_write_frequency(channel); in initialize_dco_operating_mode()
1714 err = channel->configure_write_phase(channel); in _idtcm_adjphase()
1753 err = channel->configure_write_frequency(channel); in _idtcm_adjfine()
1872 err = channel->do_phase_pull_in(channel, delta, 0); in idtcm_adjtime()
2241 channel = &idtcm->channel[index]; in idtcm_enable_channel()
2261 snprintf(channel->caps.name, sizeof(channel->caps.name), in idtcm_enable_channel()
2286 channel->dco_delay = idtcm_get_dco_delay(channel); in idtcm_enable_channel()
2313 channel = &idtcm->channel[index]; in idtcm_enable_extts_channel()
2353 channel = &idtcm->channel[i]; in idtcm_extts_check()
[all …]
A Dptp_idt82p33.c123 channel->pll_mode = mode; in idt82p33_dpll_set_mode()
270 ref = ptp_find_pin(channel->ptp_clock, PTP_PF_EXTTS, channel->plln); in idt82p33_extts_enable()
595 err = _idt82p33_adjfine(channel, channel->current_freq); in idt82p33_stop_ddco()
599 channel->ddco = false; in idt82p33_stop_ddco()
633 channel->ddco = true; in idt82p33_start_ddco()
934 channel = &idt82p33->channel[i]; in idt82p33_ptp_clock_unregister_all()
1117 struct idt82p33_channel *channel = &idt82p33->channel[index]; in idt82p33_channel_init() local
1208 channel = &idt82p33->channel[index]; in idt82p33_enable_channel()
1221 channel->ptp_clock = ptp_clock_register(&channel->caps, NULL); in idt82p33_enable_channel()
1369 channel = &idt82p33->channel[i]; in idt82p33_extts_check()
[all …]
/linux-6.3-rc2/drivers/media/platform/allegro-dvt/
A Dallegro-core.c1290 param->num_pixel = channel->width + channel->height; in fill_create_channel_param()
1808 channel->max_cu_size - channel->min_cu_size; in allegro_hevc_write_sps()
1812 channel->max_tu_size - channel->min_tu_size; in allegro_hevc_write_sps()
2184 channel->user_id, channel->mcu_channel_id); in allegro_handle_create_channel()
2251 channel->user_id, channel->mcu_channel_id); in allegro_handle_destroy_channel()
2567 (char *)&channel->codec, channel->width, channel->height, in allegro_create_channel()
2740 channel->stride = round_up(channel->width, 32); in allegro_set_default_params()
2749 channel->sizeimage_raw = channel->stride * channel->height * 3 / 2; in allegro_set_default_params()
3004 channel->bitrate = channel->mpeg_video_bitrate->val; in allegro_s_ctrl()
3047 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in allegro_open()
[all …]
/linux-6.3-rc2/drivers/hsi/clients/
A Dhsi_char.c204 msg->channel = channel->ch; in hsc_msgs_alloc()
231 hsc_add_tail(channel, msg, &channel->rx_msgs_queue); in hsc_rx_completed()
234 hsc_add_tail(channel, msg, &channel->free_msgs_list); in hsc_rx_completed()
251 hsc_add_tail(channel, msg, &channel->tx_msgs_queue); in hsc_tx_completed()
254 hsc_add_tail(channel, msg, &channel->free_msgs_list); in hsc_tx_completed()
291 hsc_add_tail(channel, msg2, &channel->rx_msgs_queue); in hsc_break_received()
439 hsc_add_tail(channel, msg, &channel->free_msgs_list); in hsc_read()
463 hsc_add_tail(channel, msg, &channel->free_msgs_list); in hsc_read()
643 hsc_reset_list(channel, &channel->rx_msgs_queue); in hsc_release()
644 hsc_reset_list(channel, &channel->tx_msgs_queue); in hsc_release()
[all …]
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/
A Dradio_2055.c476 { .channel = 32,
1172 { .channel = 1,
1180 { .channel = 2,
1188 { .channel = 3,
1196 { .channel = 4,
1204 { .channel = 5,
1212 { .channel = 6,
1220 { .channel = 7,
1228 { .channel = 8,
1236 { .channel = 9,
[all …]
/linux-6.3-rc2/drivers/net/ethernet/microchip/
A Dlan743x_main.h149 #define FCT_RX_CTL_EN_(channel) BIT(28 + (channel)) argument
150 #define FCT_RX_CTL_DIS_(channel) BIT(24 + (channel)) argument
151 #define FCT_RX_CTL_RESET_(channel) BIT(20 + (channel)) argument
154 #define FCT_TX_CTL_EN_(channel) BIT(28 + (channel)) argument
155 #define FCT_TX_CTL_DIS_(channel) BIT(24 + (channel)) argument
156 #define FCT_TX_CTL_RESET_(channel) BIT(20 + (channel)) argument
375 #define INT_BIT_DMA_RX_(channel) BIT(24 + (channel)) argument
377 #define INT_BIT_DMA_TX_(channel) BIT(16 + (channel)) argument
488 #define PTP_INT_EN_TIMER_SET_(channel) BIT(channel) argument
635 #define DMAC_CMD_RX_SWR_(channel) BIT(8 + (channel)) argument
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/powerpc/fsl/
A Ddma.txt17 - DMA channel nodes:
38 dma-channel@0 {
39 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
45 dma-channel@80 {
46 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
52 dma-channel@100 {
53 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
60 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
98 dma-channel@0 {
155 dma-channel@0 {
[all …]
/linux-6.3-rc2/drivers/firmware/arm_scmi/
A Doptee.c229 if (channel->tee_shm) in get_channel()
251 channel->caps = caps; in get_channel()
343 if (!channel->tee_shm) in scmi_optee_clear_channel()
421 channel = devm_kzalloc(dev, sizeof(*channel), GFP_KERNEL); in scmi_optee_chan_setup()
422 if (!channel) in scmi_optee_chan_setup()
431 channel->cinfo = cinfo; in scmi_optee_chan_setup()
459 if (channel->tee_shm) in scmi_optee_chan_setup()
476 if (channel->tee_shm) { in scmi_optee_chan_free()
482 channel->cinfo = NULL; in scmi_optee_chan_free()
514 if (channel->tee_shm) in scmi_optee_fetch_response()
[all …]
/linux-6.3-rc2/sound/xen/
A Dxen_snd_front_evtchnl.c151 page = channel->u.evt.page; in evtchnl_free()
163 if (channel->irq) in evtchnl_free()
164 unbind_from_irqhandler(channel->irq, channel); in evtchnl_free()
166 if (channel->port) in evtchnl_free()
172 memset(channel, 0, sizeof(*channel)); in evtchnl_free()
201 memset(channel, 0, sizeof(*channel)); in evtchnl_alloc()
202 channel->type = type; in evtchnl_alloc()
203 channel->index = index; in evtchnl_alloc()
230 channel->u.evt.page = page; in evtchnl_alloc()
246 channel->irq = ret; in evtchnl_alloc()
[all …]
/linux-6.3-rc2/drivers/tty/serial/jsm/
A Djsm_tty.c103 channel->ch_bd->bd_ops->assert_modem_signals(channel); in jsm_tty_set_mctrl()
120 channel->ch_bd->bd_ops->copy_data_from_queue_to_uart(channel); in jsm_tty_write()
158 channel->ch_bd->bd_ops->send_start_character(channel); in jsm_tty_send_xchar()
161 channel->ch_bd->bd_ops->send_stop_character(channel); in jsm_tty_send_xchar()
170 channel->ch_bd->bd_ops->disable_receiver(channel); in jsm_tty_stop_rx()
181 channel->ch_bd->bd_ops->send_break(channel); in jsm_tty_break()
183 channel->ch_bd->bd_ops->clear_break(channel); in jsm_tty_break()
234 channel->ch_r_head = channel->ch_r_tail = 0; in jsm_tty_open()
235 channel->ch_e_head = channel->ch_e_tail = 0; in jsm_tty_open()
297 channel->ch_bd->bd_ops->uart_off(channel); in jsm_tty_close()
[all …]
/linux-6.3-rc2/arch/sh/drivers/dma/
A Ddma-api.c76 struct dma_channel *channel; in get_dma_channel() local
84 if (channel->vchan == chan) in get_dma_channel()
85 return channel; in get_dma_channel()
156 return channel->chan; in request_dma_bycap()
172 if (unlikely(!channel)) in dmac_search_free_channel()
185 return channel->chan; in dmac_search_free_channel()
201 strlcpy(channel->dev_id, dev_id, sizeof(channel->dev_id)); in request_dma()
288 channel->sar = from; in dma_xfer()
289 channel->dar = to; in dma_xfer()
290 channel->count = size; in dma_xfer()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Defx.c432 channel->channel = i; in ef4_alloc_channel()
439 tx_queue->channel = channel; in ef4_alloc_channel()
475 tx_queue->channel = channel; in ef4_copy_channel()
531 number = channel->channel; in ef4_get_channel_name()
548 channel->type->get_name(channel, in ef4_set_channel_names()
571 channel->channel); in ef4_probe_channels()
747 channel->type->post_remove(channel); in ef4_remove_channel()
799 channel = efx->channel[i]; in ef4_realloc_channels()
801 channel = channel->type->copy(channel); in ef4_realloc_channels()
822 channel = efx->channel[i]; in ef4_realloc_channels()
[all …]
/linux-6.3-rc2/drivers/net/wwan/iosm/
A Diosm_ipc_imem_ops.c161 channel->channel_id, channel->state, in ipc_imem_is_channel_active()
176 channel->channel_id, channel->state); in ipc_imem_is_channel_active()
213 channel->channel_id, channel->state); in ipc_imem_sys_port_close()
220 if (channel->ul_pipe.old_tail != channel->ul_pipe.old_head) { in ipc_imem_sys_port_close()
303 if (!channel) { in ipc_imem_sys_port_open()
308 return channel; in ipc_imem_sys_port_open()
314 struct ipc_mem_channel *channel = ipc_cdev->channel; in ipc_imem_sys_cdev_write() local
373 return channel; in ipc_imem_sys_devlink_open()
405 channel = ipc_imem->ipc_devlink->devlink_sio.channel; in ipc_imem_sys_devlink_close()
419 if (channel->ul_pipe.old_tail != channel->ul_pipe.old_head) { in ipc_imem_sys_devlink_close()
[all …]
/linux-6.3-rc2/drivers/firmware/tegra/
A Dbpmp.c87 index = channel - channel->bpmp->threaded_channels; in tegra_bpmp_channel_get_thread_index()
135 return ops->ack_response(channel); in tegra_bpmp_ack_response()
142 return ops->ack_request(channel); in tegra_bpmp_ack_request()
183 return ops->post_request(channel); in tegra_bpmp_post_request()
190 return ops->post_response(channel); in tegra_bpmp_post_response()
293 return channel; in tegra_bpmp_write_threaded()
329 channel = bpmp->tx_channel; in tegra_bpmp_transfer_atomic()
370 if (IS_ERR(channel)) in tegra_bpmp_transfer()
371 return PTR_ERR(channel); in tegra_bpmp_transfer()
656 complete(&channel->completion); in tegra_bpmp_channel_signal()
[all …]

Completed in 124 milliseconds

12345678910>>...74