Home
last modified time | relevance | path

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

12

/drivers/staging/skein/
Dthreefish_block.c8 b2 = input[2], b3 = input[3]; in threefish_encrypt_256() local
20 b2 += b3 + k2 + t1; in threefish_encrypt_256()
21 b3 = rol64(b3, 16) ^ b2; in threefish_encrypt_256()
26 b2 += b1; in threefish_encrypt_256()
27 b1 = rol64(b1, 57) ^ b2; in threefish_encrypt_256()
32 b2 += b3; in threefish_encrypt_256()
33 b3 = rol64(b3, 40) ^ b2; in threefish_encrypt_256()
38 b2 += b1; in threefish_encrypt_256()
39 b1 = rol64(b1, 37) ^ b2; in threefish_encrypt_256()
46 b2 += b3 + k3 + t2; in threefish_encrypt_256()
[all …]
/drivers/atm/
Dfore200e.h70 #define BITFIELD2(b1, b2) b1; b2; argument
71 #define BITFIELD3(b1, b2, b3) b1; b2; b3; argument
72 #define BITFIELD4(b1, b2, b3, b4) b1; b2; b3; b4; argument
73 #define BITFIELD5(b1, b2, b3, b4, b5) b1; b2; b3; b4; b5; argument
74 #define BITFIELD6(b1, b2, b3, b4, b5, b6) b1; b2; b3; b4; b5; b6; argument
76 #define BITFIELD2(b1, b2) b2; b1; argument
77 #define BITFIELD3(b1, b2, b3) b3; b2; b1; argument
78 #define BITFIELD4(b1, b2, b3, b4) b4; b3; b2; b1; argument
79 #define BITFIELD5(b1, b2, b3, b4, b5) b5; b4; b3; b2; b1; argument
80 #define BITFIELD6(b1, b2, b3, b4, b5, b6) b6; b5; b4; b3; b2; b1; argument
/drivers/isdn/mISDN/
Ddsp_biquad.h34 int32_t b2; member
41 int32_t gain, int32_t a1, int32_t a2, int32_t b1, int32_t b2) in biquad2_init() argument
47 bq->b2 = b2; in biquad2_init()
59 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; in biquad2()
/drivers/mtd/nand/
Dnand_ecc.c446 unsigned char b0, b1, b2, bit_addr; in __nand_correct_data() local
463 b2 = read_ecc[2] ^ calc_ecc[2]; in __nand_correct_data()
470 if ((b0 | b1 | b2) == 0) in __nand_correct_data()
475 ((eccsize_mult == 1 && ((b2 ^ (b2 >> 1)) & 0x54) == 0x54) || in __nand_correct_data()
476 (eccsize_mult == 2 && ((b2 ^ (b2 >> 1)) & 0x55) == 0x55))) { in __nand_correct_data()
497 byte_addr = (addressbits[b2 & 0x3] << 8) + in __nand_correct_data()
499 bit_addr = addressbits[b2 >> 2]; in __nand_correct_data()
506 if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1) in __nand_correct_data()
/drivers/staging/i4l/pcbit/
Ddrv.c115 dev->b2 = kzalloc(sizeof(struct pcbit_chan), GFP_KERNEL); in pcbit_init_dev()
116 if (!dev->b2) { in pcbit_init_dev()
125 dev->b2->id = 1; in pcbit_init_dev()
136 kfree(dev->b2); in pcbit_init_dev()
158 kfree(dev->b2); in pcbit_init_dev()
190 kfree(dev->b2); in pcbit_init_dev()
225 if (dev->b2->fsm_timer.function) in pcbit_terminate()
226 del_timer(&dev->b2->fsm_timer); in pcbit_terminate()
228 kfree(dev->b2); in pcbit_terminate()
250 chan = (ctl->arg & 0x0F) ? dev->b2 : dev->b1; in pcbit_command()
[all …]
Dcapi.h75 else if (dev->b2->callref == callref) in capi_channel()
76 return dev->b2; in capi_channel()
Dpcbit.h98 struct pcbit_chan *b2; member
/drivers/gpu/drm/gma500/
Dmdfld_dsi_pkg_sender.c249 u8 b1, b2, b3, b4; in send_long_pkg() local
268 b2 = *p++; in send_long_pkg()
272 REG_WRITE(data_reg, b4 << 24 | b3 << 16 | b2 << 8 | b1); in send_long_pkg()
277 b1 = 0; b2 = 0; b3 = 0; in send_long_pkg()
282 b2 = *p++; in send_long_pkg()
287 b2 = *p++; in send_long_pkg()
294 REG_WRITE(data_reg, b3 << 16 | b2 << 8 | b1); in send_long_pkg()
/drivers/media/usb/em28xx/
Dem28xx-i2c.c54 u8 b2[6]; in em2800_i2c_send_bytes() local
60 b2[5] = 0x80 + len - 1; in em2800_i2c_send_bytes()
61 b2[4] = addr; in em2800_i2c_send_bytes()
62 b2[3] = buf[0]; in em2800_i2c_send_bytes()
64 b2[2] = buf[1]; in em2800_i2c_send_bytes()
66 b2[1] = buf[2]; in em2800_i2c_send_bytes()
68 b2[0] = buf[3]; in em2800_i2c_send_bytes()
71 ret = dev->em28xx_write_regs(dev, 4 - len, &b2[4 - len], 2 + len); in em2800_i2c_send_bytes()
/drivers/iio/pressure/
Dmpl115.c32 s16 b1, b2; member
76 pcomp = (y1 + ((data->b2 * (int) tadc) >> 1)) >> 9; in mpl115_comp_pressure()
188 data->b2 = ret; in mpl115_probe()
/drivers/media/dvb-frontends/
Dix2505v.c65 u8 b2[] = {0}; in ix2505v_read_status_reg() local
69 { .addr = addr, .flags = I2C_M_RD, .buf = b2, .len = 1 } in ix2505v_read_status_reg()
75 return (ret == 1) ? (int) b2[0] : -1; in ix2505v_read_status_reg()
Dtua6100.c177 u8 b2 [] = { 0x00 }; in tua6100_attach() local
179 { .addr = addr, .flags = I2C_M_RD, .buf = b2, .len = 1 } }; in tua6100_attach()
Dlgs8gl5.c138 u8 b2[] = {reg, data}; in lgs8gl5_update_alt_reg() local
155 .buf = b2, in lgs8gl5_update_alt_reg()
/drivers/net/hamradio/
Dbaycom_ser_fdx.c384 unsigned char b1,b2,b3; in ser12_check_uart() local
391 b2 = inb(MSR(iobase)); in ser12_check_uart()
395 outb(b2, MSR(iobase)); in ser12_check_uart()
406 b2 = inb(SCR(iobase)); in ser12_check_uart()
407 if ((b1 != 0x5a) || (b2 != 0xa5)) in ser12_check_uart()
Dbaycom_ser_hdx.c441 unsigned char b1,b2,b3; in ser12_check_uart() local
448 b2 = inb(MSR(iobase)); in ser12_check_uart()
452 outb(b2, MSR(iobase)); in ser12_check_uart()
463 b2 = inb(SCR(iobase)); in ser12_check_uart()
464 if ((b1 != 0x5a) || (b2 != 0xa5)) in ser12_check_uart()
Dyam.c511 unsigned char b1, b2, b3; in yam_check_uart() local
518 b2 = inb(MSR(iobase)); in yam_check_uart()
522 outb(b2, MSR(iobase)); in yam_check_uart()
533 b2 = inb(SCR(iobase)); in yam_check_uart()
534 if ((b1 != 0x5a) || (b2 != 0xa5)) in yam_check_uart()
/drivers/media/usb/dvb-usb/
Ddibusb-mb.c71 u8 b[2] = { 0,0 }, b2[1]; in dibusb_tuner_probe_and_attach() local
75 { .flags = I2C_M_RD, .buf = b2, .len = 1 }, in dibusb_tuner_probe_and_attach()
93 if (b2[0] == 0xfe) { in dibusb_tuner_probe_and_attach()
/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi.h276 const u32 idx, int b2, int b1, u32 val) in hdmi_wait_for_bit_change() argument
279 while (val != (v = REG_GET(base_addr, idx, b2, b1))) { in hdmi_wait_for_bit_change()
Dhdmi5_core.h291 u16 b1, b2, b3, b4; member
/drivers/gpu/drm/omapdrm/dss/
Dhdmi.h277 const u32 idx, int b2, int b1, u32 val) in hdmi_wait_for_bit_change() argument
280 while (val != (v = REG_GET(base_addr, idx, b2, b1))) { in hdmi_wait_for_bit_change()
Dhdmi5_core.h291 u16 b1, b2, b3, b4; member
Ddsi.c1190 int b0, b1, b2; in _dsi_print_reset_status() local
1200 b2 = 26; in _dsi_print_reset_status()
1204 b2 = 26; in _dsi_print_reset_status()
1215 DSI_FLD_GET(DSIPHY_CFG5, b2, b2), in _dsi_print_reset_status()
2679 int channel, u8 b1, u8 b2, u8 b3, u8 b4) in dsi_vc_write_long_payload() argument
2683 val = b4 << 24 | b3 << 16 | b2 << 8 | b1 << 0; in dsi_vc_write_long_payload()
2699 u8 b1, b2, b3, b4; in dsi_vc_send_long() local
2720 b2 = *p++; in dsi_vc_send_long()
2724 dsi_vc_write_long_payload(dsidev, channel, b1, b2, b3, b4); in dsi_vc_send_long()
2729 b1 = 0; b2 = 0; b3 = 0; in dsi_vc_send_long()
[all …]
/drivers/tty/vt/
Dcp437.uni45 0x1e U+25b2
256 0xe1 U+03b2 U+00df
284 0xfd U+00b2
/drivers/media/pci/bt8xx/
Dbttv-i2c.c299 unsigned char b2, int both) in bttv_I2CWrite() argument
308 buffer[1] = b2; in bttv_I2CWrite()
/drivers/staging/netlogic/
Dxlr_net.c572 int b1, b2, c1, c2, i, j, k; in xlr_config_translate_table() local
604 b2 = bkts[k]; in xlr_config_translate_table()
608 (c2 << 7) | (b2 << 1) | (use_bkt << 0)); in xlr_config_translate_table()
610 i, b1, b2, c1, c2); in xlr_config_translate_table()

12