Home
last modified time | relevance | path

Searched refs:dev_ctrl (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/remoteproc/
H A Dkeystone_remoteproc.c60 struct regmap *dev_ctrl; member
86 ret = regmap_write(ksproc->dev_ctrl, ksproc->boot_offset, boot_addr); in keystone_rproc_dsp_boot()
345 ksproc->dev_ctrl = in keystone_rproc_of_get_dev_syscon()
347 if (IS_ERR(ksproc->dev_ctrl)) { in keystone_rproc_of_get_dev_syscon()
348 ret = PTR_ERR(ksproc->dev_ctrl); in keystone_rproc_of_get_dev_syscon()
/openbmc/linux/drivers/devfreq/
H A Dtegra30-devfreq.c280 u32 intr_status, dev_ctrl; in actmon_isr_device() local
286 dev_ctrl = device_readl(dev, ACTMON_DEV_CTRL); in actmon_isr_device()
296 dev_ctrl |= ACTMON_DEV_CTRL_CONSECUTIVE_BELOW_WMARK_EN; in actmon_isr_device()
299 dev_ctrl &= ~ACTMON_DEV_CTRL_CONSECUTIVE_ABOVE_WMARK_EN; in actmon_isr_device()
310 dev_ctrl |= ACTMON_DEV_CTRL_CONSECUTIVE_ABOVE_WMARK_EN; in actmon_isr_device()
313 dev_ctrl &= ~ACTMON_DEV_CTRL_CONSECUTIVE_BELOW_WMARK_EN; in actmon_isr_device()
318 device_writel(dev, dev_ctrl, ACTMON_DEV_CTRL); in actmon_isr_device()
/openbmc/linux/drivers/hid/
H A Dhid-alps.c500 u8 tmp, dev_ctrl, sen_line_num_x, sen_line_num_y; in u1_init() local
505 &dev_ctrl, 0, true); in u1_init()
511 dev_ctrl &= ~U1_DISABLE_DEV; in u1_init()
512 dev_ctrl |= U1_TP_ABS_MODE; in u1_init()
514 NULL, dev_ctrl, false); in u1_init()
588 dev_ctrl |= U1_SP_ABS_MODE; in u1_init()
590 NULL, dev_ctrl, false); in u1_init()
/openbmc/u-boot/drivers/usb/gadget/
H A Dfotg210.c108 writel(DEVCTRL_EN, &regs->dev_ctrl); in fotg210_reset()
132 setbits_le32(&regs->dev_ctrl, DEVCTRL_RESET); in fotg210_reset()
134 if (readl(&regs->dev_ctrl) & DEVCTRL_RESET) { in fotg210_reset()
184 setbits_le32(&regs->dev_ctrl, DEVCTRL_GIRQ_EN); in fotg210_reset()
333 if (readl(&regs->dev_ctrl) & DEVCTRL_HS) { in fotg210_setup()
717 setbits_le32(&regs->dev_ctrl, DEVCTRL_EN); in pullup()
729 clrbits_le32(&regs->dev_ctrl, DEVCTRL_EN); in pullup()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dif_spi.c382 u32 dev_ctrl; in spu_get_chip_revision() local
383 err = spu_read_u32(card, IF_SPI_DEVICEID_CTRL_REG, &dev_ctrl); in spu_get_chip_revision()
386 *card_id = IF_SPI_DEVICEID_CTRL_REG_TO_CARD_ID(dev_ctrl); in spu_get_chip_revision()
387 *card_rev = IF_SPI_DEVICEID_CTRL_REG_TO_CARD_REV(dev_ctrl); in spu_get_chip_revision()
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_drv.c284 dev_dbg_ratelimited(hdev->dev_ctrl, in hl_device_open_ctrl()
286 dev_name(hdev->dev_ctrl)); in hl_device_open_ctrl()
H A Ddevice.c688 rc = cdev_device_add(&hdev->cdev_ctrl, hdev->dev_ctrl); in cdev_sysfs_debugfs_add()
709 cdev_device_del(&hdev->cdev_ctrl, hdev->dev_ctrl); in cdev_sysfs_debugfs_add()
722 cdev_device_del(&hdev->cdev_ctrl, hdev->dev_ctrl); in cdev_sysfs_debugfs_remove()
727 put_device(hdev->dev_ctrl); in cdev_sysfs_debugfs_remove()
2036 name, &hdev->cdev_ctrl, &hdev->dev_ctrl); in create_cdev()
2328 put_device(hdev->dev_ctrl); in hl_device_init()
H A Dhabanalabs_ioctl.c1080 return _hl_info_ioctl(hpriv, data, hpriv->hdev->dev_ctrl); in hl_info_ioctl_control()
1245 dev_dbg_ratelimited(hdev->dev_ctrl, "invalid ioctl: pid=%d, nr=0x%02x\n", in hl_ioctl_control()
1250 return _hl_ioctl(filep, cmd, arg, ioctl, hdev->dev_ctrl); in hl_ioctl_control()
H A Dhabanalabs.h3317 struct device *dev_ctrl; member
/openbmc/u-boot/include/usb/
H A Dfotg210.h32 uint32_t dev_ctrl;/* 0x100: Device Control Register */ member