| /kernel/dma/ |
| A D | mapping.c | 40 static void dmam_release(struct device *dev, void *res) in dmam_release() 149 static inline bool dma_map_direct(struct device *dev, in dma_map_direct() 454 bool dma_need_unmap(struct device *dev) in dma_need_unmap() 464 static void dma_setup_need_sync(struct device *dev) in dma_setup_need_sync() 542 bool dma_can_mmap(struct device *dev) in dma_can_mmap() 585 u64 dma_get_required_mask(struct device *dev) in dma_get_required_mask() 881 bool dma_pci_p2pdma_supported(struct device *dev) in dma_pci_p2pdma_supported() 896 int dma_set_mask(struct device *dev, u64 mask) in dma_set_mask() 952 bool dma_addressing_limited(struct device *dev) in dma_addressing_limited() 962 size_t dma_max_mapping_size(struct device *dev) in dma_max_mapping_size() [all …]
|
| A D | direct.c | 26 static inline dma_addr_t phys_to_dma_direct(struct device *dev, in phys_to_dma_direct() 40 u64 dma_direct_get_required_mask(struct device *dev) in dma_direct_get_required_mask() 208 void *dma_direct_alloc(struct device *dev, size_t size, in dma_direct_alloc() 315 void dma_direct_free(struct device *dev, size_t size, in dma_direct_free() 399 void dma_direct_sync_sg_for_device(struct device *dev, in dma_direct_sync_sg_for_device() 420 void dma_direct_sync_sg_for_cpu(struct device *dev, in dma_direct_sync_sg_for_cpu() 534 bool dma_direct_can_mmap(struct device *dev) in dma_direct_can_mmap() 564 int dma_direct_supported(struct device *dev, u64 mask) in dma_direct_supported() 612 struct device *dev = data; in check_ram_in_range_map() local 627 bool dma_direct_all_ram_mapped(struct device *dev) in dma_direct_all_ram_mapped() [all …]
|
| A 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() 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() 118 static inline void debug_dma_sync_sg_for_cpu(struct device *dev, in debug_dma_sync_sg_for_cpu() [all …]
|
| A 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 …]
|
| A 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()
|
| A D | debug.c | 69 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 516 void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings() 845 struct device *dev = data; in dma_debug_device_change() local 1054 static void check_for_stack(struct device *dev, in check_for_stack() 1089 static void check_sync(struct device *dev, in check_sync() 1330 static int get_nr_mapped_entries(struct device *dev, in get_nr_mapped_entries() 1392 void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent() 1422 void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent() [all …]
|
| A D | swiotlb.c | 683 static struct io_tlb_pool *swiotlb_alloc_pool(struct device *dev, in swiotlb_alloc_pool() 820 void swiotlb_dev_init(struct device *dev) in swiotlb_dev_init() 849 static unsigned int swiotlb_align_offset(struct device *dev, in swiotlb_align_offset() 1141 static int swiotlb_search_area(struct device *dev, int start_cpu, in swiotlb_search_area() 1524 static inline bool swiotlb_del_transient(struct device *dev, in swiotlb_del_transient() 1605 size_t swiotlb_max_mapping_size(struct device *dev) in swiotlb_max_mapping_size() 1629 bool is_swiotlb_active(struct device *dev) in is_swiotlb_active() 1751 struct page *swiotlb_alloc(struct device *dev, size_t size) in swiotlb_alloc() 1778 bool swiotlb_free(struct device *dev, struct page *page, size_t size) in swiotlb_free() 1793 struct device *dev) in rmem_swiotlb_device_init() [all …]
|
| A 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()
|
| A 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()
|
| A D | contiguous.c | 306 struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, in dma_alloc_from_contiguous() 325 bool dma_release_from_contiguous(struct device *dev, struct page *pages, in dma_release_from_contiguous() 353 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) in dma_alloc_contiguous() 403 void dma_free_contiguous(struct device *dev, struct page *page, size_t size) in dma_free_contiguous() 442 static int rmem_cma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_cma_device_init() 449 struct device *dev) in rmem_cma_device_release()
|
| A 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/ |
| A D | clockevents.c | 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() 349 struct clock_event_device *dev; in clockevents_notify_released() local 368 struct clock_event_device *dev, *newdev = NULL; in clockevents_replace() local 600 struct clock_event_device *dev; in clockevents_suspend() local 612 struct clock_event_device *dev; in clockevents_resume() local 631 struct clock_event_device *dev, *tmp; in tick_offline_cpu() local 670 static ssize_t current_device_show(struct device *dev, in current_device_show() 687 static ssize_t unbind_device_store(struct device *dev, in unbind_device_store() [all …]
|
| A D | tick-internal.h | 40 static inline int tick_device_is_functional(struct clock_event_device *dev) in tick_device_is_functional() 45 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) in clockevent_get_state() 50 static inline void clockevent_set_state(struct clock_event_device *dev, in clockevent_set_state() 81 static inline void tick_install_broadcast_device(struct clock_event_device *dev, int cpu) { } in tick_install_broadcast_device() 82 static inline int tick_is_broadcast_device(struct clock_event_device *dev) { return 0; } in tick_is_broadcast_device() 83 static inline int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) { return 0; } in tick_device_uses_broadcast() 89 static inline int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) { return -EN… in tick_broadcast_update_freq() 92 static inline void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler()
|
| A 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 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() 800 struct clock_event_device *bc, *dev = td->evtdev; in ___tick_broadcast_oneshot_control() local [all …]
|
| A 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
|
| A D | tick-common.c | 74 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available() local 108 void tick_handle_periodic(struct clock_event_device *dev) in tick_handle_periodic() 151 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() 423 struct clock_event_device *dev = td->evtdev; in tick_shutdown() local
|
| /kernel/irq/ |
| A D | msi.c | 76 static struct msi_desc *msi_alloc_desc(struct device *dev, int nvec, in msi_alloc_desc() 310 int msi_setup_device_data(struct device *dev) in msi_setup_device_data() 352 void __msi_lock_descs(struct device *dev) in __msi_lock_descs() 364 void __msi_unlock_descs(struct device *dev) in __msi_unlock_descs() 497 static inline int msi_sysfs_create_group(struct device *dev) in msi_sysfs_create_group() 567 int msi_device_populate_sysfs(struct device *dev) in msi_device_populate_sysfs() 587 void msi_device_destroy_sysfs(struct device *dev) in msi_device_destroy_sysfs() 1181 struct device *dev) in msi_check_reservation_mode() 1581 struct device *dev = domain->dev; in msi_device_domain_alloc_wired() local 1732 struct device *dev = domain->dev; in msi_device_domain_free_wired() local [all …]
|
| A 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() 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() 287 static void devm_irq_domain_remove(struct device *dev, void *res) in devm_irq_domain_remove() [all …]
|
| /kernel/power/ |
| A 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() 302 int em_dev_update_perf_domain(struct device *dev, in em_dev_update_perf_domain() 501 struct em_perf_domain *em_pd_get(struct device *dev) in em_pd_get() 652 void em_dev_unregister_perf_domain(struct device *dev) in em_dev_unregister_perf_domain() 770 struct device *dev = get_cpu_device(cpu); in em_adjust_cpu_capacity() local 792 struct device *dev; in em_check_capacity_update() local [all …]
|
| A 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()
|
| A 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/ |
| A 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
|
| A D | devmap.c | 59 struct net_device *dev; 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 543 struct net_device *dev = dst->dev; in dev_map_enqueue() local 811 struct bpf_dtab_netdev *dev; in __dev_map_entry_free() local 865 struct bpf_dtab_netdev *dev; in __dev_map_alloc_node() local 911 struct bpf_dtab_netdev *dev, *old_dev; in __dev_map_update_elem() local [all …]
|
| /kernel/ |
| A D | iomem.c | 127 static void devm_memremap_release(struct device *dev, void *res) in devm_memremap_release() 132 static int devm_memremap_match(struct device *dev, void *res, void *match_data) in devm_memremap_match() 137 void *devm_memremap(struct device *dev, resource_size_t offset, in devm_memremap() 160 void devm_memunmap(struct device *dev, void *addr) in devm_memunmap()
|
| A 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() 2644 struct device *dev = get_cpu_device(cpu); in cpuhp_offline_cpu_device() local 2653 struct device *dev = get_cpu_device(cpu); in cpuhp_online_cpu_device() local 2730 static ssize_t state_show(struct device *dev, in state_show() 2780 static ssize_t target_show(struct device *dev, in target_show() 2839 static ssize_t fail_show(struct device *dev, in fail_show() 2861 static ssize_t states_show(struct device *dev, in states_show() 2969 static ssize_t control_show(struct device *dev, in control_show() 2995 static ssize_t active_show(struct device *dev, in active_show() [all …]
|