bdp              1949 arch/x86/platform/uv/tlb_uv.c 	struct uvhub_desc *bdp;
bdp              1970 arch/x86/platform/uv/tlb_uv.c 		bdp = &uvhub_descs[uvhub];
bdp              1972 arch/x86/platform/uv/tlb_uv.c 		bdp->num_cpus++;
bdp              1973 arch/x86/platform/uv/tlb_uv.c 		bdp->uvhub = uvhub;
bdp              1974 arch/x86/platform/uv/tlb_uv.c 		bdp->pnode = pnode;
bdp              1979 arch/x86/platform/uv/tlb_uv.c 		bdp->socket_mask |= (1 << socket);
bdp              1980 arch/x86/platform/uv/tlb_uv.c 		sdp = &bdp->socket[socket];
bdp              2022 arch/x86/platform/uv/tlb_uv.c static int scan_sock(struct socket_desc *sdp, struct uvhub_desc *bdp,
bdp              2038 arch/x86/platform/uv/tlb_uv.c 		bcp->cpus_in_uvhub = bdp->num_cpus;
bdp              2041 arch/x86/platform/uv/tlb_uv.c 		bcp->uvhub = bdp->uvhub;
bdp              2092 arch/x86/platform/uv/tlb_uv.c 		struct uvhub_desc *bdp;
bdp              2099 arch/x86/platform/uv/tlb_uv.c 		bdp = &uvhub_descs[uvhub];
bdp              2100 arch/x86/platform/uv/tlb_uv.c 		socket_mask = bdp->socket_mask;
bdp              2105 arch/x86/platform/uv/tlb_uv.c 				sdp = &bdp->socket[socket];
bdp              2106 arch/x86/platform/uv/tlb_uv.c 				if (scan_sock(sdp, bdp, &smaster, &hmaster))
bdp               396 drivers/net/ethernet/aeroflex/greth.c 	struct greth_bd *bdp;
bdp               424 drivers/net/ethernet/aeroflex/greth.c 	bdp = greth->tx_bd_base + greth->tx_next;
bdp               425 drivers/net/ethernet/aeroflex/greth.c 	dma_addr = greth_read_bd(&bdp->addr);
bdp               443 drivers/net/ethernet/aeroflex/greth.c 	greth_write_bd(&bdp->stat, status);
bdp               465 drivers/net/ethernet/aeroflex/greth.c 	struct greth_bd *bdp;
bdp               505 drivers/net/ethernet/aeroflex/greth.c 	bdp = greth->tx_bd_base + greth->tx_next;
bdp               506 drivers/net/ethernet/aeroflex/greth.c 	greth_write_bd(&bdp->stat, status);
bdp               512 drivers/net/ethernet/aeroflex/greth.c 	greth_write_bd(&bdp->addr, dma_addr);
bdp               520 drivers/net/ethernet/aeroflex/greth.c 		bdp = greth->tx_bd_base + curr_tx;
bdp               537 drivers/net/ethernet/aeroflex/greth.c 		greth_write_bd(&bdp->stat, status);
bdp               545 drivers/net/ethernet/aeroflex/greth.c 		greth_write_bd(&bdp->addr, dma_addr);
bdp               553 drivers/net/ethernet/aeroflex/greth.c 	bdp = greth->tx_bd_base + greth->tx_next;
bdp               554 drivers/net/ethernet/aeroflex/greth.c 	greth_write_bd(&bdp->stat,
bdp               555 drivers/net/ethernet/aeroflex/greth.c 		       greth_read_bd(&bdp->stat) | GRETH_BD_EN);
bdp               567 drivers/net/ethernet/aeroflex/greth.c 		bdp = greth->tx_bd_base + greth->tx_next + i;
bdp               569 drivers/net/ethernet/aeroflex/greth.c 				 greth_read_bd(&bdp->addr),
bdp               570 drivers/net/ethernet/aeroflex/greth.c 				 greth_read_bd(&bdp->stat) & GRETH_BD_LEN,
bdp               572 drivers/net/ethernet/aeroflex/greth.c 		greth_write_bd(&bdp->stat, 0);
bdp               620 drivers/net/ethernet/aeroflex/greth.c 	struct greth_bd *bdp;
bdp               626 drivers/net/ethernet/aeroflex/greth.c 		bdp = greth->tx_bd_base + greth->tx_last;
bdp               629 drivers/net/ethernet/aeroflex/greth.c 		stat = greth_read_bd(&bdp->stat);
bdp               674 drivers/net/ethernet/aeroflex/greth.c 	struct greth_bd *bdp, *bdp_last_frag;
bdp               704 drivers/net/ethernet/aeroflex/greth.c 		bdp = greth->tx_bd_base + tx_last;
bdp               709 drivers/net/ethernet/aeroflex/greth.c 				 greth_read_bd(&bdp->addr),
bdp               715 drivers/net/ethernet/aeroflex/greth.c 			bdp = greth->tx_bd_base + tx_last;
bdp               718 drivers/net/ethernet/aeroflex/greth.c 				       greth_read_bd(&bdp->addr),
bdp               740 drivers/net/ethernet/aeroflex/greth.c 	struct greth_bd *bdp;
bdp               751 drivers/net/ethernet/aeroflex/greth.c 		bdp = greth->rx_bd_base + greth->rx_cur;
bdp               754 drivers/net/ethernet/aeroflex/greth.c 		status = greth_read_bd(&bdp->stat);
bdp               760 drivers/net/ethernet/aeroflex/greth.c 		dma_addr = greth_read_bd(&bdp->addr);
bdp               821 drivers/net/ethernet/aeroflex/greth.c 		greth_write_bd(&bdp->stat, status);
bdp               856 drivers/net/ethernet/aeroflex/greth.c 	struct greth_bd *bdp;
bdp               867 drivers/net/ethernet/aeroflex/greth.c 		bdp = greth->rx_bd_base + greth->rx_cur;
bdp               871 drivers/net/ethernet/aeroflex/greth.c 		status = greth_read_bd(&bdp->stat);
bdp               908 drivers/net/ethernet/aeroflex/greth.c 						 greth_read_bd(&bdp->addr),
bdp               913 drivers/net/ethernet/aeroflex/greth.c 					greth_print_rx_packet(phys_to_virt(greth_read_bd(&bdp->addr)), pkt_len);
bdp               928 drivers/net/ethernet/aeroflex/greth.c 				greth_write_bd(&bdp->addr, dma_addr);
bdp               958 drivers/net/ethernet/aeroflex/greth.c 		greth_write_bd(&bdp->stat, status);
bdp               285 drivers/net/ethernet/freescale/fec_main.c static struct bufdesc *fec_enet_get_nextdesc(struct bufdesc *bdp,
bdp               288 drivers/net/ethernet/freescale/fec_main.c 	return (bdp >= bd->last) ? bd->base
bdp               289 drivers/net/ethernet/freescale/fec_main.c 			: (struct bufdesc *)(((void *)bdp) + bd->dsize);
bdp               292 drivers/net/ethernet/freescale/fec_main.c static struct bufdesc *fec_enet_get_prevdesc(struct bufdesc *bdp,
bdp               295 drivers/net/ethernet/freescale/fec_main.c 	return (bdp <= bd->base) ? bd->last
bdp               296 drivers/net/ethernet/freescale/fec_main.c 			: (struct bufdesc *)(((void *)bdp) - bd->dsize);
bdp               299 drivers/net/ethernet/freescale/fec_main.c static int fec_enet_get_bd_index(struct bufdesc *bdp,
bdp               302 drivers/net/ethernet/freescale/fec_main.c 	return ((const char *)bdp - (const char *)bd->base) >> bd->dsize_log2;
bdp               337 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc *bdp;
bdp               345 drivers/net/ethernet/freescale/fec_main.c 	bdp = txq->bd.base;
bdp               350 drivers/net/ethernet/freescale/fec_main.c 			bdp == txq->bd.cur ? 'S' : ' ',
bdp               351 drivers/net/ethernet/freescale/fec_main.c 			bdp == txq->dirty_tx ? 'H' : ' ',
bdp               352 drivers/net/ethernet/freescale/fec_main.c 			fec16_to_cpu(bdp->cbd_sc),
bdp               353 drivers/net/ethernet/freescale/fec_main.c 			fec32_to_cpu(bdp->cbd_bufaddr),
bdp               354 drivers/net/ethernet/freescale/fec_main.c 			fec16_to_cpu(bdp->cbd_datlen),
bdp               356 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp               358 drivers/net/ethernet/freescale/fec_main.c 	} while (bdp != txq->bd.base);
bdp               389 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc *bdp = txq->bd.cur;
bdp               403 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp               404 drivers/net/ethernet/freescale/fec_main.c 		ebdp = (struct bufdesc_ex *)bdp;
bdp               406 drivers/net/ethernet/freescale/fec_main.c 		status = fec16_to_cpu(bdp->cbd_sc);
bdp               433 drivers/net/ethernet/freescale/fec_main.c 		index = fec_enet_get_bd_index(bdp, &txq->bd);
bdp               451 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_bufaddr = cpu_to_fec32(addr);
bdp               452 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_datlen = cpu_to_fec16(frag_len);
bdp               457 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_sc = cpu_to_fec16(status);
bdp               460 drivers/net/ethernet/freescale/fec_main.c 	return bdp;
bdp               462 drivers/net/ethernet/freescale/fec_main.c 	bdp = txq->bd.cur;
bdp               464 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp               465 drivers/net/ethernet/freescale/fec_main.c 		dma_unmap_single(&fep->pdev->dev, fec32_to_cpu(bdp->cbd_bufaddr),
bdp               466 drivers/net/ethernet/freescale/fec_main.c 				 fec16_to_cpu(bdp->cbd_datlen), DMA_TO_DEVICE);
bdp               476 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc *bdp, *last_bdp;
bdp               500 drivers/net/ethernet/freescale/fec_main.c 	bdp = txq->bd.cur;
bdp               501 drivers/net/ethernet/freescale/fec_main.c 	last_bdp = bdp;
bdp               502 drivers/net/ethernet/freescale/fec_main.c 	status = fec16_to_cpu(bdp->cbd_sc);
bdp               509 drivers/net/ethernet/freescale/fec_main.c 	index = fec_enet_get_bd_index(bdp, &txq->bd);
bdp               545 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_bufaddr = cpu_to_fec32(addr);
bdp               546 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_datlen = cpu_to_fec16(buflen);
bdp               550 drivers/net/ethernet/freescale/fec_main.c 		struct bufdesc_ex *ebdp = (struct bufdesc_ex *)bdp;
bdp               579 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_sc = cpu_to_fec16(status);
bdp               582 drivers/net/ethernet/freescale/fec_main.c 	bdp = fec_enet_get_nextdesc(last_bdp, &txq->bd);
bdp               590 drivers/net/ethernet/freescale/fec_main.c 	txq->bd.cur = bdp;
bdp               601 drivers/net/ethernet/freescale/fec_main.c 			  struct bufdesc *bdp, int index, char *data,
bdp               605 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc_ex *ebdp = container_of(bdp, struct bufdesc_ex, desc);
bdp               610 drivers/net/ethernet/freescale/fec_main.c 	status = fec16_to_cpu(bdp->cbd_sc);
bdp               632 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_datlen = cpu_to_fec16(size);
bdp               633 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_bufaddr = cpu_to_fec32(addr);
bdp               653 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_sc = cpu_to_fec16(status);
bdp               661 drivers/net/ethernet/freescale/fec_main.c 			 struct bufdesc *bdp, int index)
bdp               665 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc_ex *ebdp = container_of(bdp, struct bufdesc_ex, desc);
bdp               671 drivers/net/ethernet/freescale/fec_main.c 	status = fec16_to_cpu(bdp->cbd_sc);
bdp               695 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_bufaddr = cpu_to_fec32(dmabuf);
bdp               696 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_datlen = cpu_to_fec16(hdr_len);
bdp               707 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_sc = cpu_to_fec16(status);
bdp               719 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc *bdp = txq->bd.cur;
bdp               744 drivers/net/ethernet/freescale/fec_main.c 		index = fec_enet_get_bd_index(bdp, &txq->bd);
bdp               751 drivers/net/ethernet/freescale/fec_main.c 		ret = fec_enet_txq_put_hdr_tso(txq, skb, ndev, bdp, index);
bdp               759 drivers/net/ethernet/freescale/fec_main.c 			bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp               760 drivers/net/ethernet/freescale/fec_main.c 			index = fec_enet_get_bd_index(bdp, &txq->bd);
bdp               762 drivers/net/ethernet/freescale/fec_main.c 							bdp, index,
bdp               773 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp               780 drivers/net/ethernet/freescale/fec_main.c 	txq->bd.cur = bdp;
bdp               832 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc *bdp;
bdp               839 drivers/net/ethernet/freescale/fec_main.c 		bdp = rxq->bd.base;
bdp               844 drivers/net/ethernet/freescale/fec_main.c 			if (bdp->cbd_bufaddr)
bdp               845 drivers/net/ethernet/freescale/fec_main.c 				bdp->cbd_sc = cpu_to_fec16(BD_ENET_RX_EMPTY);
bdp               847 drivers/net/ethernet/freescale/fec_main.c 				bdp->cbd_sc = cpu_to_fec16(0);
bdp               848 drivers/net/ethernet/freescale/fec_main.c 			bdp = fec_enet_get_nextdesc(bdp, &rxq->bd);
bdp               852 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_prevdesc(bdp, &rxq->bd);
bdp               853 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_sc |= cpu_to_fec16(BD_SC_WRAP);
bdp               861 drivers/net/ethernet/freescale/fec_main.c 		bdp = txq->bd.base;
bdp               862 drivers/net/ethernet/freescale/fec_main.c 		txq->bd.cur = bdp;
bdp               866 drivers/net/ethernet/freescale/fec_main.c 			bdp->cbd_sc = cpu_to_fec16(0);
bdp               867 drivers/net/ethernet/freescale/fec_main.c 			if (bdp->cbd_bufaddr &&
bdp               868 drivers/net/ethernet/freescale/fec_main.c 			    !IS_TSO_HEADER(txq, fec32_to_cpu(bdp->cbd_bufaddr)))
bdp               870 drivers/net/ethernet/freescale/fec_main.c 						 fec32_to_cpu(bdp->cbd_bufaddr),
bdp               871 drivers/net/ethernet/freescale/fec_main.c 						 fec16_to_cpu(bdp->cbd_datlen),
bdp               877 drivers/net/ethernet/freescale/fec_main.c 			bdp->cbd_bufaddr = cpu_to_fec32(0);
bdp               878 drivers/net/ethernet/freescale/fec_main.c 			bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp               882 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_prevdesc(bdp, &txq->bd);
bdp               883 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_sc |= cpu_to_fec16(BD_SC_WRAP);
bdp               884 drivers/net/ethernet/freescale/fec_main.c 		txq->dirty_tx = bdp;
bdp              1245 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc *bdp;
bdp              1260 drivers/net/ethernet/freescale/fec_main.c 	bdp = txq->dirty_tx;
bdp              1263 drivers/net/ethernet/freescale/fec_main.c 	bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp              1265 drivers/net/ethernet/freescale/fec_main.c 	while (bdp != READ_ONCE(txq->bd.cur)) {
bdp              1268 drivers/net/ethernet/freescale/fec_main.c 		status = fec16_to_cpu(READ_ONCE(bdp->cbd_sc));
bdp              1272 drivers/net/ethernet/freescale/fec_main.c 		index = fec_enet_get_bd_index(bdp, &txq->bd);
bdp              1276 drivers/net/ethernet/freescale/fec_main.c 		if (!IS_TSO_HEADER(txq, fec32_to_cpu(bdp->cbd_bufaddr)))
bdp              1278 drivers/net/ethernet/freescale/fec_main.c 					 fec32_to_cpu(bdp->cbd_bufaddr),
bdp              1279 drivers/net/ethernet/freescale/fec_main.c 					 fec16_to_cpu(bdp->cbd_datlen),
bdp              1281 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_bufaddr = cpu_to_fec32(0);
bdp              1308 drivers/net/ethernet/freescale/fec_main.c 			struct bufdesc_ex *ebdp = (struct bufdesc_ex *)bdp;
bdp              1327 drivers/net/ethernet/freescale/fec_main.c 		txq->dirty_tx = bdp;
bdp              1330 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp              1342 drivers/net/ethernet/freescale/fec_main.c 	if (bdp != txq->bd.cur &&
bdp              1361 drivers/net/ethernet/freescale/fec_main.c fec_enet_new_rxbdp(struct net_device *ndev, struct bufdesc *bdp, struct sk_buff *skb)
bdp              1370 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_bufaddr = cpu_to_fec32(dma_map_single(&fep->pdev->dev, skb->data, FEC_ENET_RX_FRSIZE - fep->rx_align, DMA_FROM_DEVICE));
bdp              1371 drivers/net/ethernet/freescale/fec_main.c 	if (dma_mapping_error(&fep->pdev->dev, fec32_to_cpu(bdp->cbd_bufaddr))) {
bdp              1381 drivers/net/ethernet/freescale/fec_main.c 			       struct bufdesc *bdp, u32 length, bool swap)
bdp              1394 drivers/net/ethernet/freescale/fec_main.c 				fec32_to_cpu(bdp->cbd_bufaddr),
bdp              1416 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc *bdp;
bdp              1439 drivers/net/ethernet/freescale/fec_main.c 	bdp = rxq->bd.cur;
bdp              1441 drivers/net/ethernet/freescale/fec_main.c 	while (!((status = fec16_to_cpu(bdp->cbd_sc)) & BD_ENET_RX_EMPTY)) {
bdp              1477 drivers/net/ethernet/freescale/fec_main.c 		pkt_len = fec16_to_cpu(bdp->cbd_datlen);
bdp              1480 drivers/net/ethernet/freescale/fec_main.c 		index = fec_enet_get_bd_index(bdp, &rxq->bd);
bdp              1487 drivers/net/ethernet/freescale/fec_main.c 		is_copybreak = fec_enet_copybreak(ndev, &skb, bdp, pkt_len - 4,
bdp              1496 drivers/net/ethernet/freescale/fec_main.c 					 fec32_to_cpu(bdp->cbd_bufaddr),
bdp              1516 drivers/net/ethernet/freescale/fec_main.c 			ebdp = (struct bufdesc_ex *)bdp;
bdp              1561 drivers/net/ethernet/freescale/fec_main.c 						   fec32_to_cpu(bdp->cbd_bufaddr),
bdp              1566 drivers/net/ethernet/freescale/fec_main.c 			fec_enet_new_rxbdp(ndev, bdp, skb_new);
bdp              1577 drivers/net/ethernet/freescale/fec_main.c 			struct bufdesc_ex *ebdp = (struct bufdesc_ex *)bdp;
bdp              1587 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_sc = cpu_to_fec16(status);
bdp              1590 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_nextdesc(bdp, &rxq->bd);
bdp              1598 drivers/net/ethernet/freescale/fec_main.c 	rxq->bd.cur = bdp;
bdp              2747 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc	*bdp;
bdp              2754 drivers/net/ethernet/freescale/fec_main.c 		bdp = rxq->bd.base;
bdp              2760 drivers/net/ethernet/freescale/fec_main.c 						 fec32_to_cpu(bdp->cbd_bufaddr),
bdp              2765 drivers/net/ethernet/freescale/fec_main.c 			bdp = fec_enet_get_nextdesc(bdp, &rxq->bd);
bdp              2771 drivers/net/ethernet/freescale/fec_main.c 		bdp = txq->bd.base;
bdp              2859 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc	*bdp;
bdp              2863 drivers/net/ethernet/freescale/fec_main.c 	bdp = rxq->bd.base;
bdp              2869 drivers/net/ethernet/freescale/fec_main.c 		if (fec_enet_new_rxbdp(ndev, bdp, skb)) {
bdp              2875 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_sc = cpu_to_fec16(BD_ENET_RX_EMPTY);
bdp              2878 drivers/net/ethernet/freescale/fec_main.c 			struct bufdesc_ex *ebdp = (struct bufdesc_ex *)bdp;
bdp              2882 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_nextdesc(bdp, &rxq->bd);
bdp              2886 drivers/net/ethernet/freescale/fec_main.c 	bdp = fec_enet_get_prevdesc(bdp, &rxq->bd);
bdp              2887 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_sc |= cpu_to_fec16(BD_SC_WRAP);
bdp              2900 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc  *bdp;
bdp              2904 drivers/net/ethernet/freescale/fec_main.c 	bdp = txq->bd.base;
bdp              2910 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_sc = cpu_to_fec16(0);
bdp              2911 drivers/net/ethernet/freescale/fec_main.c 		bdp->cbd_bufaddr = cpu_to_fec32(0);
bdp              2914 drivers/net/ethernet/freescale/fec_main.c 			struct bufdesc_ex *ebdp = (struct bufdesc_ex *)bdp;
bdp              2918 drivers/net/ethernet/freescale/fec_main.c 		bdp = fec_enet_get_nextdesc(bdp, &txq->bd);
bdp              2922 drivers/net/ethernet/freescale/fec_main.c 	bdp = fec_enet_get_prevdesc(bdp, &txq->bd);
bdp              2923 drivers/net/ethernet/freescale/fec_main.c 	bdp->cbd_sc |= cpu_to_fec16(BD_SC_WRAP);
bdp                91 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	cbd_t __iomem *bdp;
bdp               100 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	bdp = fep->dirty_tx;
bdp               106 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	while (((sc = CBDR_SC(bdp)) & BD_ENET_TX_READY) == 0 && tx_left) {
bdp               107 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		dirtyidx = bdp - fep->tx_bd_base;
bdp               152 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			dma_unmap_page(fep->dev, CBDR_BUFADDR(bdp),
bdp               153 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 				       CBDR_DATLEN(bdp), DMA_TO_DEVICE);
bdp               155 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			dma_unmap_single(fep->dev, CBDR_BUFADDR(bdp),
bdp               156 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 					 CBDR_DATLEN(bdp), DMA_TO_DEVICE);
bdp               170 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			bdp++;
bdp               172 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			bdp = fep->tx_bd_base;
bdp               183 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	fep->dirty_tx = bdp;
bdp               197 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	bdp = fep->cur_rx;
bdp               199 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	while (((sc = CBDR_SC(bdp)) & BD_ENET_RX_EMPTY) == 0 &&
bdp               201 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		curidx = bdp - fep->rx_bd_base;
bdp               237 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			pkt_len = CBDR_DATLEN(bdp) - 4;	/* remove CRC */
bdp               249 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 						CBDR_BUFADDR(bdp),
bdp               262 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 						CBDR_BUFADDR(bdp),
bdp               270 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 					CBDW_BUFADDR(bdp, dma);
bdp               286 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_DATLEN(bdp, 0);
bdp               287 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_SC(bdp, (sc & ~BD_ENET_RX_STATS) | BD_ENET_RX_EMPTY);
bdp               293 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			bdp++;
bdp               295 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			bdp = fep->rx_bd_base;
bdp               300 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	fep->cur_rx = bdp;
bdp               364 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	cbd_t __iomem *bdp;
bdp               377 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	for (i = 0, bdp = fep->rx_bd_base; i < fep->rx_ring; i++, bdp++) {
bdp               384 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_BUFADDR(bdp,
bdp               388 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_DATLEN(bdp, 0);	/* zero */
bdp               389 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_SC(bdp, BD_ENET_RX_EMPTY |
bdp               395 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	for (; i < fep->rx_ring; i++, bdp++) {
bdp               397 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_SC(bdp, (i < fep->rx_ring - 1) ? 0 : BD_SC_WRAP);
bdp               403 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	for (i = 0, bdp = fep->tx_bd_base; i < fep->tx_ring; i++, bdp++) {
bdp               405 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_BUFADDR(bdp, 0);
bdp               406 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_DATLEN(bdp, 0);
bdp               407 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_SC(bdp, (i < fep->tx_ring - 1) ? 0 : BD_SC_WRAP);
bdp               415 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	cbd_t __iomem *bdp;
bdp               421 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	for (i = 0, bdp = fep->tx_bd_base; i < fep->tx_ring; i++, bdp++) {
bdp               426 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		dma_unmap_single(fep->dev, CBDR_BUFADDR(bdp),
bdp               436 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	for (i = 0, bdp = fep->rx_bd_base; i < fep->rx_ring; i++, bdp++) {
bdp               441 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		dma_unmap_single(fep->dev, CBDR_BUFADDR(bdp),
bdp               488 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	cbd_t __iomem *bdp;
bdp               529 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	bdp = fep->cur_tx;
bdp               532 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	if (fep->tx_free <= nr_frags || (CBDR_SC(bdp) & BD_ENET_TX_READY)) {
bdp               544 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	curidx = bdp - fep->tx_bd_base;
bdp               554 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	CBDW_BUFADDR(bdp, dma_map_single(fep->dev,
bdp               556 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	CBDW_DATLEN(bdp, len);
bdp               561 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDC_SC(bdp,
bdp               564 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDS_SC(bdp, BD_ENET_TX_READY);
bdp               566 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		if ((CBDR_SC(bdp) & BD_ENET_TX_WRAP) == 0)
bdp               567 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			bdp++, curidx++;
bdp               569 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			bdp = fep->tx_bd_base, curidx = 0;
bdp               572 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_BUFADDR(bdp, skb_frag_dma_map(fep->dev, frag, 0, len,
bdp               574 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		CBDW_DATLEN(bdp, len);
bdp               592 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	CBDC_SC(bdp, BD_ENET_TX_STATS);
bdp               593 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	CBDS_SC(bdp, sc);
bdp               599 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	if ((CBDR_SC(bdp) & BD_ENET_TX_WRAP) == 0)
bdp               600 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		bdp++;
bdp               602 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		bdp = fep->tx_bd_base;
bdp               603 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	fep->cur_tx = bdp;
bdp               112 drivers/net/ethernet/freescale/gianfar.c static void gfar_init_rxbdp(struct gfar_priv_rx_q *rx_queue, struct rxbd8 *bdp,
bdp               117 drivers/net/ethernet/freescale/gianfar.c 	bdp->bufPtr = cpu_to_be32(buf);
bdp               120 drivers/net/ethernet/freescale/gianfar.c 	if (bdp == rx_queue->rx_bd_base + rx_queue->rx_ring_size - 1)
bdp               125 drivers/net/ethernet/freescale/gianfar.c 	bdp->lstatus = cpu_to_be32(lstatus);
bdp              1270 drivers/net/ethernet/freescale/gianfar.c 	struct rxbd8 *bdp;
bdp              1275 drivers/net/ethernet/freescale/gianfar.c 	bdp = &rx_queue->rx_bd_base[i];
bdp              1288 drivers/net/ethernet/freescale/gianfar.c 		gfar_init_rxbdp(rx_queue, bdp,
bdp              1292 drivers/net/ethernet/freescale/gianfar.c 		bdp++;
bdp              1297 drivers/net/ethernet/freescale/gianfar.c 			bdp = rx_queue->rx_bd_base;
bdp              1758 drivers/net/ethernet/freescale/gianfar.c static inline struct txbd8 *skip_txbd(struct txbd8 *bdp, int stride,
bdp              1761 drivers/net/ethernet/freescale/gianfar.c 	struct txbd8 *new_bd = bdp + stride;
bdp              1766 drivers/net/ethernet/freescale/gianfar.c static inline struct txbd8 *next_txbd(struct txbd8 *bdp, struct txbd8 *base,
bdp              1769 drivers/net/ethernet/freescale/gianfar.c 	return skip_txbd(bdp, 1, base, ring_size);
bdp              2188 drivers/net/ethernet/freescale/gianfar.c 	struct txbd8 *bdp, *next = NULL;
bdp              2203 drivers/net/ethernet/freescale/gianfar.c 	bdp = tx_queue->dirty_tx;
bdp              2222 drivers/net/ethernet/freescale/gianfar.c 		lbdp = skip_txbd(bdp, nr_txbds - 1, base, tx_ring_size);
bdp              2232 drivers/net/ethernet/freescale/gianfar.c 			next = next_txbd(bdp, base, tx_ring_size);
bdp              2236 drivers/net/ethernet/freescale/gianfar.c 			buflen = be16_to_cpu(bdp->length);
bdp              2238 drivers/net/ethernet/freescale/gianfar.c 		dma_unmap_single(priv->dev, be32_to_cpu(bdp->bufPtr),
bdp              2250 drivers/net/ethernet/freescale/gianfar.c 			gfar_clear_txbd_status(bdp);
bdp              2251 drivers/net/ethernet/freescale/gianfar.c 			bdp = next;
bdp              2254 drivers/net/ethernet/freescale/gianfar.c 		gfar_clear_txbd_status(bdp);
bdp              2255 drivers/net/ethernet/freescale/gianfar.c 		bdp = next_txbd(bdp, base, tx_ring_size);
bdp              2258 drivers/net/ethernet/freescale/gianfar.c 			dma_unmap_page(priv->dev, be32_to_cpu(bdp->bufPtr),
bdp              2259 drivers/net/ethernet/freescale/gianfar.c 				       be16_to_cpu(bdp->length),
bdp              2261 drivers/net/ethernet/freescale/gianfar.c 			gfar_clear_txbd_status(bdp);
bdp              2262 drivers/net/ethernet/freescale/gianfar.c 			bdp = next_txbd(bdp, base, tx_ring_size);
bdp              2288 drivers/net/ethernet/freescale/gianfar.c 	tx_queue->dirty_tx = bdp;
bdp              2537 drivers/net/ethernet/freescale/gianfar.c 	struct rxbd8 *bdp;
bdp              2554 drivers/net/ethernet/freescale/gianfar.c 		bdp = &rx_queue->rx_bd_base[i];
bdp              2555 drivers/net/ethernet/freescale/gianfar.c 		lstatus = be32_to_cpu(bdp->lstatus);
bdp              1268 drivers/net/ethernet/freescale/gianfar.h static inline void gfar_clear_txbd_status(struct txbd8 *bdp)
bdp              1270 drivers/net/ethernet/freescale/gianfar.h 	u32 lstatus = be32_to_cpu(bdp->lstatus);
bdp              1273 drivers/net/ethernet/freescale/gianfar.h 	bdp->lstatus = cpu_to_be32(lstatus);
bdp              1286 drivers/net/ethernet/freescale/gianfar.h 	struct rxbd8 *bdp;
bdp              1291 drivers/net/ethernet/freescale/gianfar.h 	bdp = &rxq->rx_bd_base[i];
bdp              1293 drivers/net/ethernet/freescale/gianfar.h 	bdp_dma += (uintptr_t)bdp - (uintptr_t)rxq->rx_bd_base;
bdp               667 drivers/scsi/qla1280.c 	struct qla_boards *bdp;
bdp               671 drivers/scsi/qla1280.c 	bdp = &ql1280_board_tbl[ha->devnum];
bdp               677 drivers/scsi/qla1280.c 		 &bdp->name[0], ha->fwver1, ha->fwver2, ha->fwver3,
bdp              4152 drivers/scsi/qla1280.c 	struct qla_boards *bdp = &ql1280_board_tbl[devnum];
bdp              4165 drivers/scsi/qla1280.c 	       bdp->name, pdev->bus->number, PCI_SLOT(pdev->devfn));
bdp              4225 drivers/scsi/qla1280.c 	ha->ports = bdp->numPorts;
bdp              4231 drivers/scsi/qla1280.c 	host->max_channel = bdp->numPorts - 1;
bdp                71 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	cbd_t __iomem *bdp = pinfo->tx_bd_base;
bdp                75 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		if (in_be16(&bdp->cbd_sc) & BD_SC_READY)
bdp                78 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) {
bdp                82 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		bdp++;
bdp               238 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	cbd_t __iomem *bdp;
bdp               247 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	bdp = pinfo->rx_cur;
bdp               256 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		status = in_be16(&bdp->cbd_sc);
bdp               262 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		i = in_be16(&bdp->cbd_datlen);
bdp               273 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		cp = cpm2cpu_addr(in_be32(&bdp->cbd_bufaddr), pinfo);
bdp               298 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		clrbits16(&bdp->cbd_sc, BD_SC_BR | BD_SC_FR | BD_SC_PR |
bdp               300 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		setbits16(&bdp->cbd_sc, BD_SC_EMPTY);
bdp               302 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP)
bdp               303 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			bdp = pinfo->rx_bd_base;
bdp               305 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			bdp++;
bdp               310 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	pinfo->rx_cur = bdp;
bdp               679 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	cbd_t __iomem *bdp;
bdp               689 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		bdp = pinfo->tx_cur;
bdp               691 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		p = cpm2cpu_addr(in_be32(&bdp->cbd_bufaddr), pinfo);
bdp               695 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		out_be16(&bdp->cbd_datlen, 1);
bdp               696 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		setbits16(&bdp->cbd_sc, BD_SC_READY);
bdp               698 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP)
bdp               699 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			bdp = pinfo->tx_bd_base;
bdp               701 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			bdp++;
bdp               702 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		pinfo->tx_cur = bdp;
bdp               715 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	bdp = pinfo->tx_cur;
bdp               717 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	while (!(in_be16(&bdp->cbd_sc) & BD_SC_READY) &&
bdp               720 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		p = cpm2cpu_addr(in_be32(&bdp->cbd_bufaddr), pinfo);
bdp               729 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		out_be16(&bdp->cbd_datlen, count);
bdp               730 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		setbits16(&bdp->cbd_sc, BD_SC_READY);
bdp               732 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP)
bdp               733 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			bdp = pinfo->tx_bd_base;
bdp               735 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			bdp++;
bdp               737 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	pinfo->tx_cur = bdp;
bdp               757 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	cbd_t __iomem *bdp;
bdp               766 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	bdp = pinfo->rx_cur = pinfo->rx_bd_base;
bdp               767 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	for (i = 0; i < (pinfo->rx_nrfifos - 1); i++, bdp++) {
bdp               768 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		out_be32(&bdp->cbd_bufaddr, cpu2cpm_addr(mem_addr, pinfo));
bdp               769 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		out_be16(&bdp->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT);
bdp               773 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	out_be32(&bdp->cbd_bufaddr, cpu2cpm_addr(mem_addr, pinfo));
bdp               774 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	out_be16(&bdp->cbd_sc, BD_SC_WRAP | BD_SC_EMPTY | BD_SC_INTRPT);
bdp               781 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	bdp = pinfo->tx_cur = pinfo->tx_bd_base;
bdp               782 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	for (i = 0; i < (pinfo->tx_nrfifos - 1); i++, bdp++) {
bdp               783 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		out_be32(&bdp->cbd_bufaddr, cpu2cpm_addr(mem_addr, pinfo));
bdp               784 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		out_be16(&bdp->cbd_sc, BD_SC_INTRPT);
bdp               788 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	out_be32(&bdp->cbd_bufaddr, cpu2cpm_addr(mem_addr, pinfo));
bdp               789 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	out_be16(&bdp->cbd_sc, BD_SC_WRAP | BD_SC_INTRPT);
bdp               972 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	cbd_t __iomem *bdp, *bdbase;
bdp               977 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	bdp = pinfo->tx_cur;
bdp               991 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		while ((in_be16(&bdp->cbd_sc) & BD_SC_READY) != 0)
bdp               998 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		cpm_outp_addr = cpm2cpu_addr(in_be32(&bdp->cbd_bufaddr),
bdp              1002 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		out_be16(&bdp->cbd_datlen, 1);
bdp              1003 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		setbits16(&bdp->cbd_sc, BD_SC_READY);
bdp              1005 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP)
bdp              1006 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			bdp = bdbase;
bdp              1008 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			bdp++;
bdp              1012 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			while ((in_be16(&bdp->cbd_sc) & BD_SC_READY) != 0)
bdp              1015 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			cpm_outp_addr = cpm2cpu_addr(in_be32(&bdp->cbd_bufaddr),
bdp              1019 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			out_be16(&bdp->cbd_datlen, 1);
bdp              1020 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			setbits16(&bdp->cbd_sc, BD_SC_READY);
bdp              1022 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP)
bdp              1023 drivers/tty/serial/cpm_uart/cpm_uart_core.c 				bdp = bdbase;
bdp              1025 drivers/tty/serial/cpm_uart/cpm_uart_core.c 				bdp++;
bdp              1033 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	while ((in_be16(&bdp->cbd_sc) & BD_SC_READY) != 0)
bdp              1036 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	pinfo->tx_cur = bdp;
bdp              1054 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	volatile cbd_t	*bdp;
bdp              1059 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	bdp = pinfo->rx_cur;
bdp              1060 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (bdp->cbd_sc & BD_SC_EMPTY)
bdp              1066 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	cp = cpm2cpu_addr(bdp->cbd_bufaddr, pinfo);
bdp              1069 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		i = c = bdp->cbd_datlen;
bdp              1074 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	bdp->cbd_sc &= ~(BD_SC_BR | BD_SC_FR | BD_SC_PR | BD_SC_OV | BD_SC_ID);
bdp              1075 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	bdp->cbd_sc |= BD_SC_EMPTY;
bdp              1077 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (bdp->cbd_sc & BD_SC_WRAP)
bdp              1078 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		bdp = pinfo->rx_bd_base;
bdp              1080 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		bdp++;
bdp              1081 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	pinfo->rx_cur = (cbd_t *)bdp;
bdp               257 drivers/tty/serial/ucc_uart.c 	struct qe_bd *bdp = qe_port->tx_bd_base;
bdp               260 drivers/tty/serial/ucc_uart.c 		if (in_be16(&bdp->status) & BD_SC_READY)
bdp               264 drivers/tty/serial/ucc_uart.c 		if (in_be16(&bdp->status) & BD_SC_WRAP)
bdp               271 drivers/tty/serial/ucc_uart.c 		bdp++;
bdp               329 drivers/tty/serial/ucc_uart.c 	struct qe_bd *bdp;
bdp               335 drivers/tty/serial/ucc_uart.c 	bdp = qe_port->rx_cur;
bdp               340 drivers/tty/serial/ucc_uart.c 		bdp = qe_port->tx_cur;
bdp               342 drivers/tty/serial/ucc_uart.c 		p = qe2cpu_addr(bdp->buf, qe_port);
bdp               345 drivers/tty/serial/ucc_uart.c 		out_be16(&bdp->length, 1);
bdp               346 drivers/tty/serial/ucc_uart.c 		setbits16(&bdp->status, BD_SC_READY);
bdp               348 drivers/tty/serial/ucc_uart.c 		if (in_be16(&bdp->status) & BD_SC_WRAP)
bdp               349 drivers/tty/serial/ucc_uart.c 			bdp = qe_port->tx_bd_base;
bdp               351 drivers/tty/serial/ucc_uart.c 			bdp++;
bdp               352 drivers/tty/serial/ucc_uart.c 		qe_port->tx_cur = bdp;
bdp               365 drivers/tty/serial/ucc_uart.c 	bdp = qe_port->tx_cur;
bdp               367 drivers/tty/serial/ucc_uart.c 	while (!(in_be16(&bdp->status) & BD_SC_READY) &&
bdp               370 drivers/tty/serial/ucc_uart.c 		p = qe2cpu_addr(bdp->buf, qe_port);
bdp               380 drivers/tty/serial/ucc_uart.c 		out_be16(&bdp->length, count);
bdp               381 drivers/tty/serial/ucc_uart.c 		setbits16(&bdp->status, BD_SC_READY);
bdp               384 drivers/tty/serial/ucc_uart.c 		if (in_be16(&bdp->status) & BD_SC_WRAP)
bdp               385 drivers/tty/serial/ucc_uart.c 			bdp = qe_port->tx_bd_base;
bdp               387 drivers/tty/serial/ucc_uart.c 			bdp++;
bdp               389 drivers/tty/serial/ucc_uart.c 	qe_port->tx_cur = bdp;
bdp               463 drivers/tty/serial/ucc_uart.c 	struct qe_bd *bdp;
bdp               470 drivers/tty/serial/ucc_uart.c 	bdp = qe_port->rx_cur;
bdp               472 drivers/tty/serial/ucc_uart.c 		status = in_be16(&bdp->status);
bdp               479 drivers/tty/serial/ucc_uart.c 		i = in_be16(&bdp->length);
bdp               490 drivers/tty/serial/ucc_uart.c 		cp = qe2cpu_addr(bdp->buf, qe_port);
bdp               510 drivers/tty/serial/ucc_uart.c 		clrsetbits_be16(&bdp->status, BD_SC_BR | BD_SC_FR | BD_SC_PR |
bdp               512 drivers/tty/serial/ucc_uart.c 		if (in_be16(&bdp->status) & BD_SC_WRAP)
bdp               513 drivers/tty/serial/ucc_uart.c 			bdp = qe_port->rx_bd_base;
bdp               515 drivers/tty/serial/ucc_uart.c 			bdp++;
bdp               520 drivers/tty/serial/ucc_uart.c 	qe_port->rx_cur = bdp;
bdp               594 drivers/tty/serial/ucc_uart.c 	struct qe_bd *bdp;
bdp               600 drivers/tty/serial/ucc_uart.c 	bdp = qe_port->rx_bd_base;
bdp               603 drivers/tty/serial/ucc_uart.c 		out_be16(&bdp->status, BD_SC_EMPTY | BD_SC_INTRPT);
bdp               604 drivers/tty/serial/ucc_uart.c 		out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port));
bdp               605 drivers/tty/serial/ucc_uart.c 		out_be16(&bdp->length, 0);
bdp               607 drivers/tty/serial/ucc_uart.c 		bdp++;
bdp               611 drivers/tty/serial/ucc_uart.c 	out_be16(&bdp->status, BD_SC_WRAP | BD_SC_EMPTY | BD_SC_INTRPT);
bdp               612 drivers/tty/serial/ucc_uart.c 	out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port));
bdp               613 drivers/tty/serial/ucc_uart.c 	out_be16(&bdp->length, 0);
bdp               622 drivers/tty/serial/ucc_uart.c 	bdp = qe_port->tx_bd_base;
bdp               624 drivers/tty/serial/ucc_uart.c 		out_be16(&bdp->status, BD_SC_INTRPT);
bdp               625 drivers/tty/serial/ucc_uart.c 		out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port));
bdp               626 drivers/tty/serial/ucc_uart.c 		out_be16(&bdp->length, 0);
bdp               628 drivers/tty/serial/ucc_uart.c 		bdp++;
bdp               636 drivers/tty/serial/ucc_uart.c 	out_be16(&bdp->status, BD_SC_WRAP | BD_SC_INTRPT);
bdp               637 drivers/tty/serial/ucc_uart.c 	out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port));
bdp               638 drivers/tty/serial/ucc_uart.c 	out_be16(&bdp->length, 0);
bdp               163 drivers/video/backlight/cr_bllcd.c 	struct backlight_device *bdp;
bdp               184 drivers/video/backlight/cr_bllcd.c 	bdp = devm_backlight_device_register(&pdev->dev, "cr-backlight",
bdp               187 drivers/video/backlight/cr_bllcd.c 	if (IS_ERR(bdp)) {
bdp               189 drivers/video/backlight/cr_bllcd.c 		return PTR_ERR(bdp);
bdp               209 drivers/video/backlight/cr_bllcd.c 	crp->cr_backlight_device = bdp;
bdp               629 lib/decompress_bunzip2.c static int INIT start_bunzip(struct bunzip_data **bdp, void *inbuf, long len,
bdp               642 lib/decompress_bunzip2.c 	bd = *bdp = malloc(i);
bdp               360 net/ipv4/tcp_bbr.c 	u32 bdp;
bdp               377 net/ipv4/tcp_bbr.c 	bdp = (((w * gain) >> BBR_SCALE) + BW_UNIT - 1) / BW_UNIT;
bdp               379 net/ipv4/tcp_bbr.c 	return bdp;