Lines Matching refs:pdev

597 	struct rte_pci_device *pdev = bp->pdev;  in bnxt_init_fc_ctx_mem()  local
604 sprintf(type, "bnxt_rx_fc_in_" 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_rx_fc_out_" 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_in_" 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()
631 sprintf(type, "bnxt_tx_fc_out_" PCI_PRI_FMT, pdev->addr.domain, in bnxt_init_fc_ctx_mem()
632 pdev->addr.bus, pdev->addr.devid, pdev->addr.function); in bnxt_init_fc_ctx_mem()
665 uint16_t subsystem_device_id = bp->pdev->id.subsystem_device_id; in bnxt_force_link_config()
955 struct rte_pci_device *pdev = RTE_DEV_TO_PCI(eth_dev->device); in bnxt_dev_info_get_op() local
971 dev_info->max_vfs = pdev->max_vfs; in bnxt_dev_info_get_op()
3753 bp->pdev->addr.domain, bp->pdev->addr.bus, in bnxt_get_eeprom_length_op()
3754 bp->pdev->addr.devid, bp->pdev->addr.function); in bnxt_get_eeprom_length_op()
3777 bp->pdev->addr.domain, bp->pdev->addr.bus, in bnxt_get_eeprom_op()
3778 bp->pdev->addr.devid, bp->pdev->addr.function, in bnxt_get_eeprom_op()
3853 bp->pdev->addr.domain, bp->pdev->addr.bus, in bnxt_set_eeprom_op()
3854 bp->pdev->addr.devid, bp->pdev->addr.function, in bnxt_set_eeprom_op()
4166 ret = rte_pci_write_config(bp->pdev, &val, sizeof(val), offset); in bnxt_write_fw_reset_reg()
4204 rc = rte_pci_read_config(bp->pdev, &val, sizeof(val), PCI_SUBSYSTEM_ID_OFFSET); in bnxt_check_fw_reset_done()
4436 rc = rte_pci_read_config(bp->pdev, &val, sizeof(val), PCI_SUBSYSTEM_ID_OFFSET); in bnxt_dev_reset_and_resume()
4465 ret = rte_pci_read_config(bp->pdev, &val, sizeof(val), offset); in bnxt_read_fw_status_reg()
4664 uint16_t device_id = bp->pdev->id.device_id; in bnxt_stratus_device()
4691 bp->pdev = pci_dev; in bnxt_map_pci_bars()
4938 struct rte_pci_device *pci_dev = bp->pdev; in bnxt_alloc_stats_mem()
5317 if (bp->pdev->max_vfs) { in bnxt_init_resources()
5318 rc = bnxt_hwrm_allocate_vfs(bp, bp->pdev->max_vfs); in bnxt_init_resources()