Searched refs:device (Results 226 - 250 of 13734) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgp102.c37 struct nvkm_device *device = subdev->device; local
42 nvkm_wr32(device, 0x611494 + (ctrl * 0x0010), chan->push);
43 nvkm_wr32(device, 0x611498 + (ctrl * 0x0010), 0x00010000);
44 nvkm_wr32(device, 0x61149c + (ctrl * 0x0010), 0x00000001);
45 nvkm_mask(device, 0x610490 + (ctrl * 0x0010), 0x00000010, 0x00000010);
46 nvkm_wr32(device, 0x640000 + (ctrl * 0x1000), chan->suspend_put);
47 nvkm_wr32(device, 0x610490 + (ctrl * 0x0010), 0x00000013);
50 if (nvkm_msec(device, 2000,
51 if (!(nvkm_rd32(device,
106 struct nvkm_device *device = subdev->device; local
151 struct nvkm_device *device = subdev->device; local
196 gp102_disp_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_disp **pdisp) argument
[all...]
/linux-master/include/linux/
H A Dpm_domain.h3 * pm_domain.h - Definitions and headers related to device power domains.
11 #include <linux/device.h>
23 * Flags to control the behaviour when attaching a device to its PM domains.
25 * PD_FLAG_NO_DEV_LINK: As the default behaviour creates a device-link
31 * device-links.
44 struct device **pd_devs;
119 bool (*suspend_ok)(struct device *dev);
123 int (*start)(struct device *dev);
124 int (*stop)(struct device *dev);
151 struct device de
[all...]
H A Dreboot-mode.h6 struct device *dev;
14 int devm_reboot_mode_register(struct device *dev,
16 void devm_reboot_mode_unregister(struct device *dev,
H A Ddca.h22 struct device *cd;
33 int (*add_requester) (struct dca_provider *, struct device *);
34 int (*remove_requester) (struct dca_provider *, struct device *);
35 u8 (*get_tag) (struct dca_provider *, struct device *,
37 int (*dev_managed) (struct dca_provider *, struct device *);
43 int register_dca_provider(struct dca_provider *dca, struct device *dev);
44 void unregister_dca_provider(struct dca_provider *dca, struct device *dev);
53 int dca_add_requester(struct device *dev);
54 int dca_remove_requester(struct device *dev);
56 u8 dca3_get_tag(struct device *de
[all...]
H A Dmsi_api.h6 * APIs which are relevant for device driver code for allocating and
11 struct device;
14 * Per device interrupt domain related constants.
59 unsigned int msi_domain_get_virq(struct device *dev, unsigned int domid, unsigned int index);
68 static inline unsigned int msi_get_virq(struct device *dev, unsigned int index)
/linux-master/drivers/vfio/
H A Dvfio.h10 #include <linux/device.h>
20 struct vfio_device *device; member in struct:vfio_device_file
30 void vfio_device_put_registration(struct vfio_device *device);
31 bool vfio_device_try_get_registration(struct vfio_device *device);
35 vfio_allocate_device_file(struct vfio_device *device);
47 * Physical device with IOMMU backing.
52 * Virtual device without IOMMU backing. The VFIO core fakes up an
60 * Physical device without IOMMU backing. The VFIO core fakes up an
62 * userspace ABI. Users can trigger unmediated DMA by the device,
71 struct device de
124 vfio_device_block_group(struct vfio_device *device) argument
129 vfio_device_unblock_group(struct vfio_device *device) argument
133 vfio_device_set_group(struct vfio_device *device, enum vfio_group_type type) argument
139 vfio_device_remove_group(struct vfio_device *device) argument
143 vfio_device_group_register(struct vfio_device *device) argument
147 vfio_device_group_unregister(struct vfio_device *device) argument
151 vfio_device_group_use_iommu(struct vfio_device *device) argument
156 vfio_device_group_unuse_iommu(struct vfio_device *device) argument
178 vfio_device_has_container(struct vfio_device *device) argument
284 vfio_device_container_register(struct vfio_device *device) argument
288 vfio_device_container_unregister(struct vfio_device *device) argument
292 vfio_device_container_pin_pages(struct vfio_device *device, dma_addr_t iova, int npage, int prot, struct page **pages) argument
299 vfio_device_container_unpin_pages(struct vfio_device *device, dma_addr_t iova, int npage) argument
304 vfio_device_container_dma_rw(struct vfio_device *device, dma_addr_t iova, void *data, size_t len, bool write) argument
345 vfio_iommufd_compat_attach_ioas(struct vfio_device *device, struct iommufd_ctx *ictx) argument
360 vfio_device_add(struct vfio_device *device) argument
369 vfio_device_del(struct vfio_device *device) argument
384 vfio_init_device_cdev(struct vfio_device *device) argument
388 vfio_device_add(struct vfio_device *device) argument
393 vfio_device_del(struct vfio_device *device) argument
441 vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm) argument
446 vfio_device_put_kvm(struct vfio_device *device) argument
[all...]
/linux-master/drivers/infiniband/core/
H A Dagent.h43 extern int ib_agent_port_open(struct ib_device *device, int port_num);
45 extern int ib_agent_port_close(struct ib_device *device, int port_num);
48 const struct ib_wc *wc, const struct ib_device *device,
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv4e.c29 struct nvkm_device *device = fb->subdev.device; local
30 u32 size = nvkm_rd32(device, 0x10020c) & 0xff000000;
H A Dnv44.c42 struct nvkm_device *device = fb->subdev.device; local
43 nvkm_wr32(device, 0x100604 + (i * 0x10), tile->limit);
44 nvkm_wr32(device, 0x100608 + (i * 0x10), tile->pitch);
45 nvkm_wr32(device, 0x100600 + (i * 0x10), tile->addr);
46 nvkm_rd32(device, 0x100600 + (i * 0x10));
52 struct nvkm_device *device = fb->subdev.device; local
53 nvkm_wr32(device, 0x100850, 0x80000000);
54 nvkm_wr32(device,
68 nv44_fb_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) argument
[all...]
H A Dgm200.c32 struct nvkm_device *device = fb->subdev.device; local
34 case 16: nvkm_mask(device, 0x100c80, 0x00001801, 0x00001001); break;
35 case 17: nvkm_mask(device, 0x100c80, 0x00001801, 0x00000000); break;
36 case 0: nvkm_mask(device, 0x100c80, 0x00001800, 0x00001800); break;
47 struct nvkm_device *device = fb->base.subdev.device; local
49 nvkm_wr32(device, 0x100cc8, nvkm_memory_addr(fb->base.mmu_wr) >> 8);
50 nvkm_wr32(device, 0x100ccc, nvkm_memory_addr(fb->base.mmu_rd) >> 8);
51 nvkm_mask(device,
68 gm200_fb_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) argument
[all...]
/linux-master/include/linux/usb/
H A Disp1362.h34 void (*reset) (struct device *dev, int set);
36 void (*clock) (struct device *dev, int start);
44 void (*delay) (struct device *dev, unsigned int delay);
H A Drzv2m_usb3drd.h10 struct device *dev;
15 void rzv2m_usb3drd_reset(struct device *dev, bool host);
17 static inline void rzv2m_usb3drd_reset(struct device *dev, bool host) { }
/linux-master/include/linux/platform_data/
H A Dusb-ohci-pxa27x.h5 struct device;
8 int (*init)(struct device *);
9 void (*exit)(struct device *);
H A Dserial-omap.h17 #include <linux/device.h>
23 * Use tty device name as ttyO, [O -> OMAP]
38 int (*get_context_loss_count)(struct device *);
39 void (*enable_wakeup)(struct device *, bool);
/linux-master/sound/soc/codecs/
H A Dadau1977.h14 struct device;
22 int adau1977_probe(struct device *dev, struct regmap *regmap,
23 enum adau1977_type type, void (*switch_mode)(struct device *dev));
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/bsp/
H A Dg84.c39 g84_bsp_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
42 return nvkm_xtensa_new_(&g84_bsp, device, type, inst,
43 device->chipset != 0x92, 0x103000, pengine);
/linux-master/drivers/iio/accel/
H A Dbmi088-accel.h9 struct device;
21 int bmi088_accel_core_probe(struct device *dev, struct regmap *regmap, int irq,
23 void bmi088_accel_core_remove(struct device *dev);
/linux-master/drivers/gpu/drm/gma500/
H A Dpower.h35 struct device;
44 int gma_power_suspend(struct device *dev);
45 int gma_power_resume(struct device *dev);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dgk20a.c32 .device = &nv04_mc_device,
37 gk20a_mc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) argument
39 return nvkm_mc_new_(&gk20a_mc, device, type, inst, pmc);
/linux-master/drivers/gpio/
H A Dgpio-i8255.h6 struct device;
14 * @parent: parent device
24 struct device *parent;
31 int devm_i8255_regmap_register(struct device *dev,
H A Dgpio-idio-16.h6 struct device;
12 * @parent: parent device
13 * @map: regmap for the IDIO-16 device
16 * @irq: IRQ number for the IDIO-16 device
17 * @no_status: device has no status register
18 * @filters: device has input filters
21 struct device *parent;
30 int devm_idio_16_regmap_register(struct device *dev, const struct idio_16_regmap_config *config);
/linux-master/include/linux/clk/
H A Ddavinci.h11 #include <linux/device.h>
17 int da830_pll_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
20 int da850_pll0_init(struct device *dev, void __iomem *base, struct regmap *cfgchip);
/linux-master/include/linux/mdio/
H A Dmdio-mscc-miim.h11 #include <linux/device.h>
15 int mscc_miim_setup(struct device *device, struct mii_bus **bus,
H A Dmdio-regmap.h12 struct device;
16 struct device *parent;
23 struct mii_bus *devm_mdio_regmap_register(struct device *dev,
/linux-master/include/linux/rpmsg/
H A Dqcom_smd.h6 #include <linux/device.h>
12 struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent,
19 qcom_smd_register_edge(struct device *parent,

Completed in 203 milliseconds

1234567891011>>