Searched refs:device (Results 101 - 125 of 13734) sorted by relevance

1234567891011>>

/linux-master/include/linux/ulpi/
H A Dinterface.h8 struct device;
16 int (*read)(struct device *dev, u8 addr);
17 int (*write)(struct device *dev, u8 addr, u8 val);
20 struct ulpi *ulpi_register_interface(struct device *, const struct ulpi_ops *);
/linux-master/include/linux/
H A Djz4780-nemc.h14 struct device;
23 * enum jz4780_nemc_bank_type - device types which can be connected to a bank
32 extern unsigned int jz4780_nemc_num_banks(struct device *dev);
34 extern void jz4780_nemc_set_type(struct device *dev, unsigned int bank,
36 extern void jz4780_nemc_assert(struct device *dev, unsigned int bank,
H A Dstmp3xxx_rtc_wdt.h11 void (*wdt_set_timeout)(struct device *dev, u32 timeout);
H A Domap-iommu.h16 extern void omap_iommu_save_ctx(struct device *dev);
17 extern void omap_iommu_restore_ctx(struct device *dev);
22 static inline void omap_iommu_save_ctx(struct device *dev) {}
23 static inline void omap_iommu_restore_ctx(struct device *dev) {}
H A Dhost1x_context_bus.h9 #include <linux/device.h>
/linux-master/drivers/staging/greybus/
H A Dspilib.h14 struct device;
18 int (*prepare_transfer_hardware)(struct device *dev);
19 void (*unprepare_transfer_hardware)(struct device *dev);
23 struct device *dev, struct spilib_ops *ops);
/linux-master/include/linux/mfd/
H A Dsc27xx-pmic.h5 extern enum usb_charger_type sprd_pmic_detect_charger_type(struct device *dev);
/linux-master/drivers/gpu/drm/nouveau/include/nvif/
H A Dfifo.h3 #include <nvif/device.h>
10 nvif_fifo_runlist_ce(struct nvif_device *device) argument
12 u64 runmgr = nvif_fifo_runlist(device, NV_DEVICE_HOST_RUNLIST_ENGINES_GR);
13 u64 runmce = nvif_fifo_runlist(device, NV_DEVICE_HOST_RUNLIST_ENGINES_CE);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dnv44.c34 struct nvkm_device *device = mmu->subdev.device; local
42 addr = nvkm_rd32(device, 0x10020c);
45 nvkm_wr32(device, 0x100850, 0x80000000);
46 nvkm_wr32(device, 0x100818, mmu->vmm->null);
47 nvkm_wr32(device, 0x100804, (nvkm_memory_size(pt) / 4) * 4096);
48 nvkm_wr32(device, 0x100850, 0x00008000);
49 nvkm_mask(device, 0x10008c, 0x00000200, 0x00000200);
50 nvkm_wr32(device, 0x100820, 0x00000000);
51 nvkm_wr32(device,
65 nv44_mmu_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mmu **pmmu) argument
[all...]
/linux-master/sound/pci/ctxfi/
H A Dctpcm.h8 * This file contains the definition of the pcm device functions.
20 enum CTALSADEVS device,
/linux-master/sound/usb/usx2y/
H A DusX2Yhwdep.h5 int usx2y_hwdep_new(struct snd_card *card, struct usb_device *device);
/linux-master/sound/drivers/pcsp/
H A Dpcsp_input.h11 int pcspkr_input_init(struct input_dev **rdev, struct device *dev);
/linux-master/drivers/rpmsg/
H A Drpmsg_char.h11 * rpmsg_chrdev_eptdev_create() - register char device based on an endpoint
13 * @parent: parent device
16 * This function create a new rpmsg char endpoint device to instantiate a new
19 int rpmsg_chrdev_eptdev_create(struct rpmsg_device *rpdev, struct device *parent,
23 * rpmsg_chrdev_eptdev_destroy() - destroy created char device endpoint.
24 * @data: private data associated to the endpoint device
26 * This function destroys a rpmsg char endpoint device created by the RPMSG_DESTROY_EPT_IOCTL
29 int rpmsg_chrdev_eptdev_destroy(struct device *dev, void *data);
33 static inline int rpmsg_chrdev_eptdev_create(struct rpmsg_device *rpdev, struct device *parent,
39 static inline int rpmsg_chrdev_eptdev_destroy(struct device *de
[all...]
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_hw.h25 int cedrus_hw_suspend(struct device *device);
26 int cedrus_hw_resume(struct device *device);
/linux-master/drivers/iio/pressure/
H A Dmpl115.h15 int (*init)(struct device *);
16 int (*read)(struct device *, u8);
17 int (*write)(struct device *, u8, u8);
20 int mpl115_probe(struct device *dev, const char *name,
/linux-master/include/drm/
H A Di915_gsc_proxy_mei_interface.h11 struct device;
25 * @dev: device struct corresponding to the mei device
30 int (*send)(struct device *dev, const void *buf, size_t size);
34 * @dev: device struct corresponding to the mei device
39 int (*recv)(struct device *dev, void *buf, size_t size);
45 * @mei_dev: device that provide the GSC proxy service.
49 struct device *mei_dev;
/linux-master/sound/pci/hda/
H A Dcirrus_scodec.h10 int cirrus_scodec_get_speaker_id(struct device *dev, int amp_index,
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dgf100.c33 struct nvkm_device *device = subdev->device; local
34 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140);
37 u32 addr = nvkm_rd32(device, 0x009084);
38 u32 data = nvkm_rd32(device, 0x009088);
48 nvkm_wr32(device, 0x009084, 0x00000000);
49 nvkm_wr32(device, 0x001100, (stat & 0x0000000e));
55 nvkm_mask(device, 0x001140, stat, 0x00000000);
62 struct nvkm_device *device local
74 gf100_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
[all...]
/linux-master/include/kunit/
H A Ddevice.h3 * KUnit basic device implementation
18 struct device;
34 * kunit_device_register() - Create a struct device for use in KUnit tests
36 * @name: The name to give the created device.
38 * Creates a struct kunit_device (which is a struct device) with the given name,
39 * and a corresponding driver. The device and driver will be cleaned up on test
44 * Return: a pointer to a struct device which will be cleaned up when the test
45 * exits, or an error pointer if the device could not be allocated or registered.
47 struct device *kunit_device_register(struct kunit *test, const char *name);
50 * kunit_device_register_with_driver() - Create a struct device fo
[all...]
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_connected.h9 void vchiq_add_connected_callback(struct vchiq_device *device, void (*callback)(void));
/linux-master/drivers/mfd/
H A Dcs42l43.h15 struct device;
23 bool cs42l43_readable_register(struct device *dev, unsigned int reg);
24 bool cs42l43_precious_register(struct device *dev, unsigned int reg);
25 bool cs42l43_volatile_register(struct device *dev, unsigned int reg);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/privring/
H A Dgf117.c29 struct nvkm_device *device = privring->device; local
30 nvkm_mask(device, 0x122310, 0x0003ffff, 0x00000800);
31 nvkm_mask(device, 0x122348, 0x0003ffff, 0x00000100);
32 nvkm_mask(device, 0x1223b0, 0x0003ffff, 0x00000fff);
43 gf117_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
46 return nvkm_subdev_new_(&gf117_privring, device, type, inst, pprivring);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
H A Dnv50.c40 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 128 * 4,
64 struct nvkm_device *device = subdev->device; local
65 u32 stat = nvkm_rd32(device, 0x00b100);
66 u32 type = nvkm_rd32(device, 0x00b230);
67 u32 mthd = nvkm_rd32(device, 0x00b234);
68 u32 data = nvkm_rd32(device, 0x00b238);
74 nvkm_wr32(device, 0x00b308, 0x00000100);
84 nvkm_wr32(device, 0x00b100, stat);
85 nvkm_wr32(device,
92 struct nvkm_device *device = subdev->device; local
132 nv50_mpeg_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_engine **pmpeg) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dgp10b.c29 struct nvkm_device *device = mc->subdev.device; local
30 nvkm_wr32(device, 0x000200, 0xffffffff); /* everything on */
31 nvkm_wr32(device, 0x00020c, 0xffffffff); /* everything out of ELPG */
40 .device = &nv04_mc_device,
45 gp10b_mc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) argument
47 return nvkm_mc_new_(&gp10b_mc, device, type, inst, pmc);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dgm107.c29 struct nvkm_device *device = bar->subdev.device; local
30 nvkm_msec(device, 2000,
31 if (!(nvkm_rd32(device, 0x001710) & 0x00000003))
39 struct nvkm_device *device = bar->subdev.device; local
40 nvkm_msec(device, 2000,
41 if (!(nvkm_rd32(device, 0x001710) & 0x0000000c))
62 gm107_bar_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
65 return gf100_bar_new_(&gm107_bar_func, device, typ
[all...]

Completed in 196 milliseconds

1234567891011>>