/kernel/dma/ |
D | mapping.c | 29 static void dmam_release(struct device *dev, void *res) in dmam_release() 37 static int dmam_match(struct device *dev, void *res, void *match_data) in dmam_match() 58 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent() 82 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs() 109 static bool dma_go_direct(struct device *dev, dma_addr_t mask, in dma_go_direct() 128 static inline bool dma_alloc_direct(struct device *dev, in dma_alloc_direct() 134 static inline bool dma_map_direct(struct device *dev, in dma_map_direct() 140 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, in dma_map_page_attrs() 162 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_page_attrs() 180 int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, 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() 47 static gfp_t dma_direct_optimal_gfp_mask(struct device *dev, u64 dma_mask, in dma_direct_optimal_gfp_mask() 69 static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok() 79 static struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, in __dma_direct_alloc_pages() 119 static void *dma_direct_alloc_from_pool(struct device *dev, size_t size, in dma_direct_alloc_from_pool() 135 void *dma_direct_alloc(struct device *dev, size_t size, in dma_direct_alloc() 246 void dma_direct_free(struct device *dev, size_t size, in dma_direct_free() 279 struct page *dma_direct_alloc_pages(struct device *dev, size_t size, in dma_direct_alloc_pages() [all …]
|
D | debug.h | 54 static inline void debug_dma_map_page(struct device *dev, struct page *page, in debug_dma_map_page() 60 static inline void debug_dma_unmap_page(struct device *dev, dma_addr_t addr, in debug_dma_unmap_page() 65 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg() 70 static inline void debug_dma_unmap_sg(struct device *dev, in debug_dma_unmap_sg() 76 static inline void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent() 81 static inline void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent() 86 static inline void debug_dma_map_resource(struct device *dev, phys_addr_t addr, in debug_dma_map_resource() 92 static inline void debug_dma_unmap_resource(struct device *dev, in debug_dma_unmap_resource() 98 static inline void debug_dma_sync_single_for_cpu(struct device *dev, in debug_dma_sync_single_for_cpu() 104 static inline void debug_dma_sync_single_for_device(struct device *dev, in debug_dma_sync_single_for_device() [all …]
|
D | coherent.c | 25 static inline struct dma_coherent_mem *dev_get_coherent_memory(struct device *dev) in dev_get_coherent_memory() 32 static inline dma_addr_t dma_get_device_base(struct device *dev, in dma_get_device_base() 97 static int dma_assign_coherent_memory(struct device *dev, in dma_assign_coherent_memory() 127 int dma_declare_coherent_memory(struct device *dev, phys_addr_t phys_addr, in dma_declare_coherent_memory() 143 void dma_release_coherent_memory(struct device *dev) in dma_release_coherent_memory() 151 static void *__dma_alloc_from_coherent(struct device *dev, in __dma_alloc_from_coherent() 197 int dma_alloc_from_dev_coherent(struct device *dev, ssize_t size, in dma_alloc_from_dev_coherent() 209 void *dma_alloc_from_global_coherent(struct device *dev, ssize_t size, in dma_alloc_from_global_coherent() 247 int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr) in dma_release_from_dev_coherent() 300 int dma_mmap_from_dev_coherent(struct device *dev, struct vm_area_struct *vma, in dma_mmap_from_dev_coherent() [all …]
|
D | direct.h | 29 static inline void dma_direct_sync_sg_for_device(struct device *dev, in dma_direct_sync_sg_for_device() 43 static inline void dma_direct_unmap_sg(struct device *dev, in dma_direct_unmap_sg() 48 static inline void dma_direct_sync_sg_for_cpu(struct device *dev, in dma_direct_sync_sg_for_cpu() 54 static inline void dma_direct_sync_single_for_device(struct device *dev, in dma_direct_sync_single_for_device() 66 static inline void dma_direct_sync_single_for_cpu(struct device *dev, in dma_direct_sync_single_for_cpu() 83 static inline dma_addr_t dma_direct_map_page(struct device *dev, in dma_direct_map_page() 108 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 403 void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings() 825 static int device_dma_allocations(struct device *dev, struct dma_debug_entry **out_entry) in device_dma_allocations() 847 struct device *dev = data; in dma_debug_device_change() local 1052 static void check_for_stack(struct device *dev, in check_for_stack() 1090 static void check_for_illegal_area(struct device *dev, void *addr, unsigned long len) in check_for_illegal_area() 1097 static void check_sync(struct device *dev, in check_sync() 1173 static void check_sg_segment(struct device *dev, struct scatterlist *sg) in check_sg_segment() [all …]
|
D | virt.c | 10 static void *dma_virt_alloc(struct device *dev, size_t size, in dma_virt_alloc() 22 static void dma_virt_free(struct device *dev, size_t size, in dma_virt_free() 29 static dma_addr_t dma_virt_map_page(struct device *dev, struct page *page, in dma_virt_map_page() 37 static int dma_virt_map_sg(struct device *dev, struct scatterlist *sgl, in dma_virt_map_sg()
|
D | contiguous.c | 259 struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, in dma_alloc_from_contiguous() 279 bool dma_release_from_contiguous(struct device *dev, struct page *pages, in dma_release_from_contiguous() 308 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) in dma_alloc_contiguous() 356 void dma_free_contiguous(struct device *dev, struct page *page, size_t size) in dma_free_contiguous() 392 static int rmem_cma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_cma_device_init() 399 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() 34 int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, in dma_common_mmap() 61 struct page *dma_common_alloc_pages(struct device *dev, size_t size, in dma_common_alloc_pages() 84 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 | 243 static struct page *__dma_alloc_from_pool(struct device *dev, size_t size, in __dma_alloc_from_pool() 268 struct page *dma_alloc_from_pool(struct device *dev, size_t size, in dma_alloc_from_pool() 286 bool dma_free_from_pool(struct device *dev, void *start, size_t size) in dma_free_from_pool()
|
D | swiotlb.c | 463 static unsigned int swiotlb_align_offset(struct device *dev, u64 addr) in swiotlb_align_offset() 489 static int find_slots(struct device *dev, phys_addr_t orig_addr, in find_slots() 564 phys_addr_t swiotlb_tbl_map_single(struct device *dev, phys_addr_t orig_addr, in swiotlb_tbl_map_single() 705 dma_addr_t swiotlb_map(struct device *dev, phys_addr_t paddr, size_t size, in swiotlb_map() 735 size_t swiotlb_max_mapping_size(struct device *dev) in swiotlb_max_mapping_size()
|
/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 361 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 | 162 void tick_install_broadcast_device(struct clock_event_device *dev, int cpu) in tick_install_broadcast_device() 208 int tick_is_broadcast_device(struct clock_event_device *dev) in tick_is_broadcast_device() 213 int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) in tick_broadcast_update_freq() 231 static void tick_device_setup_broadcast_func(struct clock_event_device *dev) in tick_device_setup_broadcast_func() 246 int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) in tick_device_uses_broadcast() 399 static void tick_handle_periodic_broadcast(struct clock_event_device *dev) in tick_handle_periodic_broadcast() 439 struct clock_event_device *bc, *dev; in tick_broadcast_control() local 514 void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler() 685 static void tick_handle_oneshot_broadcast(struct clock_event_device *dev) in tick_handle_oneshot_broadcast() 775 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 | 72 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available() local 107 void tick_handle_periodic(struct clock_event_device *dev) in tick_handle_periodic() 152 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() 432 struct clock_event_device *dev = td->evtdev; in tick_shutdown() local
|
/kernel/power/ |
D | energy_model.c | 25 static bool _is_cpu_device(struct device *dev) in _is_cpu_device() 66 static void em_debug_create_pd(struct device *dev) in em_debug_create_pd() 86 static void em_debug_remove_pd(struct device *dev) in em_debug_remove_pd() 100 static void em_debug_create_pd(struct device *dev) {} in em_debug_create_pd() 101 static void em_debug_remove_pd(struct device *dev) {} in em_debug_remove_pd() 104 static int em_create_perf_table(struct device *dev, struct em_perf_domain *pd, in em_create_perf_table() 179 static int em_create_pd(struct device *dev, int nr_states, in em_create_pd() 222 struct em_perf_domain *em_pd_get(struct device *dev) in em_pd_get() 273 int em_dev_register_perf_domain(struct device *dev, unsigned int nr_states, in em_dev_register_perf_domain() 345 void em_dev_unregister_perf_domain(struct device *dev) in em_dev_unregister_perf_domain()
|
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() 206 u32 dev; member
|
/kernel/irq/ |
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()
|
D | msi.c | 29 struct msi_desc *alloc_msi_entry(struct device *dev, int nvec, in alloc_msi_entry() 196 static int msi_domain_ops_prepare(struct irq_domain *domain, struct device *dev, in msi_domain_ops_prepare() 226 struct device *dev) in msi_domain_ops_check() 304 int msi_domain_prepare_irqs(struct irq_domain *domain, struct device *dev, in msi_domain_prepare_irqs() 318 int msi_domain_populate_irqs(struct irq_domain *domain, struct device *dev, in msi_domain_populate_irqs() 372 struct device *dev) in msi_check_reservation_mode() 398 int __msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev, in __msi_domain_alloc_irqs() 499 int msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev, in msi_domain_alloc_irqs() 508 void __msi_domain_free_irqs(struct irq_domain *domain, struct device *dev) in __msi_domain_free_irqs() 539 void msi_domain_free_irqs(struct irq_domain *domain, struct device *dev) in msi_domain_free_irqs()
|
/kernel/bpf/ |
D | devmap.c | 58 struct net_device *dev; member 64 struct net_device *dev; /* must be first member, due to tracepoint */ member 222 struct bpf_dtab_netdev *dev; in dev_map_free() local 240 struct bpf_dtab_netdev *dev; in dev_map_free() local 279 struct bpf_dtab_netdev *dev; in __dev_map_hash_lookup_elem() local 294 struct bpf_dtab_netdev *dev, *next_dev; in dev_map_hash_get_next_key() local 346 struct net_device *dev = bq->dev; in bq_xmit_all() local 424 static void bq_enqueue(struct net_device *dev, struct xdp_frame *xdpf, in bq_enqueue() 446 static inline int __xdp_enqueue(struct net_device *dev, struct xdp_buff *xdp, in __xdp_enqueue() 467 static struct xdp_buff *dev_map_run_prog(struct net_device *dev, in dev_map_run_prog() [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 | 1146 int cpu_device_down(struct device *dev) in cpu_device_down() 1645 int cpu_device_up(struct device *dev) in cpu_device_up() 2428 struct device *dev = get_cpu_device(cpu); in cpuhp_offline_cpu_device() local 2437 struct device *dev = get_cpu_device(cpu); in cpuhp_online_cpu_device() local 2498 static ssize_t show_cpuhp_state(struct device *dev, in show_cpuhp_state() 2507 static ssize_t write_cpuhp_target(struct device *dev, in write_cpuhp_target() 2549 static ssize_t show_cpuhp_target(struct device *dev, in show_cpuhp_target() 2559 static ssize_t write_cpuhp_fail(struct device *dev, in write_cpuhp_fail() 2596 static ssize_t show_cpuhp_fail(struct device *dev, in show_cpuhp_fail() 2619 static ssize_t show_cpuhp_states(struct device *dev, in show_cpuhp_states() [all …]
|