/drivers/video/backlight/ |
H A D | cr_bllcd.c | 175 struct backlight_device *bdp; local 197 bdp = backlight_device_register("cr-backlight", &pdev->dev, NULL, 199 if (IS_ERR(bdp)) { 201 return PTR_ERR(bdp); 206 backlight_device_unregister(bdp); 218 backlight_device_unregister(bdp); 223 crp->cr_backlight_device = bdp;
|
/drivers/net/ethernet/freescale/fs_enet/ |
H A D | fs_enet-main.c | 89 cbd_t __iomem *bdp; local 99 bdp = fep->cur_rx; 104 while (((sc = CBDR_SC(bdp)) & BD_ENET_RX_EMPTY) == 0) { 105 curidx = bdp - fep->rx_bd_base; 135 dma_unmap_single(fep->dev, CBDR_BUFADDR(bdp), 144 dma_unmap_single(fep->dev, CBDR_BUFADDR(bdp), 152 pkt_len = CBDR_DATLEN(bdp) - 4; /* remove CRC */ 188 CBDW_BUFADDR(bdp, dma_map_single(fep->dev, skbn->data, 191 CBDW_DATLEN(bdp, 0); 192 CBDW_SC(bdp, (s 223 cbd_t __iomem *bdp; local 345 cbd_t __iomem *bdp; local 493 cbd_t __iomem *bdp; local 546 cbd_t __iomem *bdp; local 621 cbd_t __iomem *bdp; local [all...] |
/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart_core.c | 82 cbd_t __iomem *bdp = pinfo->tx_bd_base; local 86 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) 89 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { 93 bdp++; 250 cbd_t __iomem *bdp; local 259 bdp = pinfo->rx_cur; 268 status = in_be16(&bdp->cbd_sc); 274 i = in_be16(&bdp->cbd_datlen); 285 cp = cpm2cpu_addr(in_be32(&bdp->cbd_bufaddr), pinfo); 310 clrbits16(&bdp 666 cbd_t __iomem *bdp; local 743 cbd_t __iomem *bdp; local 960 cbd_t __iomem *bdp, *bdbase; local 1042 volatile cbd_t *bdp; local [all...] |
/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 394 struct greth_bd *bdp; local 422 bdp = greth->tx_bd_base + greth->tx_next; 423 dma_addr = greth_read_bd(&bdp->addr); 441 greth_write_bd(&bdp->stat, status); 456 struct greth_bd *bdp; local 500 bdp = greth->tx_bd_base + greth->tx_next; 501 greth_write_bd(&bdp->stat, status); 507 greth_write_bd(&bdp->addr, dma_addr); 515 bdp = greth->tx_bd_base + curr_tx; 532 greth_write_bd(&bdp 618 struct greth_bd *bdp; local 673 struct greth_bd *bdp, *bdp_last_frag; local 732 struct greth_bd *bdp; local 847 struct greth_bd *bdp; local [all...] |
/drivers/net/ethernet/freescale/ |
H A D | fec.c | 282 struct bufdesc *bdp; local 294 bdp = fep->cur_tx; 296 status = bdp->cbd_sc; 312 bdp->cbd_datlen = skb->len; 321 index = bdp - fep->tx_bd_base; 343 bdp->cbd_bufaddr = dma_map_single(&fep->pdev->dev, bufaddr, 351 bdp->cbd_sc = status; 358 bdp = fep->tx_bd_base; 360 bdp++; 362 if (bdp 563 struct bufdesc *bdp; local 643 struct bufdesc *bdp; local 1185 struct bufdesc *bdp; local 1209 struct bufdesc *bdp; local 1433 struct bufdesc *bdp; local [all...] |
H A D | gianfar.c | 116 static void gfar_new_rxbdp(struct gfar_priv_rx_q *rx_queue, struct rxbd8 *bdp, 152 static void gfar_init_rxbdp(struct gfar_priv_rx_q *rx_queue, struct rxbd8 *bdp, argument 157 bdp->bufPtr = buf; 160 if (bdp == rx_queue->rx_bd_base + rx_queue->rx_ring_size - 1) 165 bdp->lstatus = lstatus; 1997 static inline struct txbd8 *skip_txbd(struct txbd8 *bdp, int stride, argument 2000 struct txbd8 *new_bd = bdp + stride; 2005 static inline struct txbd8 *next_txbd(struct txbd8 *bdp, struct txbd8 *base, argument 2008 return skip_txbd(bdp, 1, base, ring_size); 2443 struct txbd8 *bdp, *nex local 2581 gfar_new_rxbdp(struct gfar_priv_rx_q *rx_queue, struct rxbd8 *bdp, struct sk_buff *skb) argument 2737 struct rxbd8 *bdp, *base; local [all...] |
/drivers/scsi/ |
H A D | qla1280.c | 702 struct qla_boards *bdp; local 706 bdp = &ql1280_board_tbl[ha->devnum]; 712 &bdp->name[0], ha->fwver1, ha->fwver2, ha->fwver3, 4237 struct qla_boards *bdp = &ql1280_board_tbl[devnum]; local 4250 bdp->name, pdev->bus->number, PCI_SLOT(pdev->devfn)); 4310 ha->ports = bdp->numPorts; 4316 host->max_channel = bdp->numPorts - 1;
|
/drivers/staging/serial/ |
H A D | 68360serial.c | 403 volatile QUICC_BD *bdp; local 410 bdp = info->rx_cur; 412 if (bdp->status & BD_SC_EMPTY) /* If this one is empty */ 423 bdp->status |= BD_SC_EMPTY; 424 bdp->status &= 427 if (bdp->status & BD_SC_WRAP) 428 bdp = info->rx_bd_base; 430 bdp++; 436 i = bdp->length; 437 /* cp = (unsigned char *)__va(bdp 995 volatile QUICC_BD *bdp; local 1028 volatile QUICC_BD *bdp; local 1126 volatile QUICC_BD *bdp; local 1680 volatile QUICC_BD *bdp; local 2090 QUICC_BD *bdp, *bdbase; local 2234 QUICC_BD *bdp; local 2336 volatile QUICC_BD *bdp; local 2442 QUICC_BD *bdp; local 2797 QUICC_BD *bdp; local [all...] |
/drivers/tty/serial/ |
H A D | ucc_uart.c | 257 struct qe_bd *bdp = qe_port->tx_bd_base; local 260 if (in_be16(&bdp->status) & BD_SC_READY) 264 if (in_be16(&bdp->status) & BD_SC_WRAP) 271 bdp++; 329 struct qe_bd *bdp; local 335 bdp = qe_port->rx_cur; 340 bdp = qe_port->tx_cur; 342 p = qe2cpu_addr(bdp->buf, qe_port); 345 out_be16(&bdp->length, 1); 346 setbits16(&bdp 473 struct qe_bd *bdp; local 604 struct qe_bd *bdp; local [all...] |