Home
last modified time | relevance | path

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

12345678910>>...13

/include/linux/
Dpm_runtime.h51 static inline bool pm_children_suspended(struct device *dev) in pm_children_suspended()
57 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume()
62 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle()
67 static inline bool device_run_wake(struct device *dev) in device_run_wake()
72 static inline void device_set_run_wake(struct device *dev, bool enable) in device_set_run_wake()
77 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended()
83 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended()
88 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled()
93 static inline bool pm_runtime_callbacks_present(struct device *dev) in pm_runtime_callbacks_present()
98 static inline void pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy()
[all …]
Dkdev_t.h7 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) argument
8 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) argument
11 #define print_dev_t(buffer, dev) \ argument
14 #define format_dev_t(buffer, dev) \ argument
21 static inline int old_valid_dev(dev_t dev) in old_valid_dev()
26 static inline u16 old_encode_dev(dev_t dev) in old_encode_dev()
36 static inline int new_valid_dev(dev_t dev) in new_valid_dev()
41 static inline u32 new_encode_dev(dev_t dev) in new_encode_dev()
48 static inline dev_t new_decode_dev(u32 dev) in new_decode_dev()
55 static inline int huge_valid_dev(dev_t dev) in huge_valid_dev()
[all …]
Dopp.h62 static inline int opp_get_opp_count(struct device *dev) in opp_get_opp_count()
67 static inline struct opp *opp_find_freq_exact(struct device *dev, in opp_find_freq_exact()
73 static inline struct opp *opp_find_freq_floor(struct device *dev, in opp_find_freq_floor()
79 static inline struct opp *opp_find_freq_ceil(struct device *dev, in opp_find_freq_ceil()
85 static inline int opp_add(struct device *dev, unsigned long freq, in opp_add()
91 static inline int opp_enable(struct device *dev, unsigned long freq) in opp_enable()
96 static inline int opp_disable(struct device *dev, unsigned long freq) in opp_disable()
101 static inline struct srcu_notifier_head *opp_get_notifier(struct device *dev) in opp_get_notifier()
113 static inline int opp_init_cpufreq_table(struct device *dev, in opp_init_cpufreq_table()
120 void opp_free_cpufreq_table(struct device *dev, in opp_free_cpufreq_table()
Dof_device.h22 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device()
41 static inline void of_device_node_put(struct device *dev) in of_device_node_put()
48 static inline int of_driver_match_device(struct device *dev, in of_driver_match_device()
54 static inline void of_device_uevent(struct device *dev, in of_device_uevent()
57 static inline int of_device_uevent_modalias(struct device *dev, in of_device_uevent_modalias()
63 static inline void of_device_node_put(struct device *dev) { } in of_device_node_put()
66 const struct of_device_id *matches, const struct device *dev) in of_match_device()
Ddma-debug.h101 static inline void debug_dma_map_page(struct device *dev, struct page *page, in debug_dma_map_page()
108 static inline void debug_dma_unmap_page(struct device *dev, dma_addr_t addr, in debug_dma_unmap_page()
114 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg()
119 static inline void debug_dma_unmap_sg(struct device *dev, in debug_dma_unmap_sg()
125 static inline void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent()
130 static inline void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent()
135 static inline void debug_dma_sync_single_for_cpu(struct device *dev, in debug_dma_sync_single_for_cpu()
141 static inline void debug_dma_sync_single_for_device(struct device *dev, in debug_dma_sync_single_for_device()
147 static inline void debug_dma_sync_single_range_for_cpu(struct device *dev, in debug_dma_sync_single_range_for_cpu()
155 static inline void debug_dma_sync_single_range_for_device(struct device *dev, in debug_dma_sync_single_range_for_device()
[all …]
Dpnp.h28 static inline struct resource *pnp_get_resource(struct pnp_dev *dev, in pnp_get_resource()
57 static inline resource_size_t pnp_port_start(struct pnp_dev *dev, in pnp_port_start()
67 static inline resource_size_t pnp_port_end(struct pnp_dev *dev, in pnp_port_end()
77 static inline unsigned long pnp_port_flags(struct pnp_dev *dev, in pnp_port_flags()
87 static inline int pnp_port_valid(struct pnp_dev *dev, unsigned int bar) in pnp_port_valid()
92 static inline resource_size_t pnp_port_len(struct pnp_dev *dev, in pnp_port_len()
103 static inline resource_size_t pnp_mem_start(struct pnp_dev *dev, in pnp_mem_start()
113 static inline resource_size_t pnp_mem_end(struct pnp_dev *dev, in pnp_mem_end()
123 static inline unsigned long pnp_mem_flags(struct pnp_dev *dev, unsigned int bar) in pnp_mem_flags()
132 static inline int pnp_mem_valid(struct pnp_dev *dev, unsigned int bar) in pnp_mem_valid()
[all …]
Dpm_clock.h22 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks()
36 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks()
40 static inline void pm_clk_init(struct device *dev) in pm_clk_init()
43 static inline int pm_clk_create(struct device *dev) in pm_clk_create()
47 static inline void pm_clk_destroy(struct device *dev) in pm_clk_destroy()
50 static inline int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add()
54 static inline void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove()
Dpm_wakeup.h72 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()
105 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable()
110 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
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()
156 static inline int device_init_wakeup(struct device *dev, bool val) in device_init_wakeup()
163 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup()
170 static inline void pm_stay_awake(struct device *dev) {} in pm_stay_awake()
[all …]
Dpm_qos.h38 struct device *dev; member
106 static inline s32 __dev_pm_qos_read_value(struct device *dev) in __dev_pm_qos_read_value()
108 static inline s32 dev_pm_qos_read_value(struct device *dev) in dev_pm_qos_read_value()
110 static inline int dev_pm_qos_add_request(struct device *dev, in dev_pm_qos_add_request()
119 static inline int dev_pm_qos_add_notifier(struct device *dev, in dev_pm_qos_add_notifier()
122 static inline int dev_pm_qos_remove_notifier(struct device *dev, in dev_pm_qos_remove_notifier()
131 static inline void dev_pm_qos_constraints_init(struct device *dev) in dev_pm_qos_constraints_init()
135 static inline void dev_pm_qos_constraints_destroy(struct device *dev) in dev_pm_qos_constraints_destroy()
139 static inline int dev_pm_qos_add_ancestor_request(struct device *dev, in dev_pm_qos_add_ancestor_request()
148 static inline int dev_pm_qos_expose_latency_limit(struct device *dev, s32 value) in dev_pm_qos_expose_latency_limit()
[all …]
Ddma-mapping.h67 static inline int is_device_dma_capable(struct device *dev) in is_device_dma_capable()
78 static inline u64 dma_get_mask(struct device *dev) in dma_get_mask()
88 static inline int dma_set_coherent_mask(struct device *dev, u64 mask) in dma_set_coherent_mask()
99 static inline unsigned int dma_get_max_seg_size(struct device *dev) in dma_get_max_seg_size()
104 static inline unsigned int dma_set_max_seg_size(struct device *dev, in dma_set_max_seg_size()
114 static inline unsigned long dma_get_seg_boundary(struct device *dev) in dma_get_seg_boundary()
120 static inline int dma_set_seg_boundary(struct device *dev, unsigned long mask) in dma_set_seg_boundary()
129 static inline void *dma_zalloc_coherent(struct device *dev, size_t size, in dma_zalloc_coherent()
156 dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr, in dma_declare_coherent_memory()
163 dma_release_declared_memory(struct device *dev) in dma_release_declared_memory()
[all …]
Dvga_switcheroo.h49 static inline void vga_switcheroo_unregister_client(struct pci_dev *dev) {} in vga_switcheroo_unregister_client()
50 static inline int vga_switcheroo_register_client(struct pci_dev *dev, in vga_switcheroo_register_client()
51 void (*set_gpu_state)(struct pci_dev *dev, enum vga_switcheroo_state), in vga_switcheroo_register_client()
52 void (*reprobe)(struct pci_dev *dev), in vga_switcheroo_register_client()
53 bool (*can_switch)(struct pci_dev *dev)) { return 0; } in vga_switcheroo_register_client()
54 static inline void vga_switcheroo_client_fb_set(struct pci_dev *dev, struct fb_info *info) {} in vga_switcheroo_client_fb_set()
Ddevice.h519 #define device_schedule_callback(dev, func) \ argument
685 static inline const char *dev_name(const struct device *dev) in dev_name()
698 static inline int dev_to_node(struct device *dev) in dev_to_node()
702 static inline void set_dev_node(struct device *dev, int node) in set_dev_node()
707 static inline int dev_to_node(struct device *dev) in dev_to_node()
711 static inline void set_dev_node(struct device *dev, int node) in set_dev_node()
716 static inline struct pm_subsys_data *dev_to_psd(struct device *dev) in dev_to_psd()
721 static inline unsigned int dev_get_uevent_suppress(const struct device *dev) in dev_get_uevent_suppress()
726 static inline void dev_set_uevent_suppress(struct device *dev, int val) in dev_set_uevent_suppress()
731 static inline int device_is_registered(struct device *dev) in device_is_registered()
[all …]
Dnetdevice.h251 #define netdev_uc_count(dev) netdev_hw_addr_list_count(&(dev)->uc) argument
252 #define netdev_uc_empty(dev) netdev_hw_addr_list_empty(&(dev)->uc) argument
253 #define netdev_for_each_uc_addr(ha, dev) \ argument
256 #define netdev_mc_count(dev) netdev_hw_addr_list_count(&(dev)->mc) argument
257 #define netdev_mc_empty(dev) netdev_hw_addr_list_empty(&(dev)->mc) argument
258 #define netdev_for_each_mc_addr(ha, dev) \ argument
283 #define LL_RESERVED_SPACE(dev) \ argument
285 #define LL_RESERVED_SPACE_EXTRA(dev,extra) \ argument
348 struct net_device *dev; member
543 struct net_device *dev; member
[all …]
Dpci.h292 struct device dev; /* Generic device interface */ member
350 static inline struct pci_dev *pci_physfn(struct pci_dev *dev) in pci_physfn()
432 struct device dev; member
581 #define PCI_DEVICE(vend,dev) \ argument
746 static inline int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val) in pci_read_config_byte()
750 static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val) in pci_read_config_word()
754 static inline int pci_read_config_dword(const struct pci_dev *dev, int where, in pci_read_config_dword()
759 static inline int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val) in pci_write_config_byte()
763 static inline int pci_write_config_word(const struct pci_dev *dev, int where, u16 val) in pci_write_config_word()
767 static inline int pci_write_config_dword(const struct pci_dev *dev, int where, in pci_write_config_dword()
[all …]
Dresume-trace.h20 #define TRACE_DEVICE(dev) do { \ argument
29 #define TRACE_DEVICE(dev) do { } while (0) argument
30 #define TRACE_RESUME(dev) do { } while (0) argument
Dpm_domain.h118 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data()
135 struct device *dev) in pm_genpd_add_device()
141 struct device *dev) in pm_genpd_of_add_device()
168 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data()
172 static inline struct generic_pm_domain *dev_to_genpd(struct device *dev) in dev_to_genpd()
177 struct device *dev, in __pm_genpd_add_device()
183 struct device *dev) in pm_genpd_add_device()
188 struct device *dev) in pm_genpd_remove_device()
192 static inline void pm_genpd_dev_always_on(struct device *dev, bool val) {} in pm_genpd_dev_always_on()
193 static inline void pm_genpd_dev_need_restore(struct device *dev, bool val) {} in pm_genpd_dev_need_restore()
[all …]
Dpci-ats.h27 static inline int pci_ats_enabled(struct pci_dev *dev) in pci_ats_enabled()
34 static inline int pci_enable_ats(struct pci_dev *dev, int ps) in pci_enable_ats()
39 static inline void pci_disable_ats(struct pci_dev *dev) in pci_disable_ats()
43 static inline int pci_ats_queue_depth(struct pci_dev *dev) in pci_ats_queue_depth()
48 static inline int pci_ats_enabled(struct pci_dev *dev) in pci_ats_enabled()
Dof_address.h30 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
46 static inline const u32 *of_get_address(struct device_node *dev, int index, in of_get_address()
60 static inline int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
66 static inline const __be32 *of_get_pci_address(struct device_node *dev, in of_get_pci_address()
Dvlynq.h74 struct device dev; member
110 static inline void *vlynq_get_drvdata(struct vlynq_device *dev) in vlynq_get_drvdata()
115 static inline void vlynq_set_drvdata(struct vlynq_device *dev, void *data) in vlynq_set_drvdata()
120 static inline u32 vlynq_mem_start(struct vlynq_device *dev) in vlynq_mem_start()
125 static inline u32 vlynq_mem_end(struct vlynq_device *dev) in vlynq_mem_end()
130 static inline u32 vlynq_mem_len(struct vlynq_device *dev) in vlynq_mem_len()
135 static inline int vlynq_virq_to_irq(struct vlynq_device *dev, int virq) in vlynq_virq_to_irq()
144 static inline int vlynq_irq_to_virq(struct vlynq_device *dev, int irq) in vlynq_irq_to_virq()
Dvideo_output.h35 struct device dev; member
46 struct device *dev, in video_output_register()
52 static void video_output_unregister(struct output_device *dev) in video_output_unregister()
/include/scsi/
Dsas_ata.h33 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata()
51 static inline int dev_is_sata(struct domain_device *dev) in dev_is_sata()
55 static inline int sas_ata_init(struct domain_device *dev) in sas_ata_init()
72 static inline void sas_ata_schedule_reset(struct domain_device *dev) in sas_ata_schedule_reset()
76 static inline void sas_ata_wait_eh(struct domain_device *dev) in sas_ata_wait_eh()
84 static inline int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
/include/linux/pinctrl/
Dmachine.h81 #define PIN_MAP_DUMMY_STATE(dev, state) \ argument
88 #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \ argument
100 #define PIN_MAP_MUX_GROUP_DEFAULT(dev, pinctrl, grp, func) \ argument
103 #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \ argument
106 #define PIN_MAP_MUX_GROUP_HOG_DEFAULT(dev, grp, func) \ argument
109 #define PIN_MAP_CONFIGS_PIN(dev, state, pinctrl, pin, cfgs) \ argument
122 #define PIN_MAP_CONFIGS_PIN_DEFAULT(dev, pinctrl, pin, cfgs) \ argument
125 #define PIN_MAP_CONFIGS_PIN_HOG(dev, state, pin, cfgs) \ argument
128 #define PIN_MAP_CONFIGS_PIN_HOG_DEFAULT(dev, pin, cfgs) \ argument
131 #define PIN_MAP_CONFIGS_GROUP(dev, state, pinctrl, grp, cfgs) \ argument
[all …]
/include/asm-generic/
Ddma-mapping-common.h10 static inline dma_addr_t dma_map_single_attrs(struct device *dev, void *ptr, in dma_map_single_attrs()
29 static inline void dma_unmap_single_attrs(struct device *dev, dma_addr_t addr, in dma_unmap_single_attrs()
42 static inline int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_map_sg_attrs()
59 static inline void dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_unmap_sg_attrs()
71 static inline dma_addr_t dma_map_page(struct device *dev, struct page *page, in dma_map_page()
86 static inline void dma_unmap_page(struct device *dev, dma_addr_t addr, in dma_unmap_page()
97 static inline void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, in dma_sync_single_for_cpu()
109 static inline void dma_sync_single_for_device(struct device *dev, in dma_sync_single_for_device()
121 static inline void dma_sync_single_range_for_cpu(struct device *dev, in dma_sync_single_range_for_cpu()
135 static inline void dma_sync_single_range_for_device(struct device *dev, in dma_sync_single_range_for_device()
[all …]
/include/linux/mfd/pm8xxx/
Dcore.h34 static inline int pm8xxx_readb(const struct device *dev, u16 addr, u8 *val) in pm8xxx_readb()
43 static inline int pm8xxx_writeb(const struct device *dev, u16 addr, u8 val) in pm8xxx_writeb()
52 static inline int pm8xxx_read_buf(const struct device *dev, u16 addr, u8 *buf, in pm8xxx_read_buf()
62 static inline int pm8xxx_write_buf(const struct device *dev, u16 addr, u8 *buf, in pm8xxx_write_buf()
72 static inline int pm8xxx_read_irq_stat(const struct device *dev, int irq) in pm8xxx_read_irq_stat()
/include/net/nfc/
Dnfc.h31 #define nfc_dev_info(dev, fmt, arg...) dev_info((dev), "NFC: " fmt "\n", ## arg) argument
32 #define nfc_dev_err(dev, fmt, arg...) dev_err((dev), "NFC: " fmt "\n", ## arg) argument
33 #define nfc_dev_dbg(dev, fmt, arg...) dev_dbg((dev), fmt "\n", ## arg) argument
94 struct device dev; member
122 static inline void nfc_free_device(struct nfc_dev *dev) in nfc_free_device()
138 struct device *dev) in nfc_set_parent_dev()
149 static inline void nfc_set_drvdata(struct nfc_dev *dev, void *data) in nfc_set_drvdata()
159 static inline void *nfc_get_drvdata(struct nfc_dev *dev) in nfc_get_drvdata()
169 static inline const char *nfc_device_name(struct nfc_dev *dev) in nfc_device_name()

12345678910>>...13