Searched refs:pba (Results 1 – 11 of 11) sorted by relevance
| /freebsd/sys/dev/e1000/ |
| H A D | e1000_nvm.c | 991 struct e1000_pba *pba) in e1000_read_pba_raw() argument 996 if (pba == NULL) in e1000_read_pba_raw() 1001 &pba->word[0]); in e1000_read_pba_raw() 1006 pba->word[0] = eeprom_buf[NVM_PBA_OFFSET_0]; in e1000_read_pba_raw() 1007 pba->word[1] = eeprom_buf[NVM_PBA_OFFSET_1]; in e1000_read_pba_raw() 1013 if (pba->word[0] == NVM_PBA_PTR_GUARD) { in e1000_read_pba_raw() 1014 if (pba->pba_block == NULL) in e1000_read_pba_raw() 1027 ret_val = e1000_read_nvm(hw, pba->word[1], in e1000_read_pba_raw() 1029 pba->pba_block); in e1000_read_pba_raw() 1033 if (eeprom_buf_size > (u32)(pba->word[1] + in e1000_read_pba_raw() [all …]
|
| H A D | e1000_nvm.h | 75 struct e1000_pba *pba); 77 u32 eeprom_buf_size, struct e1000_pba *pba);
|
| H A D | if_em.c | 2254 sc->shared->isc_max_frame_size * 2 > (sc->pba << 10)) { in em_newitr() 4697 igb_init_dmac(struct e1000_softc *sc, u32 pba) in igb_init_dmac() argument 4733 hwm = 64 * pba - max_frame_size / 16; in igb_init_dmac() 4734 if (hwm < 64 * (pba - 6)) in igb_init_dmac() 4735 hwm = 64 * (pba - 6); in igb_init_dmac() 4743 dmac = pba - max_frame_size / 512; in igb_init_dmac() 4744 if (dmac < pba - 10) in igb_init_dmac() 4745 dmac = pba - 10; in igb_init_dmac() 4947 u32 pba; in em_reset() local 4977 pba = E1000_PBA_22K; /* 22K for Rx, 18K for Tx */ in em_reset() [all …]
|
| H A D | if_em.h | 629 u32 pba; member
|
| H A D | if_igbv.c | 758 sc->pba = 0; in igbv_reset()
|
| /freebsd/sys/dev/ixgbe/ |
| H A D | ixgbe_common.c | 799 struct ixgbe_pba *pba) in ixgbe_read_pba_raw() argument 804 if (pba == NULL) in ixgbe_read_pba_raw() 809 &pba->word[0]); in ixgbe_read_pba_raw() 814 pba->word[0] = eeprom_buf[IXGBE_PBANUM0_PTR]; in ixgbe_read_pba_raw() 815 pba->word[1] = eeprom_buf[IXGBE_PBANUM1_PTR]; in ixgbe_read_pba_raw() 821 if (pba->word[0] == IXGBE_PBANUM_PTR_GUARD) { in ixgbe_read_pba_raw() 822 if (pba->pba_block == NULL) in ixgbe_read_pba_raw() 835 ret_val = hw->eeprom.ops.read_buffer(hw, pba->word[1], in ixgbe_read_pba_raw() 837 pba->pba_block); in ixgbe_read_pba_raw() 841 if (eeprom_buf_size > (u32)(pba->word[1] + in ixgbe_read_pba_raw() [all …]
|
| H A D | ixgbe_common.h | 63 struct ixgbe_pba *pba); 65 u32 eeprom_buf_size, struct ixgbe_pba *pba);
|
| /freebsd/sys/dev/igc/ |
| H A D | if_igc.c | 1095 } else if (sc->shared->isc_max_frame_size * 2 > (sc->pba << 10)) { in igc_neweitr() 2058 igc_init_dmac(struct igc_softc *sc, u32 pba) in igc_init_dmac() argument 2078 hwm = 64 * pba - max_frame_size / 16; in igc_init_dmac() 2079 if (hwm < 64 * (pba - 6)) in igc_init_dmac() 2080 hwm = 64 * (pba - 6); in igc_init_dmac() 2087 dmac = pba - max_frame_size / 512; in igc_init_dmac() 2088 if (dmac < pba - 10) in igc_init_dmac() 2089 dmac = pba - 10; in igc_init_dmac() 2155 u32 pba; in igc_reset() local 2168 pba = IGC_PBA_34K; in igc_reset() [all …]
|
| H A D | if_igc.h | 398 u32 pba; member
|
| /freebsd/sys/dev/mgb/ |
| H A D | if_mgb.c | 424 sc->pba = bus_alloc_resource_any(sc->dev, SYS_RES_MEMORY, in mgb_attach_pre() 426 if (sc->pba == NULL) { in mgb_attach_pre() 487 if (sc->pba != NULL) in mgb_detach() 489 rman_get_rid(sc->pba), sc->pba); in mgb_detach() 490 sc->pba = NULL; in mgb_detach()
|
| H A D | if_mgb.h | 305 struct resource *pba; member
|