Lines Matching refs:dev_cmd_regs
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()
705 memcpy_fromio(&ident->port, &idev->dev_cmd_regs->data, sz); in ionic_port_identify()
730 sz = min(sizeof(ident->port.config), sizeof(idev->dev_cmd_regs->data)); in ionic_port_init()
734 memcpy_toio(&idev->dev_cmd_regs->data, &ident->port.config, sz); in ionic_port_init()