/linux/drivers/iio/light/ |
H A D | hid-sensor-prox.c | 22 #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 D | tmp421.c | 32 #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 D | lm90.c | 115 #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 D | tmp464.c | 27 #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 D | mixer.h | 47 #define MAX_CHANNELS 16 /* max logical channels */ macro 94 int cache_val[MAX_CHANNELS];
|
H A D | mixer.c | 1235 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 D | mixer_scarlett.c | 461 unsigned char buf[2 * MAX_CHANNELS] = {0, }; in scarlett_ctl_meter_get()
|
/linux/drivers/scsi/ |
H A D | a100u2w.h | 73 #define MAX_CHANNELS 2 macro 242 u32 allocation_map[MAX_CHANNELS][8]; /* Max STB is 256, So 256/32 */
|
H A D | megaraid.h | 81 #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 D | a100u2w.c | 483 for (i = 0; i < MAX_CHANNELS; i++) { in init_alloc_map()
|
H A D | megaraid.c | 4359 for (i = NVIRT_CHAN; i < MAX_CHANNELS+NVIRT_CHAN; i++) in megaraid_probe_one()
|
/linux/drivers/edac/ |
H A D | i7300_edac.c | 64 #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 D | i5400_edac.c | 54 #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 D | isl68137.c | 24 #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 D | xlnx_spdif.c | 42 #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 D | dce3_1_afmt.c | 98 value = MAX_CHANNELS(sad->channels) | in dce3_2_afmt_write_sad_regs()
|
H A D | dce6_afmt.c | 240 value = MAX_CHANNELS(sad->channels) | in dce6_afmt_write_sad_regs()
|
H A D | evergreen_hdmi.c | 188 value = MAX_CHANNELS(sad->channels) | in evergreen_hdmi_write_sad_regs()
|
H A D | rv770d.h | 886 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
|
H A D | sid.h | 722 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
|
H A D | evergreend.h | 749 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
|
H A D | r600d.h | 1006 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
|
/linux/drivers/most/ |
H A D | core.c | 25 #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 D | dce_audio.c | 834 MAX_CHANNELS); in dce_aud_az_configure()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | sid.h | 725 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
|