Home
last modified time | relevance | path

Searched refs:dev_cmd_regs (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_main.c406 iowrite32(0, &idev->dev_cmd_regs->doorbell); in ionic_dev_cmd_clean()
407 memset_io(&idev->dev_cmd_regs->cmd, 0, sizeof(idev->dev_cmd_regs->cmd)); in ionic_dev_cmd_clean()
439 opcode = readb(&idev->dev_cmd_regs->cmd.cmd.opcode); in __ionic_dev_cmd_wait()
477 iowrite32(0, &idev->dev_cmd_regs->done); in __ionic_dev_cmd_wait()
479 iowrite32(1, &idev->dev_cmd_regs->doorbell); in __ionic_dev_cmd_wait()
533 sz = min(sizeof(ident->drv), sizeof(idev->dev_cmd_regs->data)); in ionic_identify()
534 memcpy_toio(&idev->dev_cmd_regs->data, &ident->drv, sz); in ionic_identify()
539 sz = min(sizeof(ident->dev), sizeof(idev->dev_cmd_regs->data)); in ionic_identify()
540 memcpy_fromio(&ident->dev, &idev->dev_cmd_regs->data, sz); in ionic_identify()
615 sz = min(sizeof(ident->port), sizeof(idev->dev_cmd_regs->data)); in ionic_port_identify()
[all …]
Dionic_dev.c110 idev->dev_cmd_regs = bar->vaddr + IONIC_BAR0_DEV_CMD_REGS_OFFSET; in ionic_dev_setup()
281 return ioread8(&idev->dev_cmd_regs->comp.comp.status); in ionic_dev_cmd_status()
286 return ioread32(&idev->dev_cmd_regs->done) & IONIC_DEV_CMD_DONE; in ionic_dev_cmd_done()
291 memcpy_fromio(comp, &idev->dev_cmd_regs->comp, sizeof(*comp)); in ionic_dev_cmd_comp()
296 memcpy_toio(&idev->dev_cmd_regs->cmd, cmd, sizeof(*cmd)); in ionic_dev_cmd_go()
297 iowrite32(0, &idev->dev_cmd_regs->done); in ionic_dev_cmd_go()
298 iowrite32(1, &idev->dev_cmd_regs->doorbell); in ionic_dev_cmd_go()
473 memcpy_fromio(comp, &ionic->idev.dev_cmd_regs->comp.vf_getattr, in ionic_dev_cmd_vf_getattr()
Dionic_fw.c112 buf_sz = sizeof(idev->dev_cmd_regs->data); in ionic_firmware_update()
129 memcpy_toio(&idev->dev_cmd_regs->data, fw->data + offset, copy_sz); in ionic_firmware_update()
Dionic_dev.h138 union ionic_dev_cmd_regs __iomem *dev_cmd_regs; member
Dionic_ethtool.c104 memcpy_fromio(p + offset, lif->ionic->idev.dev_cmd_regs->words, size); in ionic_get_regs()
Dionic_lif.c3477 q_ident = (union ionic_q_identity __iomem *)&idev->dev_cmd_regs->data; in ionic_lif_queue_identify()
3549 sz = min(sizeof(*lid), sizeof(idev->dev_cmd_regs->data)); in ionic_lif_identify()
3554 memcpy_fromio(lid, &idev->dev_cmd_regs->data, sz); in ionic_lif_identify()