Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 582) sorted by relevance

12345678910>>...24

/include/linux/
Dpm_runtime.h67 static inline void pm_suspend_ignore_children(struct device *dev, bool enable) in pm_suspend_ignore_children()
72 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume()
77 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle()
82 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended()
88 static inline bool pm_runtime_active(struct device *dev) in pm_runtime_active()
94 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended()
99 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled()
104 static inline bool pm_runtime_callbacks_present(struct device *dev) in pm_runtime_callbacks_present()
109 static inline void pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy()
114 static inline bool pm_runtime_is_irq_safe(struct device *dev) in pm_runtime_is_irq_safe()
[all …]
Dkdev_t.h10 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) argument
11 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) argument
14 #define print_dev_t(buffer, dev) \ argument
17 #define format_dev_t(buffer, dev) \ argument
24 static __always_inline bool old_valid_dev(dev_t dev) in old_valid_dev()
29 static __always_inline u16 old_encode_dev(dev_t dev) in old_encode_dev()
39 static __always_inline u32 new_encode_dev(dev_t dev) in new_encode_dev()
46 static __always_inline dev_t new_decode_dev(u32 dev) in new_decode_dev()
53 static __always_inline u64 huge_encode_dev(dev_t dev) in huge_encode_dev()
58 static __always_inline dev_t huge_decode_dev(u64 dev) in huge_decode_dev()
[all …]
Dof_device.h23 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device()
44 static inline void of_device_node_put(struct device *dev) in of_device_node_put()
63 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device()
69 static inline void of_device_uevent(struct device *dev, in of_device_uevent()
72 static inline const void *of_device_get_match_data(const struct device *dev) in of_device_get_match_data()
77 static inline int of_device_modalias(struct device *dev, in of_device_modalias()
83 static inline int of_device_request_module(struct device *dev) in of_device_request_module()
88 static inline int of_device_uevent_modalias(struct device *dev, in of_device_uevent_modalias()
94 static inline void of_device_node_put(struct device *dev) { } in of_device_node_put()
97 const struct of_device_id *matches, const struct device *dev) in __of_match_device()
[all …]
Dreset.h77 static inline int __device_reset(struct device *dev, bool optional) in __device_reset()
91 struct device *dev, const char *id, in __reset_control_get()
99 struct device *dev, const char *id, in __devm_reset_control_get()
107 devm_reset_control_array_get(struct device *dev, bool shared, bool optional) in devm_reset_control_array_get()
119 static inline int reset_control_get_count(struct device *dev) in reset_control_get_count()
126 static inline int __must_check device_reset(struct device *dev) in device_reset()
131 static inline int device_reset_optional(struct device *dev) in device_reset_optional()
152 __must_check reset_control_get_exclusive(struct device *dev, const char *id) in reset_control_get_exclusive()
172 __must_check reset_control_get_exclusive_released(struct device *dev, in reset_control_get_exclusive_released()
201 struct device *dev, const char *id) in reset_control_get_shared()
[all …]
Dpm_opp.h73 struct device *dev; member
142 static inline struct opp_table *dev_pm_opp_get_opp_table(struct device *dev) in dev_pm_opp_get_opp_table()
147 static inline struct opp_table *dev_pm_opp_get_opp_table_indexed(struct device *dev, int index) in dev_pm_opp_get_opp_table_indexed()
174 static inline int dev_pm_opp_get_opp_count(struct device *dev) in dev_pm_opp_get_opp_count()
179 static inline unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev) in dev_pm_opp_get_max_clock_latency()
184 static inline unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev) in dev_pm_opp_get_max_volt_latency()
189 static inline unsigned long dev_pm_opp_get_max_transition_latency(struct device *dev) in dev_pm_opp_get_max_transition_latency()
194 static inline unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev) in dev_pm_opp_get_suspend_opp_freq()
199 static inline struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact()
205 static inline struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev, in dev_pm_opp_find_level_exact()
[all …]
Dpm_clock.h33 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks()
51 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks()
55 static inline void pm_clk_init(struct device *dev) in pm_clk_init()
58 static inline int pm_clk_create(struct device *dev) in pm_clk_create()
62 static inline void pm_clk_destroy(struct device *dev) in pm_clk_destroy()
65 static inline int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add()
70 static inline int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk()
74 static inline int of_pm_clk_add_clks(struct device *dev) in of_pm_clk_add_clks()
78 static inline void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove()
83 static inline void pm_clk_remove_clk(struct device *dev, struct clk *clk) in pm_clk_remove_clk()
Ddma-mapping.h177 #define dma_alloc_from_dev_coherent(dev, size, handle, ret) (0) argument
178 #define dma_release_from_dev_coherent(dev, order, vaddr) (0) argument
179 #define dma_mmap_from_dev_coherent(dev, vma, vaddr, order, ret) (0) argument
181 static inline void *dma_alloc_from_global_coherent(struct device *dev, ssize_t size, in dma_alloc_from_global_coherent()
224 static inline void dma_direct_sync_single_for_device(struct device *dev, in dma_direct_sync_single_for_device()
228 static inline void dma_direct_sync_sg_for_device(struct device *dev, in dma_direct_sync_sg_for_device()
246 static inline void dma_direct_unmap_page(struct device *dev, dma_addr_t addr, in dma_direct_unmap_page()
250 static inline void dma_direct_unmap_sg(struct device *dev, in dma_direct_unmap_sg()
255 static inline void dma_direct_sync_single_for_cpu(struct device *dev, in dma_direct_sync_single_for_cpu()
259 static inline void dma_direct_sync_sg_for_cpu(struct device *dev, in dma_direct_sync_sg_for_cpu()
[all …]
Ddma-debug.h78 static inline void debug_dma_map_single(struct device *dev, const void *addr, in debug_dma_map_single()
83 static inline void debug_dma_map_page(struct device *dev, struct page *page, in debug_dma_map_page()
89 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error()
94 static inline void debug_dma_unmap_page(struct device *dev, dma_addr_t addr, in debug_dma_unmap_page()
99 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg()
104 static inline void debug_dma_unmap_sg(struct device *dev, in debug_dma_unmap_sg()
110 static inline void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent()
115 static inline void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent()
120 static inline void debug_dma_map_resource(struct device *dev, phys_addr_t addr, in debug_dma_map_resource()
126 static inline void debug_dma_unmap_resource(struct device *dev, in debug_dma_unmap_resource()
[all …]
Dpm_wakeup.h61 struct device *dev; member
72 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
77 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup()
82 static inline void device_set_wakeup_path(struct device *dev) in device_set_wakeup_path()
109 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable()
114 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
130 static inline struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
138 static inline int device_wakeup_enable(struct device *dev) in device_wakeup_enable()
144 static inline int device_wakeup_disable(struct device *dev) in device_wakeup_disable()
150 static inline int device_set_wakeup_enable(struct device *dev, bool enable) in device_set_wakeup_enable()
[all …]
Dpm_qos.h118 struct device *dev; member
192 static inline s32 dev_pm_qos_requested_resume_latency(struct device *dev) in dev_pm_qos_requested_resume_latency()
197 static inline s32 dev_pm_qos_requested_flags(struct device *dev) in dev_pm_qos_requested_flags()
202 static inline s32 dev_pm_qos_raw_resume_latency(struct device *dev) in dev_pm_qos_raw_resume_latency()
209 static inline enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev, in __dev_pm_qos_flags()
212 static inline enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev, in dev_pm_qos_flags()
215 static inline s32 __dev_pm_qos_resume_latency(struct device *dev) in __dev_pm_qos_resume_latency()
217 static inline s32 dev_pm_qos_read_value(struct device *dev, in dev_pm_qos_read_value()
233 static inline int dev_pm_qos_add_request(struct device *dev, in dev_pm_qos_add_request()
243 static inline int dev_pm_qos_add_notifier(struct device *dev, in dev_pm_qos_add_notifier()
[all …]
Dpnp.h30 static inline struct resource *pnp_get_resource(struct pnp_dev *dev, in pnp_get_resource()
59 static inline resource_size_t pnp_port_start(struct pnp_dev *dev, in pnp_port_start()
69 static inline resource_size_t pnp_port_end(struct pnp_dev *dev, in pnp_port_end()
79 static inline unsigned long pnp_port_flags(struct pnp_dev *dev, in pnp_port_flags()
89 static inline int pnp_port_valid(struct pnp_dev *dev, unsigned int bar) in pnp_port_valid()
94 static inline resource_size_t pnp_port_len(struct pnp_dev *dev, in pnp_port_len()
105 static inline resource_size_t pnp_mem_start(struct pnp_dev *dev, in pnp_mem_start()
115 static inline resource_size_t pnp_mem_end(struct pnp_dev *dev, in pnp_mem_end()
125 static inline unsigned long pnp_mem_flags(struct pnp_dev *dev, unsigned int bar) in pnp_mem_flags()
134 static inline int pnp_mem_valid(struct pnp_dev *dev, unsigned int bar) in pnp_mem_valid()
[all …]
Dpm_wakeirq.h28 static inline int dev_pm_set_wake_irq(struct device *dev, int irq) in dev_pm_set_wake_irq()
33 static inline int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq) in dev_pm_set_dedicated_wake_irq()
38 static inline int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq) in dev_pm_set_dedicated_wake_irq_reverse()
43 static inline void dev_pm_clear_wake_irq(struct device *dev) in dev_pm_clear_wake_irq()
47 static inline void dev_pm_enable_wake_irq(struct device *dev) in dev_pm_enable_wake_irq()
51 static inline void dev_pm_disable_wake_irq(struct device *dev) in dev_pm_disable_wake_irq()
Dof_irq.h60 static inline int of_irq_count(struct device_node *dev) in of_irq_count()
64 static inline int of_irq_get(struct device_node *dev, int index) in of_irq_get()
68 static inline int of_irq_get_byname(struct device_node *dev, const char *name) in of_irq_get_byname()
72 static inline int of_irq_to_resource_table(struct device_node *dev, in of_irq_to_resource_table()
82 static inline struct irq_domain *of_msi_get_domain(struct device *dev, in of_msi_get_domain()
88 static inline struct irq_domain *of_msi_map_get_device_domain(struct device *dev, in of_msi_map_get_device_domain()
93 static inline void of_msi_configure(struct device *dev, struct device_node *np) in of_msi_configure()
96 static inline u32 of_msi_map_id(struct device *dev, in of_msi_map_id()
112 static inline unsigned int irq_of_parse_and_map(struct device_node *dev, in irq_of_parse_and_map()
Ddma-contiguous.h62 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
69 static inline void dev_set_cma_area(struct device *dev, struct cma *cma) in dev_set_cma_area()
99 static inline int dma_declare_contiguous(struct device *dev, phys_addr_t size, in dma_declare_contiguous()
120 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
125 static inline void dev_set_cma_area(struct device *dev, struct cma *cma) { } in dev_set_cma_area()
139 int dma_declare_contiguous(struct device *dev, phys_addr_t size, in dma_declare_contiguous()
146 struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, in dma_alloc_from_contiguous()
153 bool dma_release_from_contiguous(struct device *dev, struct page *pages, in dma_release_from_contiguous()
160 static inline struct page *dma_alloc_contiguous(struct device *dev, size_t size, in dma_alloc_contiguous()
166 static inline void dma_free_contiguous(struct device *dev, struct page *page, in dma_free_contiguous()
Dif_bridge.h63 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent()
68 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere()
73 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent()
78 static inline bool br_multicast_enabled(const struct net_device *dev) in br_multicast_enabled()
82 static inline bool br_multicast_router(const struct net_device *dev) in br_multicast_router()
96 static inline bool br_vlan_enabled(const struct net_device *dev) in br_vlan_enabled()
101 static inline int br_vlan_get_pvid(const struct net_device *dev, u16 *p_pvid) in br_vlan_get_pvid()
106 static inline int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto) in br_vlan_get_proto()
111 static inline int br_vlan_get_pvid_rcu(const struct net_device *dev, u16 *p_pvid) in br_vlan_get_pvid_rcu()
116 static inline int br_vlan_get_info(const struct net_device *dev, u16 vid, in br_vlan_get_info()
[all …]
Ddma-direct.h14 static inline dma_addr_t __phys_to_dma(struct device *dev, phys_addr_t paddr) in __phys_to_dma()
21 static inline phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t dev_addr) in __dma_to_phys()
28 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
46 static inline bool force_dma_unencrypted(struct device *dev) in force_dma_unencrypted()
58 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma()
63 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) in dma_to_phys()
Ddevice.h951 static inline void *devm_kzalloc(struct device *dev, size_t size, gfp_t gfp) in devm_kzalloc()
955 static inline void *devm_kmalloc_array(struct device *dev, in devm_kmalloc_array()
965 static inline void *devm_kcalloc(struct device *dev, in devm_kcalloc()
993 static inline int devm_add_action_or_reset(struct device *dev, in devm_add_action_or_reset()
1016 #define devm_alloc_percpu(dev, type) \ argument
1399 static inline bool device_iommu_mapped(struct device *dev) in device_iommu_mapped()
1407 static inline const char *dev_name(const struct device *dev) in dev_name()
1420 static inline int dev_to_node(struct device *dev) in dev_to_node()
1424 static inline void set_dev_node(struct device *dev, int node) in set_dev_node()
1429 static inline int dev_to_node(struct device *dev) in dev_to_node()
[all …]
Dacpi_dma.h29 struct device *dev; member
43 struct device *dev; member
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()
90 static inline int devm_acpi_dma_controller_register(struct device *dev, in devm_acpi_dma_controller_register()
97 static inline void devm_acpi_dma_controller_free(struct device *dev) in devm_acpi_dma_controller_free()
102 struct device *dev, size_t index) in acpi_dma_request_slave_chan_by_index()
107 struct device *dev, const char *name) in acpi_dma_request_slave_chan_by_name()
Dacpi_iort.h43 static inline u32 iort_msi_map_id(struct device *dev, u32 id) in iort_msi_map_id()
46 struct device *dev, u32 id, enum irq_domain_bus_token bus_token) in iort_get_device_domain()
48 static inline void acpi_configure_pmsi_domain(struct device *dev) { } in acpi_configure_pmsi_domain()
50 static inline void iort_dma_setup(struct device *dev, u64 *dma_addr, in iort_dma_setup()
53 struct device *dev) in iort_iommu_configure()
56 int iort_iommu_msi_get_resv_regions(struct device *dev, struct list_head *head) in iort_iommu_msi_get_resv_regions()
/include/linux/pinctrl/
Dconsumer.h49 static inline int pinctrl_pm_select_default_state(struct device *dev) in pinctrl_pm_select_default_state()
53 static inline int pinctrl_pm_select_sleep_state(struct device *dev) in pinctrl_pm_select_sleep_state()
57 static inline int pinctrl_pm_select_idle_state(struct device *dev) in pinctrl_pm_select_idle_state()
94 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get()
116 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get()
125 static inline int pinctrl_pm_select_default_state(struct device *dev) in pinctrl_pm_select_default_state()
130 static inline int pinctrl_pm_select_sleep_state(struct device *dev) in pinctrl_pm_select_sleep_state()
135 static inline int pinctrl_pm_select_idle_state(struct device *dev) in pinctrl_pm_select_idle_state()
143 struct device *dev, const char *name) in pinctrl_get_select()
169 struct device *dev) in pinctrl_get_select_default()
[all …]
Dmachine.h80 #define PIN_MAP_DUMMY_STATE(dev, state) \ argument
87 #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \ argument
99 #define PIN_MAP_MUX_GROUP_DEFAULT(dev, pinctrl, grp, func) \ argument
102 #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \ argument
105 #define PIN_MAP_MUX_GROUP_HOG_DEFAULT(dev, grp, func) \ argument
108 #define PIN_MAP_CONFIGS_PIN(dev, state, pinctrl, pin, cfgs) \ argument
121 #define PIN_MAP_CONFIGS_PIN_DEFAULT(dev, pinctrl, pin, cfgs) \ argument
124 #define PIN_MAP_CONFIGS_PIN_HOG(dev, state, pin, cfgs) \ argument
127 #define PIN_MAP_CONFIGS_PIN_HOG_DEFAULT(dev, pin, cfgs) \ argument
130 #define PIN_MAP_CONFIGS_GROUP(dev, state, pinctrl, grp, cfgs) \ argument
[all …]
/include/drm/
Ddrm_agpsupport.h78 static inline struct drm_agp_head *drm_agp_init(struct drm_device *dev) in drm_agp_init()
83 static inline void drm_legacy_agp_clear(struct drm_device *dev) in drm_legacy_agp_clear()
87 static inline int drm_agp_acquire(struct drm_device *dev) in drm_agp_acquire()
92 static inline int drm_agp_release(struct drm_device *dev) in drm_agp_release()
97 static inline int drm_agp_enable(struct drm_device *dev, in drm_agp_enable()
103 static inline int drm_agp_info(struct drm_device *dev, in drm_agp_info()
109 static inline int drm_agp_alloc(struct drm_device *dev, in drm_agp_alloc()
115 static inline int drm_agp_free(struct drm_device *dev, in drm_agp_free()
121 static inline int drm_agp_unbind(struct drm_device *dev, in drm_agp_unbind()
127 static inline int drm_agp_bind(struct drm_device *dev, in drm_agp_bind()
/include/scsi/
Dsas_ata.h18 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata()
39 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata()
43 static inline int sas_ata_init(struct domain_device *dev) in sas_ata_init()
60 static inline void sas_ata_schedule_reset(struct domain_device *dev) in sas_ata_schedule_reset()
64 static inline void sas_ata_wait_eh(struct domain_device *dev) in sas_ata_wait_eh()
80 static inline int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
/include/soc/qcom/
Drpmh.h29 static inline int rpmh_write(const struct device *dev, enum rpmh_state state, in rpmh_write()
33 static inline int rpmh_write_async(const struct device *dev, in rpmh_write_async()
38 static inline int rpmh_write_batch(const struct device *dev, in rpmh_write_batch()
43 static inline int rpmh_flush(const struct device *dev) in rpmh_flush()
46 static inline int rpmh_invalidate(const struct device *dev) in rpmh_invalidate()
/include/net/
Darp.h13 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) in arp_hashfn()
22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
50 static inline void __ipv4_confirm_neigh(struct net_device *dev, u32 key) in __ipv4_confirm_neigh()

12345678910>>...24