Searched refs:device (Results 26 - 50 of 13734) sorted by relevance

1234567891011>>

/linux-master/drivers/infiniband/core/
H A Dcgroup.c10 * @device: device to register to participate in resource
14 * exposing rdma device to user space applications to avoid
17 void ib_device_register_rdmacg(struct ib_device *device) argument
19 device->cg_device.name = device->name;
20 rdmacg_register_device(&device->cg_device);
25 * @device: device to unregister.
30 * for this device t
32 ib_device_unregister_rdmacg(struct ib_device *device) argument
37 ib_rdmacg_try_charge(struct ib_rdmacg_object *cg_obj, struct ib_device *device, enum rdmacg_resource_type resource_index) argument
46 ib_rdmacg_uncharge(struct ib_rdmacg_object *cg_obj, struct ib_device *device, enum rdmacg_resource_type resource_index) argument
[all...]
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_ethdr.h9 void mtk_ethdr_start(struct device *dev);
10 void mtk_ethdr_stop(struct device *dev);
11 int mtk_ethdr_clk_enable(struct device *dev);
12 void mtk_ethdr_clk_disable(struct device *dev);
13 void mtk_ethdr_config(struct device *dev, unsigned int w,
16 void mtk_ethdr_layer_config(struct device *dev, unsigned int idx,
19 void mtk_ethdr_register_vblank_cb(struct device *dev,
22 void mtk_ethdr_unregister_vblank_cb(struct device *dev);
23 void mtk_ethdr_enable_vblank(struct device *dev);
24 void mtk_ethdr_disable_vblank(struct device *de
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgk104.c34 magic_(struct nvkm_device *device, u32 ctrl, int size) argument
36 nvkm_wr32(device, 0x00c800, 0x00000000);
37 nvkm_wr32(device, 0x00c808, 0x00000000);
38 nvkm_wr32(device, 0x00c800, ctrl);
39 nvkm_msec(device, 2000,
40 if (nvkm_rd32(device, 0x00c800) & 0x40000000) {
42 nvkm_wr32(device, 0x00c804, 0x00000000);
46 nvkm_wr32(device, 0x00c800, 0x00000000);
50 magic(struct nvkm_device *device, u32 ctrl) argument
52 magic_(device,
59 struct nvkm_device *device = pmu->subdev.device; local
130 gk104_pmu_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pmu **ppmu) argument
[all...]
/linux-master/include/sound/
H A Domap-hdmi-audio.h21 int (*audio_startup)(struct device *dev,
22 void (*abort_cb)(struct device *dev));
23 int (*audio_shutdown)(struct device *dev);
24 int (*audio_start)(struct device *dev);
25 void (*audio_stop)(struct device *dev);
26 int (*audio_config)(struct device *dev,
32 struct device *dev;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dg84.c32 struct nvkm_device *device = init->subdev.device; local
33 u32 r001540 = nvkm_rd32(device, 0x001540);
34 u32 r00154c = nvkm_rd32(device, 0x00154c);
37 nvkm_subdev_disable(device, NVKM_ENGINE_MPEG, 0);
38 nvkm_subdev_disable(device, NVKM_ENGINE_VP, 0);
39 nvkm_subdev_disable(device, NVKM_ENGINE_BSP, 0);
40 nvkm_subdev_disable(device, NVKM_ENGINE_CIPHER, 0);
44 nvkm_subdev_disable(device, NVKM_ENGINE_DISP, 0);
46 nvkm_subdev_disable(device, NVKM_ENGINE_BS
61 g84_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_devinit **pinit) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/privring/
H A Dgp10b.c29 struct nvkm_device *device = privring->device; local
31 nvkm_wr32(device, 0x1200a8, 0x0);
34 nvkm_wr32(device, 0x12004c, 0x4);
35 nvkm_wr32(device, 0x122204, 0x2);
36 nvkm_rd32(device, 0x122204);
39 nvkm_wr32(device, 0x009080, 0x800186a0);
51 gp10b_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, argument
54 return nvkm_subdev_new_(&gp10b_privring, device, type, inst, pprivring);
H A Dgk20a.c28 struct nvkm_device *device = privring->device; local
29 nvkm_mask(device, 0x137250, 0x3f, 0);
31 nvkm_mask(device, 0x000200, 0x20, 0);
33 nvkm_mask(device, 0x000200, 0x20, 0x20);
35 nvkm_wr32(device, 0x12004c, 0x4);
36 nvkm_wr32(device, 0x122204, 0x2);
37 nvkm_rd32(device, 0x122204);
43 nvkm_wr32(device, 0x122354, 0x800);
44 nvkm_wr32(device,
51 struct nvkm_device *device = privring->device; local
81 gk20a_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_subdev **pprivring) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dacpi.c26 #include <core/device.h>
33 struct nvkm_device *device = container_of(nb, typeof(*device), acpi.nb); local
37 nvkm_clk_pwrsrc(device);
44 nvkm_acpi_fini(struct nvkm_device *device) argument
47 unregister_acpi_notifier(&device->acpi.nb);
52 nvkm_acpi_init(struct nvkm_device *device) argument
55 device->acpi.nb.notifier_call = nvkm_acpi_ntfy;
56 register_acpi_notifier(&device->acpi.nb);
/linux-master/include/linux/platform_data/
H A Dmmc-mxcmmc.h8 struct device;
20 int (*get_ro)(struct device *);
26 int (*init)(struct device *dev, irq_handler_t handler, void *data);
27 void (*exit)(struct device *dev, void *data);
35 void (*setpower)(struct device *, unsigned int vdd);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dnv04.c31 struct nvkm_device *device = fb->subdev.device; local
37 nvkm_wr32(device, NV04_PFB_CFG0, 0x1114);
47 nv04_fb_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) argument
49 return nvkm_fb_new_(&nv04_fb, device, type, inst, pfb);
/linux-master/include/linux/mfd/
H A Dabx500.h16 struct device;
31 int abx500_set_register_interruptible(struct device *dev, u8 bank, u8 reg,
33 int abx500_get_register_interruptible(struct device *dev, u8 bank, u8 reg,
35 int abx500_get_register_page_interruptible(struct device *dev, u8 bank,
37 int abx500_set_register_page_interruptible(struct device *dev, u8 bank,
43 * @dev: The AB sub device.
51 int abx500_mask_and_set_register_interruptible(struct device *dev, u8 bank,
53 int abx500_get_chip_id(struct device *dev);
54 int abx500_event_registers_startup_state_get(struct device *dev, u8 *event);
55 int abx500_startup_irq_enabled(struct device *de
[all...]
/linux-master/drivers/cpuidle/
H A Dcpuidle-psci.h6 struct device;
16 static inline struct device *psci_dt_attach_cpu(int cpu)
21 static inline void psci_dt_detach_cpu(struct device *dev)
27 static inline struct device *psci_dt_attach_cpu(int cpu) { return NULL; }
28 static inline void psci_dt_detach_cpu(struct device *dev) { }
/linux-master/drivers/input/misc/
H A Dadxl34x.h13 struct device;
18 int (*read)(struct device *, unsigned char);
19 int (*read_block)(struct device *, unsigned char, int, void *);
20 int (*write)(struct device *, unsigned char, unsigned char);
23 struct adxl34x *adxl34x_probe(struct device *dev, int irq,
/linux-master/include/linux/
H A Dpwm_backlight.h18 int (*init)(struct device *dev);
19 int (*notify)(struct device *dev, int brightness);
20 void (*notify_after)(struct device *dev, int brightness);
21 void (*exit)(struct device *dev);
22 int (*check_fb)(struct device *dev, struct fb_info *info);
H A Dof_iommu.h5 struct device;
11 extern int of_iommu_configure(struct device *dev, struct device_node *master_np,
14 extern void of_iommu_get_resv_regions(struct device *dev,
19 static inline int of_iommu_configure(struct device *dev,
26 static inline void of_iommu_get_resv_regions(struct device *dev,
H A Dpm_clock.h3 * pm_clock.h - Definitions and headers related to device clocks.
11 #include <linux/device.h>
23 extern int pm_clk_runtime_suspend(struct device *dev);
24 extern int pm_clk_runtime_resume(struct device *dev);
33 static inline bool pm_clk_no_clocks(struct device *dev)
39 extern void pm_clk_init(struct device *dev);
40 extern int pm_clk_create(struct device *dev);
41 extern void pm_clk_destroy(struct device *dev);
42 extern int pm_clk_add(struct device *dev, const char *con_id);
43 extern int pm_clk_add_clk(struct device *de
[all...]
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_bus.c3 * vchiq_device.c - VCHIQ generic device and bus-type
8 #include <linux/device/bus.h>
16 static int vchiq_bus_type_match(struct device *dev, struct device_driver *drv)
25 static int vchiq_bus_uevent(const struct device *dev, struct kobj_uevent_env *env)
27 const struct vchiq_device *device = container_of_const(dev, struct vchiq_device, dev); local
29 return add_uevent_var(env, "MODALIAS=vchiq:%s", dev_name(&device->dev));
32 static int vchiq_bus_probe(struct device *dev)
34 struct vchiq_device *device = to_vchiq_device(dev); local
37 return driver->probe(device);
47 static void vchiq_device_release(struct device *de
49 struct vchiq_device *device = to_vchiq_device(dev); local
57 struct vchiq_device *device; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dnv50.c33 struct nvkm_device *device = bus->subdev.device; local
36 nvkm_mask(device, 0x001098, 0x00000008, 0x00000000);
37 nvkm_wr32(device, 0x001304, 0x00000000);
39 nvkm_wr32(device, 0x001400 + (i * 4), data[i]);
40 nvkm_mask(device, 0x001098, 0x00000018, 0x00000018);
41 nvkm_wr32(device, 0x00130c, 0x00000003);
43 if (nvkm_msec(device, 2000,
44 if (!(nvkm_rd32(device, 0x001308) & 0x00000100))
56 struct nvkm_device *device local
88 struct nvkm_device *device = bus->subdev.device; local
102 nv50_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
[all...]
H A Dnv31.c34 struct nvkm_device *device = subdev->device; local
35 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140);
36 u32 gpio = nvkm_rd32(device, 0x001104) & nvkm_rd32(device, 0x001144);
39 struct nvkm_gpio *gpio = device->gpio;
45 u32 addr = nvkm_rd32(device, 0x009084);
46 u32 data = nvkm_rd32(device, 0x009088);
53 nvkm_wr32(device,
73 struct nvkm_device *device = bus->subdev.device; local
85 nv31_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
[all...]
H A Dg94.c32 struct nvkm_device *device = bus->subdev.device; local
35 nvkm_mask(device, 0x001098, 0x00000008, 0x00000000);
36 nvkm_wr32(device, 0x001304, 0x00000000);
37 nvkm_wr32(device, 0x001318, 0x00000000);
39 nvkm_wr32(device, 0x080000 + (i * 4), data[i]);
40 nvkm_mask(device, 0x001098, 0x00000018, 0x00000018);
41 nvkm_wr32(device, 0x00130c, 0x00000001);
43 if (nvkm_msec(device, 2000,
44 if (!(nvkm_rd32(device,
61 g94_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Ddevice.c25 #include <nvif/device.h>
28 nvif_device_time(struct nvif_device *device) argument
30 if (!device->user.func) {
32 int ret = nvif_object_mthd(&device->object, NV_DEVICE_V0_TIME,
38 return device->user.func->time(&device->user);
42 nvif_device_dtor(struct nvif_device *device) argument
44 nvif_user_dtor(device);
45 kfree(device->runlist);
46 device
51 nvif_device_ctor(struct nvif_object *parent, const char *name, u32 handle, s32 oclass, void *data, u32 size, struct nvif_device *device) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dga100.c29 struct nvkm_device *device = mc->subdev.device; local
31 nvkm_mask(device, 0x000600, mask, 0x00000000);
32 nvkm_rd32(device, 0x000600);
33 nvkm_rd32(device, 0x000600);
39 struct nvkm_device *device = mc->subdev.device; local
41 nvkm_mask(device, 0x000600, mask, mask);
42 nvkm_rd32(device, 0x000600);
43 nvkm_rd32(device,
62 struct nvkm_device *device = mc->subdev.device; local
75 ga100_mc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dadau1781.h15 struct device;
17 int adau1781_probe(struct device *dev, struct regmap *regmap,
18 enum adau17x1_type type, void (*switch_mode)(struct device *dev));
H A Dadau1761.h15 struct device;
17 int adau1761_probe(struct device *dev, struct regmap *regmap,
18 enum adau17x1_type type, void (*switch_mode)(struct device *dev));
H A Dadau1372.h14 struct device;
16 int adau1372_probe(struct device *dev, struct regmap *regmap,
17 void (*switch_mode)(struct device *dev));

Completed in 225 milliseconds

1234567891011>>