Home
last modified time | relevance | path

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

12

/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];
234 for (i = 0; i < MAX_CHANNELS; i++) { in prox_parse_report()
/linux/drivers/hwmon/
H A Dtmp421.c32 #define MAX_CHANNELS 4 macro
44 static const u8 TMP421_TEMP_MSB[MAX_CHANNELS] = { 0x00, 0x01, 0x02, 0x03 };
45 static const u8 TMP421_TEMP_LSB[MAX_CHANNELS] = { 0x10, 0x11, 0x12, 0x13 };
103 u32 temp_config[MAX_CHANNELS + 1];
111 struct tmp421_channel channel[MAX_CHANNELS];
H A Dlm90.c115 #define MAX_CHANNELS 3 macro
689 u32 channel_config[MAX_CHANNELS + 1];
690 const char *channel_label[MAX_CHANNELS];
1442 static const u8 lm90_temp_index[MAX_CHANNELS] = {
1446 static const u8 lm90_temp_min_index[MAX_CHANNELS] = {
1450 static const u8 lm90_temp_max_index[MAX_CHANNELS] = {
1454 static const u8 lm90_temp_crit_index[MAX_CHANNELS] = {
1458 static const u8 lm90_temp_emerg_index[MAX_CHANNELS] = {
1462 static const s8 lm90_temp_offset_index[MAX_CHANNELS] = {
1466 static const u16 lm90_min_alarm_bits[MAX_CHANNELS] = { BIT(5), BIT(3), BIT(11) };
[all …]
H A Dtmp464.c27 #define MAX_CHANNELS 9 macro
33 static const u8 TMP464_THERM_LIMIT[MAX_CHANNELS] = {
35 static const u8 TMP464_THERM2_LIMIT[MAX_CHANNELS] = {
102 struct tmp464_channel channel[MAX_CHANNELS];
/linux/sound/usb/
H A Dmixer.h47 #define MAX_CHANNELS 16 /* max logical channels */ macro
94 int cache_val[MAX_CHANNELS];
H A Dmixer.c1235 for (i = 0; i < MAX_CHANNELS; i++) in get_min_max_with_quirks()
1340 for (i = 0; i < MAX_CHANNELS; i++) { in get_min_max_with_quirks()
1408 for (c = 0; c < MAX_CHANNELS; c++) { in mixer_ctl_feature_get()
1441 for (c = 0; c < MAX_CHANNELS; c++) { in mixer_ctl_feature_put()
3420 if (channel >= MAX_CHANNELS) { in snd_usb_mixer_interrupt_v2()
3686 for (c = 0; c < MAX_CHANNELS; c++) { in restore_mixer_value()
H A Dmixer_scarlett.c461 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.h81 #define MAX_CHANNELS 5 macro
83 #define MAX_PHYSICAL_DRIVES MAX_CHANNELS*MAX_TARGET
389 u16 phys_drv_format[MAX_CHANNELS];
860 u8 logdrv_chan[MAX_CHANNELS+NVIRT_CHAN]; /* logical drive are on
H A Da100u2w.c483 for (i = 0; i < MAX_CHANNELS; i++) { in init_alloc_map()
H A Dmegaraid.c4359 for (i = NVIRT_CHAN; i < MAX_CHANNELS+NVIRT_CHAN; i++) in megaraid_probe_one()
/linux/drivers/edac/
H A Di7300_edac.c64 #define MAX_CHANNELS (MAX_CH_PER_BRANCH * MAX_BRANCHES) macro
106 u16 ambpresent[MAX_CHANNELS]; /* AMB present regs */
109 struct i7300_dimm_info dimm_info[MAX_SLOTS][MAX_CHANNELS];
696 for (channel = 0; channel < MAX_CHANNELS; channel++) { in print_dimm_size()
717 for (channel = 0; channel < MAX_CHANNELS; channel++) { in print_dimm_size()
H A Di5400_edac.c54 #define MAX_CHANNELS (MAX_BRANCHES * CHANNELS_PER_BRANCH) macro
350 struct i5400_dimm_info dimm_info[DIMMS_PER_CHANNEL][MAX_CHANNELS];
1294 pvt->maxch = MAX_CHANNELS; in i5400_probe1()
/linux/drivers/hwmon/pmbus/
H A Disl68137.c24 #define MAX_CHANNELS 4 macro
83 struct isl68137_channel channel[MAX_CHANNELS];
366 for (i = 0; i < MAX_CHANNELS; i++) in isl68137_probe()
/linux/sound/soc/xilinx/
H A Dxlnx_spdif.c42 #define MAX_CHANNELS 2 macro
112 clk_div = DIV_ROUND_CLOSEST(ctx->aclk, MAX_CHANNELS * AES_SAMPLE_WIDTH * in xlnx_spdif_hw_params()
/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 Dsid.h722 # 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];
1286 !iface->poison_channel || (iface->num_channels > MAX_CHANNELS)) in most_register_interface()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c834 MAX_CHANNELS); in dce_aud_az_configure()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsid.h725 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro

12