Searched refs:channel (Results 126 - 150 of 1967) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/boot/dts/fsl/
H A Dpq3-sec3.0-0.dtsi42 fsl,channel-fifo-len = <24>;
H A Dpq3-sec3.1-0.dtsi42 fsl,channel-fifo-len = <24>;
H A Dpq3-sec3.3-0.dtsi42 fsl,channel-fifo-len = <24>;
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Drf.h14 u8 *ppowerlevel, u8 channel);
21 u8 *ppowerlevel, u8 channel);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dnic.h36 static inline ef4_qword_t *ef4_event(struct ef4_channel *channel, argument
39 return ((ef4_qword_t *) (channel->eventq.buf.addr)) +
40 (index & channel->eventq_mask);
60 * descriptor queue belonging to the specified channel.
355 static inline int ef4_nic_probe_eventq(struct ef4_channel *channel) argument
357 return channel->efx->type->ev_probe(channel);
359 static inline int ef4_nic_init_eventq(struct ef4_channel *channel) argument
361 return channel->efx->type->ev_init(channel);
363 ef4_nic_fini_eventq(struct ef4_channel *channel) argument
367 ef4_nic_remove_eventq(struct ef4_channel *channel) argument
372 ef4_nic_process_eventq(struct ef4_channel *channel, int quota) argument
376 ef4_nic_eventq_read_ack(struct ef4_channel *channel) argument
464 ef4_nic_event_test_irq_cpu(struct ef4_channel *channel) argument
[all...]
/linux-master/drivers/staging/vt6656/
H A DMakefile13 channel.o
/linux-master/drivers/staging/vt6655/
H A DMakefile5 channel.o \
/linux-master/drivers/scsi/
H A Dsd_trace.h25 __field( unsigned int, channel )
34 __entry->channel = cmnd->device->channel;
41 TP_printk("host_no=%u, channel=%u id=%u lun=%u lba=%llu wp_offset=%u",
42 __entry->host_no, __entry->channel, __entry->id,
55 __field( unsigned int, channel )
65 __entry->channel = cmnd->device->channel;
73 TP_printk("host_no=%u, channel=%u id=%u lun=%u rq_sector=%llu" \
75 __entry->host_no, __entry->channel, __entr
[all...]
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_drvinfo.c28 u32 attr, int channel, long *value)
40 switch (channel) {
68 u32 attr, int channel, const char **str)
78 if (channel < ARRAY_SIZE(atl_temp_label))
79 *str = atl_temp_label[channel];
88 u32 attr, int channel)
95 if (channel == 0 && !nic->aq_fw_ops->get_phy_temp)
97 else if (channel == 1 && !nic->aq_fw_ops->get_mac_temp &&
27 aq_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *value) argument
66 aq_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) argument
86 aq_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) argument
/linux-master/drivers/firmware/tegra/
H A Dbpmp-tegra186.c32 struct mbox_chan *channel; member in struct:tegra186_bpmp::__anon450
46 static bool tegra186_bpmp_is_message_ready(struct tegra_bpmp_channel *channel) argument
50 err = tegra_ivc_read_get_next_frame(channel->ivc, &channel->ib);
52 iosys_map_clear(&channel->ib);
59 static bool tegra186_bpmp_is_channel_free(struct tegra_bpmp_channel *channel) argument
63 err = tegra_ivc_write_get_next_frame(channel->ivc, &channel->ob);
65 iosys_map_clear(&channel->ob);
72 static int tegra186_bpmp_ack_message(struct tegra_bpmp_channel *channel) argument
77 tegra186_bpmp_post_message(struct tegra_bpmp_channel *channel) argument
107 tegra186_bpmp_channel_init(struct tegra_bpmp_channel *channel, struct tegra_bpmp *bpmp, unsigned int index) argument
149 tegra186_bpmp_channel_reset(struct tegra_bpmp_channel *channel) argument
159 tegra186_bpmp_channel_cleanup(struct tegra_bpmp_channel *channel) argument
[all...]
/linux-master/drivers/s390/net/
H A Dctcm_sysfs.c42 if (!(priv && priv->channel[CTCM_READ] &&
43 priv->channel[CTCM_READ]->netdev)) {
47 ndev = priv->channel[CTCM_READ]->netdev;
62 priv->channel[CTCM_READ]->max_bufsize = bs1;
63 priv->channel[CTCM_WRITE]->max_bufsize = bs1;
66 priv->channel[CTCM_READ]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED;
67 priv->channel[CTCM_WRITE]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED;
91 p += scnprintf(p, CTCM_STATSIZE_LIMIT, " RX channel FSM state: %s\n",
92 fsm_getstate_str(priv->channel[CTCM_READ]->fsm));
93 p += scnprintf(p, CTCM_STATSIZE_LIMIT, " TX channel FS
[all...]
/linux-master/drivers/nvme/host/
H A Dhwmon.c67 u32 attr, int channel, long *val)
80 return nvme_get_temp_thresh(data->ctrl, channel, false, val);
82 return nvme_get_temp_thresh(data->ctrl, channel, true, val);
97 if (!channel)
100 temp = le16_to_cpu(log->temp_sensor[channel - 1]);
116 u32 attr, int channel, long val)
122 return nvme_set_temp_thresh(data->ctrl, channel, false, val);
124 return nvme_set_temp_thresh(data->ctrl, channel, true, val);
146 int channel, const char **str)
148 *str = nvme_hwmon_sensor_names[channel];
66 nvme_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument
115 nvme_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) argument
144 nvme_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) argument
152 nvme_hwmon_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr, int channel) argument
[all...]
/linux-master/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors.c231 struct iio_chan_spec *channel; local
245 for (channel = state->channels, i = CROS_EC_SENSOR_X;
246 i < CROS_EC_SENSOR_MAX_AXIS; i++, channel++) {
248 channel->info_mask_separate =
252 channel->info_mask_shared_by_all =
255 channel->info_mask_shared_by_all_available =
257 channel->scan_type.realbits = CROS_EC_SENSOR_BITS;
258 channel->scan_type.storagebits = CROS_EC_SENSOR_BITS;
259 channel->scan_index = i;
260 channel
[all...]
/linux-master/drivers/hwmon/
H A Dmax31730.c82 u8 *confdata, int channel, bool enable)
88 regval |= BIT(channel);
90 regval &= ~BIT(channel);
101 static int max31730_set_offset_enable(struct max31730_data *data, int channel, argument
105 &data->offset_enable, channel, enable);
108 static int max31730_set_channel_enable(struct max31730_data *data, int channel, argument
112 &data->channel_enable, channel, enable);
116 u32 attr, int channel, long *val)
126 if (!(data->channel_enable & BIT(channel)))
128 reg = MAX31730_REG_TEMP + (channel *
81 max31730_set_enable(struct i2c_client *client, int reg, u8 *confdata, int channel, bool enable) argument
115 max31730_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument
185 max31730_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) argument
224 max31730_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) argument
[all...]
H A Dltc2992.c343 int channel)
374 if (st->r_sense_uohm[channel])
379 if (st->r_sense_uohm[channel])
391 if (st->r_sense_uohm[channel])
396 if (st->r_sense_uohm[channel])
481 static int ltc2992_read_in_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) argument
491 reg_val = ltc2992_read_reg(st, LTC2992_SENSE_FAULT(channel), 1);
498 return ltc2992_write_reg(st, LTC2992_SENSE_FAULT(channel), 1, reg_val);
501 static int ltc2992_read_in(struct device *dev, u32 attr, int channel, long *val) argument
506 if (channel >
342 ltc2992_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) argument
535 ltc2992_get_current(struct ltc2992_state *st, u32 reg, u32 channel, long *val) argument
549 ltc2992_set_current(struct ltc2992_state *st, u32 reg, u32 channel, long val) argument
559 ltc2992_read_curr_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) argument
579 ltc2992_read_curr(struct device *dev, u32 attr, int channel, long *val) argument
610 ltc2992_get_power(struct ltc2992_state *st, u32 reg, u32 channel, long *val) argument
624 ltc2992_set_power(struct ltc2992_state *st, u32 reg, u32 channel, long val) argument
634 ltc2992_read_power_alarm(struct ltc2992_state *st, int channel, long *val, u32 attr) argument
654 ltc2992_read_power(struct device *dev, u32 attr, int channel, long *val) argument
685 ltc2992_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument
700 ltc2992_write_curr(struct device *dev, u32 attr, int channel, long val) argument
738 ltc2992_write_in(struct device *dev, u32 attr, int channel, long val) argument
760 ltc2992_write_power(struct device *dev, u32 attr, int channel, long val) argument
779 ltc2992_write_chip(struct device *dev, u32 attr, int channel, long val) argument
792 ltc2992_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) argument
[all...]
H A Dsmpro-hwmon.c206 static int smpro_read_temp(struct device *dev, u32 attr, int channel, long *val) argument
214 ret = regmap_read(hwmon->regmap, temperature[channel].reg, &value);
219 ret = regmap_read(hwmon->regmap, temperature[channel].reg_ext, &value);
231 static int smpro_read_in(struct device *dev, u32 attr, int channel, long *val) argument
239 ret = regmap_read(hwmon->regmap, voltage[channel].reg, &value);
250 static int smpro_read_curr(struct device *dev, u32 attr, int channel, long *val) argument
258 ret = regmap_read(hwmon->regmap, curr_sensor[channel].reg, &value);
269 static int smpro_read_power(struct device *dev, u32 attr, int channel, long *val_pwr) argument
277 ret = regmap_read(hwmon->regmap, power[channel].reg, &val);
281 ret = regmap_read(hwmon->regmap, power[channel]
293 smpro_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument
310 smpro_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) argument
360 smpro_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) argument
[all...]
H A Dlm83.c81 /* alarm and fault registers and bits, indexed by channel */
176 static int lm83_temp_read(struct device *dev, u32 attr, int channel, long *val) argument
184 err = regmap_read(data->regmap, LM83_REG_TEMP[channel], &regval);
190 err = regmap_read(data->regmap, LM83_REG_MAX[channel], &regval);
202 err = regmap_read(data->regmap, LM83_ALARM_REG[channel], &regval);
205 *val = !!(regval & LM83_MAX_ALARM_BIT[channel]);
208 err = regmap_read(data->regmap, LM83_ALARM_REG[channel], &regval);
211 *val = !!(regval & LM83_CRIT_ALARM_BIT[channel]);
214 err = regmap_read(data->regmap, LM83_ALARM_REG[channel], &regval);
217 *val = !!(regval & LM83_FAULT_BIT[channel]);
225 lm83_temp_write(struct device *dev, u32 attr, int channel, long val) argument
250 lm83_chip_read(struct device *dev, u32 attr, int channel, long *val) argument
274 lm83_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument
287 lm83_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) argument
298 lm83_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr, int channel) argument
[all...]
/linux-master/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_rf.c46 /* default to update channel integration, as almost all RF's do want
107 int zd_rf_set_channel(struct zd_rf *rf, u8 channel) argument
112 if (channel < MIN_CHANNEL24)
114 if (channel > MAX_CHANNEL24)
116 dev_dbg_f(zd_chip_dev(zd_rf_to_chip(rf)), "channel: %d\n", channel);
118 r = rf->set_channel(rf, channel);
120 rf->channel = channel;
157 int zd_rf_patch_6m_band_edge(struct zd_rf *rf, u8 channel) argument
165 zd_rf_generic_patch_6m(struct zd_rf *rf, u8 channel) argument
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4_dma.c125 /* common channel control register config */
143 /* common channel control register config */
191 void __iomem *ioaddr, u32 channel,
200 reg_space[DMA_CHAN_CONTROL(default_addrs, channel) / 4] =
201 readl(ioaddr + DMA_CHAN_CONTROL(dwmac4_addrs, channel));
202 reg_space[DMA_CHAN_TX_CONTROL(default_addrs, channel) / 4] =
203 readl(ioaddr + DMA_CHAN_TX_CONTROL(dwmac4_addrs, channel));
204 reg_space[DMA_CHAN_RX_CONTROL(default_addrs, channel) / 4] =
205 readl(ioaddr + DMA_CHAN_RX_CONTROL(dwmac4_addrs, channel));
206 reg_space[DMA_CHAN_TX_BASE_ADDR(default_addrs, channel) /
190 _dwmac4_dump_dma_regs(struct stmmac_priv *priv, void __iomem *ioaddr, u32 channel, u32 *reg_space) argument
253 dwmac4_dma_rx_chan_op_mode(struct stmmac_priv *priv, void __iomem *ioaddr, int mode, u32 channel, int fifosz, u8 qmode) argument
322 dwmac4_dma_tx_chan_op_mode(struct stmmac_priv *priv, void __iomem *ioaddr, int mode, u32 channel, int fifosz, u8 qmode) argument
491 dwmac4_qmode(struct stmmac_priv *priv, void __iomem *ioaddr, u32 channel, u8 qmode) argument
[all...]
/linux-master/drivers/tty/serial/
H A Dsunzilog.c56 #define ZS_WSYNC(channel) do { } while (0)
126 static unsigned char read_zsreg(struct zilog_channel __iomem *channel, argument
131 writeb(reg, &channel->control);
133 retval = readb(&channel->control);
139 static void write_zsreg(struct zilog_channel __iomem *channel, argument
142 writeb(reg, &channel->control);
144 writeb(value, &channel->control);
148 static void sunzilog_clear_fifo(struct zilog_channel __iomem *channel) argument
155 regval = readb(&channel->control);
160 regval = read_zsreg(channel, R
175 __load_zsregs(struct zilog_channel __iomem *channel, unsigned char *regs) argument
268 sunzilog_maybe_update_regs(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument
324 sunzilog_receive_chars(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument
402 sunzilog_status_handle(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument
453 sunzilog_transmit_chars(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument
529 struct zilog_channel __iomem *channel local
590 struct zilog_channel __iomem *channel; local
645 struct zilog_channel __iomem *channel = ZILOG_CHANNEL_FROM_PORT(port); local
679 struct zilog_channel __iomem *channel = ZILOG_CHANNEL_FROM_PORT(port); local
721 struct zilog_channel __iomem *channel; local
738 struct zilog_channel __iomem *channel = ZILOG_CHANNEL_FROM_PORT(port); local
755 struct zilog_channel __iomem *channel = ZILOG_CHANNEL_FROM_PORT(port); local
781 struct zilog_channel __iomem *channel; local
836 struct zilog_channel __iomem *channel; local
1003 struct zilog_channel __iomem *channel local
1127 struct zilog_channel __iomem *channel = ZILOG_CHANNEL_FROM_PORT(port); local
1329 struct zilog_channel __iomem *channel; local
1583 struct zilog_channel __iomem *channel; local
1620 struct zilog_channel __iomem *channel; local
[all...]
/linux-master/drivers/pwm/
H A Dpwm-berlin.c54 struct berlin_pwm_channel channel[BERLIN_PWM_NUMPWMS]; member in struct:berlin_pwm_chip
63 unsigned int channel, unsigned long offset)
65 return readl_relaxed(bpc->base + channel * 0x10 + offset);
69 unsigned int channel, u32 value,
72 writel_relaxed(value, bpc->base + channel * 0x10 + offset);
235 struct berlin_pwm_channel *channel = &bpc->channel[i]; local
237 channel->enable = berlin_pwm_readl(bpc, i, BERLIN_PWM_ENABLE);
238 channel->ctrl = berlin_pwm_readl(bpc, i, BERLIN_PWM_CONTROL);
239 channel
62 berlin_pwm_readl(struct berlin_pwm_chip *bpc, unsigned int channel, unsigned long offset) argument
68 berlin_pwm_writel(struct berlin_pwm_chip *bpc, unsigned int channel, u32 value, unsigned long offset) argument
260 struct berlin_pwm_channel *channel = &bpc->channel[i]; local
[all...]
/linux-master/drivers/clk/bcm/
H A Dclk-sr.c49 .channel = BCM_SR_GENPLL0_125M_CLK,
55 .channel = BCM_SR_GENPLL0_SCR_CLK,
61 .channel = BCM_SR_GENPLL0_250M_CLK,
67 .channel = BCM_SR_GENPLL0_PCIE_AXI_CLK,
73 .channel = BCM_SR_GENPLL0_PAXC_AXI_X2_CLK,
79 .channel = BCM_SR_GENPLL0_PAXC_AXI_CLK,
109 .channel = BCM_SR_GENPLL2_NIC_CLK,
115 .channel = BCM_SR_GENPLL2_TS_500_CLK,
121 .channel = BCM_SR_GENPLL2_125_NITRO_CLK,
127 .channel
[all...]
/linux-master/drivers/uio/
H A Duio_hv_generic.c83 dev->channel->inbound.ring_buffer->interrupt_mask = !irq_state;
86 if (!dev->channel->offermsg.monitor_allocated && irq_state)
87 vmbus_setevent(dev->channel);
108 * Callback from vmbus_event when channel is rescinded.
110 static void hv_uio_rescind(struct vmbus_channel *channel) argument
112 struct hv_device *hv_dev = channel->primary_channel->device_obj;
132 struct vmbus_channel *channel local
134 void *ring_buffer = page_address(channel->ringbuffer_page);
136 if (channel->state != CHANNEL_OPENED_STATE)
140 channel
241 struct vmbus_channel *channel = dev->channel; local
[all...]
/linux-master/sound/pci/emu10k1/
H A Dp16v.c8 * Output fixed at S32_LE, 2 channel to hw:0,0
15 * Use 2 channel output streams instead of 8 channel.
16 * (8 channel output streams might be good for ASIO type output)
38 * One stereo channel at 24bit now works.
50 * setting HD Capture channel to 0 captures from CDROM digital input.
51 * setting HD Capture channel to 1 captures from SPDIF in.
71 * DAC: CS4382-K (8-channel, 24bit, 192Khz)
92 #define SET_CHANNEL 0 /* Testing channel outputs 0=Front, 1=Center/LFE, 2=Unknown, 3=Rear */
167 "p16v: open channel_id=%d, channel
234 int channel = substream->pcm->device - emu->p16v_device_offset; local
301 int channel = substream->pcm->device - emu->p16v_device_offset; local
401 int channel; local
453 int channel = 0; local
483 int channel = substream->pcm->device - emu->p16v_device_offset; local
508 int channel = 0; local
[all...]
/linux-master/drivers/most/
H A Dmost_usb.c78 unsigned int channel; member in struct:clear_hold_work
88 * @cap: channel capabilities
89 * @conf: channel configuration
93 * @suffix: suffix for channel name
94 * @channel_lock: synchronize channel access
95 * @padding_active: indicates channel uses padding
96 * @is_channel_healthy: health status table of each channel
112 spinlock_t channel_lock[MAX_NUM_ENDPOINTS]; /* sync channel access */
191 * @cfg: channel configuration
218 dev_warn(dev, "Query frame size of non-streaming channel\
236 hdm_poison_channel(struct most_interface *iface, int channel) argument
276 hdm_add_padding(struct most_dev *mdev, int channel, struct mbo *mbo) argument
309 hdm_remove_padding(struct most_dev *mdev, int channel, struct mbo *mbo) argument
344 unsigned int channel = mbo->hdm_channel_id; local
396 unsigned int channel = mbo->hdm_channel_id; local
457 hdm_enqueue(struct most_interface *iface, int channel, struct mbo *mbo) argument
566 hdm_configure_channel(struct most_interface *iface, int channel, struct most_channel_config *conf) argument
646 hdm_request_netinfo(struct most_interface *iface, int channel, void (*on_netinfo)(struct most_interface *, unsigned char, unsigned char *)) argument
732 unsigned int channel = clear_work->channel; local
[all...]

Completed in 535 milliseconds

1234567891011>>