Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 27) sorted by relevance

12

/drivers/media/usb/pvrusb2/
Dpvrusb2-std.c192 unsigned int c1,c2; in pvr2_std_id_to_str() local
203 c2 = scnprintf(bufPtr,bufSize,";"); in pvr2_std_id_to_str()
204 c1 += c2; in pvr2_std_id_to_str()
205 bufSize -= c2; in pvr2_std_id_to_str()
206 bufPtr += c2; in pvr2_std_id_to_str()
209 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str()
213 c2 = scnprintf(bufPtr,bufSize,"/"); in pvr2_std_id_to_str()
215 c1 += c2; in pvr2_std_id_to_str()
216 bufSize -= c2; in pvr2_std_id_to_str()
217 bufPtr += c2; in pvr2_std_id_to_str()
[all …]
Dpvrusb2-v4l2.c1203 int c1,c2; in pvr2_v4l2_read() local
1213 c2 = pvr2_hdw_cpufw_get(hdw,offs,tbuf,c1); in pvr2_v4l2_read()
1214 if (c2 < 0) { in pvr2_v4l2_read()
1215 tcnt = c2; in pvr2_v4l2_read()
1218 if (!c2) break; in pvr2_v4l2_read()
1219 if (copy_to_user(buff,tbuf,c2)) { in pvr2_v4l2_read()
1223 offs += c2; in pvr2_v4l2_read()
1224 tcnt += c2; in pvr2_v4l2_read()
1225 buff += c2; in pvr2_v4l2_read()
1226 count -= c2; in pvr2_v4l2_read()
[all …]
/drivers/char/
Dnwflash.c62 volatile unsigned int c1, c2; in get_flash_id() local
68 c2 = inb(0x80); in get_flash_id()
72 c2 = inb(0x80); in get_flash_id()
78 c2 = *(volatile unsigned char *) (FLASH_BASE + 2); in get_flash_id()
80 c2 = *(volatile unsigned char *) (FLASH_BASE + 1); in get_flash_id()
82 c2 += (c1 << 8); in get_flash_id()
89 if (c2 == KFLASH_ID4) in get_flash_id()
92 return c2; in get_flash_id()
428 volatile unsigned int c2; in write_block() local
453 if (__get_user(c2, buf + offset)) in write_block()
[all …]
/drivers/leds/
Dleds-tca6507.c207 int c1, c2; in choose_times() local
221 for (c2 = 0; c2 <= c1; c2++) { in choose_times()
222 int tt = t + time_codes[c2]; in choose_times()
234 *c2p = c2; in choose_times()
315 int c1, c2; in set_times() local
318 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times()
321 c2, time_codes[c2], tca->bank[bank].ontime); in set_times()
322 set_code(tca, TCA6507_FADE_ON, bank, c2); in set_times()
326 result = choose_times(tca->bank[bank].offtime, &c1, &c2); in set_times()
329 c2, time_codes[c2], tca->bank[bank].offtime); in set_times()
[all …]
/drivers/acpi/acpica/
Dutstring.c106 int c2; in acpi_ut_stricmp() local
110 c2 = tolower((int)*string2); in acpi_ut_stricmp()
115 while ((c1 == c2) && (c1)); in acpi_ut_stricmp()
117 return (c1 - c2); in acpi_ut_stricmp()
/drivers/gpu/drm/nouveau/core/include/core/
Dobject.h191 unsigned char c1, c2; in nv_memcmp() local
195 c2 = *(str++); in nv_memcmp()
196 if (c1 != c2) in nv_memcmp()
197 return c1 - c2; in nv_memcmp()
/drivers/media/usb/pwc/
Dpwc-dec23.c444 const int *c2 = src + 4; in copy_image_block_CrCb()
447 for (i = 0; i < 4; i++, c1++, c2++) { in copy_image_block_CrCb()
449 *d++ = CLAMP((*c2) >> scalebits); in copy_image_block_CrCb()
453 for (i = 0; i < 4; i++, c1++, c2++) { in copy_image_block_CrCb()
455 *d++ = CLAMP((*c2) >> scalebits); in copy_image_block_CrCb()
/drivers/media/pci/ttpci/
Dav7110_av.c648 int c, c2, l, add; in av7110_p2t_write() local
652 c2 = 0; in av7110_p2t_write()
704 c2 = find_pes_header(buf + c, length - c, &p->frags); in av7110_p2t_write()
705 if (c2 >= 0 && c2 < (TS_SIZE - 4) - p->pos) in av7110_p2t_write()
706 l = c2+c; in av7110_p2t_write()
718 c2 = find_pes_header(buf + c + add, length - c - add, &p->frags); in av7110_p2t_write()
719 if (c2 >= 0) { in av7110_p2t_write()
720 c2 += c + add; in av7110_p2t_write()
721 if (c2 > c){ in av7110_p2t_write()
722 p_to_t(buf + c, c2 - c, pid, &p->counter, p->feed); in av7110_p2t_write()
[all …]
/drivers/staging/netlogic/
Dxlr_net.c574 int b1, b2, c1, c2, i, j, k; in xlr_config_translate_table() local
594 c2 = 0; in xlr_config_translate_table()
602 c2 = (c1 + 1) & 3; in xlr_config_translate_table()
608 (c2 << 7) | (b2 << 1) | (use_bkt << 0)); in xlr_config_translate_table()
611 (c2 << 7) | (b2 << 1) | (use_bkt << 0)); in xlr_config_translate_table()
613 i, b1, b2, c1, c2); in xlr_config_translate_table()
615 c1 = c2; in xlr_config_translate_table()
/drivers/infiniband/hw/amso1100/
DKbuild5 iw_c2-y := c2.o c2_provider.o c2_rnic.o c2_alloc.o c2_mq.o c2_ae.o c2_vq.o \
/drivers/usb/misc/
Dyurex.c455 unsigned long long c, c2 = 0; in yurex_write() local
498 c = c2 = simple_strtoull(data, NULL, 0); in yurex_write()
529 dev->bbu = c2; in yurex_write()
/drivers/hwmon/
Dsht15.c661 int c2, c3; in sht15_calc_humid() local
666 c2 = 648000; /* x 10 ^ -6 */ in sht15_calc_humid()
670 c2 = 40500; /* x 10 ^ -6 */ in sht15_calc_humid()
676 + c2 * data->val_humid / 1000 in sht15_calc_humid()
/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()
1126 final_candidate[(i / 4)] = c2; in _rtl92c_phy_simularity_compare()
1127 else if (result[c2][i] + result[c2][i + 1] == 0) in _rtl92c_phy_simularity_compare()
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dphy.c1460 u8 c1, u8 c2) in phy_simularity_comp() argument
1472 diff = (result[c1][i] > result[c2][i]) ? in phy_simularity_comp()
1473 (result[c1][i] - result[c2][i]) : in phy_simularity_comp()
1474 (result[c2][i] - result[c1][i]); in phy_simularity_comp()
1479 final_candidate[(i / 4)] = c2; in phy_simularity_comp()
1480 else if (result[c2][i] + result[c2][i + 1] == 0) in phy_simularity_comp()
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dphy.c1585 static bool sim_comp(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) in sim_comp() argument
1601 diff = (result[c1][i] > result[c2][i]) ? in sim_comp()
1602 (result[c1][i] - result[c2][i]) : in sim_comp()
1603 (result[c2][i] - result[c1][i]); in sim_comp()
1608 final[(i / 4)] = c2; in sim_comp()
1609 else if (result[c2][i] + result[c2][i + 1] == 0) in sim_comp()
/drivers/net/wireless/iwlwifi/dvm/
Drxon.c872 #define CHK_NEQ(c1, c2) \ in iwl_full_rxon_required() argument
873 if ((c1) != (c2)) { \ in iwl_full_rxon_required()
875 #c1 " != " #c2 " - %d != %d\n", \ in iwl_full_rxon_required()
876 (c1), (c2)); \ in iwl_full_rxon_required()
/drivers/iommu/
Dmsm_iommu.c42 #define RCP15_PRRR(reg) MRC(reg, p15, 0, c10, c2, 0)
43 #define RCP15_NMRR(reg) MRC(reg, p15, 0, c10, c2, 1)
/drivers/firewire/
Dohci.c1723 u32 c0, c1, c2; in get_cycle_time() local
1728 c2 = reg_read(ohci, OHCI1394_IsochronousCycleTimer); in get_cycle_time()
1732 c1 = c2; in get_cycle_time()
1733 c2 = reg_read(ohci, OHCI1394_IsochronousCycleTimer); in get_cycle_time()
1736 c1 = c2; in get_cycle_time()
1737 c2 = reg_read(ohci, OHCI1394_IsochronousCycleTimer); in get_cycle_time()
1740 t2 = cycle_timer_ticks(c2); in get_cycle_time()
1748 return c2; in get_cycle_time()
/drivers/scsi/device_handler/
Dscsi_dh_rdac.c207 struct c2_inquiry c2; member
530 inqp = &h->inq.c2; in set_mode_select()
/drivers/net/wireless/rtlwifi/rtl8192de/
Dphy.c2196 long result[][8], u8 c1, u8 c2) in _rtl92d_phy_simularity_compare() argument
2211 diff = (result[c1][i] > result[c2][i]) ? (result[c1][i] - in _rtl92d_phy_simularity_compare()
2212 result[c2][i]) : (result[c2][i] - result[c1][i]); in _rtl92d_phy_simularity_compare()
2216 final_candidate[(i / 4)] = c2; in _rtl92d_phy_simularity_compare()
2217 else if (result[c2][i] + result[c2][i + 1] == 0) in _rtl92d_phy_simularity_compare()
/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/
Dnv98.fuc549 cmov $c2 $c6
552 cxor $c0 $c2
/drivers/video/aty/
Dradeon_base.c2152 unsigned char c1, c2; in radeonfb_pci_register() local
2182 c2 = ent->device & 0xff; 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/net/wireless/
Dmac80211_hwsim.c682 struct ieee80211_channel *c2) in hwsim_chans_compat() argument
684 if (!c1 || !c2) in hwsim_chans_compat()
687 return c1->center_freq == c2->center_freq; in hwsim_chans_compat()
/drivers/video/
Dfsl-diu-fb.c949 #define MAKE_PF(alpha, red, green, blue, size, c0, c1, c2, c3) \ in fsl_diu_get_pixel_format() argument
953 (c2 << PF_COMP_2_SHIFT) | (c1 << PF_COMP_1_SHIFT) | \ in fsl_diu_get_pixel_format()

12