Home
last modified time | relevance | path

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

12345678910>>...119

/linux/drivers/char/xillybus/
H 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/drivers/net/ethernet/sfc/siena/
H A Defx_channels.c544 channel->channel = i; in efx_alloc_channel()
552 tx_queue->channel = channel; in efx_alloc_channel()
625 tx_queue->channel = channel; in efx_copy_channel()
687 number = channel->channel; in efx_get_channel_name()
709 channel->type->get_name(channel, in efx_siena_set_channel_names()
732 channel->channel); in efx_siena_probe_channels()
896 channel = efx->channel[i]; in efx_siena_realloc_channels()
898 channel = channel->type->copy(channel); in efx_siena_realloc_channels()
918 channel = efx->channel[i]; in efx_siena_realloc_channels()
978 channel->rx_queue.core_index = channel->channel; in efx_siena_set_channels()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Defx_channels.c542 channel->channel = i; in efx_alloc_channel()
550 tx_queue->channel = channel; in efx_alloc_channel()
622 tx_queue->channel = channel; in efx_copy_channel()
684 number = channel->channel; in efx_get_channel_name()
726 channel->channel); in efx_probe_channels()
864 channel = efx->channel[i]; in efx_realloc_channels()
866 channel = channel->type->copy(channel); in efx_realloc_channels()
883 channel = efx->channel[i]; in efx_realloc_channels()
946 channel->rx_queue.core_index = channel->channel; in efx_set_channels()
961 return channel->channel - channel->efx->tx_channel_offset < in efx_default_channel_want_txqs()
[all …]
/linux/drivers/phy/renesas/
H A Dr8a779f0-ether-serdes.c65 dev_dbg(&channel->phy->dev, in r8a779f0_eth_serdes_reg_wait()
79 channel = &dd->channel[i]; in r8a779f0_eth_serdes_common_init_ram()
148 if (channel->speed == 1000) in r8a779f0_eth_serdes_chan_setting()
173 if (channel->speed == 1000) in r8a779f0_eth_serdes_chan_speed()
274 *channel) in r8a779f0_eth_serdes_hw_init_late()
323 channel->speed = speed; in r8a779f0_eth_serdes_set_speed()
374 struct r8a779f0_eth_serdes_channel *channel = &dd->channel[i]; in r8a779f0_eth_serdes_probe() local
378 if (IS_ERR(channel->phy)) in r8a779f0_eth_serdes_probe()
381 channel->dd = dd; in r8a779f0_eth_serdes_probe()
382 channel->index = i; in r8a779f0_eth_serdes_probe()
[all …]
/linux/drivers/rpmsg/
H 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 …]
H A Dqcom_glink_native.c219 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in qcom_glink_alloc_channel()
220 if (!channel) in qcom_glink_alloc_channel()
231 kfree(channel); in qcom_glink_alloc_channel()
246 return channel; in qcom_glink_alloc_channel()
282 kfree(channel); in qcom_glink_channel_release()
430 if (!channel) { in qcom_glink_handle_intent_req_ack()
751 if (!channel) { in qcom_glink_handle_rx_done()
800 if (!channel) { in qcom_glink_handle_intent_req()
875 if (!channel) { in qcom_glink_rx_data()
935 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data()
[all …]
/linux/drivers/ipack/devices/
H 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()
212 channel->stats.tx++; in ipoctal_irq_tx()
215 channel->nb_bytes--; in ipoctal_irq_tx()
326 struct ipoctal_channel *channel = &ipoctal->channel[i]; in ipoctal_inst_slot() local
396 channel = &ipoctal->channel[i]; in ipoctal_inst_slot()
450 channel->nb_bytes++; in ipoctal_copy_write_buffer()
635 if (channel == NULL) in ipoctal_hangup()
655 if (channel == NULL) in ipoctal_shutdown()
[all …]
/linux/drivers/hsi/controllers/
H 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/drivers/dma/sh/
H A Drz-dmac.c276 rz_dmac_ch_writel(channel, channel->chcfg, CHCFG, 1); in rz_dmac_enable_hw()
378 rz_dmac_set_dmars_register(dmac, channel->index, channel->mid_rid); in rz_dmac_prepare_descs_for_slave_sg()
452 list_splice_tail_init(&channel->ld_active, &channel->ld_free); in rz_dmac_free_chan_resources()
453 list_splice_tail_init(&channel->ld_queue, &channel->ld_free); in rz_dmac_free_chan_resources()
493 list_move_tail(channel->ld_free.next, &channel->ld_queue); in rz_dmac_prep_dma_memcpy()
529 list_move_tail(channel->ld_free.next, &channel->ld_queue); in rz_dmac_prep_slave_sg()
541 list_splice_tail_init(&channel->ld_active, &channel->ld_free); in rz_dmac_terminate_all()
542 list_splice_tail_init(&channel->ld_queue, &channel->ld_free); in rz_dmac_terminate_all()
679 if (channel) { in rz_dmac_irq_handler()
702 list_move_tail(channel->ld_active.next, &channel->ld_free); in rz_dmac_irq_handler_thread()
[all …]
/linux/drivers/most/
H 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/drivers/staging/greybus/
H A Dlight.c104 return channel; in get_channel_from_mode()
117 if (channel->releasing) in __gb_lights_flash_intensity_set()
142 channel = get_channel_from_mode(channel->light, in __gb_lights_flash_brightness_set()
147 (channel->intensity_uA.step * channel->led->brightness); in __gb_lights_flash_brightness_set()
269 channel->attrs = kcalloc(size + 1, sizeof(*channel->attrs), GFP_KERNEL); in channel_attr_groups_set()
270 if (!channel->attrs) in channel_attr_groups_set()
272 channel->attr_group = kzalloc(sizeof(*channel->attr_group), GFP_KERNEL); in channel_attr_groups_set()
275 channel->attr_groups = kcalloc(2, sizeof(*channel->attr_groups), in channel_attr_groups_set()
287 channel->attr_group->attrs = channel->attrs; in channel_attr_groups_set()
289 channel->attr_groups[0] = channel->attr_group; in channel_attr_groups_set()
[all …]
/linux/drivers/ptp/
H 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()
1722 err = channel->configure_write_phase(channel); in _idtcm_adjphase()
1749 err = channel->configure_write_frequency(channel); in _idtcm_adjfine()
1868 err = channel->do_phase_pull_in(channel, delta, 0); in idtcm_adjtime()
2239 channel = &idtcm->channel[index]; in idtcm_enable_channel()
2259 snprintf(channel->caps.name, sizeof(channel->caps.name), in idtcm_enable_channel()
2284 channel->dco_delay = idtcm_get_dco_delay(channel); in idtcm_enable_channel()
2311 channel = &idtcm->channel[index]; in idtcm_enable_extts_channel()
2351 channel = &idtcm->channel[i]; in idtcm_extts_check()
[all …]
H 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()
1116 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/drivers/media/platform/allegro-dvt/
H A Dallegro-core.c1289 param->num_pixel = channel->width + channel->height; in fill_create_channel_param()
1807 channel->max_cu_size - channel->min_cu_size; in allegro_hevc_write_sps()
1811 channel->max_tu_size - channel->min_tu_size; in allegro_hevc_write_sps()
2183 channel->user_id, channel->mcu_channel_id); in allegro_handle_create_channel()
2250 channel->user_id, channel->mcu_channel_id); in allegro_handle_destroy_channel()
2566 (char *)&channel->codec, channel->width, channel->height, in allegro_create_channel()
2739 channel->stride = round_up(channel->width, 32); in allegro_set_default_params()
2748 channel->sizeimage_raw = channel->stride * channel->height * 3 / 2; in allegro_set_default_params()
3003 channel->bitrate = channel->mpeg_video_bitrate->val; in allegro_s_ctrl()
3046 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in allegro_open()
[all …]
/linux/drivers/hsi/clients/
H 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/drivers/tty/serial/jsm/
H 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/drivers/net/wireless/broadcom/b43/
H 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/drivers/firmware/arm_scmi/
H A Doptee.c231 if (channel->tee_shm) in get_channel()
253 channel->caps = caps; in get_channel()
345 if (!channel->tee_shm) in scmi_optee_clear_channel()
423 channel = devm_kzalloc(dev, sizeof(*channel), GFP_KERNEL); in scmi_optee_chan_setup()
424 if (!channel) in scmi_optee_chan_setup()
433 channel->cinfo = cinfo; in scmi_optee_chan_setup()
465 if (channel->tee_shm) in scmi_optee_chan_setup()
482 if (channel->tee_shm) { in scmi_optee_chan_free()
488 channel->cinfo = NULL; in scmi_optee_chan_free()
520 if (channel->tee_shm) in scmi_optee_fetch_response()
[all …]
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.h150 #define FCT_RX_CTL_EN_(channel) BIT(28 + (channel)) argument
151 #define FCT_RX_CTL_DIS_(channel) BIT(24 + (channel)) argument
152 #define FCT_RX_CTL_RESET_(channel) BIT(20 + (channel)) argument
155 #define FCT_TX_CTL_EN_(channel) BIT(28 + (channel)) argument
156 #define FCT_TX_CTL_DIS_(channel) BIT(24 + (channel)) argument
157 #define FCT_TX_CTL_RESET_(channel) BIT(20 + (channel)) argument
379 #define INT_BIT_DMA_RX_(channel) BIT(24 + (channel)) argument
381 #define INT_BIT_DMA_TX_(channel) BIT(16 + (channel)) argument
492 #define PTP_INT_EN_TIMER_SET_(channel) BIT(channel) argument
641 #define DMAC_CMD_RX_SWR_(channel) BIT(8 + (channel)) argument
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H 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/sound/xen/
H 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/drivers/net/ethernet/sfc/falcon/
H A Defx.c431 channel->channel = i; in ef4_alloc_channel()
438 tx_queue->channel = channel; in ef4_alloc_channel()
474 tx_queue->channel = channel; in ef4_copy_channel()
530 number = channel->channel; in ef4_get_channel_name()
547 channel->type->get_name(channel, in ef4_set_channel_names()
570 channel->channel); in ef4_probe_channels()
746 channel->type->post_remove(channel); in ef4_remove_channel()
798 channel = efx->channel[i]; in ef4_realloc_channels()
800 channel = channel->type->copy(channel); in ef4_realloc_channels()
821 channel = efx->channel[i]; in ef4_realloc_channels()
[all …]
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_imem_ops.c165 channel->channel_id, channel->state, 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()
224 if (channel->ul_pipe.old_tail != channel->ul_pipe.old_head) { in ipc_imem_sys_port_close()
307 if (!channel) { in ipc_imem_sys_port_open()
312 return channel; in ipc_imem_sys_port_open()
318 struct ipc_mem_channel *channel = ipc_cdev->channel; in ipc_imem_sys_cdev_write() local
377 return channel; in ipc_imem_sys_devlink_open()
409 channel = ipc_imem->ipc_devlink->devlink_sio.channel; in ipc_imem_sys_devlink_close()
423 if (channel->ul_pipe.old_tail != channel->ul_pipe.old_head) { in ipc_imem_sys_devlink_close()
[all …]
/linux/drivers/tty/serial/
H A Dip22zilog.c150 ZS_WSYNC(channel); in ip22zilog_clear_fifo()
172 ZS_WSYNC(channel); in __load_zsregs()
323 ZS_WSYNC(channel); in ip22zilog_status_handle()
392 ZS_WSYNC(channel); in ip22zilog_transmit_chars()
410 ZS_WSYNC(channel); in ip22zilog_transmit_chars()
422 ZS_WSYNC(channel); in ip22zilog_transmit_chars()
1010 ZS_WSYNC(channel); in ip22zilog_put_char()
1085 for (channel = 0; channel < NUM_CHANNELS; channel++) in ip22zilog_prepare()
1090 for (channel = NUM_CHANNELS - 1 ; channel > 0; channel--) in ip22zilog_prepare()
1091 up[channel].next = &up[channel - 1]; in ip22zilog_prepare()
[all …]
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dinput_system.c868 channel_cfg_t channel; in input_system_csi_fifo_channel_cfg() local
870 channel.ch_id = ch_id; in input_system_csi_fifo_channel_cfg()
894 channel_cfg_t channel; in input_system_csi_fifo_channel_with_counting_cfg() local
896 channel.ch_id = ch_id; in input_system_csi_fifo_channel_with_counting_cfg()
926 channel_cfg_t channel; in input_system_csi_sram_channel_cfg() local
928 channel.ch_id = ch_id; in input_system_csi_sram_channel_cfg()
959 channel_cfg_t channel; in input_system_csi_xmem_channel_cfg() local
961 channel.ch_id = ch_id; in input_system_csi_xmem_channel_cfg()
988 channel_cfg_t channel; in input_system_csi_xmem_acquire_only_channel_cfg() local
990 channel.ch_id = ch_id; in input_system_csi_xmem_acquire_only_channel_cfg()
[all …]

12345678910>>...119