/kernel/dma/ |
D | mapping.c | 32 static void dmam_release(struct device *dev, void *res) in dmam_release() 40 static int dmam_match(struct device *dev, void *res, void *match_data) in dmam_match() 61 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent() 85 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs() 112 static bool dma_go_direct(struct device *dev, dma_addr_t mask, in dma_go_direct() 131 static inline bool dma_alloc_direct(struct device *dev, in dma_alloc_direct() 137 static inline bool dma_map_direct(struct device *dev, in dma_map_direct() 143 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, in dma_map_page_attrs() 167 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_page_attrs() 182 static int __dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in __dma_map_sg_attrs() [all …]
|
D | direct.c | 25 static inline dma_addr_t phys_to_dma_direct(struct device *dev, in phys_to_dma_direct() 33 static inline struct page *dma_direct_to_page(struct device *dev, in dma_direct_to_page() 39 u64 dma_direct_get_required_mask(struct device *dev) in dma_direct_get_required_mask() 48 static gfp_t dma_direct_optimal_gfp_mask(struct device *dev, u64 dma_mask, in dma_direct_optimal_gfp_mask() 70 static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok() 80 static int dma_set_decrypted(struct device *dev, void *vaddr, size_t size) in dma_set_decrypted() 87 static int dma_set_encrypted(struct device *dev, void *vaddr, size_t size) in dma_set_encrypted() 99 static void __dma_direct_free_pages(struct device *dev, struct page *page, in __dma_direct_free_pages() 107 static struct page *dma_direct_alloc_swiotlb(struct device *dev, size_t size) in dma_direct_alloc_swiotlb() 119 static struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, in __dma_direct_alloc_pages() [all …]
|
D | debug.h | 58 static inline void debug_dma_map_page(struct device *dev, struct page *page, in debug_dma_map_page() 65 static inline void debug_dma_unmap_page(struct device *dev, dma_addr_t addr, in debug_dma_unmap_page() 70 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg() 76 static inline void debug_dma_unmap_sg(struct device *dev, in debug_dma_unmap_sg() 82 static inline void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent() 88 static inline void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent() 93 static inline void debug_dma_map_resource(struct device *dev, phys_addr_t addr, in debug_dma_map_resource() 100 static inline void debug_dma_unmap_resource(struct device *dev, in debug_dma_unmap_resource() 106 static inline void debug_dma_sync_single_for_cpu(struct device *dev, in debug_dma_sync_single_for_cpu() 112 static inline void debug_dma_sync_single_for_device(struct device *dev, in debug_dma_sync_single_for_device() [all …]
|
D | coherent.c | 23 static inline struct dma_coherent_mem *dev_get_coherent_memory(struct device *dev) in dev_get_coherent_memory() 30 static inline dma_addr_t dma_get_device_base(struct device *dev, in dma_get_device_base() 87 static int dma_assign_coherent_memory(struct device *dev, in dma_assign_coherent_memory() 117 int dma_declare_coherent_memory(struct device *dev, phys_addr_t phys_addr, in dma_declare_coherent_memory() 133 void dma_release_coherent_memory(struct device *dev) in dma_release_coherent_memory() 141 static void *__dma_alloc_from_coherent(struct device *dev, in __dma_alloc_from_coherent() 187 int dma_alloc_from_dev_coherent(struct device *dev, ssize_t size, in dma_alloc_from_dev_coherent() 227 int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr) in dma_release_from_dev_coherent() 271 int dma_mmap_from_dev_coherent(struct device *dev, struct vm_area_struct *vma, in dma_mmap_from_dev_coherent() 282 void *dma_alloc_from_global_coherent(struct device *dev, ssize_t size, in dma_alloc_from_global_coherent() [all …]
|
D | direct.h | 30 static inline void dma_direct_sync_sg_for_device(struct device *dev, in dma_direct_sync_sg_for_device() 44 static inline void dma_direct_unmap_sg(struct device *dev, in dma_direct_unmap_sg() 49 static inline void dma_direct_sync_sg_for_cpu(struct device *dev, in dma_direct_sync_sg_for_cpu() 55 static inline void dma_direct_sync_single_for_device(struct device *dev, in dma_direct_sync_single_for_device() 67 static inline void dma_direct_sync_single_for_cpu(struct device *dev, in dma_direct_sync_single_for_cpu() 84 static inline dma_addr_t dma_direct_map_page(struct device *dev, in dma_direct_map_page() 114 static inline void dma_direct_unmap_page(struct device *dev, dma_addr_t addr, in dma_direct_unmap_page()
|
D | debug.c | 68 struct device *dev; member 176 static bool driver_filter(struct device *dev) in driver_filter() 217 #define err_printk(dev, entry, format, arg...) do { \ argument 401 void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings() 822 static int device_dma_allocations(struct device *dev, struct dma_debug_entry **out_entry) in device_dma_allocations() 844 struct device *dev = data; in dma_debug_device_change() local 1049 static void check_for_stack(struct device *dev, in check_for_stack() 1077 static void check_for_illegal_area(struct device *dev, void *addr, unsigned long len) in check_for_illegal_area() 1084 static void check_sync(struct device *dev, in check_sync() 1160 static void check_sg_segment(struct device *dev, struct scatterlist *sg) in check_sg_segment() [all …]
|
D | swiotlb.c | 543 static unsigned int swiotlb_align_offset(struct device *dev, u64 addr) in swiotlb_align_offset() 551 static void swiotlb_bounce(struct device *dev, phys_addr_t tlb_addr, size_t size, in swiotlb_bounce() 647 static int swiotlb_do_find_slots(struct device *dev, int area_index, in swiotlb_do_find_slots() 737 static int swiotlb_find_slots(struct device *dev, phys_addr_t orig_addr, in swiotlb_find_slots() 766 phys_addr_t swiotlb_tbl_map_single(struct device *dev, phys_addr_t orig_addr, in swiotlb_tbl_map_single() 821 static void swiotlb_release_slots(struct device *dev, phys_addr_t tlb_addr) in swiotlb_release_slots() 871 void swiotlb_tbl_unmap_single(struct device *dev, phys_addr_t tlb_addr, in swiotlb_tbl_unmap_single() 885 void swiotlb_sync_single_for_device(struct device *dev, phys_addr_t tlb_addr, in swiotlb_sync_single_for_device() 894 void swiotlb_sync_single_for_cpu(struct device *dev, phys_addr_t tlb_addr, in swiotlb_sync_single_for_cpu() 907 dma_addr_t swiotlb_map(struct device *dev, phys_addr_t paddr, size_t size, in swiotlb_map() [all …]
|
D | contiguous.c | 258 struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, in dma_alloc_from_contiguous() 277 bool dma_release_from_contiguous(struct device *dev, struct page *pages, in dma_release_from_contiguous() 305 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) in dma_alloc_contiguous() 348 void dma_free_contiguous(struct device *dev, struct page *page, size_t size) in dma_free_contiguous() 384 static int rmem_cma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_cma_device_init() 391 struct device *dev) in rmem_cma_device_release()
|
D | ops_helpers.c | 18 int dma_common_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_common_get_sgtable() 35 int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, in dma_common_mmap() 63 struct page *dma_common_alloc_pages(struct device *dev, size_t size, in dma_common_alloc_pages() 86 void dma_common_free_pages(struct device *dev, size_t size, struct page *page, in dma_common_free_pages()
|
D | dummy.c | 7 static int dma_dummy_mmap(struct device *dev, struct vm_area_struct *vma, in dma_dummy_mmap() 14 static dma_addr_t dma_dummy_map_page(struct device *dev, struct page *page, in dma_dummy_map_page() 21 static int dma_dummy_map_sg(struct device *dev, struct scatterlist *sgl, in dma_dummy_map_sg()
|
D | pool.c | 240 static struct page *__dma_alloc_from_pool(struct device *dev, size_t size, in __dma_alloc_from_pool() 265 struct page *dma_alloc_from_pool(struct device *dev, size_t size, in dma_alloc_from_pool() 283 bool dma_free_from_pool(struct device *dev, void *start, size_t size) in dma_free_from_pool()
|
/kernel/time/ |
D | clockevents.c | 91 static int __clockevents_switch_state(struct clock_event_device *dev, in __clockevents_switch_state() 147 void clockevents_switch_state(struct clock_event_device *dev, in clockevents_switch_state() 171 void clockevents_shutdown(struct clock_event_device *dev) in clockevents_shutdown() 181 int clockevents_tick_resume(struct clock_event_device *dev) in clockevents_tick_resume() 202 static int clockevents_increase_min_delta(struct clock_event_device *dev) in clockevents_increase_min_delta() 233 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta() 272 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta() 303 int clockevents_program_event(struct clock_event_device *dev, ktime_t expires, in clockevents_program_event() 345 struct clock_event_device *dev; in clockevents_notify_released() local 360 struct clock_event_device *dev, *newdev = NULL; in clockevents_replace() local [all …]
|
D | tick-internal.h | 34 static inline int tick_device_is_functional(struct clock_event_device *dev) in tick_device_is_functional() 39 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) in clockevent_get_state() 44 static inline void clockevent_set_state(struct clock_event_device *dev, in clockevent_set_state() 76 static inline void tick_install_broadcast_device(struct clock_event_device *dev, int cpu) { } in tick_install_broadcast_device() 77 static inline int tick_is_broadcast_device(struct clock_event_device *dev) { return 0; } in tick_is_broadcast_device() 78 static inline int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) { return 0; } in tick_device_uses_broadcast() 84 static inline int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) { return -EN… in tick_broadcast_update_freq() 87 static inline void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler()
|
D | tick-broadcast.c | 163 void tick_install_broadcast_device(struct clock_event_device *dev, int cpu) in tick_install_broadcast_device() 209 int tick_is_broadcast_device(struct clock_event_device *dev) in tick_is_broadcast_device() 214 int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) in tick_broadcast_update_freq() 232 static void tick_device_setup_broadcast_func(struct clock_event_device *dev) in tick_device_setup_broadcast_func() 247 int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) in tick_device_uses_broadcast() 400 static void tick_handle_periodic_broadcast(struct clock_event_device *dev) in tick_handle_periodic_broadcast() 440 struct clock_event_device *bc, *dev; in tick_broadcast_control() local 515 void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler() 686 static void tick_handle_oneshot_broadcast(struct clock_event_device *dev) in tick_handle_oneshot_broadcast() 776 struct clock_event_device *dev) in broadcast_shutdown_local() [all …]
|
D | tick-oneshot.c | 25 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_program_event() local 52 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_resume_oneshot() local 76 struct clock_event_device *dev = td->evtdev; in tick_switch_to_oneshot() local
|
D | tick-common.c | 74 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available() local 109 void tick_handle_periodic(struct clock_event_device *dev) in tick_handle_periodic() 154 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() 425 struct clock_event_device *dev = td->evtdev; in tick_shutdown() local
|
/kernel/irq/ |
D | msi.c | 35 static struct msi_desc *msi_alloc_desc(struct device *dev, int nvec, in msi_alloc_desc() 79 int msi_add_msi_desc(struct device *dev, struct msi_desc *init_desc) in msi_add_msi_desc() 102 static int msi_add_simple_msi_descs(struct device *dev, unsigned int index, unsigned int ndesc) in msi_add_simple_msi_descs() 148 void msi_free_msi_descs_range(struct device *dev, enum msi_desc_filter filter, in msi_free_msi_descs_range() 178 static void msi_device_data_release(struct device *dev, void *res) in msi_device_data_release() 197 int msi_setup_device_data(struct device *dev) in msi_setup_device_data() 226 void msi_lock_descs(struct device *dev) in msi_lock_descs() 236 void msi_unlock_descs(struct device *dev) in msi_unlock_descs() 267 struct msi_desc *msi_first_desc(struct device *dev, enum msi_desc_filter filter) in msi_first_desc() 293 struct msi_desc *msi_next_desc(struct device *dev, enum msi_desc_filter filter) in msi_next_desc() [all …]
|
D | devres.c | 18 static void devm_irq_release(struct device *dev, void *res) in devm_irq_release() 25 static int devm_irq_match(struct device *dev, void *res, void *data) in devm_irq_match() 51 int devm_request_threaded_irq(struct device *dev, unsigned int irq, in devm_request_threaded_irq() 99 int devm_request_any_context_irq(struct device *dev, unsigned int irq, in devm_request_any_context_irq() 139 void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id) in devm_free_irq() 154 static void devm_irq_desc_release(struct device *dev, void *res) in devm_irq_desc_release() 178 int __devm_irq_alloc_descs(struct device *dev, int irq, unsigned int from, in __devm_irq_alloc_descs() 218 devm_irq_alloc_generic_chip(struct device *dev, const char *name, int num_ct, in devm_irq_alloc_generic_chip() 240 static void devm_irq_remove_generic_chip(struct device *dev, void *res) in devm_irq_remove_generic_chip() 262 int devm_irq_setup_generic_chip(struct device *dev, struct irq_chip_generic *gc, in devm_irq_setup_generic_chip()
|
/kernel/power/ |
D | energy_model.c | 26 static bool _is_cpu_device(struct device *dev) in _is_cpu_device() 67 static void em_debug_create_pd(struct device *dev) in em_debug_create_pd() 88 static void em_debug_remove_pd(struct device *dev) in em_debug_remove_pd() 102 static void em_debug_create_pd(struct device *dev) {} in em_debug_create_pd() 103 static void em_debug_remove_pd(struct device *dev) {} in em_debug_remove_pd() 106 static int em_create_perf_table(struct device *dev, struct em_perf_domain *pd, in em_create_perf_table() 195 static int em_create_pd(struct device *dev, int nr_states, in em_create_pd() 240 static void em_cpufreq_update_efficiencies(struct device *dev) in em_cpufreq_update_efficiencies() 286 struct em_perf_domain *em_pd_get(struct device *dev) in em_pd_get() 337 int em_dev_register_perf_domain(struct device *dev, unsigned int nr_states, in em_dev_register_perf_domain() [all …]
|
D | console.c | 24 struct device *dev; member 46 void pm_vt_switch_required(struct device *dev, bool required) in pm_vt_switch_required() 78 void pm_vt_switch_unregister(struct device *dev) in pm_vt_switch_unregister()
|
D | user.c | 39 dev_t dev; member 42 int is_hibernate_resume_dev(dev_t dev) in is_hibernate_resume_dev() 210 u32 dev; member
|
/kernel/bpf/ |
D | devmap.c | 59 struct net_device *dev; member 66 struct net_device *dev; /* must be first member, due to tracepoint */ member 210 struct bpf_dtab_netdev *dev; in dev_map_free() local 228 struct bpf_dtab_netdev *dev; in dev_map_free() local 271 struct bpf_dtab_netdev *dev; in __dev_map_hash_lookup_elem() local 286 struct bpf_dtab_netdev *dev, *next_dev; in dev_map_hash_get_next_key() local 328 struct net_device *dev) in dev_map_bpf_prog_run() 367 struct net_device *dev = bq->dev; in bq_xmit_all() local 446 static void bq_enqueue(struct net_device *dev, struct xdp_frame *xdpf, in bq_enqueue() 471 static inline int __xdp_enqueue(struct net_device *dev, struct xdp_frame *xdpf, in __xdp_enqueue() [all …]
|
/kernel/ |
D | iomem.c | 129 static void devm_memremap_release(struct device *dev, void *res) in devm_memremap_release() 134 static int devm_memremap_match(struct device *dev, void *res, void *match_data) in devm_memremap_match() 139 void *devm_memremap(struct device *dev, resource_size_t offset, in devm_memremap() 162 void devm_memunmap(struct device *dev, void *addr) in devm_memunmap()
|
D | cpu.c | 1298 int cpu_device_down(struct device *dev) in cpu_device_down() 1510 int cpu_device_up(struct device *dev) in cpu_device_up() 2289 struct device *dev = get_cpu_device(cpu); in cpuhp_offline_cpu_device() local 2298 struct device *dev = get_cpu_device(cpu); in cpuhp_online_cpu_device() local 2367 static ssize_t state_show(struct device *dev, in state_show() 2376 static ssize_t target_store(struct device *dev, struct device_attribute *attr, in target_store() 2417 static ssize_t target_show(struct device *dev, in target_show() 2426 static ssize_t fail_store(struct device *dev, struct device_attribute *attr, in fail_store() 2476 static ssize_t fail_show(struct device *dev, in fail_show() 2499 static ssize_t states_show(struct device *dev, in states_show() [all …]
|
D | audit_watch.c | 38 dev_t dev; /* associated superblock device */ member 128 int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev) in audit_watch_compare() 246 const struct qstr *dname, dev_t dev, in audit_update_watch() 528 dev_t dev; in audit_exe_compare() local
|