Home
last modified time | relevance | path

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

12345678910>>...84

/linux/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/drivers/net/ethernet/sfc/
A Defx_channels.c541 channel->channel = i; in efx_alloc_channel()
549 tx_queue->channel = channel; in efx_alloc_channel()
682 number = channel->channel; in efx_get_channel_name()
727 channel->channel); in efx_probe_channels()
806 channel = efx->channel[i]; in efx_realloc_channels()
808 channel = channel->type->copy(channel); in efx_realloc_channels()
822 channel = efx->channel[i]; in efx_realloc_channels()
831 channel = efx->channel[i]; in efx_realloc_channels()
868 channel = efx->channel[i]; in efx_realloc_channels()
919 channel->rx_queue.core_index = channel->channel; in efx_set_channels()
[all …]
/linux/drivers/visorbus/
A Dvisorchannel.c50 if (!channel) in visorchannel_destroy()
53 if (channel->mapped) { in visorchannel_destroy()
56 release_mem_region(channel->physaddr, channel->nbytes); in visorchannel_destroy()
58 kfree(channel); in visorchannel_destroy()
359 channel = kzalloc(sizeof(*channel), gfp); in visorchannel_create()
360 if (!channel) in visorchannel_create()
382 err = visorchannel_read(channel, 0, &channel->chan_hdr, size); in visorchannel_create()
388 release_mem_region(channel->physaddr, channel->nbytes); in visorchannel_create()
390 channel->requested = request_mem_region(channel->physaddr, size, in visorchannel_create()
395 channel->mapped = memremap(channel->physaddr, size, MEMREMAP_WB); in visorchannel_create()
[all …]
/linux/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.c218 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in qcom_glink_alloc_channel()
219 if (!channel) in qcom_glink_alloc_channel()
241 return channel; in qcom_glink_alloc_channel()
277 kfree(channel); in qcom_glink_channel_release()
413 if (!channel) { in qcom_glink_handle_intent_req_ack()
728 if (!channel) { in qcom_glink_handle_rx_done()
772 if (!channel) { in qcom_glink_handle_intent_req()
847 if (!channel) { in qcom_glink_rx_data()
907 channel->ept.cb(channel->ept.rpdev, in qcom_glink_rx_data()
957 if (!channel) { in qcom_glink_handle_intent()
[all …]
/linux/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/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/drivers/dma/sh/
A Drz-dmac.c274 rz_dmac_ch_writel(channel, channel->chcfg, CHCFG, 1); in rz_dmac_enable_hw()
376 rz_dmac_set_dmars_register(dmac, channel->index, channel->mid_rid); in rz_dmac_prepare_descs_for_slave_sg()
450 list_splice_tail_init(&channel->ld_active, &channel->ld_free); in rz_dmac_free_chan_resources()
451 list_splice_tail_init(&channel->ld_queue, &channel->ld_free); in rz_dmac_free_chan_resources()
491 list_move_tail(channel->ld_free.next, &channel->ld_queue); in rz_dmac_prep_dma_memcpy()
527 list_move_tail(channel->ld_free.next, &channel->ld_queue); in rz_dmac_prep_slave_sg()
539 list_splice_tail_init(&channel->ld_active, &channel->ld_free); in rz_dmac_terminate_all()
540 list_splice_tail_init(&channel->ld_queue, &channel->ld_free); in rz_dmac_terminate_all()
662 if (channel) { in rz_dmac_irq_handler()
685 list_move_tail(channel->ld_active.next, &channel->ld_free); in rz_dmac_irq_handler_thread()
[all …]
/linux/drivers/most/
A Dmost_snd.c163 struct channel *channel; in get_channel() local
227 struct channel *const channel = data; in playback_thread() local
237 (mbo = most_get_mbo(channel->iface, channel->id, in playback_thread()
265 struct channel *channel = substream->private_data; in pcm_open() local
305 struct channel *channel = substream->private_data; in pcm_close() local
324 struct channel *channel = substream->private_data; in pcm_prepare() local
370 struct channel *channel = substream->private_data; in pcm_trigger() local
487 struct channel *channel, *tmp; in release_adapter() local
515 struct channel *channel; in audio_probe_channel() local
575 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in audio_probe_channel()
[all …]
/linux/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/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/drivers/ptp/
A Dptp_clockmatrix.c1020 err = channel->do_phase_pull_in(channel, delta, 0); in _idtcm_adjtime_deprecated()
1695 channel->configure_write_frequency(channel); in initialize_dco_operating_mode()
1719 err = channel->configure_write_phase(channel); in _idtcm_adjphase()
1758 err = channel->configure_write_frequency(channel); in _idtcm_adjfine()
1877 err = channel->do_phase_pull_in(channel, delta, 0); in idtcm_adjtime()
2228 channel = &idtcm->channel[index]; in idtcm_enable_channel()
2248 snprintf(channel->caps.name, sizeof(channel->caps.name), in idtcm_enable_channel()
2262 channel->dco_delay = idtcm_get_dco_delay(channel); in idtcm_enable_channel()
2264 channel->ptp_clock = ptp_clock_register(&channel->caps, NULL); in idtcm_enable_channel()
2289 channel = &idtcm->channel[index]; in idtcm_enable_extts_channel()
[all …]
A Dptp_idt82p33.c192 if (channel->pll_mode == mode) in idt82p33_dpll_set_mode()
209 channel->pll_mode = dpll_mode; in idt82p33_dpll_set_mode()
601 mask = channel->output_mask; in idt82p33_output_mask_enable()
668 channel = &idt82p33->channel[i]; in idt82p33_ptp_clock_unregister_all()
670 if (channel->ptp_clock) in idt82p33_ptp_clock_unregister_all()
886 channel = &idt82p33->channel[index]; in idt82p33_enable_channel()
896 channel->idt82p33 = idt82p33; in idt82p33_enable_channel()
899 snprintf(channel->caps.name, sizeof(channel->caps.name), in idt82p33_enable_channel()
902 channel->ptp_clock = ptp_clock_register(&channel->caps, NULL); in idt82p33_enable_channel()
906 channel->ptp_clock = NULL; in idt82p33_enable_channel()
[all …]
/linux/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/drivers/net/ipa/
A Dgsi.c175 return channel - &channel->gsi->channel[0]; in gsi_channel_id()
1021 channel->queued_byte_count = channel->byte_count; in gsi_channel_tx_queued()
1022 channel->queued_trans_count = channel->trans_count; in gsi_channel_tx_queued()
1081 channel = &gsi->channel[channel_id]; in gsi_isr_chan_ctrl()
1367 struct gsi_channel *channel = evt_ring->channel; in gsi_evt_ring_rx_update() local
1952 evt_ring->channel = channel; in gsi_channel_evt_ring_init()
2063 channel = &gsi->channel[data->channel_id]; in gsi_channel_init_one()
2064 memset(channel, 0, sizeof(*channel)); in gsi_channel_init_one()
2069 channel->tlv_count = data->channel.tlv_count; in gsi_channel_init_one()
2071 channel->event_count = data->channel.event_count; in gsi_channel_init_one()
[all …]
/linux/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/sound/xen/
A Dxen_snd_front_evtchnl.c58 channel->u.req.resp.hw_param = in evtchnl_interrupt_req()
163 if (channel->irq) in evtchnl_free()
164 unbind_from_irqhandler(channel->irq, channel); in evtchnl_free()
166 if (channel->port) in evtchnl_free()
175 memset(channel, 0, sizeof(*channel)); in evtchnl_free()
205 memset(channel, 0, sizeof(*channel)); in evtchnl_alloc()
206 channel->type = type; in evtchnl_alloc()
207 channel->index = index; in evtchnl_alloc()
254 channel->gref = gref; in evtchnl_alloc()
268 channel->irq = ret; in evtchnl_alloc()
[all …]
/linux/drivers/net/ethernet/microchip/
A Dlan743x_main.h89 #define FCT_RX_CTL_EN_(channel) BIT(28 + (channel)) argument
90 #define FCT_RX_CTL_DIS_(channel) BIT(24 + (channel)) argument
91 #define FCT_RX_CTL_RESET_(channel) BIT(20 + (channel)) argument
94 #define FCT_TX_CTL_EN_(channel) BIT(28 + (channel)) argument
95 #define FCT_TX_CTL_DIS_(channel) BIT(24 + (channel)) argument
96 #define FCT_TX_CTL_RESET_(channel) BIT(20 + (channel)) argument
218 #define INT_BIT_DMA_RX_(channel) BIT(24 + (channel)) argument
220 #define INT_BIT_DMA_TX_(channel) BIT(16 + (channel)) argument
370 #define DMAC_CMD_RX_SWR_(channel) BIT(8 + (channel)) argument
372 #define DMAC_CMD_STOP_R_(channel) BIT(0 + (channel)) argument
[all …]
/linux/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/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/drivers/net/ethernet/sfc/falcon/
A Defx.c437 channel->channel = i; in ef4_alloc_channel()
444 tx_queue->channel = channel; in ef4_alloc_channel()
480 tx_queue->channel = channel; in ef4_copy_channel()
536 number = channel->channel; in ef4_get_channel_name()
553 channel->type->get_name(channel, in ef4_set_channel_names()
576 channel->channel); in ef4_probe_channels()
752 channel->type->post_remove(channel); in ef4_remove_channel()
804 channel = efx->channel[i]; in ef4_realloc_channels()
806 channel = channel->type->copy(channel); in ef4_realloc_channels()
827 channel = efx->channel[i]; in ef4_realloc_channels()
[all …]
/linux/drivers/net/wwan/iosm/
A Diosm_ipc_imem_ops.c153 channel->channel_id, channel->state, in ipc_imem_is_channel_active()
168 channel->channel_id, channel->state); in ipc_imem_is_channel_active()
183 struct ipc_mem_channel *channel = ipc_cdev->channel; in ipc_imem_sys_cdev_close() local
202 channel->channel_id, channel->state); in ipc_imem_sys_cdev_close()
209 if (channel->ul_pipe.old_tail != channel->ul_pipe.old_head) { in ipc_imem_sys_cdev_close()
292 if (!channel) { in ipc_imem_sys_port_open()
297 return channel; in ipc_imem_sys_port_open()
303 struct ipc_mem_channel *channel = ipc_cdev->channel; in ipc_imem_sys_cdev_write() local
394 channel = ipc_imem->ipc_devlink->devlink_sio.channel; in ipc_imem_sys_devlink_close()
408 if (channel->ul_pipe.old_tail != channel->ul_pipe.old_head) { in ipc_imem_sys_devlink_close()
[all …]
/linux/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/drivers/firmware/tegra/
A Dbpmp.c87 index = channel - channel->bpmp->threaded_channels; in tegra_bpmp_channel_get_thread_index()
210 *ret = channel->ib->code; in __tegra_bpmp_channel_read()
244 channel->ob->code = mrq; in __tegra_bpmp_channel_write()
245 channel->ob->flags = flags; in __tegra_bpmp_channel_write()
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()
420 channel->ob->code = code; in tegra_bpmp_mrq_return()
665 channel = bpmp->rx_channel; in tegra_bpmp_handle_rx()
[all …]
/linux/drivers/media/platform/rcar-vin/
A Drcar-core.c36 #define rvin_group_csi_channel_to_pad(channel) ((channel) + 1) argument
750 unsigned char channel) in rvin_csi2_get_mask() argument
758 route->channel == channel) { in rvin_csi2_get_mask()
761 route->vin, route->csi, route->channel); in rvin_csi2_get_mask()
798 unsigned int master_id, channel, mask_new, i; in rvin_csi2_link_notify() local
848 channel = rvin_group_csi_pad_to_channel(csi_pad->index); in rvin_csi2_link_notify()
850 mask &= rvin_csi2_get_mask(group->vin[i], csi_id, channel); in rvin_csi2_link_notify()
883 channel = rvin_group_csi_pad_to_channel(link->source->index); in rvin_csi2_link_notify()
884 mask_new = mask & rvin_csi2_get_mask(vin, csi_id, channel); in rvin_csi2_link_notify()
934 source_idx = rvin_group_csi_channel_to_pad(route->channel); in rvin_csi2_setup_links()
[all …]

Completed in 129 milliseconds

12345678910>>...84