/drivers/gpu/drm/tidss/ |
D | tidss_scale_coefs.c | 18 .c1 = { 132, 138, 144, 150, 156, 162, 168, 174, 76, 84, 92, 98, 104, 110, 116, 124, }, 24 .c1 = { 132, 138, 144, 152, 160, 166, 172, 178, 72, 80, 88, 94, 100, 108, 116, 124, }, 30 .c1 = { 132, 140, 148, 156, 164, 172, 180, 186, 64, 72, 80, 88, 96, 104, 112, 122, }, 36 .c1 = { 128, 140, 152, 160, 168, 176, 184, 192, 56, 64, 72, 82, 92, 100, 108, 118, }, 42 .c1 = { 124, 138, 152, 164, 176, 186, 196, 206, 40, 48, 56, 68, 80, 90, 100, 112, }, 48 .c1 = { 120, 134, 148, 164, 180, 194, 208, 220, 24, 32, 40, 52, 64, 78, 92, 106, }, 54 .c1 = { 112, 130, 148, 164, 180, 196, 212, 228, 12, 22, 32, 44, 56, 70, 84, 98, }, 60 .c1 = { 104, 124, 144, 164, 184, 202, 220, 238, 0, 10, 20, 30, 40, 56, 72, 88, }, 66 .c1 = { 92, 114, 136, 158, 180, 204, 228, 250, -16, -8, 0, 12, 24, 38, 52, 72, }, 72 .c1 = { 72, 96, 120, 148, 176, 204, 232, 260, -32, -26, -20, -10, 0, 16, 32, 52, }, [all …]
|
D | tidss_scale_coefs.h | 14 s16 c1[16]; member
|
/drivers/char/ |
D | nwflash.c | 63 volatile unsigned int c1, c2; in get_flash_id() local 72 c1 = *(volatile unsigned char *) FLASH_BASE; in get_flash_id() 78 if (c1 == 0xB0) in get_flash_id() 83 c2 += (c1 << 8); in get_flash_id() 294 volatile unsigned int c1; in erase_block() local 307 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in erase_block() 323 c1 = *pWritePtr; in erase_block() 345 c1 = 0; in erase_block() 346 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block() 351 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block() [all …]
|
/drivers/firmware/efi/libstub/ |
D | string.c | 75 unsigned char c1, c2; in strcmp() local 78 c1 = *cs++; in strcmp() 80 if (c1 != c2) in strcmp() 81 return c1 < c2 ? -1 : 1; in strcmp() 82 if (!c1) in strcmp() 97 unsigned char c1, c2; in strncmp() local 100 c1 = *cs++; in strncmp() 102 if (c1 != c2) in strncmp() 103 return c1 < c2 ? -1 : 1; in strncmp() 104 if (!c1) in strncmp()
|
D | vsprintf.c | 276 u16 c0, c1; in utf16_to_utf32() local 285 c1 = **s16; in utf16_to_utf32() 287 if ((c1 & 0xfc00) != 0xdc00) in utf16_to_utf32() 291 return (0x10000 - (0xd800 << 10) - 0xdc00) + (c0 << 10) + c1; in utf16_to_utf32()
|
/drivers/leds/ |
D | leds-tca6507.c | 209 int c1, c2; in choose_times() local 217 for (c1 = 1; c1 < TIMECODES; c1++) { in choose_times() 218 int t = time_codes[c1]; in choose_times() 223 for (c2 = 0; c2 <= c1; c2++) { in choose_times() 235 *c1p = c1; in choose_times() 315 int c1, c2; in set_times() local 318 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times() 323 c1, time_codes[c1], in set_times() 326 set_code(tca, TCA6507_FULL_ON, bank, c1); in set_times() 329 result = choose_times(tca->bank[bank].offtime, &c1, &c2); in set_times() [all …]
|
/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 1618 struct lpphy_rx_iq_comp { u8 chan; s8 c1, c0; }; member 1621 { .chan = 1, .c1 = -66, .c0 = 15, }, 1622 { .chan = 2, .c1 = -66, .c0 = 15, }, 1623 { .chan = 3, .c1 = -66, .c0 = 15, }, 1624 { .chan = 4, .c1 = -66, .c0 = 15, }, 1625 { .chan = 5, .c1 = -66, .c0 = 15, }, 1626 { .chan = 6, .c1 = -66, .c0 = 15, }, 1627 { .chan = 7, .c1 = -66, .c0 = 14, }, 1628 { .chan = 8, .c1 = -66, .c0 = 14, }, 1629 { .chan = 9, .c1 = -66, .c0 = 14, }, [all …]
|
/drivers/acpi/acpica/ |
D | utnonansi.c | 92 int c1; in acpi_ut_stricmp() local 96 c1 = tolower((int)*string1); in acpi_ut_stricmp() 102 while ((c1 == c2) && (c1)); in acpi_ut_stricmp() 104 return (c1 - c2); in acpi_ut_stricmp()
|
/drivers/clk/davinci/ |
D | psc.h | 36 #define LPSC_CLKDEV2(n, c1, d1, c2, d2) \ argument 38 LPSC_CLKDEV((c1), (d1)), \ 43 #define LPSC_CLKDEV3(n, c1, d1, c2, d2, c3, d3) \ argument 45 LPSC_CLKDEV((c1), (d1)), \
|
/drivers/thermal/tegra/ |
D | tegra30-tsensor.c | 165 int err, c1, c2, c3, c4, counter; in tegra_tsensor_get_temp() local 198 c1 = DIV_ROUND_CLOSEST(ts->calib.a * counter + ts->calib.b, 1000000); in tegra_tsensor_get_temp() 199 c1 = c1 ?: 1; in tegra_tsensor_get_temp() 200 c2 = DIV_ROUND_CLOSEST(ts->calib.p, c1); in tegra_tsensor_get_temp() 201 c3 = c1 * ts->calib.m; in tegra_tsensor_get_temp() 204 *temp = DIV_ROUND_CLOSEST(c1 * (c2 + c3 + c4), 1000); in tegra_tsensor_get_temp() 211 int c1, c2; in tegra_tsensor_temp_to_counter() local 213 c1 = DIV_ROUND_CLOSEST(ts->calib.p - temp * 1000, ts->calib.m); in tegra_tsensor_temp_to_counter() 214 c2 = -ts->calib.r - int_sqrt(ts->calib.r * ts->calib.r - c1); in tegra_tsensor_temp_to_counter()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-std.c | 178 unsigned int c1,c2; in pvr2_std_id_to_str() local 180 c1 = 0; in pvr2_std_id_to_str() 190 c1 += c2; in pvr2_std_id_to_str() 201 c1 += c2; in pvr2_std_id_to_str() 206 c1 += c2; in pvr2_std_id_to_str() 211 return c1; in pvr2_std_id_to_str()
|
D | pvrusb2-hdw.c | 741 struct v4l2_ext_control c1; in ctrl_cx2341x_get() local 743 memset(&c1,0,sizeof(c1)); in ctrl_cx2341x_get() 744 cs.controls = &c1; in ctrl_cx2341x_get() 746 c1.id = cptr->info->v4l_id; in ctrl_cx2341x_get() 750 *vp = c1.value; in ctrl_cx2341x_get() 759 struct v4l2_ext_control c1; in ctrl_cx2341x_set() local 761 memset(&c1,0,sizeof(c1)); in ctrl_cx2341x_set() 762 cs.controls = &c1; in ctrl_cx2341x_set() 764 c1.id = cptr->info->v4l_id; in ctrl_cx2341x_set() 765 c1.value = v; in ctrl_cx2341x_set() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | base.c | 101 unsigned char c1, c2; in nvbios_memcmp() local 104 c1 = nvbios_rd08(bios, addr++); in nvbios_memcmp() 106 if (c1 != c2) in nvbios_memcmp() 107 return c1 - c2; in nvbios_memcmp()
|
/drivers/thermal/ |
D | imx_thermal.c | 207 u32 c1, c2; /* See formula in imx_init_calib() */ member 225 critical_value = (data->c2 - panic_temp) / data->c1; in imx_set_panic_temp() 243 alarm_value = alarm_temp / 1000 + data->c1 - 25; in imx_set_alarm_temp() 245 alarm_value = (data->c2 - alarm_temp) / data->c1; in imx_set_alarm_temp() 276 *temp = (n_meas - data->c1 + 25) * 1000; in imx_get_temp() 278 *temp = data->c2 - n_meas * data->c1; in imx_get_temp() 402 data->c1 = (ocotp_ana1 >> 9) & 0x1ff; in imx_init_calib() 430 data->c1 = temp64; in imx_init_calib() 431 data->c2 = n1 * data->c1 + 28581; in imx_init_calib()
|
/drivers/media/platform/marvell/ |
D | cafe-driver.c | 145 int c1; in cafe_smbus_write_done() local 154 c1 = mcam_reg_read(mcam, REG_TWSIC1); in cafe_smbus_write_done() 156 return (c1 & (TWSIC1_WSTAT|TWSIC1_ERROR)) != TWSIC1_WSTAT; in cafe_smbus_write_done() 222 int c1; in cafe_smbus_read_done() local 231 c1 = mcam_reg_read(mcam, REG_TWSIC1); in cafe_smbus_read_done() 233 return c1 & (TWSIC1_RVALID|TWSIC1_ERROR); in cafe_smbus_read_done()
|
/drivers/media/usb/pwc/ |
D | pwc-dec23.c | 431 const int *c1 = src; in copy_image_block_CrCb() 435 for (i = 0; i < 4; i++, c1++, c2++) { in copy_image_block_CrCb() 436 *d++ = CLAMP((*c1) >> scalebits); in copy_image_block_CrCb() 439 c1 = src + 12; in copy_image_block_CrCb() 441 for (i = 0; i < 4; i++, c1++, c2++) { in copy_image_block_CrCb() 442 *d++ = CLAMP((*c1) >> scalebits); in copy_image_block_CrCb()
|
/drivers/misc/ |
D | tsl2550.c | 149 u16 c1 = count_lut[ch1]; in tsl2550_calculate_lux() local 152 if (c1 <= c0) in tsl2550_calculate_lux() 158 u8 r = c1 * 128 / c0; in tsl2550_calculate_lux() 161 lux = ((c0 - c1) * ratio_lut[r]) / 256; in tsl2550_calculate_lux()
|
/drivers/video/logo/ |
D | pnmtologo.c | 219 static inline int is_equal(struct color c1, struct color c2) in is_equal() argument 221 return c1.red == c2.red && c1.green == c2.green && c1.blue == c2.blue; in is_equal()
|
/drivers/iio/pressure/ |
D | dps310.c | 88 s32 c0, c1; member 115 u32 c0, c1; in dps310_get_coefs() local 131 c1 = ((coef[1] & GENMASK(3, 0)) << 8) | coef[2]; in dps310_get_coefs() 132 data->c1 = sign_extend32(c1, 11); in dps310_get_coefs() 746 t = c0 + ((s64)data->temp_raw * (s64)data->c1); in dps310_calculate_temp()
|
/drivers/media/platform/st/sti/bdisp/ |
D | bdisp-debug.c | 288 u32 c0, u32 c1, u32 c2, u32 c3) in bdisp_dbg_dump_ivmx() argument 291 seq_printf(s, "IVMX1\t0x%08X\n", c1); in bdisp_dbg_dump_ivmx() 295 if (!c0 && !c1 && !c2 && !c3) { in bdisp_dbg_dump_ivmx() 301 (c1 == bdisp_rgb_to_yuv[1]) && in bdisp_dbg_dump_ivmx() 309 (c1 == bdisp_yuv_to_rgb[1]) && in bdisp_dbg_dump_ivmx()
|
/drivers/staging/rtl8723bs/hal/ |
D | HalPhyRf_8723B.c | 1234 u8 c1, in phy_SimularityCompare_8723B() argument 1249 if ((result[c1][i] & 0x00000200) != 0) in phy_SimularityCompare_8723B() 1250 tmp1 = result[c1][i] | 0xFFFFFC00; in phy_SimularityCompare_8723B() 1252 tmp1 = result[c1][i]; in phy_SimularityCompare_8723B() 1259 tmp1 = result[c1][i]; in phy_SimularityCompare_8723B() 1267 if (result[c1][i]+result[c1][i+1] == 0) in phy_SimularityCompare_8723B() 1270 final_candidate[(i/4)] = c1; in phy_SimularityCompare_8723B() 1291 result[3][i] = result[c1][i]; in phy_SimularityCompare_8723B() 1296 result[3][i] = result[c1][i]; in phy_SimularityCompare_8723B() 1301 result[3][i] = result[c1][i]; in phy_SimularityCompare_8723B() [all …]
|
/drivers/usb/serial/ |
D | ipw.c | 58 #define CHAR2INT16(c1, c0) (((u32)((c1) & 0xff) << 8) + (u32)((c0) & 0xff)) argument
|
/drivers/clk/ |
D | clk-versaclock7.c | 300 u64 c1, c2; in vc7_128_div_64_to_64() local 343 c1 = qhat * den0; in vc7_128_div_64_to_64() 345 if (c1 > c2) in vc7_128_div_64_to_64() 346 qhat -= (c1 - c2 > den) ? 2 : 1; in vc7_128_div_64_to_64() 357 c1 = qhat * den0; in vc7_128_div_64_to_64() 359 if (c1 > c2) in vc7_128_div_64_to_64() 360 qhat -= (c1 - c2 > den) ? 2 : 1; in vc7_128_div_64_to_64()
|
/drivers/nvme/host/ |
D | auth.c | 36 u8 c1[64]; member 274 memcpy(chap->c1, data->cval, chap->hash_len); in nvme_auth_process_dhchap_challenge() 425 u8 buf[4], *challenge = chap->c1; in nvme_auth_dhchap_setup_host_response() 461 chap->c1, challenge, in nvme_auth_dhchap_setup_host_response() 502 if (challenge != chap->c1) in nvme_auth_dhchap_setup_host_response() 667 memset(chap->c1, 0, sizeof(chap->c1)); in nvme_auth_reset_dhchap()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | gk20a.h | 28 int c1; member
|