Home
last modified time | relevance | path

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

123

/linux-2.4.37.9/drivers/net/hamradio/ !
Dbaycom_ser_hdx.c146 static void inline baycom_int_freq(struct baycom_state *bc) in baycom_int_freq() argument
153 bc->debug_vals.cur_intcnt++; in baycom_int_freq()
154 if ((cur_jiffies - bc->debug_vals.last_jiffies) >= HZ) { in baycom_int_freq()
155 bc->debug_vals.last_jiffies = cur_jiffies; in baycom_int_freq()
156 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; in baycom_int_freq()
157 bc->debug_vals.cur_intcnt = 0; in baycom_int_freq()
158 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; in baycom_int_freq()
159 bc->debug_vals.cur_pllcorr = 0; in baycom_int_freq()
195 #define SER12_ARB_DIVIDER(bc) (bc->opt_dcd ? 24 : 36) argument
197 #define SER12_DCD_INTERVAL(bc) (bc->opt_dcd ? 12 : 240) argument
[all …]
Dbaycom_epp.c344 #define tenms_to_flags(bc,tenms) ((tenms * bc->bitrate) / 800) argument
348 static void inline baycom_int_freq(struct baycom_state *bc) in baycom_int_freq() argument
355 bc->debug_vals.cur_intcnt++; in baycom_int_freq()
356 if ((cur_jiffies - bc->debug_vals.last_jiffies) >= HZ) { in baycom_int_freq()
357 bc->debug_vals.last_jiffies = cur_jiffies; in baycom_int_freq()
358 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; in baycom_int_freq()
359 bc->debug_vals.cur_intcnt = 0; in baycom_int_freq()
360 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; in baycom_int_freq()
361 bc->debug_vals.cur_pllcorr = 0; in baycom_int_freq()
377 struct baycom_state *bc = (struct baycom_state *)b; in exec_eppfpga() local
[all …]
Dbaycom_ser_fdx.c155 static void inline baycom_int_freq(struct baycom_state *bc) in baycom_int_freq() argument
162 bc->debug_vals.cur_intcnt++; in baycom_int_freq()
163 if ((cur_jiffies - bc->debug_vals.last_jiffies) >= HZ) { in baycom_int_freq()
164 bc->debug_vals.last_jiffies = cur_jiffies; in baycom_int_freq()
165 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; in baycom_int_freq()
166 bc->debug_vals.cur_intcnt = 0; in baycom_int_freq()
167 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; in baycom_int_freq()
168 bc->debug_vals.cur_pllcorr = 0; in baycom_int_freq()
227 static __inline__ void ser12_rx(struct net_device *dev, struct baycom_state *bc, struct timeval *tv… in ser12_rx() argument
230 int bdus8 = bc->baud_us >> 3; in ser12_rx()
[all …]
Dbaycom_par.c160 static void __inline__ baycom_int_freq(struct baycom_state *bc) in baycom_int_freq() argument
167 bc->debug_vals.cur_intcnt++; in baycom_int_freq()
168 if ((cur_jiffies - bc->debug_vals.last_jiffies) >= HZ) { in baycom_int_freq()
169 bc->debug_vals.last_jiffies = cur_jiffies; in baycom_int_freq()
170 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; in baycom_int_freq()
171 bc->debug_vals.cur_intcnt = 0; in baycom_int_freq()
172 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; in baycom_int_freq()
173 bc->debug_vals.cur_pllcorr = 0; in baycom_int_freq()
196 static __inline__ void par96_tx(struct net_device *dev, struct baycom_state *bc) in par96_tx() argument
199 unsigned int data = hdlcdrv_getbits(&bc->hdrv); in par96_tx()
[all …]
/linux-2.4.37.9/drivers/usb/ !
Dauerisdn_b.c63 void auerisdn_b_l1l2(struct auerisdnbc *bc, int pr, void *arg) in auerisdn_b_l1l2() argument
69 ahp = bc->cp->isdn.ahp; in auerisdn_b_l1l2()
71 ahp->hisax_b_if[bc->channel].ifc.l1l2(&ahp-> in auerisdn_b_l1l2()
72 hisax_b_if[bc-> in auerisdn_b_l1l2()
93 struct auerisdnbc *bc = &ip->bc[0]; /* start with B-channel 0 */ in auerisdn_bintbo_newdata() local
103 if (ip->bc[1].mode != L1_MODE_NULL) { in auerisdn_bintbo_newdata()
105 if (bc->mode != L1_MODE_NULL) { in auerisdn_bintbo_newdata()
113 i = bc->txfree - ip->bc[1].txfree; in auerisdn_bintbo_newdata()
124 bc = &ip->bc[i]; in auerisdn_bintbo_newdata()
127 bc = &ip->bc[1]; in auerisdn_bintbo_newdata()
[all …]
Dauerisdn.c736 cp->isdn.bc[u].cp = cp; in auerisdn_init_dev()
737 cp->isdn.bc[u].mode = L1_MODE_NULL; in auerisdn_init_dev()
738 cp->isdn.bc[u].channel = u; in auerisdn_init_dev()
739 spin_lock_init(&cp->isdn.bc[u].txskb_lock); in auerisdn_init_dev()
760 if (!cp->isdn.bc[u].rxbuf) { in auerisdn_probe()
761 cp->isdn.bc[u].rxbuf = in auerisdn_probe()
763 if (!cp->isdn.bc[u].rxbuf) { in auerisdn_probe()
792 cp->isdn.bc[u].ofsize = ret; in auerisdn_probe()
793 cp->isdn.bc[u].txfree = ret; in auerisdn_probe()
797 dbg("B%d buffer size is %d", u, cp->isdn.bc[u].ofsize); in auerisdn_probe()
[all …]
Dauerisdn_b.h61 void auerisdn_b_l1l2(struct auerisdnbc *bc, int pr, void *arg);
/linux-2.4.37.9/drivers/char/ip2/ !
Dip2trace.c50 union ip2breadcrumb bc; in main() local
131 for ( i = 0, bc.value = 0; i < cnt; ++i ) { in main()
132 if ( !bc.hdr.codes ) { in main()
135 bc.value = tbuf.buf[i]; in main()
137 printf ( "\n(%d) Port %3d ", ts, bc.hdr.port ); in main()
141 switch ( bc.hdr.cat ) in main()
144 printf ( "Init %d: ", bc.hdr.label ); in main()
148 printf ( "Open %d: ", bc.hdr.label ); in main()
152 printf ( "Close %d: ", bc.hdr.label ); in main()
156 printf ( "Drain %d: ", bc.hdr.label ); in main()
[all …]
/linux-2.4.37.9/drivers/char/ !
Depca.c626 volatile struct board_chan *bc; in shutdown() local
635 bc = ch->brdchan; in shutdown()
643 if (bc) in shutdown()
644 bc->idata = 0; in shutdown()
727 volatile struct board_chan *bc; in pc_write() local
756 bc = ch->brdchan; in pc_write()
776 head = bc->tin & (size - 1); in pc_write()
780 tail = bc->tout; in pc_write()
784 if (tail != bc->tout) in pc_write()
785 tail = bc->tout; in pc_write()
[all …]
Dpcxx.c401 volatile struct board_chan *bc; in pcxe_open() local
459 bc=ch->brdchan; in pcxe_open()
460 ch->imodem = bc->mstat; in pcxe_open()
461 head = bc->rin; in pcxe_open()
462 bc->rout = head; in pcxe_open()
465 ch->imodem = bc->mstat; in pcxe_open()
466 bc->idata = 1; in pcxe_open()
538 volatile struct board_chan *bc; in shutdown() local
548 bc = info->brdchan; in shutdown()
549 if(bc) in shutdown()
[all …]
/linux-2.4.37.9/net/ipv4/ !
Dtcp_diag.c309 int tcpdiag_bc_run(char *bc, int len, struct sock *sk) in tcpdiag_bc_run() argument
313 struct tcpdiag_bc_op *op = (struct tcpdiag_bc_op*)bc; in tcpdiag_bc_run()
381 bc += op->yes; in tcpdiag_bc_run()
384 bc += op->no; in tcpdiag_bc_run()
390 int valid_cc(char *bc, int len, int cc) in valid_cc() argument
393 struct tcpdiag_bc_op *op = (struct tcpdiag_bc_op*)bc; in valid_cc()
402 bc += op->yes; in valid_cc()
409 char *bc = bytecode; in tcpdiag_bc_audit() local
413 struct tcpdiag_bc_op *op = (struct tcpdiag_bc_op*)bc; in tcpdiag_bc_audit()
440 bc += op->yes; in tcpdiag_bc_audit()
[all …]
/linux-2.4.37.9/arch/s390/kernel/ !
Dprocess.c299 unsigned long r14, r15, bc; in get_wchan() local
308 bc = (*(unsigned long *) r15) & 0x7fffffff; in get_wchan()
310 if (bc < stack_page || bc >= 8188+stack_page) in get_wchan()
312 r14 = (*(unsigned long *) (bc+56)) & 0x7fffffff; in get_wchan()
315 bc = (*(unsigned long *) bc) & 0x7fffffff; in get_wchan()
/linux-2.4.37.9/arch/s390x/kernel/ !
Dprocess.c328 unsigned long r14, r15, bc; in get_wchan() local
337 bc = *(unsigned long *) r15; in get_wchan()
339 if (bc < stack_page || bc >= 16380+stack_page) in get_wchan()
341 r14 = *(unsigned long *) (bc+112); in get_wchan()
344 bc = *(unsigned long *) bc; in get_wchan()
/linux-2.4.37.9/arch/parisc/kernel/ !
Ddrivers.c242 memset(&path->bc, -1, 6); in get_node_path()
244 path->bc[i--] = dev->hw_path; in get_node_path()
253 if (path->bc[i] == -1) in print_hwpath()
255 output += sprintf(output, "%u/", (unsigned char) path->bc[i]); in print_hwpath()
296 memset(&path->bc, -1, 6); in get_pci_node_path()
298 path->bc[i--] = PCI_SLOT(dev->devfn); in get_pci_node_path()
301 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn) << 5); in get_pci_node_path()
306 path->bc[i--] = padev->hw_path; in get_pci_node_path()
380 if (modpath->bc[i] == -1) in find_parisc_device()
382 parent = alloc_tree_node(parent, modpath->bc[i]); in find_parisc_device()
Dinventory.c456 memset(module_path.path.bc, 0xff, 6); in snake_inventory()
462 memset(module_path.path.bc, 0xff, 4); in snake_inventory()
463 module_path.path.bc[4] = mod; in snake_inventory()
466 module_path.path.bc[5] = 0; in snake_inventory()
/linux-2.4.37.9/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()
143 modehscx(st->l1.bcs, st->l1.mode, st->l1.bc); in hscx_l2l1()
152 modehscx(st->l1.bcs, 0, st->l1.bc); in hscx_l2l1()
213 bcs->channel = st->l1.bc; in setstack_hscx()
Djade.c83 modejade(struct BCState *bcs, int mode, int bc) in modejade() argument
91 'A' + jade, mode, bc); in modejade()
95 bcs->channel = bc; in modejade()
109 if (bc == 0) { in modejade()
186 modejade(st->l1.bcs, st->l1.mode, st->l1.bc); in jade_l2l1()
195 modejade(st->l1.bcs, 0, st->l1.bc); in jade_l2l1()
257 bcs->channel = st->l1.bc; in setstack_jade()
Dhfc_2bs0.c422 mode_hfc(struct BCState *bcs, int mode, int bc) in mode_hfc() argument
428 mode, bc, bcs->channel); in mode_hfc()
430 bcs->channel = bc; in mode_hfc()
434 if (bc) { in mode_hfc()
444 cs->hw.hfc.ctmt &= ~(1 << bc); /* set HDLC mode */ in mode_hfc()
447 if (bc) { in mode_hfc()
458 if (bc) { in mode_hfc()
516 mode_hfc(st->l1.bcs, st->l1.mode, st->l1.bc); in hfc_l2l1()
525 mode_hfc(st->l1.bcs, 0, st->l1.bc); in hfc_l2l1()
565 bcs->channel = st->l1.bc; in setstack_hfc()
Dnetjet.c135 mode_tiger(struct BCState *bcs, int mode, int bc) in mode_tiger() argument
142 mode, bc, bcs->channel); in mode_tiger()
144 bcs->channel = bc; in mode_tiger()
148 NETJET_DMA_TXSIZE, bc, 0xff); in mode_tiger()
163 led = bc & 0x01; in mode_tiger()
175 NETJET_DMA_TXSIZE, bc, 0xff); in mode_tiger()
184 NETJET_DMA_TXSIZE, !bc, 0xff); in mode_tiger()
197 led = bc & 0x01; in mode_tiger()
876 mode_tiger(st->l1.bcs, st->l1.mode, st->l1.bc); in tiger_l2l1()
878 st->l1.bcs->cs->cardmsg(st->l1.bcs->cs, MDL_BC_ASSIGN, (void *)(&st->l1.bc)); in tiger_l2l1()
[all …]
Dipacx.c53 static void bch_mode(struct BCState *bcs, int mode, int bc);
590 bch_mode(st->l1.bcs, st->l1.mode, st->l1.bc); in bch_l2l1()
599 bch_mode(st->l1.bcs, 0, st->l1.bc); in bch_l2l1()
830 bch_mode(struct BCState *bcs, int mode, int bc) in bch_mode() argument
835 bc = bc ? 1 : 0; // in case bc is greater than 1 in bch_mode()
837 debugl1(cs, "mode_bch() switch B-% mode %d chan %d", hscx, mode, bc); in bch_mode()
839 bcs->channel = bc; in bch_mode()
844 cs->writeisac(cs, IPACX_BCHA_TSDP_BC1, 0x80 | bc); in bch_mode()
849 cs->writeisac(cs, IPACX_BCHB_TSDP_BC1, 0x80 | bc); in bch_mode()
936 bcs->channel = st->l1.bc; in bch_setstack()
Davm_pci.c230 modehdlc(struct BCState *bcs, int mode, int bc) in modehdlc() argument
237 'A' + hdlc, bcs->mode, mode, hdlc, bc); in modehdlc()
242 bcs->channel = bc; in modehdlc()
243 bc = 0; in modehdlc()
251 bcs->channel = bc; in modehdlc()
255 bcs->channel = bc; in modehdlc()
266 bcs->channel = bc; in modehdlc()
573 modehdlc(st->l1.bcs, st->l1.mode, st->l1.bc); in hdlc_l2l1()
582 modehdlc(st->l1.bcs, 0, st->l1.bc); in hdlc_l2l1()
642 bcs->channel = st->l1.bc; in setstack_hdlc()
/linux-2.4.37.9/drivers/sound/emu10k1/ !
Defxmgr.c200 u32 bc; in emu10k1_dsp_irqhandler() local
201 bc = sblive_readptr(card, GPR_BASE + card->pt.intr_gpr, 0); in emu10k1_dsp_irqhandler()
202 if (bc != 0) { in emu10k1_dsp_irqhandler()
203 DPD(3, "pt interrupt, bc = %d\n", bc); in emu10k1_dsp_irqhandler()
205 card->pt.blocks_played = bc; in emu10k1_dsp_irqhandler()
/linux-2.4.37.9/drivers/scsi/ !
Doktagon_io.S46 bc 12,6,.L3
53 bc 4,6,.L5
69 bc 12,6,.L9
76 bc 4,6,.L11
/linux-2.4.37.9/include/asm-s390/ !
Dprocessor.h134 unsigned long bc; in thread_saved_pc() local
135 bc = *((unsigned long *) t->ksp); in thread_saved_pc()
136 return *((unsigned long *) (bc+56)); in thread_saved_pc()
/linux-2.4.37.9/include/asm-s390x/ !
Dprocessor.h149 unsigned long bc; in thread_saved_pc() local
150 bc = *((unsigned long *) t->ksp); in thread_saved_pc()
151 return *((unsigned long *) (bc+112)); in thread_saved_pc()

123