Home
last modified time | relevance | path

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

/drivers/net/ethernet/pensando/ionic/
Dionic_main.c441 iowrite32(0, &idev->dev_cmd_regs->doorbell); in ionic_dev_cmd_clean()
442 memset_io(&idev->dev_cmd_regs->cmd, 0, sizeof(idev->dev_cmd_regs->cmd)); in ionic_dev_cmd_clean()
512 iowrite32(0, &idev->dev_cmd_regs->done); in __ionic_dev_cmd_wait()
514 iowrite32(1, &idev->dev_cmd_regs->doorbell); in __ionic_dev_cmd_wait()
568 sz = min(sizeof(ident->drv), sizeof(idev->dev_cmd_regs->data)); in ionic_identify()
569 memcpy_toio(&idev->dev_cmd_regs->data, &ident->drv, sz); in ionic_identify()
574 sz = min(sizeof(ident->dev), sizeof(idev->dev_cmd_regs->data)); in ionic_identify()
575 memcpy_fromio(&ident->dev, &idev->dev_cmd_regs->data, sz); in ionic_identify()
650 sz = min(sizeof(ident->port), sizeof(idev->dev_cmd_regs->data)); in ionic_port_identify()
651 memcpy_fromio(&ident->port, &idev->dev_cmd_regs->data, sz); 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()
297 memcpy_toio(&idev->dev_cmd_regs->cmd, cmd, sizeof(*cmd)); in ionic_dev_cmd_go()
298 iowrite32(0, &idev->dev_cmd_regs->done); in ionic_dev_cmd_go()
299 iowrite32(1, &idev->dev_cmd_regs->doorbell); in ionic_dev_cmd_go()
474 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.h144 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.c3523 q_ident = (union ionic_q_identity __iomem *)&idev->dev_cmd_regs->data; in ionic_lif_queue_identify()
3595 sz = min(sizeof(*lid), sizeof(idev->dev_cmd_regs->data)); in ionic_lif_identify()
3600 memcpy_fromio(lid, &idev->dev_cmd_regs->data, sz); in ionic_lif_identify()