/drivers/tty/ |
H A D | ehv_bytechan.c | 90 static void enable_tx_interrupt(struct ehv_bc_data *bc) argument 92 if (!bc->tx_irq_enabled) { 93 enable_irq(bc->tx_irq); 94 bc->tx_irq_enabled = 1; 98 static void disable_tx_interrupt(struct ehv_bc_data *bc) argument 100 if (bc->tx_irq_enabled) { 101 disable_irq_nosync(bc->tx_irq); 102 bc->tx_irq_enabled = 0; 127 pr_err("ehv-bc: no 'interrupts' property in %s node\n", np->full_name); 136 pr_err("ehv-bc 339 struct ehv_bc_data *bc = data; local 397 ehv_bc_tx_dequeue(struct ehv_bc_data *bc) argument 440 struct ehv_bc_data *bc = data; local 462 struct ehv_bc_data *bc = ttys->driver_data; local 501 struct ehv_bc_data *bc = &bcs[ttys->index]; local 516 struct ehv_bc_data *bc = &bcs[ttys->index]; local 531 struct ehv_bc_data *bc = ttys->driver_data; local 556 struct ehv_bc_data *bc = ttys->driver_data; local 570 struct ehv_bc_data *bc = ttys->driver_data; local 580 struct ehv_bc_data *bc = ttys->driver_data; local 613 struct ehv_bc_data *bc = container_of(port, struct ehv_bc_data, port); local 646 struct ehv_bc_data *bc = container_of(port, struct ehv_bc_data, port); local 660 struct ehv_bc_data *bc; local 725 struct ehv_bc_data *bc = dev_get_drvdata(&pdev->dev); local [all...] |
/drivers/net/hamradio/ |
H A D | baycom_ser_hdx.c | 148 static inline void baycom_int_freq(struct baycom_state *bc) argument 155 bc->debug_vals.cur_intcnt++; 156 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) { 157 bc->debug_vals.last_jiffies = cur_jiffies; 158 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; 159 bc->debug_vals.cur_intcnt = 0; 160 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; 161 bc 201 ser12_tx(struct net_device *dev, struct baycom_state *bc) argument 219 ser12_rx(struct net_device *dev, struct baycom_state *bc) argument 381 struct baycom_state *bc = netdev_priv(dev); local 474 struct baycom_state *bc = netdev_priv(dev); local 517 struct baycom_state *bc = netdev_priv(dev); local 555 baycom_setmode(struct baycom_state *bc, const char *modestr) argument 573 struct baycom_state *bc; local 667 struct baycom_state *bc; local [all...] |
H A D | baycom_par.c | 159 static void __inline__ baycom_int_freq(struct baycom_state *bc) argument 166 bc->debug_vals.cur_intcnt++; 167 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) { 168 bc->debug_vals.last_jiffies = cur_jiffies; 169 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; 170 bc->debug_vals.cur_intcnt = 0; 171 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; 172 bc 195 par96_tx(struct net_device *dev, struct baycom_state *bc) argument 219 par96_rx(struct net_device *dev, struct baycom_state *bc) argument 275 struct baycom_state *bc = netdev_priv(dev); local 302 struct baycom_state *bc = netdev_priv(dev); local 313 struct baycom_state *bc = netdev_priv(dev); local 362 struct baycom_state *bc = netdev_priv(dev); local 399 baycom_setmode(struct baycom_state *bc, const char *modestr) argument 415 struct baycom_state *bc; local 504 struct baycom_state *bc; local [all...] |
H A D | baycom_ser_fdx.c | 159 static inline void baycom_int_freq(struct baycom_state *bc) argument 166 bc->debug_vals.cur_intcnt++; 167 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) { 168 bc->debug_vals.last_jiffies = cur_jiffies; 169 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; 170 bc->debug_vals.cur_intcnt = 0; 171 bc->debug_vals.last_pllcorr = bc->debug_vals.cur_pllcorr; 172 bc 231 ser12_rx(struct net_device *dev, struct baycom_state *bc, struct timeval *tv, unsigned char curs) argument 289 struct baycom_state *bc = netdev_priv(dev); local 415 struct baycom_state *bc = netdev_priv(dev); local 481 struct baycom_state *bc = netdev_priv(dev); local 519 baycom_setmode(struct baycom_state *bc, const char *modestr) argument 542 struct baycom_state *bc; local 639 struct baycom_state *bc; local [all...] |
H A D | baycom_epp.c | 275 #define tenms_to_flags(bc,tenms) ((tenms * bc->bitrate) / 800) 279 static inline void baycom_int_freq(struct baycom_state *bc) argument 286 bc->debug_vals.cur_intcnt++; 287 if (time_after_eq(cur_jiffies, bc->debug_vals.last_jiffies + HZ)) { 288 bc->debug_vals.last_jiffies = cur_jiffies; 289 bc->debug_vals.last_intcnt = bc->debug_vals.cur_intcnt; 290 bc->debug_vals.cur_intcnt = 0; 291 bc 307 eppconfig(struct baycom_state *bc) argument 328 do_kiss_params(struct baycom_state *bc, unsigned char *data, unsigned long len) argument 369 encode_hdlc(struct baycom_state *bc) argument 431 transmit(struct baycom_state *bc, int cnt, unsigned char stat) argument 538 struct baycom_state *bc = netdev_priv(dev); local 563 struct baycom_state *bc = netdev_priv(dev); local 650 struct baycom_state *bc; local 773 struct baycom_state *bc = netdev_priv(dev); local 808 struct baycom_state *bc = netdev_priv(dev); local 828 struct baycom_state *bc = netdev_priv(dev); local 943 struct baycom_state *bc = netdev_priv(dev); local 965 baycom_setmode(struct baycom_state *bc, const char *modestr) argument 1002 struct baycom_state *bc = netdev_priv(dev); local 1126 struct baycom_state *bc; local 1181 struct baycom_state *bc = netdev_priv(dev); local 1246 struct baycom_state *bc = netdev_priv(dev); local [all...] |
/drivers/isdn/hardware/mISDN/ |
H A D | netjet.c | 91 struct tiger_ch bc[2]; member in struct:tiger_hw 109 card->bc[0].bch.debug = debug; 110 card->bc[1].bch.debug = debug; 188 fill_mem(struct tiger_ch *bc, u32 idx, u32 cnt, u32 fill) argument 190 struct tiger_hw *card = bc->bch.hw; 194 bc->bch.nr, fill, cnt, idx, card->send.idx); 195 if (bc->bch.nr & 2) { 211 mode_tiger(struct tiger_ch *bc, u32 protocol) argument 213 struct tiger_hw *card = bc->bch.hw; 216 bc 376 read_dma(struct tiger_ch *bc, u32 idx, int cnt) argument 478 resync(struct tiger_ch *bc, struct tiger_hw *card) argument 500 fill_hdlc_flag(struct tiger_ch *bc) argument 537 fill_dma(struct tiger_ch *bc) argument 614 bc_next_frame(struct tiger_ch *bc) argument 639 send_tiger_bc(struct tiger_hw *card, struct tiger_ch *bc) argument 755 struct tiger_ch *bc = container_of(bch, struct tiger_ch, bch); local 797 channel_bctrl(struct tiger_ch *bc, struct mISDN_ctrl_req *cq) argument 806 struct tiger_ch *bc = container_of(bch, struct tiger_ch, bch); local [all...] |
H A D | w6692.c | 82 struct w6692_ch bc[2]; member in struct:w6692_hw 99 card->bc[0].bch.debug = debug; 100 card->bc[1].bch.debug = debug; 142 ReadW6692B(struct w6692_ch *bc, u8 offset) argument 144 return inb(bc->addr + offset); 148 WriteW6692B(struct w6692_ch *bc, u8 offset, u8 value) argument 150 outb(value, bc->addr + offset); 670 struct w6692_ch *wch = &card->bc[ch]; 858 w6692_mode(&card->bc[0], ISDN_P_NONE); 859 w6692_mode(&card->bc[ 955 struct w6692_ch *bc = container_of(bch, struct w6692_ch, bch); local 1048 struct w6692_ch *bc = container_of(bch, struct w6692_ch, bch); local [all...] |
H A D | hfcpci.c | 1252 mode_hfcpci(struct bchannel *bch, int bc, int protocol) argument 1261 bch->state, protocol, bch->nr, bc); 1263 fifo2 = bc; 1264 pcm_mode = (bc >> 24) & 0xff; 1270 rx_slot = (bc >> 8) & 0xff; 1271 tx_slot = (bc >> 16) & 0xff; 1272 bc = bc & 0xff; 1280 if (bc & 2) { 1297 bch->nr = bc; [all...] |
/drivers/isdn/hisax/ |
H A D | hscx.h | 38 extern void modehscx(struct BCState *bcs, int mode, int bc);
|
H A D | hscx.c | 41 modehscx(struct BCState *bcs, int mode, int bc) argument 48 'A' + hscx, mode, bc); 50 bcs->channel = bc; 64 bc = 1 - bc; 66 if (bc == 0) { 137 modehscx(bcs, st->l1.mode, st->l1.bc); 148 modehscx(bcs, 0, st->l1.bc); 206 bcs->channel = st->l1.bc;
|
H A D | jade.c | 78 modejade(struct BCState *bcs, int mode, int bc) argument 84 debugl1(cs, "jade %c mode %d ichan %d", 'A' + jade, mode, bc); 87 bcs->channel = bc; 101 if (bc == 0) { 172 modejade(bcs, st->l1.mode, st->l1.bc); 183 modejade(bcs, 0, st->l1.bc); 242 bcs->channel = st->l1.bc;
|
H A D | ipacx.c | 48 static void bch_mode(struct BCState *bcs, int mode, int bc); 487 bch_mode(bcs, st->l1.mode, st->l1.bc); 498 bch_mode(bcs, 0, st->l1.bc); 713 bch_mode(struct BCState *bcs, int mode, int bc) argument 718 bc = bc ? 1 : 0; // in case bc is greater than 1 720 debugl1(cs, "mode_bch() switch B-%d mode %d chan %d", hscx, mode, bc); 722 bcs->channel = bc; 727 cs->writeisac(cs, IPACX_BCHA_TSDP_BC1, 0x80 | bc); [all...] |
H A D | avm_pci.c | 196 modehdlc(struct BCState *bcs, int mode, int bc) argument 203 'A' + hdlc, bcs->mode, mode, hdlc, bc); 208 bcs->channel = bc; 209 bc = 0; 217 bcs->channel = bc; 221 bcs->channel = bc; 232 bcs->channel = bc; 523 modehdlc(bcs, st->l1.mode, st->l1.bc); 534 modehdlc(bcs, 0, st->l1.bc); 591 bcs->channel = st->l1.bc; [all...] |
H A D | hfc_2bs0.c | 399 mode_hfc(struct BCState *bcs, int mode, int bc) argument 405 mode, bc, bcs->channel); 407 bcs->channel = bc; 411 if (bc) { 421 cs->hw.hfc.ctmt &= ~(1 << bc); /* set HDLC mode */ 424 if (bc) { 435 if (bc) { 492 mode_hfc(bcs, st->l1.mode, st->l1.bc); 503 mode_hfc(bcs, 0, st->l1.bc); 544 bcs->channel = st->l1.bc; [all...] |
H A D | netjet.c | 87 mode_tiger(struct BCState *bcs, int mode, int bc) argument 94 mode, bc, bcs->channel); 96 bcs->channel = bc; 100 NETJET_DMA_TXSIZE, bc, 0xff); 115 led = bc & 0x01; 127 NETJET_DMA_TXSIZE, bc, 0xff); 136 NETJET_DMA_TXSIZE, !bc, 0xff); 149 led = bc & 0x01; 830 mode_tiger(bcs, st->l1.mode, st->l1.bc); 833 bcs->cs->cardmsg(bcs->cs, MDL_BC_ASSIGN, (void *)(&st->l1.bc)); [all...] |
H A D | hfc_2bds0.c | 405 mode_2bs0(struct BCState *bcs, int mode, int bc) argument 411 mode, bc, bcs->channel); 413 bcs->channel = bc; 416 if (bc) { 425 if (bc) { 436 if (bc) { 492 mode_2bs0(bcs, st->l1.mode, st->l1.bc); 503 mode_2bs0(bcs, 0, st->l1.bc); 542 bcs->channel = st->l1.bc;
|
H A D | hfc_sx.c | 1031 mode_hfcsx(struct BCState *bcs, int mode, int bc) argument 1038 mode, bc, bcs->channel); 1040 bcs->channel = bc; 1041 fifo2 = bc; 1046 if (bc) { 1062 if (bc) { 1076 if (bc) { 1094 if (bc) { 1112 if (bc) { 1180 mode_hfcsx(bcs, st->l1.mode, st->l1.bc); [all...] |
/drivers/media/platform/davinci/ |
H A D | isif.c | 324 static void isif_config_bclamp(struct isif_black_clamp *bc) argument 329 * DC Offset is always added to image data irrespective of bc enable 332 regw(bc->dc_offset, CLDCOFST); 334 if (bc->en) { 335 val = bc->bc_mode_color << ISIF_BC_MODE_COLOR_SHIFT; 338 val = val | 1 | (bc->horz.mode << ISIF_HORZ_BC_MODE_SHIFT); 342 if (bc->horz.mode != ISIF_HORZ_BC_DISABLE) { 352 val = bc->horz.win_count_calc | 353 ((!!bc->horz.base_win_sel_calc) << 355 ((!!bc [all...] |
/drivers/spmi/ |
H A D | spmi-pmic-arb.c | 147 * @bc: byte count -1. range: 0..3 149 * @buf: output parameter, length must be bc + 1 151 static void pa_read_data(struct spmi_pmic_arb_dev *dev, u8 *buf, u32 reg, u8 bc) argument 154 memcpy(buf, &data, (bc & 3) + 1); 159 * @bc: byte-count -1. range: 0..3. 161 * @buf: buffer to write. length must be bc + 1. 164 pa_write_data(struct spmi_pmic_arb_dev *dev, const u8 *buf, u32 reg, u8 bc) argument 167 memcpy(&data, buf, (bc & 3) + 1); 241 u8 bc = len - 1; local 245 if (bc > 287 u8 bc = len - 1; local [all...] |
/drivers/staging/media/davinci_vpfe/ |
H A D | dm365_isif.c | 670 struct vpfe_isif_black_clamp *bc) 675 * DC Offset is always added to image data irrespective of bc enable 678 val = bc->dc_offset & ISIF_BC_DCOFFSET_MASK; 681 if (!bc->en) 684 val = (bc->bc_mode_color & ISIF_BC_MODE_COLOR_MASK) << 688 val = val | 1 | ((bc->horz.mode & ISIF_HORZ_BC_MODE_MASK) << 693 if (bc->horz.mode != VPFE_ISIF_HORZ_BC_DISABLE) { 703 val = (bc->horz.win_count_calc & ISIF_HORZ_BC_WIN_COUNT_MASK) | 704 ((bc->horz.base_win_sel_calc & 1) << 706 ((bc 669 isif_config_bclamp(struct vpfe_isif_device *isif, struct vpfe_isif_black_clamp *bc) argument [all...] |
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sriov_common.c | 138 struct qlcnic_back_channel *bc; local 153 bc = &sriov->bc; 161 wq = create_singlethread_workqueue("bc-trans"); 165 "Cannot create bc-trans workqueue\n"); 169 bc->bc_trans_wq = wq; 178 bc->bc_async_wq = wq; 179 INIT_LIST_HEAD(&bc->async_list); 216 destroy_workqueue(bc->bc_async_wq); 219 destroy_workqueue(bc 254 struct qlcnic_back_channel *bc = &sriov->bc; local 1517 qlcnic_sriov_cleanup_async_list(struct qlcnic_back_channel *bc) argument 1598 qlcnic_sriov_get_free_node_async_work(struct qlcnic_back_channel *bc) argument 1623 qlcnic_sriov_schedule_async_cmd(struct qlcnic_back_channel *bc, work_func_t func, void *data, struct qlcnic_cmd_args *cmd) argument 1643 struct qlcnic_back_channel *bc = &adapter->ahw->sriov->bc; local [all...] |
/drivers/isdn/hardware/eicon/ |
H A D | pc_maint.h | 78 byte bc[6]; member in struct:DSigStruc
|
/drivers/media/dvb-frontends/ |
H A D | bcm3510.c | 363 static int bcm3510_tuner_cmd(struct bcm3510_state* st,u8 bc, u16 n, u8 a) argument 379 c.ctl_dat[0].data = 0x80 | bc; 454 u8 bc,a; local 463 bc = 0x1c; 465 bc = 0x2c; 467 bc = 0x30; 488 deb_info(" BC1_2_3_4: %x, N: %x A: %x\n", bc, n, a); 490 return bcm3510_tuner_cmd(st,bc,n,a);
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | mac.h | 135 u32 bc:1; member in struct:rx_desc_92c
|
/drivers/parisc/ |
H A D | pdc_stable.c | 252 if (devpath->bc[i] >= 128) 254 out += sprintf(out, "%u/", (unsigned char)devpath->bc[i]); 305 we write the bc fields in a down-top way. No matter what, we stop 310 hwpath.bc[i] = simple_strtoul(temp+1, NULL, 10); 312 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.bc[i]); 316 hwpath.bc[i] = simple_strtoul(in, NULL, 10); 317 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.bc[i]);
|