Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/hwmon/
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];
Dlm90.c115 #define MAX_CHANNELS 3 macro
689 u32 channel_config[MAX_CHANNELS + 1];
690 const char *channel_label[MAX_CHANNELS];
1478 static const u8 lm90_temp_index[MAX_CHANNELS] = {
1482 static const u8 lm90_temp_min_index[MAX_CHANNELS] = {
1486 static const u8 lm90_temp_max_index[MAX_CHANNELS] = {
1490 static const u8 lm90_temp_crit_index[MAX_CHANNELS] = {
1494 static const u8 lm90_temp_emerg_index[MAX_CHANNELS] = {
1498 static const s8 lm90_temp_offset_index[MAX_CHANNELS] = {
1502 static const u16 lm90_min_alarm_bits[MAX_CHANNELS] = { BIT(5), BIT(3), BIT(11) };
[all …]
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-6.6.21/sound/usb/
Dmixer.h47 #define MAX_CHANNELS 16 /* max logical channels */ macro
93 int cache_val[MAX_CHANNELS];
Dmixer.c1255 for (i = 0; i < MAX_CHANNELS; i++) in get_min_max_with_quirks()
1360 for (i = 0; i < MAX_CHANNELS; i++) { in get_min_max_with_quirks()
1418 for (c = 0; c < MAX_CHANNELS; c++) { in mixer_ctl_feature_get()
1450 for (c = 0; c < MAX_CHANNELS; c++) { in mixer_ctl_feature_put()
3413 if (channel >= MAX_CHANNELS) { in snd_usb_mixer_interrupt_v2()
3679 for (c = 0; c < MAX_CHANNELS; c++) { in restore_mixer_value()
Dmixer_scarlett.c461 unsigned char buf[2 * MAX_CHANNELS] = {0, }; in scarlett_ctl_meter_get()
/linux-6.6.21/drivers/scsi/
Da100u2w.h73 #define MAX_CHANNELS 2 macro
242 u32 allocation_map[MAX_CHANNELS][8]; /* Max STB is 256, So 256/32 */
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
Da100u2w.c483 for (i = 0; i < MAX_CHANNELS; i++) { in init_alloc_map()
/linux-6.6.21/drivers/edac/
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()
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()
Di5000_edac.c319 #define MAX_CHANNELS 6 /* max possible channels */ macro
350 struct i5000_dimm_info dimm_info[MAX_CSROWS][MAX_CHANNELS];
/linux-6.6.21/drivers/media/usb/s2255/
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};
1597 for (i = 0; i < MAX_CHANNELS; i++) { in s2255_probe_v4l()
1674 if (atomic_read(&dev->num_channels) != MAX_CHANNELS) in s2255_probe_v4l()
1722 if (cc >= MAX_CHANNELS) { in save_frame()
1743 if (le32_to_cpu(pdword[1]) >= MAX_CHANNELS) in save_frame()
1746 if (cc >= MAX_CHANNELS) in save_frame()
1854 if (dev->cc >= MAX_CHANNELS) { in s2255_read_video_callback()
1994 for (j = 0; j < MAX_CHANNELS; j++) { in s2255_board_init()
[all …]
/linux-6.6.21/sound/soc/xilinx/
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-6.6.21/drivers/gpu/drm/radeon/
Ddce3_1_afmt.c97 value = MAX_CHANNELS(sad->channels) | in dce3_2_afmt_write_sad_regs()
Ddce6_afmt.c239 value = MAX_CHANNELS(sad->channels) | in dce6_afmt_write_sad_regs()
Devergreen_hdmi.c187 value = MAX_CHANNELS(sad->channels) | in evergreen_hdmi_write_sad_regs()
Drv770d.h886 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
Dsid.h722 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
Devergreend.h749 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro
/linux-6.6.21/drivers/most/
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-6.6.21/drivers/usb/host/
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()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c558 MAX_CHANNELS); in dce_aud_az_configure()
/linux-6.6.21/drivers/net/wan/
Dixp4xx_hss.c56 #define MAX_CHANNELS (FRAME_SIZE / 8) macro
384 for (ch = 0; ch < MAX_CHANNELS; ch++) { in hss_config_set_lut()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dsid.h725 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) macro

12