Home
last modified time | relevance | path

Searched refs:MAX_CHANNELS (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/iio/light/
H A Dhid-sensor-prox.c23 #define MAX_CHANNELS ARRAY_SIZE(prox_usage_ids)
34 struct hid_sensor_hub_attribute_info prox_attr[MAX_CHANNELS];
35 struct iio_chan_spec channels[MAX_CHANNELS];
36 u32 channel2usage[MAX_CHANNELS];
37 u32 human_presence[MAX_CHANNELS];
38 int scale_pre_decml[MAX_CHANNELS];
39 int scale_post_decml[MAX_CHANNELS];
40 int scale_precision[MAX_CHANNELS];
229 for (i = 0; i < MAX_CHANNELS; i++) {
22 #define MAX_CHANNELS global() macro
/linux/sound/usb/
H A Dmixer.h47 #define MAX_CHANNELS 64 /* max logical channels */ macro
94 int cache_val[MAX_CHANNELS];
H A Dmixer.c1346 for (i = 0; i < MAX_CHANNELS; i++) in get_min_max_with_quirks()
1449 for (i = 0; i < MAX_CHANNELS; i++) { in get_min_max_with_quirks()
1476 for (i = 0; i < MAX_CHANNELS; i++) {
1546 for (c = 0; c < MAX_CHANNELS; c++) { in mixer_ctl_feature_put()
1579 for (c = 0; c < MAX_CHANNELS; c++) { in mixer_ctl_feature_put()
1903 for (i = 0; i < MAX_CHANNELS; i++) in __build_feature_ctl()
2211 if (channels > MAX_CHANNELS) { in parse_audio_feature_unit()
3646 if (channel >= MAX_CHANNELS) { in snd_usb_mixer_interrupt_v2()
3913 for (c = 0; c < MAX_CHANNELS; c++) {
H A Dmixer_scarlett.c705 unsigned char buf[2 * MAX_CHANNELS] = {0, }; in scarlett_ctl_meter_get()
/linux/drivers/hwmon/
H A Dlm90.c117 #define MAX_CHANNELS 3 macro
731 u32 channel_config[MAX_CHANNELS + 1];
732 const char *channel_label[MAX_CHANNELS];
1482 static const u8 lm90_temp_index[MAX_CHANNELS] = { in lm90_set_temp_offset()
1486 static const u8 lm90_temp_min_index[MAX_CHANNELS] = {
1490 static const u8 lm90_temp_max_index[MAX_CHANNELS] = {
1494 static const u8 lm90_temp_crit_index[MAX_CHANNELS] = {
1498 static const u8 lm90_temp_emerg_index[MAX_CHANNELS] = {
1502 static const s8 lm90_temp_offset_index[MAX_CHANNELS] = {
1506 static const u16 lm90_min_alarm_bits[MAX_CHANNELS]
[all...]
/linux/drivers/scsi/
H A Da100u2w.h73 #define MAX_CHANNELS 2 macro
242 u32 allocation_map[MAX_CHANNELS][8]; /* Max STB is 256, So 256/32 */
H A Dmegaraid.c4359 for (i = NVIRT_CHAN; i < MAX_CHANNELS+NVIRT_CHAN; i++) in megaraid_probe_one()
/linux/drivers/media/usb/s2255/
H A Ds2255drv.c69 #define MAX_CHANNELS 4 macro
248 struct s2255_vc vc[MAX_CHANNELS];
331 static unsigned long G_chnmap[MAX_CHANNELS] = {3, 2, 1, 0};
1595 for (i = 0; i < MAX_CHANNELS; i++) { in s2255_probe_v4l()
1672 if (refcount_read(&dev->num_channels) != MAX_CHANNELS) in s2255_probe_v4l()
1720 if (cc >= MAX_CHANNELS) { in save_frame()
1741 if (le32_to_cpu(pdword[1]) >= MAX_CHANNELS) in save_frame()
1744 if (cc >= MAX_CHANNELS) in save_frame()
1852 if (dev->cc >= MAX_CHANNELS) { in s2255_read_video_callback()
1993 for (j = 0; j < MAX_CHANNELS; in s2255_board_init()
[all...]
/linux/drivers/hwmon/pmbus/
H A Disl68137.c24 #define MAX_CHANNELS 4 macro
42 struct isl68137_channel channel[MAX_CHANNELS];
340 for (i = 0; i < MAX_CHANNELS; i++) in isl68137_probe()
/linux/drivers/gpu/drm/radeon/
H A Ddce3_1_afmt.c98 value = MAX_CHANNELS(sad->channels) | in dce3_2_afmt_write_sad_regs()
H A Ddce6_afmt.c240 value = MAX_CHANNELS(sad->channels) | in dce6_afmt_write_sad_regs()
H A Devergreen_hdmi.c188 value = MAX_CHANNELS(sad->channels) | in evergreen_hdmi_write_sad_regs()
H A Drv770d.h886 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
H A Devergreend.h749 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
H A Dr600d.h1006 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
/linux/drivers/most/
H A Dcore.c25 #define MAX_CHANNELS 64 macro
70 struct most_channel *channel[MAX_CHANNELS];
1291 (iface->num_channels > MAX_CHANNELS)) { in most_register_interface()
/linux/drivers/usb/host/
H A Docteon-hcd.c221 #define MAX_CHANNELS 8 macro
343 } entry[MAX_CHANNELS + 1];
372 struct cvmx_usb_pipe *pipe_for_channel[MAX_CHANNELS];
1221 if (fifo->tail > MAX_CHANNELS) in cvmx_usb_fill_tx_hw()
1334 if (fifo->head > MAX_CHANNELS) in cvmx_usb_fill_tx_fifo()