Searched defs:c1 (Results 1 - 25 of 30) sorted by relevance

12

/drivers/acpi/acpica/
H A Dutstring.c105 int c1; local
109 c1 = tolower((int)*string1);
115 while ((c1 == c2) && (c1));
117 return (c1 - c2);
/drivers/char/
H A Dnwflash.c62 volatile unsigned int c1, c2; local
71 c1 = *(volatile unsigned char *) FLASH_BASE;
77 if (c1 == 0xB0)
82 c2 += (c1 << 8);
322 volatile unsigned int c1; local
335 c1 = *(volatile unsigned char *) (FLASH_BASE + 0x8000);
351 c1 = *pWritePtr;
373 c1 = 0;
374 while (!(c1 & 0x80) && time_before(jiffies, timeout)) {
379 c1
427 volatile unsigned int c1; local
563 char c, c1; local
[all...]
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-std.c192 unsigned int c1,c2; local
194 c1 = 0;
204 c1 += c2;
215 c1 += c2;
220 c1 += c2;
225 return c1;
H A Dpvrusb2-v4l2.c1164 int c1,c2; local
1172 c1 = count;
1173 if (c1 > PAGE_SIZE) c1 = PAGE_SIZE;
1174 c2 = pvr2_hdw_cpufw_get(hdw,offs,tbuf,c1);
/drivers/misc/
H A Dtsl2550.c162 u16 c1 = count_lut[ch1]; local
171 if (c1 <= c0)
173 r = c1 * 128 / c0;
176 lux = ((c0 - c1) * ratio_lut[r]) / 256;
/drivers/gpu/drm/nouveau/core/include/core/
H A Dobject.h195 unsigned char c1, c2; local
198 c1 = nv_ro08(obj, addr++);
200 if (c1 != c2)
201 return c1 - c2;
/drivers/mtd/ubi/
H A Dio.c1342 uint8_t c1 = ((uint8_t *)buf1)[i]; local
1345 if (c == c1)
/drivers/media/platform/marvell-ccic/
H A Dcafe-driver.c154 int c1; local
163 c1 = mcam_reg_read(mcam, REG_TWSIC1);
165 return (c1 & (TWSIC1_WSTAT|TWSIC1_ERROR)) != TWSIC1_WSTAT;
231 int c1; local
240 c1 = mcam_reg_read(mcam, REG_TWSIC1);
242 return c1 & (TWSIC1_RVALID|TWSIC1_ERROR);
/drivers/thermal/
H A Dimx_thermal.c101 u32 c1, c2; /* See formula in imx_get_sensor_data() */ member in struct:imx_thermal_data
118 critical_value = (data->c2 - panic_temp) / data->c1;
131 alarm_value = (data->c2 - alarm_temp) / data->c1;
183 *temp = data->c2 - n_meas * data->c1;
397 * Let constant c1 = (-1000 / slope)
398 * milli_Tmeas = (n1 - Nmeas) * c1 + 1000 * t1
399 * Let constant c2 = n1 *c1 + 1000 * t1
400 * milli_Tmeas = c2 - Nmeas * c1
405 data->c1 = temp64;
406 data->c2 = n1 * data->c1
[all...]
/drivers/hwmon/
H A Dsht15.c663 const int c1 = -4; local
675 rh_linear = c1 * 1000
/drivers/leds/
H A Dleds-tca6507.c218 int c1, c2; local
226 for (c1 = 1; c1 < TIMECODES; c1++) {
227 int t = time_codes[c1];
232 for (c2 = 0; c2 <= c1; c2++) {
244 *c1p = c1;
254 c1 = *c2p;
256 *c1p = c1;
326 int c1, c local
393 int c1, c2; local
[all...]
/drivers/net/plip/
H A Dplip.c486 unsigned char c0, c1; local
496 c1 = read_status(dev);
497 if (c0 == c1)
513 c1 = read_status(dev);
514 if (c0 == c1)
/drivers/net/wireless/rtlwifi/rtl8723ae/
H A Dphy.c1109 long result[][8], u8 c1, u8 c2)
1121 diff = (result[c1][i] > result[c2][i]) ?
1122 (result[c1][i] - result[c2][i]) :
1123 (result[c2][i] - result[c1][i]);
1127 if (result[c1][i] + result[c1][i + 1] == 0)
1130 final_candidate[(i / 4)] = c1;
1152 result[3][i] = result[c1][i];
1108 _rtl8723e_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
/drivers/staging/netlogic/
H A Dxlr_net.c574 int b1, b2, c1, c2, i, j, k; local
593 c1 = 3;
602 c1 = (c1 + 1) & 3;
603 c2 = (c1 + 1) & 3;
609 val = ((c1 << 23) | (b1 << 17) | (use_bkt << 16) |
611 dev_dbg(&priv->ndev->dev, "Table[%d] b1=%d b2=%d c1=%d c2=%d\n",
612 i, b1, b2, c1, c2);
614 c1 = c2;
/drivers/staging/rtl8723au/hal/
H A DHalDMOutSrc8723A_CE.c658 static bool _PHY_SimularityCompare(struct rtw_adapter *pAdapter, int result[][8], u8 c1, u8 c2) argument
673 diff = (result[c1][i] > result[c2][i]) ? (result[c1][i] - result[c2][i]) : (result[c2][i] - result[c1][i]);
676 if (result[c1][i]+result[c1][i+1] == 0)
679 final_candidate[(i/4)] = c1;
700 result[3][i] = result[c1][i];
705 result[3][i] = result[c1][i];
/drivers/block/paride/
H A Dpd.c318 static void pd_send_command(struct pd_unit *disk, int n, int s, int h, int c0, int c1, int func) argument
325 write_reg(disk, 5, c1);
333 int c1, c0, h, s; local
338 c1 = (block >>= 8) & 255;
344 c1 = (block >>= 8);
346 pd_send_command(disk, count, s, h, c0, c1, func);
/drivers/net/wireless/b43/
H A Dphy_lp.c1630 struct lpphy_rx_iq_comp { u8 chan; s8 c1, c0; }; member in struct:lpphy_rx_iq_comp
1633 { .chan = 1, .c1 = -66, .c0 = 15, },
1634 { .chan = 2, .c1 = -66, .c0 = 15, },
1635 { .chan = 3, .c1 = -66, .c0 = 15, },
1636 { .chan = 4, .c1 = -66, .c0 = 15, },
1637 { .chan = 5, .c1 = -66, .c0 = 15, },
1638 { .chan = 6, .c1 = -66, .c0 = 15, },
1639 { .chan = 7, .c1 = -66, .c0 = 14, },
1640 { .chan = 8, .c1 = -66, .c0 = 14, },
1641 { .chan = 9, .c1
1712 u16 c0, c1; local
[all...]
/drivers/net/wireless/rtlwifi/rtl8188ee/
H A Dphy.c1654 long result[][8], u8 c1, u8 c2)
1670 diff = (result[c1][i] > result[c2][i]) ?
1671 (result[c1][i] - result[c2][i]) :
1672 (result[c2][i] - result[c1][i]);
1676 if (result[c1][i] + result[c1][i + 1] == 0)
1679 final_candidate[(i / 4)] = c1;
1701 result[3][i] = result[c1][i];
1705 result[3][i] = result[c1][i];
1653 _rtl88e_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
/drivers/net/wireless/rtlwifi/rtl8192c/
H A Dphy_common.c1172 long result[][8], u8 c1, u8 c2)
1188 diff = (result[c1][i] > result[c2][i]) ?
1189 (result[c1][i] - result[c2][i]) :
1190 (result[c2][i] - result[c1][i]);
1194 if (result[c1][i] + result[c1][i + 1] == 0)
1197 final_candidate[(i / 4)] = c1;
1219 result[3][i] = result[c1][i];
1223 result[3][i] = result[c1][i];
1171 _rtl92c_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
/drivers/net/wireless/rtlwifi/rtl8723be/
H A Dphy.c2027 long result[][8], u8 c1, u8 c2)
2041 if ((result[c1][i] & 0x00000200) != 0)
2042 tmp1 = result[c1][i] | 0xFFFFFC00;
2044 tmp1 = result[c1][i];
2051 tmp1 = result[c1][i];
2059 if (result[c1][i] + result[c1][i + 1] == 0)
2062 final_candidate[(i / 4)] = c1;
2083 result[3][i] = result[c1][i];
2087 result[3][i] = result[c1][
2026 _rtl8723be_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
[all...]
/drivers/staging/rtl8188eu/hal/
H A Dphy.c1078 u8 c1, u8 c2)
1103 if ((resulta[c1][i] & 0x00000200) != 0)
1104 tmp1 = resulta[c1][i] | 0xFFFFFC00;
1106 tmp1 = resulta[c1][i];
1113 tmp1 = resulta[c1][i];
1121 if (resulta[c1][i] + resulta[c1][i+1] == 0)
1124 final_candidate[(i/4)] = c1;
1145 resulta[3][i] = resulta[c1][i];
1149 resulta[3][i] = resulta[c1][
1077 simularity_compare(struct adapter *adapt, s32 resulta[][8], u8 c1, u8 c2) argument
[all...]
/drivers/video/fbdev/aty/
H A Dradeon_base.c2147 unsigned char c1, c2; local
2176 c1 = ent->device >> 8;
2178 if (isprint(c1) && isprint(c2))
2180 "ATI Radeon %x \"%c%c\"", ent->device & 0xffff, c1, c2);
/drivers/video/fbdev/omap2/dss/
H A Dhdmi5_core.h292 u16 c1, c2, c3, c4; member in struct:csc_table
/drivers/net/wireless/
H A Dmac80211_hwsim.c926 static bool hwsim_chans_compat(struct ieee80211_channel *c1, argument
929 if (!c1 || !c2)
932 return c1->center_freq == c2->center_freq;
/drivers/net/wireless/rtlwifi/rtl8192de/
H A Dphy.c2110 long result[][8], u8 c1, u8 c2)
2125 diff = (result[c1][i] > result[c2][i]) ? (result[c1][i] -
2126 result[c2][i]) : (result[c2][i] - result[c1][i]);
2129 if (result[c1][i] + result[c1][i + 1] == 0)
2132 final_candidate[(i / 4)] = c1;
2153 result[3][i] = result[c1][i];
2156 result[3][i] = result[c1][i];
2160 result[3][i] = result[c1][
2109 _rtl92d_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
[all...]

Completed in 1560 milliseconds

12