Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/remoteproc/
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()
/Linux-v5.10/drivers/devfreq/
Dtegra30-devfreq.c255 u32 intr_status, dev_ctrl; in actmon_isr_device() local
261 dev_ctrl = device_readl(dev, ACTMON_DEV_CTRL); in actmon_isr_device()
271 dev_ctrl |= ACTMON_DEV_CTRL_CONSECUTIVE_BELOW_WMARK_EN; in actmon_isr_device()
274 dev_ctrl &= ~ACTMON_DEV_CTRL_CONSECUTIVE_ABOVE_WMARK_EN; in actmon_isr_device()
285 dev_ctrl |= ACTMON_DEV_CTRL_CONSECUTIVE_ABOVE_WMARK_EN; in actmon_isr_device()
288 dev_ctrl &= ~ACTMON_DEV_CTRL_CONSECUTIVE_BELOW_WMARK_EN; in actmon_isr_device()
293 device_writel(dev, dev_ctrl, ACTMON_DEV_CTRL); in actmon_isr_device()
/Linux-v5.10/drivers/hid/
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()
/Linux-v5.10/drivers/misc/habanalabs/common/
Ddevice.c207 rc = cdev_device_add(&hdev->cdev_ctrl, hdev->dev_ctrl); in device_cdev_sysfs_add()
226 cdev_device_del(&hdev->cdev_ctrl, hdev->dev_ctrl); in device_cdev_sysfs_add()
238 cdev_device_del(&hdev->cdev_ctrl, hdev->dev_ctrl); in device_cdev_sysfs_del()
243 put_device(hdev->dev_ctrl); in device_cdev_sysfs_del()
1160 name, &hdev->cdev_ctrl, &hdev->dev_ctrl); in hl_device_init()
1374 put_device(hdev->dev_ctrl); in hl_device_init()
Dhabanalabs_ioctl.c472 return _hl_info_ioctl(hpriv, data, hpriv->hdev->dev_ctrl); in hl_info_ioctl_control()
547 dev_crit_ratelimited(hdev->dev_ctrl, in _hl_ioctl()
633 dev_err(hdev->dev_ctrl, "invalid ioctl: pid=%d, nr=0x%02x\n", in hl_ioctl_control()
638 return _hl_ioctl(filep, cmd, arg, ioctl, hdev->dev_ctrl); in hl_ioctl_control()
Dhabanalabs_drv.c203 dev_err_ratelimited(hdev->dev_ctrl, in hl_device_open_ctrl()
205 dev_name(hdev->dev_ctrl)); in hl_device_open_ctrl()
Dhabanalabs.h1604 struct device *dev_ctrl; member
/Linux-v5.10/drivers/net/wireless/marvell/libertas/
Dif_spi.c385 u32 dev_ctrl; in spu_get_chip_revision() local
386 err = spu_read_u32(card, IF_SPI_DEVICEID_CTRL_REG, &dev_ctrl); in spu_get_chip_revision()
389 *card_id = IF_SPI_DEVICEID_CTRL_REG_TO_CARD_ID(dev_ctrl); in spu_get_chip_revision()
390 *card_rev = IF_SPI_DEVICEID_CTRL_REG_TO_CARD_REV(dev_ctrl); in spu_get_chip_revision()