Searched refs:testval (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | dac.c | 241 uint32_t sample, testval, regoffset = nv04_dac_output_offset(encoder); in nv17_dac_sample_load() local 248 testval = RGB_TEST_DATA(0xa0, 0xa0, 0xa0); in nv17_dac_sample_load() 251 testval = drm->vbios.tvdactestval; in nv17_dac_sample_load() 253 testval = RGB_TEST_DATA(0x140, 0x140, 0x140); /* 0x94050140 */ in nv17_dac_sample_load() 256 testval = drm->vbios.dactestval; in nv17_dac_sample_load() 304 NV_PRAMDAC_TESTPOINT_DATA_NOTBLANK | testval); in nv17_dac_sample_load()
|
D | tvnv17.c | 50 uint32_t testval, regoffset = nv04_dac_output_offset(encoder); in nv42_tv_sample_load() local 57 testval = RGB_TEST_DATA(0x82, 0xeb, 0x82); in nv42_tv_sample_load() 59 testval = drm->vbios.tvdactestval; in nv42_tv_sample_load() 102 NVWriteRAMDAC(dev, head, 0x680c6c, testval >> 10 & 0x3ff); in nv42_tv_sample_load() 108 NVWriteRAMDAC(dev, head, 0x680c6c, testval & 0x3ff); in nv42_tv_sample_load()
|
/Linux-v5.4/drivers/char/ |
D | dtlk.c | 392 unsigned int testval = 0; in dtlk_dev_probe() local 402 dtlk_portlist[i], (testval = inw_p(dtlk_portlist[i]))); in dtlk_dev_probe() 408 testval = inw_p(dtlk_portlist[i]); in dtlk_dev_probe() 409 if ((testval &= 0xfbff) == 0x107f) { in dtlk_dev_probe()
|
/Linux-v5.4/drivers/media/usb/dvb-usb/ |
D | opera1.c | 449 u8 testval; in opera1_xilinx_load_firmware() local 458 opera1_xilinx_rw(dev, 0xbc, 0x00, &testval, 1, OPERA_READ_MSG); in opera1_xilinx_load_firmware() 459 if (p != NULL && testval != 0x67) { in opera1_xilinx_load_firmware()
|
/Linux-v5.4/drivers/tty/ |
D | synclinkmp.c | 5035 static unsigned char testval[] = {0x00, 0xff, 0xaa, 0x55, 0x69, 0x96}; in register_test() local 5036 static unsigned int count = ARRAY_SIZE(testval); in register_test() 5051 write_reg(info, TMC, testval[i]); in register_test() 5052 write_reg(info, IDL, testval[(i+1)%count]); in register_test() 5053 write_reg(info, SA0, testval[(i+2)%count]); in register_test() 5054 write_reg(info, SA1, testval[(i+3)%count]); in register_test() 5056 if ( (read_reg(info, TMC) != testval[i]) || in register_test() 5057 (read_reg(info, IDL) != testval[(i+1)%count]) || in register_test() 5058 (read_reg(info, SA0) != testval[(i+2)%count]) || in register_test() 5059 (read_reg(info, SA1) != testval[(i+3)%count]) ) in register_test() [all …]
|
/Linux-v5.4/scripts/ |
D | checkpatch.pl | 5602 my $testval = $2; 5608 …if ($s =~ /(?:^|\n)[ \+]\s*(?:$Type\s*)?\Q$testval\E\s*=\s*(?:\([^\)]*\)\s*)?\s*$allocFunctions\s*…
|