/include/linux/ |
D | attribute_container.h | 14 struct device; 22 int (*match)(struct attribute_container *, struct device *); 41 void attribute_container_create_device(struct device *dev, 43 struct device *, 44 struct device *)); 45 void attribute_container_add_device(struct device *dev, 47 struct device *, 48 struct device *)); 49 void attribute_container_remove_device(struct device *dev, 51 struct device *, [all …]
|
D | pm_runtime.h | 67 extern int pm_generic_runtime_suspend(struct device *dev); 68 extern int pm_generic_runtime_resume(struct device *dev); 69 extern int pm_runtime_force_suspend(struct device *dev); 70 extern int pm_runtime_force_resume(struct device *dev); 72 extern int __pm_runtime_idle(struct device *dev, int rpmflags); 73 extern int __pm_runtime_suspend(struct device *dev, int rpmflags); 74 extern int __pm_runtime_resume(struct device *dev, int rpmflags); 75 extern int pm_runtime_get_if_active(struct device *dev, bool ign_usage_count); 76 extern int pm_schedule_suspend(struct device *dev, unsigned int delay); 77 extern int __pm_runtime_set_status(struct device *dev, unsigned int status); [all …]
|
D | component.h | 8 struct device; 23 int (*bind)(struct device *comp, struct device *master, 32 void (*unbind)(struct device *comp, struct device *master, 36 int component_add(struct device *, const struct component_ops *); 37 int component_add_typed(struct device *dev, const struct component_ops *ops, 39 void component_del(struct device *, const struct component_ops *); 41 int component_bind_all(struct device *parent, void *data); 42 void component_unbind_all(struct device *parent, void *data); 74 int (*bind)(struct device *master); 82 void (*unbind)(struct device *master); [all …]
|
D | pm_clock.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) in pm_clk_no_clocks() 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 *dev, struct clk *clk); 44 extern int of_pm_clk_add_clk(struct device *dev, const char *name); 45 extern int of_pm_clk_add_clks(struct device *dev); [all …]
|
D | pm_opp.h | 21 struct device; 60 typedef int (*config_regulators_t)(struct device *dev, 64 typedef int (*config_clks_t)(struct device *dev, struct opp_table *opp_table, 92 struct device ***virt_devs; 109 struct opp_table *dev_pm_opp_get_opp_table(struct device *dev); 127 int dev_pm_opp_get_opp_count(struct device *dev); 128 unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev); 129 unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev); 130 unsigned long dev_pm_opp_get_max_transition_latency(struct device *dev); 131 unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev); [all …]
|
D | firmware.h | 79 struct device; 97 struct device *device); 99 struct device *device); 101 struct device *device); 104 const char *name, struct device *device, gfp_t gfp, void *context, 107 struct device *device); 109 const char *name, struct device *device, void *buf, size_t size); 111 const char *name, struct device *device, 118 struct device *device) in request_firmware() argument 125 struct device *device) in firmware_request_nowarn() argument [all …]
|
D | device.h | 37 struct device; 69 int (*add_dev)(struct device *dev, struct subsys_interface *sif); 70 void (*remove_dev)(struct device *dev, struct subsys_interface *sif); 93 int (*uevent)(const struct device *dev, struct kobj_uevent_env *env); 94 char *(*devnode)(const struct device *dev, umode_t *mode, 96 void (*release)(struct device *dev); 109 ssize_t (*show)(struct device *dev, struct device_attribute *attr, 111 ssize_t (*store)(struct device *dev, struct device_attribute *attr, 125 ssize_t device_show_ulong(struct device *dev, struct device_attribute *attr, 127 ssize_t device_store_ulong(struct device *dev, struct device_attribute *attr, [all …]
|
D | pm_domain.h | 44 struct device **pd_devs; 119 bool (*suspend_ok)(struct device *dev); 123 int (*start)(struct device *dev); 124 int (*stop)(struct device *dev); 152 struct device dev; 182 struct device *dev); 184 struct device *dev); 231 struct device *dev; 252 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data() 257 int pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev); [all …]
|
D | mii_timestamper.h | 62 struct device *device; member 77 struct mii_timestamper *(*probe_channel)(struct device *device, 79 void (*release_channel)(struct device *device, 85 int register_mii_tstamp_controller(struct device *device, 88 void unregister_mii_tstamp_controller(struct device *device); 98 int register_mii_tstamp_controller(struct device *device, in register_mii_tstamp_controller() argument 104 static inline void unregister_mii_tstamp_controller(struct device *device) in unregister_mii_tstamp_controller() argument
|
D | of_device.h | 10 struct device; 16 const struct of_device_id *matches, const struct device *dev); 23 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device() 29 extern ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len); 31 extern void of_device_uevent(const struct device *dev, struct kobj_uevent_env *env); 32 extern int of_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env); 34 int of_dma_configure_id(struct device *dev, 37 static inline int of_dma_configure(struct device *dev, in of_dma_configure() 45 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device() 51 static inline void of_device_uevent(const struct device *dev, in of_device_uevent() [all …]
|
D | pm_wakeup.h | 61 struct device *dev; 77 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup() 82 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() 87 static inline bool device_wakeup_path(struct device *dev) in device_wakeup_path() 92 static inline void device_set_wakeup_path(struct device *dev) in device_set_wakeup_path() 102 extern struct wakeup_source *wakeup_source_register(struct device *dev, 109 extern int device_wakeup_enable(struct device *dev); 110 extern int device_wakeup_disable(struct device *dev); 111 extern void device_set_wakeup_capable(struct device *dev, bool capable); 112 extern int device_set_wakeup_enable(struct device *dev, bool enable); [all …]
|
D | dma-mapping.h | 80 void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr); 81 void debug_dma_map_single(struct device *dev, const void *addr, 84 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error() 88 static inline void debug_dma_map_single(struct device *dev, const void *addr, in debug_dma_map_single() 95 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error() 104 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, 107 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, 109 unsigned int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, 111 void dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, 114 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, [all …]
|
D | dma-map-ops.h | 27 void *(*alloc)(struct device *dev, size_t size, 30 void (*free)(struct device *dev, size_t size, void *vaddr, 32 struct page *(*alloc_pages)(struct device *dev, size_t size, 35 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr, 37 struct sg_table *(*alloc_noncontiguous)(struct device *dev, size_t size, 40 void (*free_noncontiguous)(struct device *dev, size_t size, 42 int (*mmap)(struct device *, struct vm_area_struct *, 45 int (*get_sgtable)(struct device *dev, struct sg_table *sgt, 49 dma_addr_t (*map_page)(struct device *dev, struct page *page, 52 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle, [all …]
|
D | of_platform.h | 13 struct device; 55 struct device *parent); 72 struct device *parent); 78 struct device *parent); 80 extern int of_platform_device_destroy(struct device *dev, void *data); 85 struct device *parent); 88 struct device *parent); 89 extern void of_platform_depopulate(struct device *parent); 91 extern int devm_of_platform_populate(struct device *dev); 93 extern void devm_of_platform_depopulate(struct device *dev); [all …]
|
D | acpi_dma.h | 29 struct device *dev; 43 struct device *dev; 59 int acpi_dma_controller_register(struct device *dev, 63 int acpi_dma_controller_free(struct device *dev); 64 int devm_acpi_dma_controller_register(struct device *dev, 68 void devm_acpi_dma_controller_free(struct device *dev); 70 struct dma_chan *acpi_dma_request_slave_chan_by_index(struct device *dev, 72 struct dma_chan *acpi_dma_request_slave_chan_by_name(struct device *dev, 79 static inline int acpi_dma_controller_register(struct device *dev, in acpi_dma_controller_register() 86 static inline int acpi_dma_controller_free(struct device *dev) in acpi_dma_controller_free() [all …]
|
D | pm_wakeirq.h | 9 extern int dev_pm_set_wake_irq(struct device *dev, int irq); 10 extern int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq); 11 extern int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq); 12 extern void dev_pm_clear_wake_irq(struct device *dev); 16 static inline int dev_pm_set_wake_irq(struct device *dev, int irq) in dev_pm_set_wake_irq() 21 static inline int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq) in dev_pm_set_dedicated_wake_irq() 26 static inline int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq) in dev_pm_set_dedicated_wake_irq_reverse() 31 static inline void dev_pm_clear_wake_irq(struct device *dev) in dev_pm_clear_wake_irq()
|
D | iommu.h | 37 struct device; 50 struct device *, unsigned long, int, void *); 171 void (*free)(struct device *dev, struct iommu_resv_region *region); 267 bool (*capable)(struct device *dev, enum iommu_cap); 268 void *(*hw_info)(struct device *dev, u32 *length, u32 *type); 273 struct iommu_device *(*probe_device)(struct device *dev); 274 void (*release_device)(struct device *dev); 275 void (*probe_finalize)(struct device *dev); 276 void (*set_platform_dma_ops)(struct device *dev); 277 struct iommu_group *(*device_group)(struct device *dev); [all …]
|
D | pm_qos.h | 115 struct device *dev; 167 enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev, s32 mask); 168 enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev, s32 mask); 169 s32 __dev_pm_qos_resume_latency(struct device *dev); 170 s32 dev_pm_qos_read_value(struct device *dev, enum dev_pm_qos_req_type type); 171 int dev_pm_qos_add_request(struct device *dev, struct dev_pm_qos_request *req, 175 int dev_pm_qos_add_notifier(struct device *dev, 178 int dev_pm_qos_remove_notifier(struct device *dev, 181 void dev_pm_qos_constraints_init(struct device *dev); 182 void dev_pm_qos_constraints_destroy(struct device *dev); [all …]
|
D | raid_class.h | 15 int (*is_raid)(struct device *); 16 void (*get_resync)(struct device *); 17 void (*get_state)(struct device *); 56 raid_set_##attr(struct raid_template *r, struct device *dev, type value) { \ 57 struct device *device = \ 60 BUG_ON(!device); \ 61 rd = dev_get_drvdata(device); \ 65 raid_get_##attr(struct raid_template *r, struct device *dev) { \ 66 struct device *device = \ 69 BUG_ON(!device); \ [all …]
|
/include/linux/mfd/ |
D | abx500.h | 16 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, 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 *dev, unsigned int irq); 58 int (*get_chip_id) (struct device *); [all …]
|
/include/linux/device/ |
D | bus.h | 88 int (*match)(struct device *dev, struct device_driver *drv); 89 int (*uevent)(const struct device *dev, struct kobj_uevent_env *env); 90 int (*probe)(struct device *dev); 91 void (*sync_state)(struct device *dev); 92 void (*remove)(struct device *dev); 93 void (*shutdown)(struct device *dev); 95 int (*online)(struct device *dev); 96 int (*offline)(struct device *dev); 98 int (*suspend)(struct device *dev, pm_message_t state); 99 int (*resume)(struct device *dev); [all …]
|
D | class.h | 23 struct device; 59 int (*dev_uevent)(const struct device *dev, struct kobj_uevent_env *env); 60 char *(*devnode)(const struct device *dev, umode_t *mode); 63 void (*dev_release)(struct device *dev); 65 int (*shutdown_pre)(struct device *dev); 68 const void *(*namespace)(const struct device *dev); 70 void (*get_ownership)(const struct device *dev, kuid_t *uid, kgid_t *gid); 93 int class_compat_create_link(struct class_compat *cls, struct device *dev, 94 struct device *device_link); 95 void class_compat_remove_link(struct class_compat *cls, struct device *dev, [all …]
|
/include/linux/platform_data/ |
D | mmc-omap.h | 14 struct device *dev; 25 int (*init)(struct device *dev); 26 void (*cleanup)(struct device *dev); 27 void (*shutdown)(struct device *dev); 30 int (*get_context_loss_count)(struct device *dev); 84 int (*set_bus_mode)(struct device *dev, int slot, int bus_mode); 85 int (*set_power)(struct device *dev, int slot, 87 int (*get_ro)(struct device *dev, int slot); 88 void (*remux)(struct device *dev, int slot, int power_on); 90 void (*before_set_reg)(struct device *dev, int slot, [all …]
|
/include/drm/ |
D | drm_audio_component.h | 11 struct device; 29 unsigned long (*get_power)(struct device *); 35 void (*put_power)(struct device *, unsigned long); 39 void (*codec_wake_override)(struct device *, bool enable); 43 int (*get_cdclk_freq)(struct device *); 50 int (*sync_audio_rate)(struct device *, int port, int pipe, int rate); 63 int (*get_eld)(struct device *, int port, int pipe, bool *enabled, 97 int (*master_bind)(struct device *dev, struct drm_audio_component *); 104 void (*master_unbind)(struct device *dev, struct drm_audio_component *); 114 struct device *dev;
|
/include/linux/pinctrl/ |
D | consumer.h | 19 struct device; 35 extern struct pinctrl * __must_check pinctrl_get(struct device *dev); 41 extern struct pinctrl * __must_check devm_pinctrl_get(struct device *dev); 43 extern int pinctrl_select_default_state(struct device *dev); 46 extern int pinctrl_pm_select_default_state(struct device *dev); 47 extern int pinctrl_pm_select_sleep_state(struct device *dev); 48 extern int pinctrl_pm_select_idle_state(struct device *dev); 50 static inline int pinctrl_pm_select_default_state(struct device *dev) in pinctrl_pm_select_default_state() 54 static inline int pinctrl_pm_select_sleep_state(struct device *dev) in pinctrl_pm_select_sleep_state() 58 static inline int pinctrl_pm_select_idle_state(struct device *dev) in pinctrl_pm_select_idle_state() [all …]
|