Searched defs:channels (Results 1 - 25 of 164) sorted by relevance

1234567

/drivers/gpu/drm/nouveau/core/engine/fifo/
H A Dnve0.h15 u32 channels; member in struct:nve0_fifo_impl
/drivers/reset/sti/
H A Dreset-syscfg.h48 * @nr_channels: The number of reset channels in this controller.
49 * @channels: An array of reset channel descriptions.
55 const struct syscfg_reset_channel_data *channels; member in struct:syscfg_reset_controller_data
H A Dreset-syscfg.c41 * @channels: An array of reset channels for this controller.
46 struct syscfg_reset_channel *channels; member in struct:syscfg_reset_controller
63 ch = &rst->channels[idx];
132 rc->channels = devm_kzalloc(dev, size, GFP_KERNEL);
133 if (!rc->channels)
144 const char *compatible = data->channels[i].compatible;
150 f = devm_regmap_field_alloc(dev, map, data->channels[i].reset);
154 rc->channels[i].reset = f;
159 f = devm_regmap_field_alloc(dev, map, data->channels[
[all...]
/drivers/net/ethernet/ti/
H A Dcpsw.h30 u32 channels; /* number of cpdma channels (symmetric) */ member in struct:cpsw_platform_data
/drivers/net/wireless/ath/ath9k/
H A Dcommon-init.c36 * on 5 MHz steps, we support the channels which we know
57 * on 5 MHz steps, we support the channels which we know
128 void *channels; local
135 channels = devm_kzalloc(ah->dev,
137 if (!channels)
140 memcpy(channels, ath9k_2ghz_chantable,
142 common->sbands[IEEE80211_BAND_2GHZ].channels = channels;
152 channels = devm_kzalloc(ah->dev,
154 if (!channels)
[all...]
/drivers/staging/iio/
H A Diio_simple_dummy_buffer.c59 * hardware scans: certain combinations of channels make
119 const struct iio_chan_spec *channels, unsigned int num_channels)
176 ret = iio_buffer_register(indio_dev, channels, num_channels);
118 iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev, const struct iio_chan_spec *channels, unsigned int num_channels) argument
H A Diio_simple_dummy.h111 const struct iio_chan_spec *channels, unsigned int num_channels);
115 const struct iio_chan_spec *channels, unsigned int num_channels)
114 iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev, const struct iio_chan_spec *channels, unsigned int num_channels) argument
/drivers/hwmon/
H A Dadcxx.c12 * * c is the number of channels (1, 2, 4, 8)
55 u32 channels; member in struct:adcxx
74 if (adc->channels == 1) {
166 int channels = spi_get_device_id(spi)->driver_data; local
177 adc->channels = channels;
184 for (i = 0; i < 3 + adc->channels; i++) {
217 for (i = 0; i < 3 + adc->channels; i++)
H A Diio_hwmon.c23 * @channels: filled with array of channels from iio
24 * @num_channels: number of channels in channels (saves counting twice)
30 struct iio_channel *channels; member in struct:iio_hwmon_state
52 ret = iio_read_channel_processed(&state->channels[sattr->index],
68 struct iio_channel *channels; local
74 channels = iio_channel_get_all(dev);
75 if (IS_ERR(channels))
76 return PTR_ERR(channels);
[all...]
/drivers/i2c/busses/
H A Di2c-amd756-s4882.c18 * We select the channels by sending commands to the Philips
22 * module EEPROM) located on channels 1-4, and 0x4c (LM63)
23 * located on multiplexed channels 0 and 5-7. We define one
25 * channels:
26 * CPU0: virtual adapter 1, channels 1 and 0
27 * CPU1: virtual adapter 2, channels 2 and 5
28 * CPU2: virtual adapter 3, channels 3 and 6
29 * CPU3: virtual adapter 4, channels 4 and 7
69 /* We remember the last used channels combination so as to only switch
70 channels whe
75 amd756_access_channel(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data, u8 channels) argument
[all...]
H A Di2c-nforce2-s4985.c18 * We select the channels by sending commands to the Philips
22 * module EEPROM) located on channels 1-4. We define one virtual
65 /* We remember the last used channels combination so as to only switch
66 channels when it is really needed. This greatly reduces the SMBus
75 u8 channels)
84 if (last_channels != channels) {
86 mplxdata.byte = channels;
94 last_channels = channels;
71 nforce2_access_channel(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data, u8 channels) argument
/drivers/iio/
H A Dbuffer_cb.c12 struct iio_channel *channels; member in struct:iio_cb_buffer
59 cb_buff->channels = iio_channel_get_all(dev);
60 if (IS_ERR(cb_buff->channels)) {
61 ret = PTR_ERR(cb_buff->channels);
65 indio_dev = cb_buff->channels[0].indio_dev;
73 chan = &cb_buff->channels[0];
89 iio_channel_release_all(cb_buff->channels);
98 return iio_update_buffers(cb_buff->channels[0].indio_dev,
106 iio_update_buffers(cb_buff->channels[0].indio_dev,
114 iio_channel_release_all(cb_buff->channels);
[all...]
/drivers/net/wireless/iwlwifi/
H A Diwl-eeprom-parse.h98 struct ieee80211_channel channels[]; member in struct:iwl_nvm_data
/drivers/net/wireless/orinoco/
H A Dcfg.c37 int i, channels = 0; local
58 /* Only support channels allowed by the card EEPROM */
61 priv->channels[i].center_freq =
64 channels++;
67 priv->band.channels = priv->channels;
68 priv->band.n_channels = channels;
/drivers/video/backlight/
H A Daat2870_bl.c36 int channels; member in struct:aat2870_bl_driver_data
59 (u8)aat2870_bl->channels);
168 if (pdata->channels > 0)
169 aat2870_bl->channels = pdata->channels;
171 aat2870_bl->channels = AAT2870_BL_CH_ALL;
/drivers/video/
H A Dhdmi.c250 unsigned char channels; local
261 if (frame->channels >= 2)
262 channels = frame->channels - 1;
264 channels = 0;
274 ptr[0] = ((frame->coding_type & 0xf) << 4) | (channels & 0x7);
/drivers/iio/adc/
H A Dmcp320x.c150 const struct iio_chan_spec *channels; member in struct:mcp3208_chip_info
156 .channels = mcp3204_channels,
160 .channels = mcp3208_channels,
185 indio_dev->channels = chip_info->channels;
/drivers/iio/dac/
H A Dad5624r.h35 * @channels: channel spec for the DAC
40 const struct iio_chan_spec *channels; member in struct:ad5624r_chip_info
/drivers/isdn/sc/
H A Dinit.c51 unsigned char channels; local
72 channels = 0;
213 channels = 23;
221 channels = 2;
280 interface->channels = channels;
312 sc_adapter[cinst]->driverId = interface->channels;
314 sc_adapter[cinst]->nChannels = channels;
321 * Allocate channels status structures
323 sc_adapter[cinst]->channel = kzalloc(sizeof(bchan) * channels, GFP_KERNE
[all...]
/drivers/net/can/sja1000/
H A Dems_pcmcia.c38 int channels; member in struct:ems_pcmcia_card
105 for (i = 0; i < card->channels; i++) {
147 for (i = 0; i < card->channels; i++) {
182 card->channels = 0;
202 /* Detect available channels */
237 card->channels++;
/drivers/net/wireless/ti/wl12xx/
H A Dscan.c29 struct basic_scan_channel_params *channels,
39 flags = req->channels[i]->flags;
43 (req->channels[i]->band == band) &&
46 * channels, even if not marked as such.
47 * In active scans, we only scan channels not
52 req->channels[i]->band,
53 req->channels[i]->center_freq);
55 req->channels[i]->hw_value,
56 req->channels[i]->flags);
59 req->channels[
27 wl1271_get_scan_channels(struct wl1271 *wl, struct cfg80211_scan_request *req, struct basic_scan_channel_params *channels, enum ieee80211_band band, bool passive) argument
[all...]
/drivers/staging/iio/Documentation/
H A Dgeneric_buffer.c40 * @channels: the channel info array
41 * @num_channels: number of channels
43 * Has the side effect of filling the channels[i].location values used
46 int size_from_channelarray(struct iio_channel_info *channels, int num_channels) argument
51 if (bytes % channels[i].bytes == 0)
52 channels[i].location = bytes;
54 channels[i].location = bytes - bytes%channels[i].bytes
55 + channels[i].bytes;
56 bytes = channels[
95 process_scan(char *data, struct iio_channel_info *channels, int num_channels) argument
163 struct iio_channel_info *channels; local
[all...]
/drivers/staging/iio/adc/
H A Dad7606.h47 * @channels: channel specification
48 * @num_channels: number of channels
54 const struct iio_chan_spec *channels; member in struct:ad7606_chip_info
/drivers/usb/gadget/function/
H A Du_uac1.h45 int channels; member in struct:gaudio_snd_dev
/drivers/firewire/
H A Dcore-iso.c4 * - Isochronous bus resource management (channels, bandwidth), client side
199 int fw_iso_context_set_channels(struct fw_iso_context *ctx, u64 *channels) argument
201 return ctx->card->driver->set_iso_channels(ctx, channels);
232 * Isochronous bus resource management (channels, bandwidth), client side
298 /* A generation change frees all channels. */
366 u32 channels_hi = channels_mask; /* channels 31...0 */
367 u32 channels_lo = channels_mask >> 32; /* channels 63...32 */

Completed in 6956 milliseconds

1234567