Home
last modified time | relevance | path

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

12345678910>>...26

/include/linux/
Dpm_runtime.h72 static inline int pm_runtime_get_if_in_use(struct device *dev) in pm_runtime_get_if_in_use()
86 static inline void pm_suspend_ignore_children(struct device *dev, bool enable) in pm_suspend_ignore_children()
95 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume()
106 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle()
123 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended()
141 static inline bool pm_runtime_active(struct device *dev) in pm_runtime_active()
158 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended()
173 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled()
185 static inline bool pm_runtime_has_no_callbacks(struct device *dev) in pm_runtime_has_no_callbacks()
197 static inline void pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy()
[all …]
Ddev_printk.h61 int dev_vprintk_emit(int level, const struct device *dev, in dev_vprintk_emit()
65 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...) in dev_printk_emit()
68 static inline void __dev_printk(const char *level, const struct device *dev, in __dev_printk()
72 void _dev_printk(const char *level, const struct device *dev, in _dev_printk()
77 void _dev_emerg(const struct device *dev, const char *fmt, ...) in _dev_emerg()
80 void _dev_crit(const struct device *dev, const char *fmt, ...) in _dev_crit()
83 void _dev_alert(const struct device *dev, const char *fmt, ...) in _dev_alert()
86 void _dev_err(const struct device *dev, const char *fmt, ...) in _dev_err()
89 void _dev_warn(const struct device *dev, const char *fmt, ...) in _dev_warn()
92 void _dev_notice(const struct device *dev, const char *fmt, ...) in _dev_notice()
[all …]
Dpm_opp.h87 struct device *dev; member
172 static inline struct opp_table *dev_pm_opp_get_opp_table(struct device *dev) in dev_pm_opp_get_opp_table()
177 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()
211 static inline int dev_pm_opp_get_opp_count(struct device *dev) in dev_pm_opp_get_opp_count()
216 static inline unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev) in dev_pm_opp_get_max_clock_latency()
221 static inline unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev) in dev_pm_opp_get_max_volt_latency()
226 static inline unsigned long dev_pm_opp_get_max_transition_latency(struct device *dev) in dev_pm_opp_get_max_transition_latency()
231 static inline unsigned long dev_pm_opp_get_suspend_opp_freq(struct device *dev) in dev_pm_opp_get_suspend_opp_freq()
236 static inline struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact()
242 static inline struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev, in dev_pm_opp_find_level_exact()
[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 …]
Dreset.h112 static inline int __device_reset(struct device *dev, bool optional) in __device_reset()
126 struct device *dev, const char *id, in __reset_control_get()
163 __reset_control_bulk_get(struct device *dev, int num_rstcs, in __reset_control_bulk_get()
176 struct device *dev, const char *id, in __devm_reset_control_get()
184 __devm_reset_control_bulk_get(struct device *dev, int num_rstcs, in __devm_reset_control_bulk_get()
192 devm_reset_control_array_get(struct device *dev, bool shared, bool optional) in devm_reset_control_array_get()
204 static inline int reset_control_get_count(struct device *dev) in reset_control_get_count()
211 static inline int __must_check device_reset(struct device *dev) in device_reset()
216 static inline int device_reset_optional(struct device *dev) in device_reset_optional()
237 __must_check reset_control_get_exclusive(struct device *dev, const char *id) in reset_control_get_exclusive()
[all …]
Ddma-mapping.h100 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error()
104 static inline void debug_dma_map_single(struct device *dev, const void *addr, in debug_dma_map_single()
111 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error()
176 static inline dma_addr_t dma_map_page_attrs(struct device *dev, in dma_map_page_attrs()
182 static inline void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, in dma_unmap_page_attrs()
186 static inline unsigned int dma_map_sg_attrs(struct device *dev, in dma_map_sg_attrs()
192 static inline void dma_unmap_sg_attrs(struct device *dev, in dma_unmap_sg_attrs()
197 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
202 static inline dma_addr_t dma_map_resource(struct device *dev, in dma_map_resource()
208 static inline void dma_unmap_resource(struct device *dev, dma_addr_t addr, in dma_unmap_resource()
[all …]
Dpm_clock.h33 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks()
52 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks()
56 static inline void pm_clk_init(struct device *dev) in pm_clk_init()
59 static inline int pm_clk_create(struct device *dev) in pm_clk_create()
63 static inline void pm_clk_destroy(struct device *dev) in pm_clk_destroy()
66 static inline int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add()
71 static inline int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk()
75 static inline int of_pm_clk_add_clks(struct device *dev) in of_pm_clk_add_clks()
79 static inline void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove()
84 static inline void pm_clk_remove_clk(struct device *dev, struct clk *clk) in pm_clk_remove_clk()
[all …]
Dpm_wakeup.h61 struct device *dev; member
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()
123 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable()
128 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
144 static inline struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
152 static inline int device_wakeup_enable(struct device *dev) in device_wakeup_enable()
158 static inline int device_wakeup_disable(struct device *dev) in device_wakeup_disable()
[all …]
Dof_device.h23 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device()
53 static inline int of_dma_configure(struct device *dev, in of_dma_configure()
61 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device()
67 static inline void of_device_uevent(struct device *dev, in of_device_uevent()
70 static inline const void *of_device_get_match_data(const struct device *dev) in of_device_get_match_data()
75 static inline int of_device_modalias(struct device *dev, in of_device_modalias()
81 static inline int of_device_request_module(struct device *dev) in of_device_request_module()
86 static inline int of_device_uevent_modalias(struct device *dev, in of_device_uevent_modalias()
93 const struct of_device_id *matches, const struct device *dev) in of_match_device()
103 static inline int of_dma_configure_id(struct device *dev, in of_dma_configure_id()
[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_qos.h115 struct device *dev; member
196 static inline s32 dev_pm_qos_requested_resume_latency(struct device *dev) in dev_pm_qos_requested_resume_latency()
201 static inline s32 dev_pm_qos_requested_flags(struct device *dev) in dev_pm_qos_requested_flags()
206 static inline s32 dev_pm_qos_raw_resume_latency(struct device *dev) in dev_pm_qos_raw_resume_latency()
213 static inline enum pm_qos_flags_status __dev_pm_qos_flags(struct device *dev, in __dev_pm_qos_flags()
216 static inline enum pm_qos_flags_status dev_pm_qos_flags(struct device *dev, in dev_pm_qos_flags()
219 static inline s32 __dev_pm_qos_resume_latency(struct device *dev) in __dev_pm_qos_resume_latency()
221 static inline s32 dev_pm_qos_read_value(struct device *dev, in dev_pm_qos_read_value()
237 static inline int dev_pm_qos_add_request(struct device *dev, in dev_pm_qos_add_request()
247 static inline int dev_pm_qos_add_notifier(struct device *dev, in dev_pm_qos_add_notifier()
[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()
Dif_bridge.h80 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent()
85 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere()
90 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent()
96 static inline bool br_multicast_has_router_adjacent(struct net_device *dev, in br_multicast_has_router_adjacent()
102 static inline bool br_multicast_enabled(const struct net_device *dev) in br_multicast_enabled()
106 static inline bool br_multicast_router(const struct net_device *dev) in br_multicast_router()
122 static inline bool br_vlan_enabled(const struct net_device *dev) in br_vlan_enabled()
127 static inline int br_vlan_get_pvid(const struct net_device *dev, u16 *p_pvid) in br_vlan_get_pvid()
132 static inline int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto) in br_vlan_get_proto()
137 static inline int br_vlan_get_pvid_rcu(const struct net_device *dev, u16 *p_pvid) in br_vlan_get_pvid_rcu()
[all …]
Ddevice.h207 static inline void *devm_kzalloc(struct device *dev, size_t size, gfp_t gfp) in devm_kzalloc()
211 static inline void *devm_kmalloc_array(struct device *dev, in devm_kmalloc_array()
221 static inline void *devm_kcalloc(struct device *dev, in devm_kcalloc()
249 static inline int devm_add_action_or_reset(struct device *dev, in devm_add_action_or_reset()
272 #define devm_alloc_percpu(dev, type) \ argument
629 static inline bool device_iommu_mapped(struct device *dev) in device_iommu_mapped()
637 static inline const char *dev_name(const struct device *dev) in dev_name()
653 static inline const char *dev_bus_name(const struct device *dev) in dev_bus_name()
661 static inline int dev_to_node(struct device *dev) in dev_to_node()
665 static inline void set_dev_node(struct device *dev, int node) in set_dev_node()
[all …]
Dof_irq.h65 static inline int of_irq_count(struct device_node *dev) in of_irq_count()
69 static inline int of_irq_get(struct device_node *dev, int index) in of_irq_get()
73 static inline int of_irq_get_byname(struct device_node *dev, const char *name) in of_irq_get_byname()
77 static inline int of_irq_to_resource_table(struct device_node *dev, in of_irq_to_resource_table()
87 static inline struct irq_domain *of_msi_get_domain(struct device *dev, in of_msi_get_domain()
93 static inline struct irq_domain *of_msi_map_get_device_domain(struct device *dev, in of_msi_map_get_device_domain()
98 static inline void of_msi_configure(struct device *dev, struct device_node *np) in of_msi_configure()
101 static inline u32 of_msi_map_id(struct device *dev, in of_msi_map_id()
117 static inline unsigned int irq_of_parse_and_map(struct device_node *dev, in irq_of_parse_and_map()
Ddma-map-ops.h84 static inline const struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
91 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
97 static inline const struct dma_map_ops *get_dma_ops(struct device *dev) in get_dma_ops()
101 static inline void set_dma_ops(struct device *dev, in set_dma_ops()
110 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
130 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
143 static inline struct page *dma_alloc_from_contiguous(struct device *dev, in dma_alloc_from_contiguous()
148 static inline bool dma_release_from_contiguous(struct device *dev, in dma_release_from_contiguous()
154 static inline struct page *dma_alloc_contiguous(struct device *dev, size_t size, in dma_alloc_contiguous()
159 static inline void dma_free_contiguous(struct device *dev, struct page *page, in dma_free_contiguous()
[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()
Dswiotlb.h111 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer()
118 static inline bool is_swiotlb_force_bounce(struct device *dev) in is_swiotlb_force_bounce()
132 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer()
136 static inline bool is_swiotlb_force_bounce(struct device *dev) in is_swiotlb_force_bounce()
147 static inline size_t swiotlb_max_mapping_size(struct device *dev) in swiotlb_max_mapping_size()
152 static inline bool is_swiotlb_active(struct device *dev) in is_swiotlb_active()
169 static inline bool is_swiotlb_for_alloc(struct device *dev) in is_swiotlb_for_alloc()
174 static inline struct page *swiotlb_alloc(struct device *dev, size_t size) in swiotlb_alloc()
178 static inline bool swiotlb_free(struct device *dev, struct page *page, in swiotlb_free()
183 static inline bool is_swiotlb_for_alloc(struct device *dev) in is_swiotlb_for_alloc()
Dacpi_iort.h44 static inline u32 iort_msi_map_id(struct device *dev, u32 id) in iort_msi_map_id()
47 struct device *dev, u32 id, enum irq_domain_bus_token bus_token) in iort_get_device_domain()
49 static inline void acpi_configure_pmsi_domain(struct device *dev) { } in acpi_configure_pmsi_domain()
51 static inline int iort_dma_get_ranges(struct device *dev, u64 *size) in iort_dma_get_ranges()
53 static inline int iort_iommu_configure_id(struct device *dev, const u32 *id_in) in iort_iommu_configure_id()
56 int iort_iommu_msi_get_resv_regions(struct device *dev, struct list_head *head) in iort_iommu_msi_get_resv_regions()
Ddma-direct.h54 static inline dma_addr_t translate_phys_to_dma(struct device *dev, in translate_phys_to_dma()
67 static inline phys_addr_t translate_dma_to_phys(struct device *dev, in translate_dma_to_phys()
85 static inline dma_addr_t phys_to_dma_unencrypted(struct device *dev, in phys_to_dma_unencrypted()
99 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma()
104 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys()
120 static inline bool force_dma_unencrypted(struct device *dev) in force_dma_unencrypted()
126 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size, in dma_capable()
/include/linux/pinctrl/
Dconsumer.h50 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()
95 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get()
117 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get()
126 static inline int pinctrl_select_default_state(struct device *dev) in pinctrl_select_default_state()
131 static inline int pinctrl_pm_select_default_state(struct device *dev) in pinctrl_pm_select_default_state()
136 static inline int pinctrl_pm_select_sleep_state(struct device *dev) in pinctrl_pm_select_sleep_state()
141 static inline int pinctrl_pm_select_idle_state(struct device *dev) in pinctrl_pm_select_idle_state()
149 struct device *dev, const char *name) in pinctrl_get_select()
[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/asm-generic/
Dpci_iomap.h29 #define __pci_ioport_map(dev, port, nr) ioport_map((port), (nr)) argument
33 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) in pci_iomap()
38 static inline void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max) in pci_iomap_wc()
42 static inline void __iomem *pci_iomap_range(struct pci_dev *dev, int bar, in pci_iomap_range()
48 static inline void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar, in pci_iomap_wc_range()
54 static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr) in pci_iounmap()
/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/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>>...26