Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dhid-sensor-prox.c22 #define MAX_CHANNELS ARRAY_SIZE(prox_usage_ids) macro
33 struct hid_sensor_hub_attribute_info prox_attr[MAX_CHANNELS];
34 struct iio_chan_spec channels[MAX_CHANNELS];
35 u32 channel2usage[MAX_CHANNELS];
36 u32 human_presence[MAX_CHANNELS];
37 int scale_pre_decml[MAX_CHANNELS];
38 int scale_post_decml[MAX_CHANNELS];
39 int scale_precision[MAX_CHANNELS];
239 for (i = 0; i < MAX_CHANNELS; i++) { in prox_parse_report()
/linux/sound/usb/
H A Dmixer.h47 #define MAX_CHANNELS 64 /* max logical channels */ macro
94 int cache_val[MAX_CHANNELS];
H A Dmixer.c1332 for (i = 0; i < MAX_CHANNELS; i++) in get_min_max_with_quirks()
1425 for (i = 0; i < MAX_CHANNELS; i++) {
1495 for (c = 0; c < MAX_CHANNELS; c++) { in mixer_ctl_feature_get()
1528 for (c = 0; c < MAX_CHANNELS; c++) { in mixer_ctl_feature_put()
1847 for (i = 0; i < MAX_CHANNELS; i++) in __build_feature_ctl()
2153 if (channels > MAX_CHANNELS) { in parse_audio_feature_unit()
3583 if (channel >= MAX_CHANNELS) { in snd_usb_mixer_interrupt_v2()
3848 for (c = 0; c < MAX_CHANNELS; c++) { in restore_mixer_value()
H A Dmixer_scarlett.c703 unsigned char buf[2 * MAX_CHANNELS] = {0, }; in scarlett_ctl_meter_get()
/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; j++) { 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()