Searched refs:dev_cmd_regs (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/ |
D | ionic_main.c | 492 if (!idev->dev_cmd_regs) in ionic_dev_cmd_clean() 495 iowrite32(0, &idev->dev_cmd_regs->doorbell); in ionic_dev_cmd_clean() 496 memset_io(&idev->dev_cmd_regs->cmd, 0, sizeof(idev->dev_cmd_regs->cmd)); in ionic_dev_cmd_clean() 566 iowrite32(0, &idev->dev_cmd_regs->done); in __ionic_dev_cmd_wait() 568 iowrite32(1, &idev->dev_cmd_regs->doorbell); in __ionic_dev_cmd_wait() 622 sz = min(sizeof(ident->drv), sizeof(idev->dev_cmd_regs->data)); in ionic_identify() 623 memcpy_toio(&idev->dev_cmd_regs->data, &ident->drv, sz); in ionic_identify() 628 sz = min(sizeof(ident->dev), sizeof(idev->dev_cmd_regs->data)); in ionic_identify() 629 memcpy_fromio(&ident->dev, &idev->dev_cmd_regs->data, sz); in ionic_identify() 704 sz = min(sizeof(ident->port), sizeof(idev->dev_cmd_regs->data)); in ionic_port_identify() [all …]
|
D | ionic_dev.c | 225 idev->dev_cmd_regs = bar->vaddr + IONIC_BAR0_DEV_CMD_REGS_OFFSET; in ionic_dev_setup() 439 if (!idev->dev_cmd_regs) in ionic_dev_cmd_status() 441 return ioread8(&idev->dev_cmd_regs->comp.comp.status); in ionic_dev_cmd_status() 446 if (!idev->dev_cmd_regs) in ionic_dev_cmd_done() 448 return ioread32(&idev->dev_cmd_regs->done) & IONIC_DEV_CMD_DONE; in ionic_dev_cmd_done() 453 if (!idev->dev_cmd_regs) in ionic_dev_cmd_comp() 455 memcpy_fromio(comp, &idev->dev_cmd_regs->comp, sizeof(*comp)); in ionic_dev_cmd_comp() 462 if (!idev->dev_cmd_regs) in ionic_dev_cmd_go() 465 memcpy_toio(&idev->dev_cmd_regs->cmd, cmd, sizeof(*cmd)); in ionic_dev_cmd_go() 466 iowrite32(0, &idev->dev_cmd_regs->done); in ionic_dev_cmd_go() [all …]
|
D | ionic_fw.c | 112 if (!idev->dev_cmd_regs) { in ionic_firmware_update() 117 buf_sz = sizeof(idev->dev_cmd_regs->data); in ionic_firmware_update() 134 memcpy_toio(&idev->dev_cmd_regs->data, fw->data + offset, copy_sz); in ionic_firmware_update()
|
D | ionic_dev.h | 151 union ionic_dev_cmd_regs __iomem *dev_cmd_regs; member
|
D | ionic_bus_pci.c | 221 ionic->idev.dev_cmd_regs = NULL; in ionic_clear_pci()
|
D | ionic_ethtool.c | 111 memcpy_fromio(p + offset, idev->dev_cmd_regs->words, size); in ionic_get_regs()
|
D | ionic_lif.c | 3910 q_ident = (union ionic_q_identity __iomem *)&idev->dev_cmd_regs->data; in ionic_lif_queue_identify() 3993 sz = min(sizeof(*lid), sizeof(idev->dev_cmd_regs->data)); in ionic_lif_identify() 3998 memcpy_fromio(lid, &idev->dev_cmd_regs->data, sz); in ionic_lif_identify()
|