Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 25 of 33) sorted by relevance

12

/linux-4.19.296/crypto/
Dsha3_generic.c54 u64 t[5], tt, bc[5]; in keccakf_round() local
57 bc[0] = st[0] ^ st[5] ^ st[10] ^ st[15] ^ st[20]; in keccakf_round()
58 bc[1] = st[1] ^ st[6] ^ st[11] ^ st[16] ^ st[21]; in keccakf_round()
59 bc[2] = st[2] ^ st[7] ^ st[12] ^ st[17] ^ st[22]; in keccakf_round()
60 bc[3] = st[3] ^ st[8] ^ st[13] ^ st[18] ^ st[23]; in keccakf_round()
61 bc[4] = st[4] ^ st[9] ^ st[14] ^ st[19] ^ st[24]; in keccakf_round()
63 t[0] = bc[4] ^ rol64(bc[1], 1); in keccakf_round()
64 t[1] = bc[0] ^ rol64(bc[2], 1); in keccakf_round()
65 t[2] = bc[1] ^ rol64(bc[3], 1); in keccakf_round()
66 t[3] = bc[2] ^ rol64(bc[4], 1); in keccakf_round()
[all …]
/linux-4.19.296/drivers/isdn/hardware/mISDN/
Dnetjet.c91 struct tiger_ch bc[2]; member
109 card->bc[0].bch.debug = debug; in _set_debug()
110 card->bc[1].bch.debug = debug; in _set_debug()
188 fill_mem(struct tiger_ch *bc, u32 idx, u32 cnt, u32 fill) in fill_mem() argument
190 struct tiger_hw *card = bc->bch.hw; in fill_mem()
194 bc->bch.nr, fill, cnt, idx, card->send.idx); in fill_mem()
195 if (bc->bch.nr & 2) { in fill_mem()
211 mode_tiger(struct tiger_ch *bc, u32 protocol) in mode_tiger() argument
213 struct tiger_hw *card = bc->bch.hw; in mode_tiger()
216 bc->bch.nr, bc->bch.state, protocol); in mode_tiger()
[all …]
Dw6692.c79 struct w6692_ch bc[2]; member
96 card->bc[0].bch.debug = debug; in _set_debug()
97 card->bc[1].bch.debug = debug; in _set_debug()
139 ReadW6692B(struct w6692_ch *bc, u8 offset) in ReadW6692B() argument
141 return inb(bc->addr + offset); in ReadW6692B()
145 WriteW6692B(struct w6692_ch *bc, u8 offset, u8 value) in WriteW6692B() argument
147 outb(value, bc->addr + offset); in WriteW6692B()
666 struct w6692_ch *wch = &card->bc[ch]; in W6692B_interrupt()
853 w6692_mode(&card->bc[0], ISDN_P_NONE); in initW6692()
854 w6692_mode(&card->bc[1], ISDN_P_NONE); in initW6692()
[all …]
Dhfcpci.c1253 mode_hfcpci(struct bchannel *bch, int bc, int protocol) in mode_hfcpci() argument
1262 bch->state, protocol, bch->nr, bc); in mode_hfcpci()
1264 fifo2 = bc; in mode_hfcpci()
1265 pcm_mode = (bc >> 24) & 0xff; in mode_hfcpci()
1271 rx_slot = (bc >> 8) & 0xff; in mode_hfcpci()
1272 tx_slot = (bc >> 16) & 0xff; in mode_hfcpci()
1273 bc = bc & 0xff; in mode_hfcpci()
1281 if (bc & 2) { in mode_hfcpci()
1298 bch->nr = bc; in mode_hfcpci()
1303 if (bc & 2) { in mode_hfcpci()
[all …]
/linux-4.19.296/fs/ocfs2/
Dblockcheck.c392 struct ocfs2_block_check *bc) in ocfs2_block_check_compute() argument
397 memset(bc, 0, sizeof(struct ocfs2_block_check)); in ocfs2_block_check_compute()
408 bc->bc_crc32e = cpu_to_le32(crc); in ocfs2_block_check_compute()
409 bc->bc_ecc = cpu_to_le16((u16)ecc); in ocfs2_block_check_compute()
421 struct ocfs2_block_check *bc, in ocfs2_block_check_validate() argument
431 bc_crc32e = le32_to_cpu(bc->bc_crc32e); in ocfs2_block_check_validate()
432 bc_ecc = le16_to_cpu(bc->bc_ecc); in ocfs2_block_check_validate()
434 memset(bc, 0, sizeof(struct ocfs2_block_check)); in ocfs2_block_check_validate()
463 bc->bc_crc32e = cpu_to_le32(bc_crc32e); in ocfs2_block_check_validate()
464 bc->bc_ecc = cpu_to_le16(bc_ecc); in ocfs2_block_check_validate()
[all …]
Dblockcheck.h44 struct ocfs2_block_check *bc);
46 struct ocfs2_block_check *bc);
49 struct ocfs2_block_check *bc);
52 struct ocfs2_block_check *bc);
56 struct ocfs2_block_check *bc);
58 struct ocfs2_block_check *bc,
61 struct ocfs2_block_check *bc);
63 struct ocfs2_block_check *bc,
/linux-4.19.296/drivers/isdn/hisax/
Dhscx.c41 modehscx(struct BCState *bcs, int mode, int bc) in modehscx() argument
48 'A' + hscx, mode, bc); in modehscx()
50 bcs->channel = bc; in modehscx()
64 bc = 1 - bc; in modehscx()
66 if (bc == 0) { in modehscx()
137 modehscx(bcs, st->l1.mode, st->l1.bc); in hscx_l2l1()
148 modehscx(bcs, 0, st->l1.bc); in hscx_l2l1()
206 bcs->channel = st->l1.bc; in setstack_hscx()
Djade.c78 modejade(struct BCState *bcs, int mode, int bc) in modejade() argument
84 debugl1(cs, "jade %c mode %d ichan %d", 'A' + jade, mode, bc); in modejade()
87 bcs->channel = bc; in modejade()
101 if (bc == 0) { in modejade()
172 modejade(bcs, st->l1.mode, st->l1.bc); in jade_l2l1()
183 modejade(bcs, 0, st->l1.bc); in jade_l2l1()
242 bcs->channel = st->l1.bc; in setstack_jade()
Dhfc_2bs0.c399 mode_hfc(struct BCState *bcs, int mode, int bc) in mode_hfc() argument
405 mode, bc, bcs->channel); in mode_hfc()
407 bcs->channel = bc; in mode_hfc()
411 if (bc) { in mode_hfc()
421 cs->hw.hfc.ctmt &= ~(1 << bc); /* set HDLC mode */ in mode_hfc()
424 if (bc) { in mode_hfc()
435 if (bc) { in mode_hfc()
492 mode_hfc(bcs, st->l1.mode, st->l1.bc); in hfc_l2l1()
503 mode_hfc(bcs, 0, st->l1.bc); in hfc_l2l1()
544 bcs->channel = st->l1.bc; in setstack_hfc()
Dipacx.c48 static void bch_mode(struct BCState *bcs, int mode, int bc);
485 bch_mode(bcs, st->l1.mode, st->l1.bc); in bch_l2l1()
496 bch_mode(bcs, 0, st->l1.bc); in bch_l2l1()
713 bch_mode(struct BCState *bcs, int mode, int bc) in bch_mode() argument
718 bc = bc ? 1 : 0; // in case bc is greater than 1 in bch_mode()
720 debugl1(cs, "mode_bch() switch B-%d mode %d chan %d", hscx, mode, bc); in bch_mode()
722 bcs->channel = bc; in bch_mode()
727 cs->writeisac(cs, IPACX_BCHA_TSDP_BC1, 0x80 | bc); in bch_mode()
732 cs->writeisac(cs, IPACX_BCHB_TSDP_BC1, 0x80 | bc); in bch_mode()
815 bcs->channel = st->l1.bc; in bch_setstack()
Dnetjet.c87 mode_tiger(struct BCState *bcs, int mode, int bc) in mode_tiger() argument
94 mode, bc, bcs->channel); in mode_tiger()
96 bcs->channel = bc; in mode_tiger()
100 NETJET_DMA_TXSIZE, bc, 0xff); in mode_tiger()
115 led = bc & 0x01; in mode_tiger()
127 NETJET_DMA_TXSIZE, bc, 0xff); in mode_tiger()
136 NETJET_DMA_TXSIZE, !bc, 0xff); in mode_tiger()
149 led = bc & 0x01; in mode_tiger()
830 mode_tiger(bcs, st->l1.mode, st->l1.bc); in tiger_l2l1()
833 bcs->cs->cardmsg(bcs->cs, MDL_BC_ASSIGN, (void *)(&st->l1.bc)); in tiger_l2l1()
[all …]
Davm_pci.c196 modehdlc(struct BCState *bcs, int mode, int bc) in modehdlc() argument
203 'A' + hdlc, bcs->mode, mode, hdlc, bc); in modehdlc()
208 bcs->channel = bc; in modehdlc()
209 bc = 0; in modehdlc()
218 bcs->channel = bc; in modehdlc()
222 bcs->channel = bc; in modehdlc()
233 bcs->channel = bc; in modehdlc()
525 modehdlc(bcs, st->l1.mode, st->l1.bc); in hdlc_l2l1()
536 modehdlc(bcs, 0, st->l1.bc); in hdlc_l2l1()
593 bcs->channel = st->l1.bc; in setstack_hdlc()
Dhscx.h38 extern void modehscx(struct BCState *bcs, int mode, int bc);
Dhfc_sx.c1032 mode_hfcsx(struct BCState *bcs, int mode, int bc) in mode_hfcsx() argument
1039 mode, bc, bcs->channel); in mode_hfcsx()
1041 bcs->channel = bc; in mode_hfcsx()
1042 fifo2 = bc; in mode_hfcsx()
1047 if (bc) { in mode_hfcsx()
1063 if (bc) { in mode_hfcsx()
1077 if (bc) { in mode_hfcsx()
1095 if (bc) { in mode_hfcsx()
1113 if (bc) { in mode_hfcsx()
1182 mode_hfcsx(bcs, st->l1.mode, st->l1.bc); in hfcsx_l2l1()
[all …]
Dhfc_2bds0.c405 mode_2bs0(struct BCState *bcs, int mode, int bc) in mode_2bs0() argument
411 mode, bc, bcs->channel); in mode_2bs0()
413 bcs->channel = bc; in mode_2bs0()
416 if (bc) { in mode_2bs0()
425 if (bc) { in mode_2bs0()
436 if (bc) { in mode_2bs0()
492 mode_2bs0(bcs, st->l1.mode, st->l1.bc); in hfc_l2l1()
503 mode_2bs0(bcs, 0, st->l1.bc); in hfc_l2l1()
542 bcs->channel = st->l1.bc; in setstack_2b()
Dhfc_pci.c1271 mode_hfcpci(struct BCState *bcs, int mode, int bc) in mode_hfcpci() argument
1278 mode, bc, bcs->channel); in mode_hfcpci()
1280 bcs->channel = bc; in mode_hfcpci()
1281 fifo2 = bc; in mode_hfcpci()
1286 if (bc) { in mode_hfcpci()
1302 if (bc) { in mode_hfcpci()
1320 if (bc) { in mode_hfcpci()
1342 if (bc) { in mode_hfcpci()
1364 if (bc) { in mode_hfcpci()
1432 mode_hfcpci(bcs, st->l1.mode, st->l1.bc); in hfcpci_l2l1()
[all …]
Delsa_ser.c423 extern void modehscx(struct BCState *bcs, int mode, int bc);
568 set_arcofi(bcs->cs, st->l1.bc); in modem_l2l1()
574 bcs->cs->dc.isac.arcofi_bc = st->l1.bc; in modem_l2l1()
588 bcs->channel = st->l1.bc; in setstack_elsa()
Disar.c1400 modeisar(struct BCState *bcs, int mode, int bc) in modeisar() argument
1406 bcs->channel = bc; in modeisar()
1443 bcs->hw.isar.dpath, bcs->mode, mode, bc); in modeisar()
1648 ret = modeisar(bcs, st->l1.mode, st->l1.bc); in isar_l2l1()
1657 ret = modeisar(bcs, st->l1.mode, st->l1.bc); in isar_l2l1()
1685 modeisar(bcs, 0, st->l1.bc); in isar_l2l1()
1737 bcs->channel = st->l1.bc; in setstack_isar()
Disdnl1.c362 init_bcstate(struct IsdnCardState *cs, int bc) in init_bcstate() argument
364 struct BCState *bcs = cs->bcs + bc; in init_bcstate()
367 bcs->channel = bc; in init_bcstate()
/linux-4.19.296/include/linux/
Dinet_diag.h14 struct nlattr *bc);
47 struct nlattr *bc);
/linux-4.19.296/drivers/media/dvb-frontends/
Dbcm3510.c363 static int bcm3510_tuner_cmd(struct bcm3510_state* st,u8 bc, u16 n, u8 a) in bcm3510_tuner_cmd() argument
379 c.ctl_dat[0].data = 0x80 | bc; in bcm3510_tuner_cmd()
454 u8 bc,a; in bcm3510_set_freq() local
463 bc = 0x1c; in bcm3510_set_freq()
465 bc = 0x2c; in bcm3510_set_freq()
467 bc = 0x30; in bcm3510_set_freq()
488 deb_info(" BC1_2_3_4: %x, N: %x A: %x\n", bc, n, a); in bcm3510_set_freq()
490 return bcm3510_tuner_cmd(st,bc,n,a); in bcm3510_set_freq()
/linux-4.19.296/drivers/parisc/
Dpdc_stable.c252 if (devpath->bc[i] >= 128) in pdcspath_hwpath_read()
254 out += sprintf(out, "%u/", (unsigned char)devpath->bc[i]); in pdcspath_hwpath_read()
310 hwpath.bc[i] = simple_strtoul(temp+1, NULL, 10); in pdcspath_hwpath_write()
312 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.bc[i]); in pdcspath_hwpath_write()
316 hwpath.bc[i] = simple_strtoul(in, NULL, 10); in pdcspath_hwpath_write()
317 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.bc[i]); in pdcspath_hwpath_write()
/linux-4.19.296/include/linux/mlx5/
Ddevice.h810 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_get_cqe_byte_cnt() local
812 return be16_to_cpu(bc->byte_cnt); in mpwrq_get_cqe_byte_cnt()
815 static inline u16 mpwrq_get_cqe_bc_consumed_strides(struct mpwrq_cqe_bc *bc) in mpwrq_get_cqe_bc_consumed_strides() argument
817 return 0x7fff & be16_to_cpu(bc->filler_consumed_strides); in mpwrq_get_cqe_bc_consumed_strides()
822 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_get_cqe_consumed_strides() local
824 return mpwrq_get_cqe_bc_consumed_strides(bc); in mpwrq_get_cqe_consumed_strides()
829 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_is_filler_cqe() local
831 return 0x8000 & be16_to_cpu(bc->filler_consumed_strides); in mpwrq_is_filler_cqe()
/linux-4.19.296/drivers/isdn/hardware/eicon/
Dpc_maint.h78 byte bc[6]; member
/linux-4.19.296/drivers/isdn/gigaset/
Dcapi.c109 u8 *bc; member
536 if (cip2bchlc[i].bc != NULL && in gigaset_isdn_icall()
538 !strcmp(cip2bchlc[i].bc, in gigaset_isdn_icall()
546 encode_ie(cip2bchlc[1].bc, iif->bc_buf, MAX_BC_OCTETS); in gigaset_isdn_icall()
570 !strcmp(cip2bchlc[i].bc, in gigaset_isdn_icall()
1470 (cmsg->CIPValue > 0 && cip2bchlc[cmsg->CIPValue].bc == NULL)) { in do_connect_req()
1486 else if (cip2bchlc[cmsg->CIPValue].bc) /* BC derived from CIP */ in do_connect_req()
1487 lbc = strlen(cip2bchlc[cmsg->CIPValue].bc); in do_connect_req()
1510 cip2bchlc[cmsg->CIPValue].bc); in do_connect_req()

12