Lines Matching refs:pdev

588 	struct rte_pci_device *pdev = bp->pdev;  in bnxt_init_fc_ctx_mem()  local
595 sprintf(type, "bnxt_rx_fc_in_" PCI_PRI_FMT, pdev->addr.domain, in bnxt_init_fc_ctx_mem()
596 pdev->addr.bus, pdev->addr.devid, pdev->addr.function); in bnxt_init_fc_ctx_mem()
604 sprintf(type, "bnxt_rx_fc_out_" PCI_PRI_FMT, pdev->addr.domain, in bnxt_init_fc_ctx_mem()
605 pdev->addr.bus, pdev->addr.devid, pdev->addr.function); in bnxt_init_fc_ctx_mem()
613 sprintf(type, "bnxt_tx_fc_in_" PCI_PRI_FMT, pdev->addr.domain, in bnxt_init_fc_ctx_mem()
614 pdev->addr.bus, pdev->addr.devid, pdev->addr.function); in bnxt_init_fc_ctx_mem()
622 sprintf(type, "bnxt_tx_fc_out_" PCI_PRI_FMT, pdev->addr.domain, in bnxt_init_fc_ctx_mem()
623 pdev->addr.bus, pdev->addr.devid, pdev->addr.function); in bnxt_init_fc_ctx_mem()
894 struct rte_pci_device *pdev = RTE_DEV_TO_PCI(eth_dev->device); in bnxt_dev_info_get_op() local
910 dev_info->max_vfs = pdev->max_vfs; in bnxt_dev_info_get_op()
3372 bp->pdev->addr.domain, bp->pdev->addr.bus, in bnxt_get_eeprom_length_op()
3373 bp->pdev->addr.devid, bp->pdev->addr.function); in bnxt_get_eeprom_length_op()
3396 bp->pdev->addr.domain, bp->pdev->addr.bus, in bnxt_get_eeprom_op()
3397 bp->pdev->addr.devid, bp->pdev->addr.function, in bnxt_get_eeprom_op()
3472 bp->pdev->addr.domain, bp->pdev->addr.bus, in bnxt_set_eeprom_op()
3473 bp->pdev->addr.devid, bp->pdev->addr.function, in bnxt_set_eeprom_op()
3639 rte_pci_write_config(bp->pdev, &val, sizeof(val), offset); in bnxt_write_fw_reset_reg()
3831 rte_pci_read_config(bp->pdev, &val, sizeof(val), offset); in bnxt_read_fw_status_reg()
4022 uint16_t device_id = bp->pdev->id.device_id; in bnxt_stratus_device()
4049 bp->pdev = pci_dev; in bnxt_init_board()
4277 struct rte_pci_device *pci_dev = bp->pdev; in bnxt_alloc_stats_mem()
4766 if (bp->pdev->max_vfs) { in bnxt_init_resources()
4767 rc = bnxt_hwrm_allocate_vfs(bp, bp->pdev->max_vfs); in bnxt_init_resources()