Home
last modified time | relevance | path

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

12

/drivers/char/
Dnwflash.c63 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()
331 volatile unsigned int c1; in erase_block() local
349 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000); in erase_block()
365 c1 = *pWritePtr; in erase_block()
387 c1 = 0; in erase_block()
388 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
393 c1 = *(volatile unsigned char *) (pWritePtr); in erase_block()
[all …]
/drivers/leds/
Dleds-tca6507.c206 int c1, c2; in choose_times() local
214 for (c1 = 1; c1 < TIMECODES; c1++) { in choose_times()
215 int t = time_codes[c1]; in choose_times()
220 for (c2 = 0; c2 <= c1; c2++) { in choose_times()
232 *c1p = c1; in choose_times()
242 c1 = *c2p; in choose_times()
244 *c1p = c1; in choose_times()
314 int c1, c2; in set_times() local
317 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times()
319 "Chose on times %d(%d) %d(%d) for %dms\n", c1, time_codes[c1], in set_times()
[all …]
/drivers/net/wireless/b43/
Dphy_lp.c1636 struct lpphy_rx_iq_comp { u8 chan; s8 c1, c0; }; member
1639 { .chan = 1, .c1 = -66, .c0 = 15, },
1640 { .chan = 2, .c1 = -66, .c0 = 15, },
1641 { .chan = 3, .c1 = -66, .c0 = 15, },
1642 { .chan = 4, .c1 = -66, .c0 = 15, },
1643 { .chan = 5, .c1 = -66, .c0 = 15, },
1644 { .chan = 6, .c1 = -66, .c0 = 15, },
1645 { .chan = 7, .c1 = -66, .c0 = 14, },
1646 { .chan = 8, .c1 = -66, .c0 = 14, },
1647 { .chan = 9, .c1 = -66, .c0 = 14, },
[all …]
/drivers/media/video/pvrusb2/
Dpvrusb2-std.c192 unsigned int c1,c2; in pvr2_std_id_to_str() local
194 c1 = 0; in pvr2_std_id_to_str()
204 c1 += c2; in pvr2_std_id_to_str()
215 c1 += c2; in pvr2_std_id_to_str()
220 c1 += c2; in pvr2_std_id_to_str()
225 return c1; in pvr2_std_id_to_str()
Dpvrusb2-hdw.c753 struct v4l2_ext_control c1; in ctrl_cx2341x_get() local
755 memset(&c1,0,sizeof(c1)); in ctrl_cx2341x_get()
756 cs.controls = &c1; in ctrl_cx2341x_get()
758 c1.id = cptr->info->v4l_id; in ctrl_cx2341x_get()
762 *vp = c1.value; in ctrl_cx2341x_get()
771 struct v4l2_ext_control c1; in ctrl_cx2341x_set() local
773 memset(&c1,0,sizeof(c1)); in ctrl_cx2341x_set()
774 cs.controls = &c1; in ctrl_cx2341x_set()
776 c1.id = cptr->info->v4l_id; in ctrl_cx2341x_set()
777 c1.value = v; in ctrl_cx2341x_set()
[all …]
Dpvrusb2-v4l2.c1164 int c1,c2; in pvr2_v4l2_read() local
1172 c1 = count; in pvr2_v4l2_read()
1173 if (c1 > PAGE_SIZE) c1 = PAGE_SIZE; in pvr2_v4l2_read()
1174 c2 = pvr2_hdw_cpufw_get(hdw,offs,tbuf,c1); in pvr2_v4l2_read()
/drivers/media/video/marvell-ccic/
Dcafe-driver.c155 int c1; in cafe_smbus_write_done() local
164 c1 = mcam_reg_read(mcam, REG_TWSIC1); in cafe_smbus_write_done()
166 return (c1 & (TWSIC1_WSTAT|TWSIC1_ERROR)) != TWSIC1_WSTAT; in cafe_smbus_write_done()
232 int c1; in cafe_smbus_read_done() local
241 c1 = mcam_reg_read(mcam, REG_TWSIC1); in cafe_smbus_read_done()
243 return c1 & (TWSIC1_RVALID|TWSIC1_ERROR); in cafe_smbus_read_done()
/drivers/media/video/pwc/
Dpwc-dec23.c443 const int *c1 = src; in copy_image_block_CrCb()
447 for (i = 0; i < 4; i++, c1++, c2++) { in copy_image_block_CrCb()
448 *d++ = CLAMP((*c1) >> scalebits); in copy_image_block_CrCb()
451 c1 = src + 12; in copy_image_block_CrCb()
453 for (i = 0; i < 4; i++, c1++, c2++) { in copy_image_block_CrCb()
454 *d++ = CLAMP((*c1) >> scalebits); in copy_image_block_CrCb()
/drivers/misc/
Dtsl2550.c163 u16 c1 = count_lut[ch1]; in tsl2550_calculate_lux() local
172 if (c1 <= c0) in tsl2550_calculate_lux()
174 r = c1 * 128 / c0; in tsl2550_calculate_lux()
177 lux = ((c0 - c1) * ratio_lut[r]) / 256; in tsl2550_calculate_lux()
/drivers/staging/android/
Dbinder.h25 #define B_PACK_CHARS(c1, c2, c3, c4) \ argument
26 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))
/drivers/block/paride/
Dpd.c318 static void pd_send_command(struct pd_unit *disk, int n, int s, int h, int c0, int c1, int func) in pd_send_command() argument
325 write_reg(disk, 5, c1); in pd_send_command()
333 int c1, c0, h, s; in pd_ide_command() local
338 c1 = (block >>= 8) & 255; in pd_ide_command()
344 c1 = (block >>= 8); in pd_ide_command()
346 pd_send_command(disk, count, s, h, c0, c1, func); in pd_ide_command()
/drivers/usb/serial/
Dipw.c67 #define CHAR2INT16(c1, c0) (((u32)((c1) & 0xff) << 8) + (u32)((c0) & 0xff)) argument
/drivers/staging/telephony/
Dixj.h220 unsigned int c1:1; member
243 unsigned int c1:1; member
273 unsigned int c1:1; member
293 unsigned int c1:1; member
Dixj.c700 j->pld_slicw.bits.c1 = 0; in SLIC_SetState()
708 j->pld_slicw.bits.c1 = 1; in SLIC_SetState()
716 j->pld_slicw.bits.c1 = 0; in SLIC_SetState()
725 j->pld_slicw.bits.c1 = 1; in SLIC_SetState()
733 j->pld_slicw.bits.c1 = 0; in SLIC_SetState()
741 j->pld_slicw.bits.c1 = 1; in SLIC_SetState()
750 j->pld_slicw.bits.c1 = 0; in SLIC_SetState()
759 j->pld_slicw.bits.c1 = 1; in SLIC_SetState()
4680 j->pld_scrw.bits.c1 = 0; /* to no selection */ in SCI_Control()
4686 j->pld_scrw.bits.c1 = 0; /* to write to DAA */ in SCI_Control()
[all …]
/drivers/spi/
Dspi-stmp.c442 u32 c1, st; in stmp_spi_irq_err() local
444 c1 = readl(ss->regs + HW_SSP_CTRL1); in stmp_spi_irq_err()
447 __func__, st, c1); in stmp_spi_irq_err()
448 stmp3xxx_clearl(c1 & 0xCCCC0000, ss->regs + HW_SSP_CTRL1); in stmp_spi_irq_err()
/drivers/net/wireless/rtlwifi/rtl8192c/
Dphy_common.c1103 long result[][8], u8 c1, u8 c2) in _rtl92c_phy_simularity_compare() argument
1119 diff = (result[c1][i] > result[c2][i]) ? in _rtl92c_phy_simularity_compare()
1120 (result[c1][i] - result[c2][i]) : in _rtl92c_phy_simularity_compare()
1121 (result[c2][i] - result[c1][i]); in _rtl92c_phy_simularity_compare()
1125 if (result[c1][i] + result[c1][i + 1] == 0) in _rtl92c_phy_simularity_compare()
1128 final_candidate[(i / 4)] = c1; in _rtl92c_phy_simularity_compare()
1150 result[3][i] = result[c1][i]; in _rtl92c_phy_simularity_compare()
1154 result[3][i] = result[c1][i]; in _rtl92c_phy_simularity_compare()
/drivers/net/plip/
Dplip.c486 unsigned char c0, c1; in plip_receive() local
496 c1 = read_status(dev); in plip_receive()
497 if (c0 == c1) in plip_receive()
513 c1 = read_status(dev); in plip_receive()
514 if (c0 == c1) in plip_receive()
/drivers/net/wireless/iwlwifi/
Diwl-core.c480 #define CHK_NEQ(c1, c2) \ in iwl_full_rxon_required() argument
481 if ((c1) != (c2)) { \ in iwl_full_rxon_required()
483 #c1 " != " #c2 " - %d != %d\n", \ in iwl_full_rxon_required()
484 (c1), (c2)); \ in iwl_full_rxon_required()
/drivers/net/wireless/rtlwifi/rtl8192de/
Dphy.c2215 long result[][8], u8 c1, u8 c2) in _rtl92d_phy_simularity_compare() argument
2230 diff = (result[c1][i] > result[c2][i]) ? (result[c1][i] - in _rtl92d_phy_simularity_compare()
2231 result[c2][i]) : (result[c2][i] - result[c1][i]); in _rtl92d_phy_simularity_compare()
2234 if (result[c1][i] + result[c1][i + 1] == 0) in _rtl92d_phy_simularity_compare()
2237 final_candidate[(i / 4)] = c1; in _rtl92d_phy_simularity_compare()
2258 result[3][i] = result[c1][i]; in _rtl92d_phy_simularity_compare()
2261 result[3][i] = result[c1][i]; in _rtl92d_phy_simularity_compare()
2265 result[3][i] = result[c1][i]; in _rtl92d_phy_simularity_compare()
2268 result[3][i] = result[c1][i]; in _rtl92d_phy_simularity_compare()
/drivers/hwmon/
Dsht15.c625 const int c1 = -4; in sht15_calc_humid() local
637 rh_linear = c1 * 1000 in sht15_calc_humid()
/drivers/mtd/ubi/
Dio.c1365 uint8_t c1 = ((uint8_t *)buf1)[i]; in ubi_dbg_check_write() local
1368 if (c == c1) in ubi_dbg_check_write()
/drivers/video/aty/
Dradeon_base.c2152 unsigned char c1, c2; in radeonfb_pci_register() local
2181 c1 = ent->device >> 8; in radeonfb_pci_register()
2183 if (isprint(c1) && isprint(c2)) in radeonfb_pci_register()
2185 "ATI Radeon %x \"%c%c\"", ent->device & 0xffff, c1, c2); in radeonfb_pci_register()
/drivers/tty/vt/
Dcp437.uni84 0x41 U+0041 U+00c0 U+00c1 U+00c2 U+00c3
/drivers/firewire/
Dohci.c1691 u32 c0, c1, c2; in get_cycle_time() local
1700 c1 = c2; in get_cycle_time()
1703 c0 = c1; in get_cycle_time()
1704 c1 = c2; in get_cycle_time()
1707 t1 = cycle_timer_ticks(c1); in get_cycle_time()
/drivers/video/
Dfsl-diu-fb.c926 #define MAKE_PF(alpha, red, green, blue, size, c0, c1, c2, c3) \ in fsl_diu_get_pixel_format() argument
930 (c2 << PF_COMP_2_SHIFT) | (c1 << PF_COMP_1_SHIFT) | \ in fsl_diu_get_pixel_format()

12