| /kernel/dma/ |
| D | mapping.c | 40 static void dmam_release(struct device *dev, void *res) in dmam_release() 48 static int dmam_match(struct device *dev, void *res, void *match_data) in dmam_match() 69 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent() 93 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs() 120 static bool dma_go_direct(struct device *dev, dma_addr_t mask, in dma_go_direct() 143 static inline bool dma_alloc_direct(struct device *dev, in dma_alloc_direct() 149 static inline bool dma_map_direct(struct device *dev, in dma_map_direct() 155 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, in dma_map_page_attrs() 183 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_page_attrs() 201 static int __dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in __dma_map_sg_attrs() [all …]
|
| D | direct.c | 26 static inline dma_addr_t phys_to_dma_direct(struct device *dev, in phys_to_dma_direct() 34 static inline struct page *dma_direct_to_page(struct device *dev, in dma_direct_to_page() 40 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 *phys_limit) in dma_direct_optimal_gfp_mask() 71 bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok() 81 static int dma_set_decrypted(struct device *dev, void *vaddr, size_t size) in dma_set_decrypted() 88 static int dma_set_encrypted(struct device *dev, void *vaddr, size_t size) in dma_set_encrypted() 100 static void __dma_direct_free_pages(struct device *dev, struct page *page, in __dma_direct_free_pages() 108 static struct page *dma_direct_alloc_swiotlb(struct device *dev, size_t size) in dma_direct_alloc_swiotlb() 120 static struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, in __dma_direct_alloc_pages() [all …]
|
| D | debug.h | 65 static inline void debug_dma_map_page(struct device *dev, struct page *page, in debug_dma_map_page() 72 static inline void debug_dma_unmap_page(struct device *dev, dma_addr_t addr, in debug_dma_unmap_page() 77 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg() 83 static inline void debug_dma_unmap_sg(struct device *dev, in debug_dma_unmap_sg() 89 static inline void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent() 95 static inline void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent() 100 static inline void debug_dma_map_resource(struct device *dev, phys_addr_t addr, in debug_dma_map_resource() 107 static inline void debug_dma_unmap_resource(struct device *dev, in debug_dma_unmap_resource() 113 static inline void debug_dma_sync_single_for_cpu(struct device *dev, in debug_dma_sync_single_for_cpu() 119 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 | 31 static inline void dma_direct_sync_sg_for_device(struct device *dev, in dma_direct_sync_sg_for_device() 45 static inline void dma_direct_unmap_sg(struct device *dev, in dma_direct_unmap_sg() 50 static inline void dma_direct_sync_sg_for_cpu(struct device *dev, in dma_direct_sync_sg_for_cpu() 56 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() 83 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 | 70 struct device *dev; member 178 static bool driver_filter(struct device *dev) in driver_filter() 219 #define err_printk(dev, entry, format, arg...) do { \ argument 518 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 1057 static void check_for_stack(struct device *dev, in check_for_stack() 1085 static void check_for_illegal_area(struct device *dev, void *addr, unsigned long len) in check_for_illegal_area() 1092 static void check_sync(struct device *dev, in check_sync() 1168 static void check_sg_segment(struct device *dev, struct scatterlist *sg) in check_sg_segment() [all …]
|
| D | swiotlb.c | 612 static struct page *swiotlb_alloc_tlb(struct device *dev, size_t bytes, in swiotlb_alloc_tlb() 683 static struct io_tlb_pool *swiotlb_alloc_pool(struct device *dev, in swiotlb_alloc_pool() 777 struct io_tlb_pool *__swiotlb_find_pool(struct device *dev, phys_addr_t paddr) in __swiotlb_find_pool() 804 static void swiotlb_del_pool(struct device *dev, struct io_tlb_pool *pool) in swiotlb_del_pool() 821 void swiotlb_dev_init(struct device *dev) in swiotlb_dev_init() 850 static unsigned int swiotlb_align_offset(struct device *dev, in swiotlb_align_offset() 860 static void swiotlb_bounce(struct device *dev, phys_addr_t tlb_addr, size_t size, in swiotlb_bounce() 1017 static int swiotlb_search_pool_area(struct device *dev, struct io_tlb_pool *pool, in swiotlb_search_pool_area() 1142 static int swiotlb_search_area(struct device *dev, int start_cpu, in swiotlb_search_area() 1182 static int swiotlb_find_slots(struct device *dev, phys_addr_t orig_addr, in swiotlb_find_slots() [all …]
|
| 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() 20 static void dma_dummy_unmap_page(struct device *dev, dma_addr_t dma_handle, in dma_dummy_unmap_page() 30 static int dma_dummy_map_sg(struct device *dev, struct scatterlist *sgl, in dma_dummy_map_sg() 37 static void dma_dummy_unmap_sg(struct device *dev, struct scatterlist *sgl, in dma_dummy_unmap_sg()
|
| D | ops_helpers.c | 19 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() 62 struct page *dma_common_alloc_pages(struct device *dev, size_t size, in dma_common_alloc_pages() 89 void dma_common_free_pages(struct device *dev, size_t size, struct page *page, in dma_common_free_pages()
|
| D | contiguous.c | 309 struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, in dma_alloc_from_contiguous() 328 bool dma_release_from_contiguous(struct device *dev, struct page *pages, in dma_release_from_contiguous() 356 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) in dma_alloc_contiguous() 406 void dma_free_contiguous(struct device *dev, struct page *page, size_t size) in dma_free_contiguous() 445 static int rmem_cma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_cma_device_init() 452 struct device *dev) in rmem_cma_device_release()
|
| 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 | 39 static inline int tick_device_is_functional(struct clock_event_device *dev) in tick_device_is_functional() 44 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) in clockevent_get_state() 49 static inline void clockevent_set_state(struct clock_event_device *dev, in clockevent_set_state() 80 static inline void tick_install_broadcast_device(struct clock_event_device *dev, int cpu) { } in tick_install_broadcast_device() 81 static inline int tick_is_broadcast_device(struct clock_event_device *dev) { return 0; } in tick_is_broadcast_device() 82 static inline int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) { return 0; } in tick_device_uses_broadcast() 88 static inline int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) { return -EN… in tick_broadcast_update_freq() 91 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() 690 static void tick_handle_oneshot_broadcast(struct clock_event_device *dev) in tick_handle_oneshot_broadcast() 780 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 | 75 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available() local 110 void tick_handle_periodic(struct clock_event_device *dev) in tick_handle_periodic() 153 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 | 74 static struct msi_desc *msi_alloc_desc(struct device *dev, int nvec, in msi_alloc_desc() 100 static int msi_insert_desc(struct device *dev, struct msi_desc *desc, in msi_insert_desc() 148 int msi_domain_insert_msi_desc(struct device *dev, unsigned int domid, in msi_domain_insert_msi_desc() 179 static bool msi_ctrl_valid(struct device *dev, struct msi_ctrl *ctrl) in msi_ctrl_valid() 196 static void msi_domain_free_descs(struct device *dev, struct msi_ctrl *ctrl) in msi_domain_free_descs() 225 void msi_domain_free_msi_descs_range(struct device *dev, unsigned int domid, in msi_domain_free_msi_descs_range() 244 static int msi_domain_add_simple_msi_descs(struct device *dev, struct msi_ctrl *ctrl) in msi_domain_add_simple_msi_descs() 285 static void msi_device_data_release(struct device *dev, void *res) in msi_device_data_release() 308 int msi_setup_device_data(struct device *dev) in msi_setup_device_data() 348 void msi_lock_descs(struct device *dev) in msi_lock_descs() [all …]
|
| D | devres.c | 19 static void devm_irq_release(struct device *dev, void *res) in devm_irq_release() 26 static int devm_irq_match(struct device *dev, void *res, void *data) in devm_irq_match() 52 int devm_request_threaded_irq(struct device *dev, unsigned int irq, in devm_request_threaded_irq() 100 int devm_request_any_context_irq(struct device *dev, unsigned int irq, in devm_request_any_context_irq() 140 void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id) in devm_free_irq() 155 static void devm_irq_desc_release(struct device *dev, void *res) in devm_irq_desc_release() 179 int __devm_irq_alloc_descs(struct device *dev, int irq, unsigned int from, in __devm_irq_alloc_descs() 219 devm_irq_alloc_generic_chip(struct device *dev, const char *name, int num_ct, in devm_irq_alloc_generic_chip() 241 static void devm_irq_remove_generic_chip(struct device *dev, void *res) in devm_irq_remove_generic_chip() 263 int devm_irq_setup_generic_chip(struct device *dev, struct irq_chip_generic *gc, in devm_irq_setup_generic_chip() [all …]
|
| /kernel/power/ |
| D | energy_model.c | 32 static bool _is_cpu_device(struct device *dev) in _is_cpu_device() 119 static void em_debug_create_pd(struct device *dev) in em_debug_create_pd() 146 static void em_debug_remove_pd(struct device *dev) in em_debug_remove_pd() 160 static void em_debug_create_pd(struct device *dev) {} in em_debug_create_pd() 161 static void em_debug_remove_pd(struct device *dev) {} in em_debug_remove_pd() 205 static void em_init_performance(struct device *dev, struct em_perf_domain *pd, in em_init_performance() 229 static int em_compute_costs(struct device *dev, struct em_perf_state *table, in em_compute_costs() 284 int em_dev_compute_costs(struct device *dev, struct em_perf_state *table, in em_dev_compute_costs() 302 int em_dev_update_perf_domain(struct device *dev, in em_dev_update_perf_domain() 335 static int em_create_perf_table(struct device *dev, struct em_perf_domain *pd, in em_create_perf_table() [all …]
|
| D | console.c | 25 struct device *dev; member 47 void pm_vt_switch_required(struct device *dev, bool required) in pm_vt_switch_required() 79 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 | tcx.c | 16 struct net_device *dev; in tcx_prog_attach() local 64 struct net_device *dev; in tcx_prog_detach() local 95 void tcx_uninstall(struct net_device *dev, bool ingress) in tcx_uninstall() 126 struct net_device *dev; in tcx_prog_query() local 147 struct net_device *dev = tcx->dev; in tcx_link_prog_attach() local 174 struct net_device *dev; in tcx_link_release() local 209 struct net_device *dev; in tcx_link_update() local 301 struct net_device *dev, in tcx_link_init() 314 struct net_device *dev; in tcx_link_attach() local
|
| D | devmap.c | 59 struct net_device *dev; member 66 struct net_device *dev; /* must be first member, due to tracepoint */ member 218 struct bpf_dtab_netdev *dev; in dev_map_free() local 236 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 378 struct net_device *dev = bq->dev; in bq_xmit_all() local 456 static void bq_enqueue(struct net_device *dev, struct xdp_frame *xdpf, in bq_enqueue() 482 static inline int __xdp_enqueue(struct net_device *dev, struct xdp_frame *xdpf, in __xdp_enqueue() 534 int dev_xdp_enqueue(struct net_device *dev, struct xdp_frame *xdpf, in dev_xdp_enqueue() [all …]
|
| /kernel/ |
| D | iomem.c | 126 static void devm_memremap_release(struct device *dev, void *res) in devm_memremap_release() 131 static int devm_memremap_match(struct device *dev, void *res, void *match_data) in devm_memremap_match() 136 void *devm_memremap(struct device *dev, resource_size_t offset, in devm_memremap() 159 void devm_memunmap(struct device *dev, void *addr) in devm_memunmap()
|
| D | cpu.c | 1517 int cpu_device_down(struct device *dev) in cpu_device_down() 1733 int cpu_device_up(struct device *dev) in cpu_device_up() 2649 struct device *dev = get_cpu_device(cpu); in cpuhp_offline_cpu_device() local 2658 struct device *dev = get_cpu_device(cpu); in cpuhp_online_cpu_device() local 2735 static ssize_t state_show(struct device *dev, in state_show() 2744 static ssize_t target_store(struct device *dev, struct device_attribute *attr, in target_store() 2785 static ssize_t target_show(struct device *dev, in target_show() 2794 static ssize_t fail_store(struct device *dev, struct device_attribute *attr, in fail_store() 2844 static ssize_t fail_show(struct device *dev, in fail_show() 2867 static ssize_t states_show(struct device *dev, in states_show() [all …]
|