Searched refs:channel (Results 226 - 250 of 1958) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_mhccif.h36 void t7xx_mhccif_h2d_swint_trigger(struct t7xx_pci_dev *t7xx_dev, u32 channel);
/linux-master/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c456 struct xlgmac_channel *channel)
463 if (channel->queue_index < DMA_DSRX_FIRST_QUEUE) {
465 tx_pos = (channel->queue_index * DMA_DSR_Q_LEN) +
468 tx_qidx = channel->queue_index - DMA_DSRX_FIRST_QUEUE;
493 "timed out waiting for Tx DMA channel %u to stop\n",
494 channel->queue_index);
499 struct xlgmac_channel *channel; local
503 /* Enable each Tx DMA channel */
504 channel = pdata->channel_head;
505 for (i = 0; i < pdata->channel_count; i++, channel
455 xlgmac_prepare_tx_stop(struct xlgmac_pdata *pdata, struct xlgmac_channel *channel) argument
533 struct xlgmac_channel *channel; local
604 struct xlgmac_channel *channel; local
640 struct xlgmac_channel *channel; local
676 xlgmac_tx_start_xmit(struct xlgmac_channel *channel, struct xlgmac_ring *ring) argument
702 xlgmac_dev_xmit(struct xlgmac_channel *channel) argument
1056 xlgmac_tx_desc_init(struct xlgmac_channel *channel) argument
1139 xlgmac_rx_desc_init(struct xlgmac_channel *channel) argument
1302 struct xlgmac_channel *channel; local
1360 struct xlgmac_channel *channel; local
1379 struct xlgmac_channel *channel; local
1399 struct xlgmac_channel *channel; local
1741 struct xlgmac_channel *channel; local
1762 struct xlgmac_channel *channel; local
1790 struct xlgmac_channel *channel; local
1821 struct xlgmac_channel *channel; local
2449 struct xlgmac_channel *channel; local
2638 xlgmac_dev_read(struct xlgmac_channel *channel) argument
2816 xlgmac_enable_int(struct xlgmac_channel *channel, enum xlgmac_int int_id) argument
2879 xlgmac_disable_int(struct xlgmac_channel *channel, enum xlgmac_int int_id) argument
[all...]
/linux-master/drivers/s390/net/
H A Dlcs.c98 lcs_alloc_channel(struct lcs_channel *channel) argument
105 channel->iob[cnt].data =
107 if (channel->iob[cnt].data == NULL)
109 channel->iob[cnt].state = LCS_BUF_STATE_EMPTY;
115 kfree(channel->iob[cnt].data);
125 lcs_free_channel(struct lcs_channel *channel) argument
131 kfree(channel->iob[cnt].data);
132 channel->iob[cnt].data = NULL;
137 * Cleanup channel.
140 lcs_cleanup_channel(struct lcs_channel *channel) argument
469 lcs_start_channel(struct lcs_channel *channel) argument
493 lcs_clear_channel(struct lcs_channel *channel) argument
518 lcs_stop_channel(struct lcs_channel *channel) argument
578 __lcs_get_buffer(struct lcs_channel *channel) argument
595 lcs_get_buffer(struct lcs_channel *channel) argument
611 __lcs_resume_channel(struct lcs_channel *channel) argument
636 __lcs_ready_buffer_bits(struct lcs_channel *channel, int index) argument
655 lcs_ready_buffer(struct lcs_channel *channel, struct lcs_buffer *buffer) argument
681 __lcs_processed_buffer(struct lcs_channel *channel, struct lcs_buffer *buffer) argument
713 lcs_release_buffer(struct lcs_channel *channel, struct lcs_buffer *buffer) argument
1359 struct lcs_channel *channel; local
1443 struct lcs_channel *channel; local
1491 lcs_txbuffer_cb(struct lcs_channel *channel, struct lcs_buffer *buffer) argument
1771 lcs_get_frames_cb(struct lcs_channel *channel, struct lcs_buffer *buffer) argument
[all...]
/linux-master/drivers/staging/rtl8723bs/include/
H A Dhal_phy_cfg.h54 void PHY_SetTxPowerLevel8723B(struct adapter *Adapter, u8 channel);
60 void PHY_SwChnl8723B(struct adapter *Adapter, u8 channel);
62 void PHY_SetSwChnlBWMode8723B(struct adapter *Adapter, u8 channel,
/linux-master/drivers/iio/adc/
H A Dda9150-gpadc.c100 /* Set channel & enable measurement */
118 dev_err(gpadc->dev, "Timeout on channel %d of GPADC\n",
156 static int da9150_gpadc_read_processed(struct da9150_gpadc *gpadc, int channel, argument
165 switch (channel) {
190 static int da9150_gpadc_read_scale(int channel, int *val, int *val2) argument
192 switch (channel) {
207 static int da9150_gpadc_read_offset(int channel, int *val) argument
209 switch (channel) {
228 if ((chan->channel < DA9150_GPADC_CHAN_GPIOA) ||
229 (chan->channel > DA9150_GPADC_CHAN_TJUNC_OV
[all...]
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_port.c10 /* open logical channel for control communication */
16 ipc_port->channel = ipc_imem_sys_port_open(ipc_port->ipc_imem,
19 if (!ipc_port->channel)
25 /* close logical channel */
30 ipc_imem_sys_port_close(ipc_port->ipc_imem, ipc_port->channel);
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_abi16.h48 int channel; member in struct:drm_nouveau_grobj_alloc
54 uint32_t channel; member in struct:drm_nouveau_notifierobj_alloc
61 int channel; member in struct:drm_nouveau_gpuobj_free
/linux-master/drivers/hv/
H A Dhv_util.c108 struct vmbus_channel *channel = srv->channel; local
111 hibernate_context.dev = channel->device_obj;
187 struct vmbus_channel *channel = context; local
197 if (vmbus_recvpacket(channel, shut_txf_buf, HV_HYP_PAGE_SIZE, &recvlen, &requestid)) {
275 vmbus_sendpacket(channel, shut_txf_buf,
380 * message after the timesync channel is opened. Since the hv_utils module is
425 struct vmbus_channel *channel = context; local
438 int ret = vmbus_recvpacket(channel, time_txf_buf,
505 vmbus_sendpacket(channel, time_txf_bu
518 struct vmbus_channel *channel = context; local
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Drx_common.c74 static void efx_recycle_rx_page(struct efx_channel *channel, argument
77 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel);
107 void efx_recycle_rx_pages(struct efx_channel *channel, argument
111 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel);
117 efx_recycle_rx_page(channel, rx_buf);
122 void efx_discard_rx_packet(struct efx_channel *channel, argument
126 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel);
128 efx_recycle_rx_pages(channel, rx_buf, n_frags);
511 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, argument
514 struct napi_struct *napi = &channel
806 struct efx_channel *channel; local
845 struct efx_channel *channel; local
863 struct efx_channel *channel = efx_get_channel(efx, req->rxq_index); local
1046 __efx_filter_rfs_expire(struct efx_channel *channel, unsigned int quota) argument
[all...]
/linux-master/arch/mips/pci/
H A Dops-tx4927.c21 struct pci_controller *channel; member in struct:__anon16
25 static void __init set_tx4927_pcicptr(struct pci_controller *channel, argument
31 if (pcicptrs[i].channel == channel) {
37 if (!pcicptrs[i].channel) {
38 pcicptrs[i].channel = channel;
47 struct pci_controller *channel)
52 if (pcicptrs[i].channel == channel)
46 get_tx4927_pcicptr( struct pci_controller *channel) argument
135 struct pci_controller *channel = bus->sysdata; local
223 tx4927_pcic_setup(struct tx4927_pcic_reg __iomem *pcicptr, struct pci_controller *channel, int extarb) argument
[all...]
/linux-master/sound/core/seq/
H A Dseq_ump_convert.c85 ev->data.note.channel = val->note.channel;
94 ev->data.control.channel = val->caf.channel;
102 ev->data.control.channel = val->pb.channel;
111 ev->data.control.channel = val->cc.channel;
206 ev->data.note.channel = val->note.channel;
779 unsigned char channel = event->data.control.channel & 0x0f; local
846 unsigned char channel = event->data.control.channel & 0x0f; local
883 unsigned char channel = event->data.control.channel & 0x0f; local
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Drx_common.c77 static void efx_recycle_rx_page(struct efx_channel *channel, argument
80 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel);
110 void efx_siena_recycle_rx_pages(struct efx_channel *channel, argument
114 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel);
120 efx_recycle_rx_page(channel, rx_buf);
125 void efx_siena_discard_rx_packet(struct efx_channel *channel, argument
129 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel);
131 efx_siena_recycle_rx_pages(channel, rx_buf, n_frags);
512 efx_siena_rx_packet_gro(struct efx_channel *channel, argument
516 struct napi_struct *napi = &channel
810 struct efx_channel *channel; local
848 struct efx_channel *channel; local
868 struct efx_channel *channel = efx_get_channel(efx, req->rxq_index); local
1052 __efx_siena_filter_rfs_expire(struct efx_channel *channel, unsigned int quota) argument
[all...]
H A Dnic.h137 int efx_farch_ev_probe(struct efx_channel *channel);
138 int efx_farch_ev_init(struct efx_channel *channel);
139 void efx_farch_ev_fini(struct efx_channel *channel);
140 void efx_farch_ev_remove(struct efx_channel *channel);
141 int efx_farch_ev_process(struct efx_channel *channel, int quota);
142 void efx_farch_ev_read_ack(struct efx_channel *channel);
143 void efx_farch_ev_test_generate(struct efx_channel *channel);
/linux-master/drivers/platform/x86/
H A Dsilicom-platform.c170 static enum led_brightness silicom_mec_led_get(int channel) argument
173 return silicom_mec_port_get(channel) ? LED_OFF : LED_ON;
176 static void silicom_mec_port_set(int channel, int on) argument
183 mec_data_addr = FIELD_GET(MEC_PORT_DWORD_OFFSET, channel) & MEC_DATA_OFFSET_MASK;
184 mec_port_addr = FIELD_GET(MEC_PORT_DWORD_OFFSET, channel) & MEC_PORT_OFFSET_MASK;
191 reg &= ~(1 << (channel & MEC_PORT_CHANNEL_MASK));
193 reg |= 1 << (channel & MEC_PORT_CHANNEL_MASK);
206 silicom_mec_led_get(mc_cdev->subled_info[i].channel);
223 silicom_mec_port_set(mc_cdev->subled_info[i].channel,
254 int channel local
279 int channel = channels[offset]; local
828 silicom_fan_control_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) argument
842 silicom_fan_control_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument
857 silicom_fan_control_read_labels(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) argument
[all...]
/linux-master/include/linux/
H A Dhyperv.h329 * primary channel and a value of non-zero means a sub-channel.
549 * associated bit in the channel bitmap while sending the
578 /* Identifies the specific VMBus channel that is being opened. */
581 /* ID making a particular open request at a channel offer unique. */
584 /* GPADL for the channel's ring buffer. */
591 * Prior to win8, incoming channel interrupts would only
623 /* Close channel parameters; */
736 * Represents each channel msg on the vmbus connection This is a
760 * The channel messag
1077 unlock_requestor(struct vmbus_channel *channel, unsigned long flags) argument
1319 struct vmbus_channel *channel; member in struct:hv_device
1561 void *channel; member in struct:hv_util_service
1646 struct vmbus_channel *channel; member in struct:hyperv_service_callback
1744 hv_pkt_iter_next(struct vmbus_channel *channel, const struct vmpacket_descriptor *pkt) argument
[all...]
/linux-master/drivers/edac/
H A Dx38_edac.c106 edac_dbg(0, "In single channel mode\n");
109 edac_dbg(0, "In dual channel mode\n");
121 static int eccerrlog_row(int channel, u64 log) argument
124 (channel * X38_RANKS_PER_CHANNEL);
206 int channel; local
219 for (channel = 0; channel < x38_channel_num; channel++) {
220 log = info->eccerrlog[channel];
224 eccerrlog_row(channel, lo
299 drb_to_nr_pages( u16 drbs[X38_CHANNELS][X38_RANKS_PER_CHANNEL], bool stacked, int channel, int rank) argument
[all...]
/linux-master/drivers/w1/masters/
H A Dds2482.c77 * To set the channel, write the value at the index of the channel.
104 u8 channel; member in struct:ds2482_w1_chan
117 u8 channel; member in struct:ds2482_data
223 pr_err("%s: timeout on channel %d\n",
224 __func__, pdev->channel);
230 * ds2482_set_channel - Selects a w1 channel.
234 * @channel: 0-7
237 static int ds2482_set_channel(struct ds2482_data *pdev, u8 channel) argument
240 ds2482_chan_wr[channel]) <
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_hwmon.c17 static int nfp_hwmon_sensor_id(enum hwmon_sensor_types type, int channel) argument
22 return NFP_SENSOR_ASSEMBLY_POWER + channel;
28 int channel, long *val)
49 err = nfp_hwmon_sensor_id(type, channel);
67 int channel)
27 nfp_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument
66 nfp_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) argument
/linux-master/include/linux/iio/adc/
H A Dad_sigma_delta.h23 * @channel: Calibration channel.
27 unsigned int channel; member in struct:ad_sd_calib_data
36 * @set_channel: Will be called to select the current channel, may be NULL.
46 * @status_ch_mask: Mask for the channel number stored in status register.
53 int (*set_channel)(struct ad_sigma_delta *, unsigned int channel);
109 unsigned int channel)
112 return sd->info->set_channel(sd, channel);
170 unsigned int mode, unsigned int channel);
108 ad_sigma_delta_set_channel(struct ad_sigma_delta *sd, unsigned int channel) argument
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-dvb.c31 stream = adap->channel.stream->stream;
104 if (adap->channel.stream) {
105 stream = adap->channel.stream->stream;
110 pvr2_hdw_set_streaming(adap->channel.hdw, 0);
114 pvr2_channel_claim_stream(&adap->channel, NULL);
129 struct pvr2_context *pvr = adap->channel.mc_head;
137 ret = pvr2_channel_claim_stream(&adap->channel, &pvr->video_stream);
141 stream = adap->channel.stream->stream;
162 ret = pvr2_hdw_set_streaming(adap->channel.hdw, 1);
237 &adap->channel,
[all...]
/linux-master/drivers/hwmon/
H A Dpcf8591.c53 * 0x00 = channel 0
54 * 0x01 = channel 1
55 * 0x02 = channel 2
56 * 0x03 = channel 3
76 static int pcf8591_read_channel(struct device *dev, int channel);
79 #define show_in_channel(channel) \
80 static ssize_t show_in##channel##_input(struct device *dev, \
84 return sprintf(buf, "%d\n", pcf8591_read_channel(dev, channel));\
86 static DEVICE_ATTR(in##channel##_input, S_IRUGO, \
87 show_in##channel##_inpu
257 pcf8591_read_channel(struct device *dev, int channel) argument
[all...]
/linux-master/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf_defs.h162 ((((intf)->channel) * 0x30) + 0x48180)
172 ((((intf)->channel) * 0x68) + 0x49340)
179 ((((intf)->channel) * 0x1c) + 0x4a0e0)
184 ((((intf)->channel) * 0x120) + 0x40900)
192 ((((intf)->channel * 0xc) + 0x49a20))
196 ((((intf)->channel) * 0x38) + 0x9ca00)
207 ((((intf)->channel) * 0x70) + 0x9c600)
228 ((((intf)->channel) * 0x30) + 0xa0000)
238 ((((intf)->channel - 6) * 0x68) + 0xa1000)
243 ((((intf)->channel
[all...]
/linux-master/drivers/pwm/
H A Dpwm-cros-ec.c23 * @channel: array with per-channel data
28 struct cros_ec_pwm *channel; member in struct:cros_ec_pwm_device
138 struct cros_ec_pwm *channel = &ec_pwm->channel[pwm->hwpwm]; local
159 channel->duty_cycle = state->duty_cycle;
168 struct cros_ec_pwm *channel = &ec_pwm->channel[pwm->hwpwm]; local
187 * For the case of the initial hardware readout, channel->duty_cycle
190 if (ret == 0 && channel
[all...]
/linux-master/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_leaf.c124 u8 channel; member in struct:kvaser_cmd_simple
168 u8 channel; member in struct:kvaser_cmd_busparams
173 u8 channel; member in struct:kvaser_cmd_tx_can
189 u8 channel; member in struct:kvaser_cmd_rx_can_header
194 u8 channel; member in struct:leaf_cmd_rx_can
202 u8 channel; member in struct:usbcan_cmd_rx_can
211 u8 channel; member in struct:leaf_cmd_chip_state_event
223 u8 channel; member in struct:usbcan_cmd_chip_state_event
234 u8 channel; member in struct:kvaser_cmd_tx_acknowledge_header
242 u8 channel; member in struct:leaf_cmd_can_error_event
286 u8 channel; member in struct:kvaser_cmd_ctrl_mode
293 u8 channel; member in struct:kvaser_cmd_flush_queue
299 u8 channel; member in struct:leaf_cmd_log_message
315 __le16 channel; member in struct:kvaser_cmd_cap_req
413 u8 channel, status, txerr, rxerr; member in struct:kvaser_usb_err_summary
646 kvaser_usb_leaf_send_simple_cmd(const struct kvaser_usb *dev, u8 cmd_id, int channel) argument
882 u8 channel, tid; local
1164 unsigned int channel; local
1300 u8 channel = cmd->u.rx_can_header.channel; local
1456 u8 channel = cmd->u.simple.channel; local
1479 u8 channel = cmd->u.simple.channel; local
1496 u8 channel = cmd->u.busparams.channel; local
1675 kvaser_usb_leaf_reset_chip(struct kvaser_usb *dev, int channel) argument
[all...]
/linux-master/sound/pci/oxygen/
H A Doxygen_pcm.c17 /* the multichannel DMA channel has a 24-bit counter */
121 unsigned int channel)
127 runtime->private_data = (void *)(uintptr_t)channel;
128 if (channel == PCM_B && chip->has_ac97_1 &&
132 runtime->hw = *oxygen_hardware[channel];
133 switch (channel) {
150 chip->model.pcm_hardware_filter(channel, &runtime->hw);
172 chip->streams[channel] = substream;
175 chip->pcm_active |= 1 << channel;
176 if (channel
120 oxygen_open(struct snd_pcm_substream *substream, unsigned int channel) argument
222 unsigned int channel = oxygen_substream_channel(substream); local
306 unsigned int channel = oxygen_substream_channel(substream); local
324 get_mclk(struct oxygen *chip, unsigned int channel, struct snd_pcm_hw_params *params) argument
515 unsigned int channel = oxygen_substream_channel(substream); local
543 unsigned int channel = oxygen_substream_channel(substream); local
608 unsigned int channel = oxygen_substream_channel(substream); local
[all...]

Completed in 263 milliseconds

1234567891011>>