/linux-4.1.27/drivers/memstick/core/ |
D | ms_block.c | 145 static int msb_get_zone_from_pba(int pba) in msb_get_zone_from_pba() argument 147 return pba / MS_BLOCKS_IN_ZONE; in msb_get_zone_from_pba() 172 static void msb_mark_block_used(struct msb_data *msb, int pba) in msb_mark_block_used() argument 174 int zone = msb_get_zone_from_pba(pba); in msb_mark_block_used() 176 if (test_bit(pba, msb->used_blocks_bitmap)) { in msb_mark_block_used() 178 "BUG: attempt to mark already used pba %d as used", pba); in msb_mark_block_used() 187 __set_bit(pba, msb->used_blocks_bitmap); in msb_mark_block_used() 192 static void msb_mark_block_unused(struct msb_data *msb, int pba) in msb_mark_block_unused() argument 194 int zone = msb_get_zone_from_pba(pba); in msb_mark_block_unused() 196 if (!test_bit(pba, msb->used_blocks_bitmap)) { in msb_mark_block_unused() [all …]
|
/linux-4.1.27/drivers/usb/storage/ |
D | alauda.c | 126 #define PBA_LO(pba) ((pba & 0xF) << 5) argument 127 #define PBA_HI(pba) (pba >> 3) argument 128 #define PBA_ZONE(pba) (pba >> 11) argument 529 static int alauda_get_redu_data(struct us_data *us, u16 pba, unsigned char *data) in alauda_get_redu_data() argument 534 PBA_HI(pba), PBA_ZONE(pba), 0, PBA_LO(pba), 0, 0, MEDIA_PORT(us) in alauda_get_redu_data() 701 static int alauda_erase_block(struct us_data *us, u16 pba) in alauda_erase_block() argument 705 ALAUDA_BULK_CMD, ALAUDA_BULK_ERASE_BLOCK, PBA_HI(pba), in alauda_erase_block() 706 PBA_ZONE(pba), 0, PBA_LO(pba), 0x02, 0, MEDIA_PORT(us) in alauda_erase_block() 710 usb_stor_dbg(us, "Erasing PBA %d\n", pba); in alauda_erase_block() 730 static int alauda_read_block_raw(struct us_data *us, u16 pba, in alauda_read_block_raw() argument [all …]
|
D | sddr55.c | 205 unsigned int pba; in sddr55_read_data() local 230 pba = info->lba_to_pba[lba]; in sddr55_read_data() 239 pages, pba, lba, page); in sddr55_read_data() 241 if (pba == NOT_ALLOCATED) { in sddr55_read_data() 246 address = (pba << info->blockshift) + page; in sddr55_read_data() 324 unsigned int pba; in sddr55_write_data() local 357 pba = info->lba_to_pba[lba]; in sddr55_write_data() 370 pages, pba, lba, page); in sddr55_write_data() 374 if (pba == NOT_ALLOCATED) { in sddr55_write_data() 382 pba = (lba / 1000) * 1024; in sddr55_write_data() [all …]
|
D | sddr09.c | 746 unsigned int lba, maxlba, pba; in sddr09_read_data() local 792 pba = info->lba_to_pba[lba]; in sddr09_read_data() 794 if (pba == UNDEF) { /* this lba was never written */ in sddr09_read_data() 808 pages, pba, lba, page); in sddr09_read_data() 810 address = ((pba << info->blockshift) + page) << in sddr09_read_data() 865 unsigned int pba, lbap; in sddr09_write_lba() local 874 pba = info->lba_to_pba[lba]; in sddr09_write_lba() 877 if (pba == UNDEF) { in sddr09_write_lba() 878 pba = sddr09_find_unused_pba(info, lba); in sddr09_write_lba() 879 if (!pba) { in sddr09_write_lba() [all …]
|
/linux-4.1.27/net/sctp/ |
D | transport.c | 385 __u32 cwnd, ssthresh, flight_size, pba, pmtu; in sctp_transport_raise_cwnd() local 404 pba = transport->partial_bytes_acked; in sctp_transport_raise_cwnd() 433 flight_size, pba); in sctp_transport_raise_cwnd() 449 pba += bytes_acked; in sctp_transport_raise_cwnd() 450 if (pba >= cwnd) { in sctp_transport_raise_cwnd() 452 pba = ((cwnd < pba) ? (pba - cwnd) : 0); in sctp_transport_raise_cwnd() 459 flight_size, pba); in sctp_transport_raise_cwnd() 463 transport->partial_bytes_acked = pba; in sctp_transport_raise_cwnd()
|
/linux-4.1.27/drivers/scsi/fnic/ |
D | fnic_isr.c | 33 u32 pba; in fnic_isr_legacy() local 36 pba = vnic_intr_legacy_pba(fnic->legacy_pba); in fnic_isr_legacy() 37 if (!pba) in fnic_isr_legacy() 43 if (pba & (1 << FNIC_INTX_NOTIFY)) { in fnic_isr_legacy() 48 if (pba & (1 << FNIC_INTX_ERR)) { in fnic_isr_legacy() 53 if (pba & (1 << FNIC_INTX_WQ_RQ_COPYWQ)) { in fnic_isr_legacy()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | dma.h | 135 #define sbus_map_dma_area(dev,pba,va,a,len) \ argument 136 sparc32_dma_ops->map_dma_area(dev, pba, va, a, len)
|
/linux-4.1.27/arch/avr32/mach-at32ap/ |
D | at32ap700x.c | 724 DEV_CLK(pclk, pdc, pba, 16); 795 DEV_CLK(mck, pio0, pba, 10); 802 DEV_CLK(mck, pio1, pba, 11); 809 DEV_CLK(mck, pio2, pba, 12); 816 DEV_CLK(mck, pio3, pba, 13); 823 DEV_CLK(mck, pio4, pba, 14); 940 DEV_CLK(usart, atmel_usart0, pba, 3); 951 DEV_CLK(usart, atmel_usart1, pba, 4); 962 DEV_CLK(usart, atmel_usart2, pba, 5); 973 DEV_CLK(usart, atmel_usart3, pba, 6); [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/ |
D | igbvf.h | 271 u32 pba; member 284 u32 pba; member
|
D | netdev.c | 70 .pba = 10, 77 .pba = 10, 2676 adapter->pba = ei->pba; in igbvf_probe()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | pci_insn.h | 60 u64 pba; /* PCI base address */ member
|
/linux-4.1.27/arch/sparc/mm/ |
D | io-unit.c | 203 static int iounit_map_dma_area(struct device *dev, dma_addr_t *pba, unsigned long va, unsigned long… in iounit_map_dma_area() argument 210 *pba = addr; in iounit_map_dma_area()
|
D | iommu.c | 324 static int iommu_map_dma_area(struct device *dev, dma_addr_t *pba, unsigned long va, in iommu_map_dma_area() argument 387 *pba = iommu->start + (ioptex << PAGE_SHIFT); in iommu_map_dma_area()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 572 u32 pba = 0, tx_space, min_tx_space, min_rx_space; in e1000_reset() local 589 pba = E1000_PBA_48K; in e1000_reset() 596 pba = E1000_PBA_48K; in e1000_reset() 601 pba = E1000_PBA_30K; in e1000_reset() 610 pba -= 8; /* allocate more FIFO for Tx */ in e1000_reset() 614 adapter->tx_head_addr = pba << E1000_TX_HEAD_ADDR_SHIFT; in e1000_reset() 616 (E1000_PBA_40K - pba) << E1000_PBA_BYTES_SHIFT; in e1000_reset() 621 ew32(PBA, pba); in e1000_reset() 630 pba = er32(PBA); in e1000_reset() 632 tx_space = pba >> 16; in e1000_reset() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 229 static void igb_init_dmac(struct igb_adapter *adapter, u32 pba); 1876 u32 pba = 0, tx_space, min_tx_space, min_rx_space, hwm; in igb_reset() local 1885 pba = rd32(E1000_RXPBS); in igb_reset() 1886 pba = igb_rxpbs_adjust_82580(pba); in igb_reset() 1889 pba = rd32(E1000_RXPBS); in igb_reset() 1890 pba &= E1000_RXPBS_SIZE_MASK_82576; in igb_reset() 1896 pba = E1000_PBA_34K; in igb_reset() 1903 wr32(E1000_PBA, pba); in igb_reset() 1912 pba = rd32(E1000_PBA); in igb_reset() 1914 tx_space = pba >> 16; in igb_reset() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | 82571.c | 1976 .pba = 38, 1994 .pba = 38, 2012 .pba = 20, 2036 .pba = 32, 2057 .pba = 32,
|
D | e1000.h | 321 u32 pba; member 356 u32 pba; member
|
D | netdev.c | 3804 u32 pba = adapter->pba; in e1000e_reset() local 3808 ew32(PBA, pba); in e1000e_reset() 3818 pba = er32(PBA); in e1000e_reset() 3820 tx_space = pba >> 16; in e1000e_reset() 3822 pba &= 0xffff; in e1000e_reset() 3840 ((min_tx_space - tx_space) < pba)) { in e1000e_reset() 3841 pba -= min_tx_space - tx_space; in e1000e_reset() 3846 if (pba < min_rx_space) in e1000e_reset() 3847 pba = min_rx_space; in e1000e_reset() 3850 ew32(PBA, pba); in e1000e_reset() [all …]
|
D | ich8lan.c | 5683 .pba = 8, 5700 .pba = 18, 5717 .pba = 18, 5736 .pba = 26, 5756 .pba = 26, 5776 .pba = 26, 5796 .pba = 26,
|
D | 80003es2lan.c | 1412 .pba = 38,
|
/linux-4.1.27/arch/sparc/kernel/ |
D | ioport.c | 431 dma_addr_t *pba, gfp_t gfp, in pci32_alloc_coherent() argument 465 *pba = virt_to_phys(va); /* equals virt_to_bus (R.I.P.) for us. */ in pci32_alloc_coherent()
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
D | enic_main.c | 255 #define ENIC_TEST_INTR(pba, i) (pba & (1 << i)) argument 264 u32 pba; in enic_isr_legacy() local 268 pba = vnic_intr_legacy_pba(enic->legacy_pba); in enic_isr_legacy() 269 if (!pba) { in enic_isr_legacy() 274 if (ENIC_TEST_INTR(pba, notify_intr)) { in enic_isr_legacy() 279 if (ENIC_TEST_INTR(pba, err_intr)) { in enic_isr_legacy() 287 if (ENIC_TEST_INTR(pba, io_intr)) in enic_isr_legacy()
|
/linux-4.1.27/arch/s390/pci/ |
D | pci.c | 145 fib.pba = args->base; in mod_pci()
|