Home
last modified time | relevance | path

Searched refs:b2 (Results 1 – 25 of 43) sorted by relevance

12

/drivers/atm/
Dfore200e.h71 #define BITFIELD2(b1, b2) b1; b2; argument
72 #define BITFIELD3(b1, b2, b3) b1; b2; b3; argument
73 #define BITFIELD4(b1, b2, b3, b4) b1; b2; b3; b4; argument
74 #define BITFIELD5(b1, b2, b3, b4, b5) b1; b2; b3; b4; b5; argument
75 #define BITFIELD6(b1, b2, b3, b4, b5, b6) b1; b2; b3; b4; b5; b6; argument
77 #define BITFIELD2(b1, b2) b2; b1; argument
78 #define BITFIELD3(b1, b2, b3) b3; b2; b1; argument
79 #define BITFIELD4(b1, b2, b3, b4) b4; b3; b2; b1; argument
80 #define BITFIELD5(b1, b2, b3, b4, b5) b5; b4; b3; b2; b1; argument
81 #define BITFIELD6(b1, b2, b3, b4, b5, b6) b6; b5; b4; b3; b2; b1; argument
/drivers/isdn/mISDN/
Ddsp_biquad.h20 int32_t b2; member
27 int32_t gain, int32_t a1, int32_t a2, int32_t b1, int32_t b2) in biquad2_init() argument
33 bq->b2 = b2; in biquad2_init()
45 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; in biquad2()
/drivers/mtd/nand/
Decc-sw-hamming.c378 unsigned char b0, b1, b2, bit_addr; in ecc_sw_hamming_correct() local
394 b2 = read_ecc[2] ^ calc_ecc[2]; in ecc_sw_hamming_correct()
401 if ((b0 | b1 | b2) == 0) in ecc_sw_hamming_correct()
406 ((eccsize_mult == 1 && ((b2 ^ (b2 >> 1)) & 0x54) == 0x54) || in ecc_sw_hamming_correct()
407 (eccsize_mult == 2 && ((b2 ^ (b2 >> 1)) & 0x55) == 0x55))) { in ecc_sw_hamming_correct()
428 byte_addr = (addressbits[b2 & 0x3] << 8) + in ecc_sw_hamming_correct()
430 bit_addr = addressbits[b2 >> 2]; in ecc_sw_hamming_correct()
437 if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1) in ecc_sw_hamming_correct()
/drivers/iio/pressure/
Dmpl115.c28 s16 b1, b2; member
72 pcomp = (y1 + ((data->b2 * (int) tadc) >> 1)) >> 9; in mpl115_comp_pressure()
182 data->b2 = ret; in mpl115_probe()
/drivers/media/usb/em28xx/
Dem28xx-i2c.c87 u8 b2[6]; in em2800_i2c_send_bytes() local
92 b2[5] = 0x80 + len - 1; in em2800_i2c_send_bytes()
93 b2[4] = addr; in em2800_i2c_send_bytes()
94 b2[3] = buf[0]; in em2800_i2c_send_bytes()
96 b2[2] = buf[1]; in em2800_i2c_send_bytes()
98 b2[1] = buf[2]; in em2800_i2c_send_bytes()
100 b2[0] = buf[3]; in em2800_i2c_send_bytes()
103 ret = dev->em28xx_write_regs(dev, 4 - len, &b2[4 - len], 2 + len); in em2800_i2c_send_bytes()
/drivers/media/dvb-frontends/
Dix2505v.c52 u8 b2[] = {0}; in ix2505v_read_status_reg() local
56 { .addr = addr, .flags = I2C_M_RD, .buf = b2, .len = 1 } in ix2505v_read_status_reg()
62 return (ret == 1) ? (int) b2[0] : -1; in ix2505v_read_status_reg()
Dtua6100.c164 u8 b2 [] = { 0x00 }; in tua6100_attach() local
166 { .addr = addr, .flags = I2C_M_RD, .buf = b2, .len = 1 } }; in tua6100_attach()
Dlgs8gl5.c126 u8 b2[] = {reg, data}; in lgs8gl5_update_alt_reg() local
143 .buf = b2, in lgs8gl5_update_alt_reg()
/drivers/thermal/
Drcar_gen3_thermal.c79 int b2; member
155 tsc->coef.b2 = FIXPT_INT(thcode[0]) - tsc->coef.a2 * ths_tj_1; in rcar_gen3_thermal_calc_coefs()
181 val = FIXPT_DIV(FIXPT_INT(reg) - tsc->coef.b2, in rcar_gen3_thermal_get_temp()
202 val = celsius * tsc->coef.a2 + tsc->coef.b2; in rcar_gen3_thermal_mcelsius_to_temp()
/drivers/net/hamradio/
Dbaycom_ser_fdx.c343 unsigned char b1,b2,b3; in ser12_check_uart() local
350 b2 = inb(MSR(iobase)); in ser12_check_uart()
354 outb(b2, MSR(iobase)); in ser12_check_uart()
365 b2 = inb(SCR(iobase)); in ser12_check_uart()
366 if ((b1 != 0x5a) || (b2 != 0xa5)) in ser12_check_uart()
Dbaycom_ser_hdx.c425 unsigned char b1,b2,b3; in ser12_check_uart() local
432 b2 = inb(MSR(iobase)); in ser12_check_uart()
436 outb(b2, MSR(iobase)); in ser12_check_uart()
447 b2 = inb(SCR(iobase)); in ser12_check_uart()
448 if ((b1 != 0x5a) || (b2 != 0xa5)) in ser12_check_uart()
Dyam.c496 unsigned char b1, b2, b3; in yam_check_uart() local
503 b2 = inb(MSR(iobase)); in yam_check_uart()
507 outb(b2, MSR(iobase)); in yam_check_uart()
518 b2 = inb(SCR(iobase)); in yam_check_uart()
519 if ((b1 != 0x5a) || (b2 != 0xa5)) in yam_check_uart()
/drivers/media/usb/dvb-usb/
Ddibusb-mb.c68 u8 b[2] = { 0,0 }, b2[1]; in dibusb_tuner_probe_and_attach() local
72 { .flags = I2C_M_RD, .buf = b2, .len = 1 }, in dibusb_tuner_probe_and_attach()
90 if (b2[0] == 0xfe) { in dibusb_tuner_probe_and_attach()
/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi.h265 const u32 idx, int b2, int b1, u32 val) in hdmi_wait_for_bit_change() argument
268 while (val != (v = REG_GET(base_addr, idx, b2, b1))) { in hdmi_wait_for_bit_change()
Dhdmi5_core.h280 u16 b1, b2, b3, b4; member
Ddsi.c1181 int b0, b1, b2; in _dsi_print_reset_status() local
1191 b2 = 26; in _dsi_print_reset_status()
1195 b2 = 26; in _dsi_print_reset_status()
1206 DSI_FLD_GET(DSIPHY_CFG5, b2, b2), in _dsi_print_reset_status()
2677 int channel, u8 b1, u8 b2, u8 b3, u8 b4) in dsi_vc_write_long_payload() argument
2681 val = b4 << 24 | b3 << 16 | b2 << 8 | b1 << 0; in dsi_vc_write_long_payload()
2697 u8 b1, b2, b3, b4; in dsi_vc_send_long() local
2718 b2 = *p++; in dsi_vc_send_long()
2722 dsi_vc_write_long_payload(dsidev, channel, b1, b2, b3, b4); in dsi_vc_send_long()
2727 b1 = 0; b2 = 0; b3 = 0; in dsi_vc_send_long()
[all …]
/drivers/gpu/drm/omapdrm/dss/
Dhdmi.h284 const u32 idx, int b2, int b1, u32 val) in hdmi_wait_for_bit_change() argument
287 while (val != (v = REG_GET(base_addr, idx, b2, b1))) { in hdmi_wait_for_bit_change()
Ddsi.c727 int b0, b1, b2; in _dsi_print_reset_status() local
737 b2 = 26; in _dsi_print_reset_status()
741 b2 = 26; in _dsi_print_reset_status()
752 DSI_FLD_GET(DSIPHY_CFG5, b2, b2), in _dsi_print_reset_status()
2081 u8 b1, u8 b2, u8 b3, u8 b4) in dsi_vc_write_long_payload() argument
2085 val = b4 << 24 | b3 << 16 | b2 << 8 | b1 << 0; in dsi_vc_write_long_payload()
2100 u8 b1, b2, b3, b4; in dsi_vc_send_long() local
2119 b2 = *p++; in dsi_vc_send_long()
2123 dsi_vc_write_long_payload(dsi, vc, b1, b2, b3, b4); in dsi_vc_send_long()
2128 b1 = 0; b2 = 0; b3 = 0; in dsi_vc_send_long()
[all …]
Dhdmi5_core.h280 u16 b1, b2, b3, b4; member
/drivers/tty/vt/
Dcp437.uni46 0x1e U+25b2
257 0xe1 U+03b2 U+00df
285 0xfd U+00b2
/drivers/media/pci/bt8xx/
Dbttv-i2c.c285 unsigned char b2, int both) in bttv_I2CWrite() argument
294 buffer[1] = b2; in bttv_I2CWrite()
/drivers/staging/netlogic/
Dxlr_net.c523 int b1, b2, c1, c2, i, j, k; in xlr_config_translate_table() local
555 b2 = bkts[k]; in xlr_config_translate_table()
559 (c2 << 7) | (b2 << 1) | (use_bkt << 0)); in xlr_config_translate_table()
561 i, b1, b2, c1, c2); in xlr_config_translate_table()
/drivers/gpu/drm/bridge/
Dtc358764.c79 #define LV_MX(b0, b1, b2, b3) (FLD_VAL(b0, 4, 0) | FLD_VAL(b1, 12, 8) | \ argument
80 FLD_VAL(b2, 20, 16) | FLD_VAL(b3, 28, 24))
Dtc358775.c125 #define LV_MX(b0, b1, b2, b3) (FLD_VAL(b0, 4, 0) | FLD_VAL(b1, 12, 8) | \ argument
126 FLD_VAL(b2, 20, 16) | FLD_VAL(b3, 28, 24))
/drivers/net/ethernet/sgi/
Dioc3-eth.c1054 unsigned long b2 = (data | 0x3fffUL) + 1UL; in ioc3_start_xmit() local
1055 unsigned long s1 = b2 - data; in ioc3_start_xmit()
1056 unsigned long s2 = data + len - b2; in ioc3_start_xmit()
1066 d2 = dma_map_single(ip->dma_dev, (void *)b2, s1, DMA_TO_DEVICE); in ioc3_start_xmit()

12