Lines Matching defs:pba
1668 if (sc->shared->isc_max_frame_size * 2 > (sc->pba << 10)) {
2832 igb_init_dmac(struct e1000_softc *sc, u32 pba)
2855 hwm = 64 * pba - max_frame_size / 16;
2856 if (hwm < 64 * (pba - 6))
2857 hwm = 64 * (pba - 6);
2865 dmac = pba - max_frame_size / 512;
2866 if (dmac < pba - 10)
2867 dmac = pba - 10;
3057 u32 pba;
3084 pba = E1000_PBA_22K; /* 22K for Rx, 18K for Tx */
3086 pba = E1000_PBA_30K; /* 30K for Rx, 10K for Tx */
3092 pba = E1000_PBA_32K; /* 32K for Rx, 16K for Tx */
3096 pba = E1000_PBA_12K; /* 12K for Rx, 20K for Tx */
3100 pba = E1000_PBA_20K; /* 20K for Rx, 20K for Tx */
3103 pba = E1000_PBA_8K;
3109 pba = E1000_PBA_14K;
3111 pba = E1000_PBA_10K;
3122 pba = E1000_PBA_26K;
3125 pba = E1000_PBA_32K;
3129 pba = E1000_READ_REG(hw, E1000_RXPBS);
3130 pba &= E1000_RXPBS_SIZE_MASK_82576;
3136 pba = E1000_READ_REG(hw, E1000_RXPBS);
3137 pba = e1000_rxpbs_adjust_82580(pba);
3141 pba = E1000_PBA_34K;
3146 pba = E1000_PBA_40K; /* 40K for Rx, 24K for Tx */
3148 pba = E1000_PBA_48K; /* 48K for Rx, 16K for Tx */
3154 pba = E1000_READ_REG(hw, E1000_PBA);
3155 tx_space = pba >> 16;
3156 pba &= 0xffff;
3165 ((min_tx - tx_space) < pba)) {
3166 pba = pba - (min_tx - tx_space);
3171 if (pba < min_rx)
3172 pba = min_rx;
3174 E1000_WRITE_REG(hw, E1000_PBA, pba);
3178 E1000_WRITE_REG(hw, E1000_PBA, pba);
3180 INIT_DEBUGOUT1("em_reset: pba=%dK",pba);
3197 rx_buffer_size = (pba & 0xffff) << 10;
3299 igb_init_dmac(sc, pba);
3302 sc->pba = pba;