| /Linux-v5.4/drivers/staging/isdn/gigaset/ |
| D | isocdata.c | 477 int gigaset_isoc_buildframe(struct bc_state *bcs, unsigned char *in, int len) in gigaset_isoc_buildframe() argument 481 switch (bcs->proto2) { in gigaset_isoc_buildframe() 483 result = hdlc_buildframe(bcs->hw.bas->isooutbuf, in, len); in gigaset_isoc_buildframe() 488 result = trans_buildframe(bcs->hw.bas->isooutbuf, in, len); in gigaset_isoc_buildframe() 498 static inline void hdlc_putbyte(unsigned char c, struct bc_state *bcs) in hdlc_putbyte() argument 500 bcs->rx_fcs = crc_ccitt_byte(bcs->rx_fcs, c); in hdlc_putbyte() 501 if (bcs->rx_skb == NULL) in hdlc_putbyte() 504 if (bcs->rx_skb->len >= bcs->rx_bufsize) { in hdlc_putbyte() 505 dev_warn(bcs->cs->dev, "received oversized packet discarded\n"); in hdlc_putbyte() 506 bcs->hw.bas->giants++; in hdlc_putbyte() [all …]
|
| D | common.c | 164 if (test_timeout(&cs->bcs[channel].at_state)) in timer_tick() 185 int gigaset_get_channel(struct bc_state *bcs) in gigaset_get_channel() argument 189 spin_lock_irqsave(&bcs->cs->lock, flags); in gigaset_get_channel() 190 if (bcs->use_count || !try_module_get(bcs->cs->driver->owner)) { in gigaset_get_channel() 192 bcs->channel); in gigaset_get_channel() 193 spin_unlock_irqrestore(&bcs->cs->lock, flags); in gigaset_get_channel() 196 ++bcs->use_count; in gigaset_get_channel() 197 bcs->busy = 1; in gigaset_get_channel() 198 gig_dbg(DEBUG_CHANNEL, "allocated channel %d", bcs->channel); in gigaset_get_channel() 199 spin_unlock_irqrestore(&bcs->cs->lock, flags); in gigaset_get_channel() [all …]
|
| D | capi.c | 367 void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *dskb) in gigaset_skb_sent() argument 369 struct cardstate *cs = bcs->cs; in gigaset_skb_sent() 371 struct gigaset_capi_appl *ap = bcs->ap; in gigaset_skb_sent() 376 ++bcs->trans_up; in gigaset_skb_sent() 384 if (bcs->apconnstate < APCONN_ACTIVE) { in gigaset_skb_sent() 396 bcs->channel + 1, CAPIMSG_HANDLE_REQ(req), in gigaset_skb_sent() 412 void gigaset_skb_rcvd(struct bc_state *bcs, struct sk_buff *skb) in gigaset_skb_rcvd() argument 414 struct cardstate *cs = bcs->cs; in gigaset_skb_rcvd() 416 struct gigaset_capi_appl *ap = bcs->ap; in gigaset_skb_rcvd() 420 bcs->trans_down++; in gigaset_skb_rcvd() [all …]
|
| D | gigaset.h | 321 struct bc_state *bcs; member 346 struct bc_state *bcs; member 420 struct bc_state *bcs; /* Array of struct bc_state */ member 576 int (*init_bchannel)(struct bc_state *bcs); 580 int (*close_bchannel)(struct bc_state *bcs); 583 int (*initbcshw)(struct bc_state *bcs); 586 void (*freebcshw)(struct bc_state *bcs); 589 void (*reinitbcshw)(struct bc_state *bcs); 607 int (*send_skb)(struct bc_state *bcs, struct sk_buff *skb); 630 int gigaset_m10x_send_skb(struct bc_state *bcs, struct sk_buff *skb); [all …]
|
| D | ev-layer.c | 663 struct cardstate *cs, struct bc_state *bcs) in disconnect_bc() argument 679 cs->ops->close_bchannel(bcs); in disconnect_bc() 682 if (bcs->chstate & (CHS_D_UP | CHS_NOTIFY_LL)) { in disconnect_bc() 683 bcs->chstate &= ~(CHS_D_UP | CHS_NOTIFY_LL); in disconnect_bc() 684 gigaset_isdn_hupD(bcs); in disconnect_bc() 706 if (gigaset_get_channel(cs->bcs + i) >= 0) { in get_free_channel() 707 ret = &cs->bcs[i].at_state; in get_free_channel() 732 at_state = &cs->bcs[i].at_state; in init_failed() 795 if (cid == cs->bcs[i].at_state.cid) in at_state_from_cid() 796 return &cs->bcs[i].at_state; in at_state_from_cid() [all …]
|
| D | asyncdata.c | 138 struct bc_state *bcs = cs->bcs; in hdlc_loop() local 139 int inputstate = bcs->inputstate; in hdlc_loop() 140 __u16 fcs = bcs->rx_fcs; in hdlc_loop() 141 struct sk_buff *skb = bcs->rx_skb; in hdlc_loop() 203 gigaset_isdn_rcv_err(bcs); in hdlc_loop() 209 gigaset_isdn_rcv_err(bcs); in hdlc_loop() 216 gigaset_isdn_rcv_err(bcs); in hdlc_loop() 221 gigaset_skb_rcvd(bcs, skb); in hdlc_loop() 226 skb = gigaset_new_rx_skb(bcs); in hdlc_loop() 230 ++bcs->emptycount; in hdlc_loop() [all …]
|
| D | dummyll.c | 14 void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *skb) in gigaset_skb_sent() argument 19 void gigaset_skb_rcvd(struct bc_state *bcs, struct sk_buff *skb) in gigaset_skb_rcvd() argument 24 void gigaset_isdn_rcv_err(struct bc_state *bcs) in gigaset_isdn_rcv_err() argument 34 void gigaset_isdn_connD(struct bc_state *bcs) in gigaset_isdn_connD() argument 38 void gigaset_isdn_hupD(struct bc_state *bcs) in gigaset_isdn_hupD() argument 42 void gigaset_isdn_connB(struct bc_state *bcs) in gigaset_isdn_connB() argument 46 void gigaset_isdn_hupB(struct bc_state *bcs) in gigaset_isdn_hupB() argument
|
| D | bas-gigaset.c | 343 static inline void error_hangup(struct bc_state *bcs) in error_hangup() argument 345 struct cardstate *cs = bcs->cs; in error_hangup() 347 gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL); in error_hangup() 363 if (req_submit(cs->bcs, HD_RESET_INTERRUPT_PIPE, 0, BAS_TIMEOUT)) in error_reset() 673 struct bc_state *bcs; in read_int_callback() local 741 bcs = cs->bcs + channel; in read_int_callback() 743 gigaset_bchannel_up(bcs); in read_int_callback() 755 bcs = cs->bcs + channel; in read_int_callback() 757 stopurbs(bcs->hw.bas); in read_int_callback() 758 gigaset_bchannel_down(bcs); in read_int_callback() [all …]
|
| D | ser-gigaset.c | 63 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ in write_modem() local 64 struct sk_buff *skb = bcs->tx_skb; in write_modem() 71 bcs->tx_skb = NULL; in write_modem() 87 gigaset_skb_sent(bcs, skb); in write_modem() 92 bcs->tx_skb = NULL; in write_modem() 159 struct bc_state *bcs; in gigaset_modem_fill() local 167 bcs = cs->bcs; in gigaset_modem_fill() 168 if (!bcs) { in gigaset_modem_fill() 172 if (!bcs->tx_skb) { in gigaset_modem_fill() 181 nextskb = skb_dequeue(&bcs->squeue); in gigaset_modem_fill() [all …]
|
| D | usb-gigaset.c | 278 static int gigaset_init_bchannel(struct bc_state *bcs) in gigaset_init_bchannel() argument 281 gigaset_bchannel_up(bcs); in gigaset_init_bchannel() 285 static int gigaset_close_bchannel(struct bc_state *bcs) in gigaset_close_bchannel() argument 288 gigaset_bchannel_down(bcs); in gigaset_close_bchannel() 302 struct bc_state *bcs = &cs->bcs[0]; /* only one channel */ in gigaset_modem_fill() local 312 if (!bcs->tx_skb) { /* no skb is being sent */ in gigaset_modem_fill() 324 bcs->tx_skb = skb_dequeue(&bcs->squeue); in gigaset_modem_fill() 325 if (!bcs->tx_skb) in gigaset_modem_fill() 329 (unsigned long) bcs->tx_skb); in gigaset_modem_fill() 546 static void gigaset_freebcshw(struct bc_state *bcs) in gigaset_freebcshw() argument [all …]
|
| /Linux-v5.4/arch/arm/mm/ |
| D | proc-arm940.S | 114 bcs 2b @ entries 63 to 0 116 bcs 1b @ segments 3 to 0 164 bcs 2b @ entries 63 to 0 166 bcs 1b @ segments 7 to 0 186 bcs 2b @ entries 63 to 0 188 bcs 1b @ segments 7 to 0 209 bcs 2b @ entries 63 to 0 211 bcs 1b @ segments 7 to 0 236 bcs 2b @ entries 63 to 0 238 bcs 1b @ segments 7 to 0 [all …]
|
| D | proc-arm1022.S | 145 bcs 2b @ entries 63 to 0 147 bcs 1b @ segments 15 to 0 327 bcs arm1022_dma_inv_range 375 bcs 2b @ entries 63 to 0 377 bcs 1b @ segments 15 to 0
|
| D | proc-arm922.S | 136 bcs 2b @ entries 63 to 0 138 bcs 1b @ segments 7 to 0 296 bcs arm922_dma_inv_range 351 bcs 2b @ entries 63 to 0 353 bcs 1b @ segments 7 to 0
|
| D | proc-arm920.S | 134 bcs 2b @ entries 63 to 0 136 bcs 1b @ segments 7 to 0 294 bcs arm920_dma_inv_range 347 bcs 2b @ entries 63 to 0 349 bcs 1b @ segments 7 to 0
|
| D | proc-arm1020e.S | 146 bcs 2b @ entries 63 to 0 148 bcs 1b @ segments 15 to 0 327 bcs arm1020e_dma_inv_range
|
| D | proc-arm946.S | 109 bcs 2b @ entries n to 0 111 bcs 1b @ segments 3 to 0 295 bcs arm946_dma_inv_range
|
| D | proc-arm1020.S | 147 bcs 2b @ entries 63 to 0 149 bcs 1b @ segments 15 to 0 341 bcs arm1020_dma_inv_range
|
| /Linux-v5.4/drivers/usb/storage/ |
| D | transport.c | 1106 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in usb_stor_Bulk_transport() local 1189 if (usb_stor_access_xfer_buf((unsigned char *) bcs, in usb_stor_Bulk_transport() 1193 bcs->Signature == in usb_stor_Bulk_transport() 1210 bcs, US_BULK_CS_WRAP_LEN, &cswlen); in usb_stor_Bulk_transport() 1220 bcs, US_BULK_CS_WRAP_LEN, &cswlen); in usb_stor_Bulk_transport() 1229 bcs, US_BULK_CS_WRAP_LEN, NULL); in usb_stor_Bulk_transport() 1239 residue = le32_to_cpu(bcs->Residue); in usb_stor_Bulk_transport() 1241 le32_to_cpu(bcs->Signature), bcs->Tag, in usb_stor_Bulk_transport() 1242 residue, bcs->Status); in usb_stor_Bulk_transport() 1243 if (!(bcs->Tag == us->tag || (us->fflags & US_FL_BULK_IGNORE_TAG)) || in usb_stor_Bulk_transport() [all …]
|
| D | initializers.c | 54 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf; in usb_stor_ucr61s2b_init() local 75 res = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs, in usb_stor_ucr61s2b_init()
|
| D | realtek_cr.c | 206 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *)us->iobuf; in rts51x_bulk_transport() local 244 bcs, US_BULK_CS_WRAP_LEN, &cswlen); in rts51x_bulk_transport() 249 if (bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN)) { in rts51x_bulk_transport() 251 le32_to_cpu(bcs->Signature), US_BULK_CS_SIGN); in rts51x_bulk_transport() 255 residue = bcs->Residue; in rts51x_bulk_transport() 256 if (bcs->Tag != us->tag) in rts51x_bulk_transport() 270 switch (bcs->Status) { in rts51x_bulk_transport() 296 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in rts51x_bulk_transport_special() local 332 result = usb_bulk_msg(us->pusb_dev, us->recv_bulk_pipe, bcs, in rts51x_bulk_transport_special()
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | security.c | 197 bool bcs, ccd; in cpu_show_spectre_v2() local 201 bcs = security_ftr_enabled(SEC_FTR_BCCTRL_SERIALISED); in cpu_show_spectre_v2() 204 if (bcs || ccd) { in cpu_show_spectre_v2() 207 if (bcs) in cpu_show_spectre_v2() 210 if (bcs && ccd) in cpu_show_spectre_v2()
|
| /Linux-v5.4/drivers/tty/ |
| D | ehv_bytechan.c | 60 static struct ehv_bc_data *bcs; variable 496 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_open() 511 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_close() 675 bc = &bcs[i]; in ehv_bc_tty_probe() 757 bcs = kcalloc(count, sizeof(struct ehv_bc_data), GFP_KERNEL); in ehv_bc_init() 758 if (!bcs) in ehv_bc_init() 795 kfree(bcs); in ehv_bc_init()
|
| /Linux-v5.4/arch/sparc/lib/ |
| D | udivdi3.S | 23 1: bcs 5f 30 bcs 3f 61 1: bcs 5f 68 bcs 3f 87 1: bcs 5f 94 bcs 3f 166 1: bcs 5f 173 bcs 3f
|
| D | divdi3.S | 47 1: bcs 5f 54 bcs 3f 83 1: bcs 5f 90 bcs 3f 107 1: bcs 5f 114 bcs 3f 182 1: bcs 5f 189 bcs 3f
|
| D | copy_user.S | 381 bcs 1f 383 bcs 2f 385 bcs 3f 394 bcs,a 60f 413 bcs,a 2f
|