| /linux/include/linux/ |
| H A D | pm_runtime.h | 111 static inline void pm_suspend_ignore_children(struct device *dev, bool enable) in pm_suspend_ignore_children() 120 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume() 131 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle() 148 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended() 166 static inline bool pm_runtime_active(struct device *dev) in pm_runtime_active() 183 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended() 198 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled() 209 static inline bool pm_runtime_blocked(struct device *dev) in pm_runtime_blocked() 221 static inline bool pm_runtime_has_no_callbacks(struct device *dev) in pm_runtime_has_no_callbacks() 233 static inline void pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy() [all …]
|
| H A D | dma-mapping.h | 141 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error() argument 145 static inline void debug_dma_map_single(struct device *dev, const void *addr, in debug_dma_map_single() argument 152 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error() argument 214 dma_map_page_attrs(struct device * dev,struct page * page,size_t offset,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_page_attrs() argument 220 dma_unmap_page_attrs(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_page_attrs() argument 224 dma_map_phys(struct device * dev,phys_addr_t phys,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_phys() argument 229 dma_unmap_phys(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_phys() argument 233 dma_map_sg_attrs(struct device * dev,struct scatterlist * sg,int nents,enum dma_data_direction dir,unsigned long attrs) dma_map_sg_attrs() argument 239 dma_unmap_sg_attrs(struct device * dev,struct scatterlist * sg,int nents,enum dma_data_direction dir,unsigned long attrs) dma_unmap_sg_attrs() argument 244 dma_map_sgtable(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir,unsigned long attrs) dma_map_sgtable() argument 249 dma_map_resource(struct device * dev,phys_addr_t phys_addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_resource() argument 255 dma_unmap_resource(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_resource() argument 259 dma_mapping_error(struct device * dev,dma_addr_t dma_addr) dma_mapping_error() argument 263 dma_alloc_attrs(struct device * dev,size_t size,dma_addr_t * dma_handle,gfp_t flag,unsigned long attrs) dma_alloc_attrs() argument 268 dma_free_attrs(struct device * dev,size_t size,void * cpu_addr,dma_addr_t dma_handle,unsigned long attrs) dma_free_attrs() argument 272 dmam_alloc_attrs(struct device * dev,size_t size,dma_addr_t * dma_handle,gfp_t gfp,unsigned long attrs) dmam_alloc_attrs() argument 277 dmam_free_coherent(struct device * dev,size_t size,void * vaddr,dma_addr_t dma_handle) dmam_free_coherent() argument 281 dma_get_sgtable_attrs(struct device * dev,struct sg_table * sgt,void * cpu_addr,dma_addr_t dma_addr,size_t size,unsigned long attrs) dma_get_sgtable_attrs() argument 287 dma_mmap_attrs(struct device * dev,struct vm_area_struct * vma,void * cpu_addr,dma_addr_t dma_addr,size_t size,unsigned long attrs) dma_mmap_attrs() argument 293 dma_can_mmap(struct device * dev) dma_can_mmap() argument 297 dma_pci_p2pdma_supported(struct device * dev) dma_pci_p2pdma_supported() argument 301 dma_set_mask(struct device * dev,u64 mask) dma_set_mask() argument 305 dma_set_coherent_mask(struct device * dev,u64 mask) dma_set_coherent_mask() argument 309 dma_get_required_mask(struct device * dev) dma_get_required_mask() argument 313 dma_addressing_limited(struct device * dev) dma_addressing_limited() argument 317 dma_max_mapping_size(struct device * dev) dma_max_mapping_size() argument 321 dma_opt_mapping_size(struct device * dev) dma_opt_mapping_size() argument 325 dma_get_merge_boundary(struct device * dev) dma_get_merge_boundary() argument 329 dma_alloc_noncontiguous(struct device * dev,size_t size,enum dma_data_direction dir,gfp_t gfp,unsigned long attrs) dma_alloc_noncontiguous() argument 335 dma_free_noncontiguous(struct device * dev,size_t size,struct sg_table * sgt,enum dma_data_direction dir) dma_free_noncontiguous() argument 339 dma_vmap_noncontiguous(struct device * dev,size_t size,struct sg_table * sgt) dma_vmap_noncontiguous() argument 344 dma_vunmap_noncontiguous(struct device * dev,void * vaddr) dma_vunmap_noncontiguous() argument 347 dma_mmap_noncontiguous(struct device * dev,struct vm_area_struct * vma,size_t size,struct sg_table * sgt) dma_mmap_noncontiguous() argument 386 dma_iova_try_alloc(struct device * dev,struct dma_iova_state * state,phys_addr_t phys,size_t size) dma_iova_try_alloc() argument 391 dma_iova_free(struct device * dev,struct dma_iova_state * state) dma_iova_free() argument 395 dma_iova_destroy(struct device * dev,struct dma_iova_state * state,size_t mapped_len,enum dma_data_direction dir,unsigned long attrs) dma_iova_destroy() argument 400 dma_iova_sync(struct device * dev,struct dma_iova_state * state,size_t offset,size_t size) dma_iova_sync() argument 405 dma_iova_link(struct device * dev,struct dma_iova_state * state,phys_addr_t phys,size_t offset,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_iova_link() argument 411 dma_iova_unlink(struct device * dev,struct dma_iova_state * state,size_t offset,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_iova_unlink() argument 429 dma_dev_need_sync(const struct device * dev) dma_dev_need_sync() argument 435 dma_sync_single_for_cpu(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir) dma_sync_single_for_cpu() argument 442 dma_sync_single_for_device(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir) dma_sync_single_for_device() argument 449 dma_sync_sg_for_cpu(struct device * dev,struct scatterlist * sg,int nelems,enum dma_data_direction dir) dma_sync_sg_for_cpu() argument 456 dma_sync_sg_for_device(struct device * dev,struct scatterlist * sg,int nelems,enum dma_data_direction dir) dma_sync_sg_for_device() argument 463 dma_need_sync(struct device * dev,dma_addr_t dma_addr) dma_need_sync() argument 469 dma_dev_need_sync(const struct device * dev) dma_dev_need_sync() argument 473 dma_sync_single_for_cpu(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir) dma_sync_single_for_cpu() argument 477 dma_sync_single_for_device(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir) dma_sync_single_for_device() argument 481 dma_sync_sg_for_cpu(struct device * dev,struct scatterlist * sg,int nelems,enum dma_data_direction dir) dma_sync_sg_for_cpu() argument 485 dma_sync_sg_for_device(struct device * dev,struct scatterlist * sg,int nelems,enum dma_data_direction dir) dma_sync_sg_for_device() argument 489 dma_need_sync(struct device * dev,dma_addr_t dma_addr) dma_need_sync() argument 493 dma_need_unmap(struct device * dev) dma_need_unmap() argument 506 dma_alloc_noncoherent(struct device * dev,size_t size,dma_addr_t * dma_handle,enum dma_data_direction dir,gfp_t gfp) dma_alloc_noncoherent() argument 513 dma_free_noncoherent(struct device * dev,size_t size,void * vaddr,dma_addr_t dma_handle,enum dma_data_direction dir) dma_free_noncoherent() argument 519 dma_map_single_attrs(struct device * dev,void * ptr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_single_attrs() argument 531 dma_unmap_single_attrs(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_single_attrs() argument 537 dma_sync_single_range_for_cpu(struct device * dev,dma_addr_t addr,unsigned long offset,size_t size,enum dma_data_direction dir) dma_sync_single_range_for_cpu() argument 544 dma_sync_single_range_for_device(struct device * dev,dma_addr_t addr,unsigned long offset,size_t size,enum dma_data_direction dir) dma_sync_single_range_for_device() argument 562 dma_unmap_sgtable(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir,unsigned long attrs) dma_unmap_sgtable() argument 580 dma_sync_sgtable_for_cpu(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir) dma_sync_sgtable_for_cpu() argument 597 dma_sync_sgtable_for_device(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir) dma_sync_sgtable_for_device() argument 614 dma_alloc_coherent(struct device * dev,size_t size,dma_addr_t * dma_handle,gfp_t gfp) dma_alloc_coherent() argument 621 dma_free_coherent(struct device * dev,size_t size,void * cpu_addr,dma_addr_t dma_handle) dma_free_coherent() argument 628 dma_get_mask(struct device * dev) dma_get_mask() argument 641 dma_set_mask_and_coherent(struct device * dev,u64 mask) dma_set_mask_and_coherent() argument 653 dma_coerce_mask_and_coherent(struct device * dev,u64 mask) dma_coerce_mask_and_coherent() argument 659 dma_get_max_seg_size(struct device * dev) dma_get_max_seg_size() argument 666 dma_set_max_seg_size(struct device * dev,unsigned int size) dma_set_max_seg_size() argument 673 dma_get_seg_boundary(struct device * dev) dma_get_seg_boundary() argument 691 dma_get_seg_boundary_nr_pages(struct device * dev,unsigned int page_shift) dma_get_seg_boundary_nr_pages() argument 699 dma_set_seg_boundary(struct device * dev,unsigned long mask) dma_set_seg_boundary() argument 706 dma_get_min_align_mask(struct device * dev) dma_get_min_align_mask() argument 713 dma_set_min_align_mask(struct device * dev,unsigned int min_align_mask) dma_set_min_align_mask() argument 743 dmam_alloc_coherent(struct device * dev,size_t size,dma_addr_t * dma_handle,gfp_t gfp) dmam_alloc_coherent() argument 750 dma_alloc_wc(struct device * dev,size_t size,dma_addr_t * dma_addr,gfp_t gfp) dma_alloc_wc() argument 761 dma_free_wc(struct device * dev,size_t size,void * cpu_addr,dma_addr_t dma_addr) dma_free_wc() argument 768 dma_mmap_wc(struct device * dev,struct vm_area_struct * vma,void * cpu_addr,dma_addr_t dma_addr,size_t size) dma_mmap_wc() argument [all...] |
| /linux/drivers/base/power/ |
| H A D | runtime.c | 27 static pm_callback_t __rpm_get_driver_callback(struct device *dev, in __rpm_get_driver_callback() 36 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback() 61 #define RPM_GET_CALLBACK(dev, callback) \ argument 78 static void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting() 106 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status() 113 static u64 rpm_get_accounted_time(struct device *dev, bool suspended) in rpm_get_accounted_time() 128 u64 pm_runtime_active_time(struct device *dev) in pm_runtime_active_time() 133 u64 pm_runtime_suspended_time(struct device *dev) in pm_runtime_suspended_time() 143 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer() 155 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending() [all …]
|
| H A D | sysfs.c | 100 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show() 107 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store() 123 static ssize_t runtime_active_time_show(struct device *dev, in runtime_active_time_show() 136 static ssize_t runtime_suspended_time_show(struct device *dev, in runtime_suspended_time_show() 149 static ssize_t runtime_status_show(struct device *dev, in runtime_status_show() 181 static ssize_t autosuspend_delay_ms_show(struct device *dev, in autosuspend_delay_ms_show() 191 static ssize_t autosuspend_delay_ms_store(struct device *dev, in autosuspend_delay_ms_store() 210 static ssize_t pm_qos_resume_latency_us_show(struct device *dev, in pm_qos_resume_latency_us_show() 224 static ssize_t pm_qos_resume_latency_us_store(struct device *dev, in pm_qos_resume_latency_us_store() 254 static ssize_t pm_qos_latency_tolerance_us_show(struct device *dev, in pm_qos_latency_tolerance_us_show() [all …]
|
| H A D | power.h | 4 static inline void device_pm_init_common(struct device *dev) in device_pm_init_common() 15 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init() 35 struct device *dev; member 57 static inline void device_wakeup_attach_irq(struct device *dev, in device_wakeup_attach_irq() 60 static inline void device_wakeup_detach_irq(struct device *dev) in device_wakeup_detach_irq() 85 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init() 90 static inline void pm_runtime_init(struct device *dev) {} in pm_runtime_init() 91 static inline void pm_runtime_reinit(struct device *dev) {} in pm_runtime_reinit() 92 static inline void pm_runtime_remove(struct device *dev) {} in pm_runtime_remove() 94 static inline int dpm_sysfs_add(struct device *dev) { return 0; } in dpm_sysfs_add() [all …]
|
| /linux/net/switchdev/ |
| H A D | switchdev.c | 59 struct net_device *dev; member 111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue() argument 132 struct net_device *dev, in switchdev_port_attr_notify() argument 158 switchdev_port_attr_set_now(struct net_device * dev,const struct switchdev_attr * attr,struct netlink_ext_ack * extack) switchdev_port_attr_set_now() argument 166 switchdev_port_attr_set_deferred(struct net_device * dev,const void * data) switchdev_port_attr_set_deferred() argument 180 switchdev_port_attr_set_defer(struct net_device * dev,const struct switchdev_attr * attr) switchdev_port_attr_set_defer() argument 197 switchdev_port_attr_set(struct net_device * dev,const struct switchdev_attr * attr,struct netlink_ext_ack * extack) switchdev_port_attr_set() argument 224 switchdev_port_obj_notify(enum switchdev_notifier_type nt,struct net_device * dev,const struct switchdev_obj * obj,struct netlink_ext_ack * extack) switchdev_port_obj_notify() argument 247 switchdev_obj_id_to_helpful_msg(struct net_device * dev,enum switchdev_obj_id obj_id,int err,bool add) switchdev_obj_id_to_helpful_msg() argument 340 switchdev_port_obj_add_deferred(struct net_device * dev,const void * data) switchdev_port_obj_add_deferred() argument 355 switchdev_port_obj_add_defer(struct net_device * dev,const struct switchdev_obj * obj) switchdev_port_obj_add_defer() argument 372 switchdev_port_obj_add(struct net_device * dev,const struct switchdev_obj * obj,struct netlink_ext_ack * extack) switchdev_port_obj_add() argument 384 switchdev_port_obj_del_now(struct net_device * dev,const struct switchdev_obj * obj) switchdev_port_obj_del_now() argument 391 switchdev_port_obj_del_deferred(struct net_device * dev,const void * data) switchdev_port_obj_del_deferred() argument 404 switchdev_port_obj_del_defer(struct net_device * dev,const struct switchdev_obj * obj) switchdev_port_obj_del_defer() argument 420 switchdev_port_obj_del(struct net_device * dev,const struct switchdev_obj * obj) switchdev_port_obj_del() argument 442 switchdev_port_obj_act_is_deferred(struct net_device * dev,enum switchdev_notifier_type nt,const struct switchdev_obj * obj) switchdev_port_obj_act_is_deferred() argument 509 call_switchdev_notifiers(unsigned long val,struct net_device * dev,struct switchdev_notifier_info * info,struct netlink_ext_ack * extack) call_switchdev_notifiers() argument 545 call_switchdev_blocking_notifiers(unsigned long val,struct net_device * dev,struct switchdev_notifier_info * info,struct netlink_ext_ack * extack) call_switchdev_blocking_notifiers() argument 561 const struct net_device *dev; global() member 572 const struct net_device *dev; switchdev_lower_dev_walk() local 587 switchdev_lower_dev_find_rcu(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find_rcu() argument 588 switchdev_lower_dev_find_rcu(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find_rcu() argument 589 switchdev_lower_dev_find_rcu(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find_rcu() argument 608 switchdev_lower_dev_find(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find() argument 609 switchdev_lower_dev_find(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find() argument 610 switchdev_lower_dev_find(struct net_device * dev,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev)) switchdev_lower_dev_find() argument 628 __switchdev_handle_fdb_event_to_device(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) __switchdev_handle_fdb_event_to_device() argument 631 __switchdev_handle_fdb_event_to_device(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) __switchdev_handle_fdb_event_to_device() argument 632 __switchdev_handle_fdb_event_to_device(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) __switchdev_handle_fdb_event_to_device() argument 634 __switchdev_handle_fdb_event_to_device(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) __switchdev_handle_fdb_event_to_device() argument 689 switchdev_handle_fdb_event_to_device(struct net_device * dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) switchdev_handle_fdb_event_to_device() argument 691 switchdev_handle_fdb_event_to_device(struct net_device * dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) switchdev_handle_fdb_event_to_device() argument 692 switchdev_handle_fdb_event_to_device(struct net_device * dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) switchdev_handle_fdb_event_to_device() argument 694 switchdev_handle_fdb_event_to_device(struct net_device * dev,unsigned long event,const struct switchdev_notifier_fdb_info * fdb_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* mod_cb)(struct net_device * dev,struct net_device * orig_dev,unsigned long event,const void * ctx,const struct switchdev_notifier_fdb_info * fdb_info)) switchdev_handle_fdb_event_to_device() argument 710 __switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) __switchdev_handle_port_obj_add() argument 712 __switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) __switchdev_handle_port_obj_add() argument 713 __switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) __switchdev_handle_port_obj_add() argument 715 __switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) __switchdev_handle_port_obj_add() argument 785 switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add() argument 787 switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add() argument 788 switchdev_handle_port_obj_add(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add() argument 806 switchdev_handle_port_obj_add_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add_foreign() argument 808 switchdev_handle_port_obj_add_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add_foreign() argument 809 switchdev_handle_port_obj_add_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add_foreign() argument 811 switchdev_handle_port_obj_add_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* add_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj,struct netlink_ext_ack * extack)) switchdev_handle_port_obj_add_foreign() argument 825 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument 827 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument 828 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument 830 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument 896 switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del() argument 898 switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del() argument 899 switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del() argument 916 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument 918 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument 919 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument 921 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument 934 __switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) __switchdev_handle_port_attr_set() argument 936 __switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) __switchdev_handle_port_attr_set() argument 937 __switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) __switchdev_handle_port_attr_set() argument 976 switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) switchdev_handle_port_attr_set() argument 978 switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) switchdev_handle_port_attr_set() argument 979 switchdev_handle_port_attr_set(struct net_device * dev,struct switchdev_notifier_port_attr_info * port_attr_info,bool (* check_cb)(const struct net_device * dev),int (* set_cb)(struct net_device * dev,const void * ctx,const struct switchdev_attr * attr,struct netlink_ext_ack * extack)) switchdev_handle_port_attr_set() argument 994 switchdev_bridge_port_offload(struct net_device * brport_dev,struct net_device * dev,const void * ctx,struct notifier_block * atomic_nb,struct notifier_block * blocking_nb,bool tx_fwd_offload,struct netlink_ext_ack * extack) switchdev_bridge_port_offload() argument 1042 switchdev_bridge_port_replay(struct net_device * brport_dev,struct net_device * dev,const void * ctx,struct notifier_block * atomic_nb,struct notifier_block * blocking_nb,struct netlink_ext_ack * extack) switchdev_bridge_port_replay() argument [all...] |
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | main.c | 125 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init() 158 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version() 199 static int mlx5_pci_enable_device(struct mlx5_core_dev *dev) in mlx5_pci_enable_device() 215 static void mlx5_pci_disable_device(struct mlx5_core_dev *dev) in mlx5_pci_disable_device() 253 static u16 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size) in to_fw_pkey_sz() 274 void mlx5_core_uplink_netdev_set(struct mlx5_core_dev *dev, struct net_device *netdev) in mlx5_core_uplink_netdev_set() 283 void mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev *dev) in mlx5_core_uplink_netdev_event_replay() 292 void mlx5_core_mp_event_replay(struct mlx5_core_dev *dev, u32 event, void *data) in mlx5_core_mp_event_replay() 298 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() 349 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_common.c | 28 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate() 77 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free() 83 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init() 125 void b43_phy_exit(struct b43_wldev *dev) in b43_phy_exit() 135 bool b43_has_hardware_pctl(struct b43_wldev *dev) in b43_has_hardware_pctl() 144 void b43_radio_lock(struct b43_wldev *dev) in b43_radio_lock() 162 void b43_radio_unlock(struct b43_wldev *dev) in b43_radio_unlock() 179 void b43_phy_lock(struct b43_wldev *dev) in b43_phy_lock() 191 void b43_phy_unlock(struct b43_wldev *dev) in b43_phy_unlock() 203 static inline void assert_mac_suspended(struct b43_wldev *dev) in assert_mac_suspended() [all …]
|
| H A D | bus.c | 21 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) in b43_bus_bcma_bus_may_powerdown() 25 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, in b43_bus_bcma_bus_powerup() 30 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) in b43_bus_bcma_device_is_enabled() 34 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, in b43_bus_bcma_device_enable() 39 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, in b43_bus_bcma_device_disable() 44 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16() 48 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read32() 53 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_bcma_write16() 58 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_bcma_write32() 63 void b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_bcma_block_read() [all …]
|
| H A D | wa.c | 20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains() 44 static void b43_wa_rssi_lt(struct b43_wldev *dev) /* RSSI lookup table */ in b43_wa_rssi_lt() 59 static void b43_wa_analog(struct b43_wldev *dev) in b43_wa_analog() 73 static void b43_wa_fft(struct b43_wldev *dev) /* Fine frequency table */ in b43_wa_fft() 82 static void b43_wa_nft(struct b43_wldev *dev) /* Noise figure table */ in b43_wa_nft() 97 static void b43_wa_rt(struct b43_wldev *dev) /* Rotor table */ in b43_wa_rt() 105 static void b43_write_nst(struct b43_wldev *dev, const u16 *nst) in b43_write_nst() 113 static void b43_wa_nst(struct b43_wldev *dev) /* Noise scale table */ in b43_wa_nst() 127 static void b43_wa_art(struct b43_wldev *dev) /* ADV retard table */ in b43_wa_art() 136 static void b43_wa_msst(struct b43_wldev *dev) /* Min sigma square table */ in b43_wa_msst() [all …]
|
| H A D | phy_lp.c | 35 static unsigned int b43_lpphy_op_get_default_chan(struct b43_wldev *dev) in b43_lpphy_op_get_default_chan() 42 static int b43_lpphy_op_allocate(struct b43_wldev *dev) in b43_lpphy_op_allocate() 54 static void b43_lpphy_op_prepare_structs(struct b43_wldev *dev) in b43_lpphy_op_prepare_structs() 65 static void b43_lpphy_op_free(struct b43_wldev *dev) in b43_lpphy_op_free() 74 static void lpphy_read_band_sprom(struct b43_wldev *dev) in lpphy_read_band_sprom() 157 static void lpphy_adjust_gain_table(struct b43_wldev *dev, u32 freq) in lpphy_adjust_gain_table() 182 static void lpphy_table_init(struct b43_wldev *dev) in lpphy_table_init() 197 static void lpphy_baseband_rev0_1_init(struct b43_wldev *dev) in lpphy_baseband_rev0_1_init() 346 static void lpphy_save_dig_flt_state(struct b43_wldev *dev) in lpphy_save_dig_flt_state() 375 static void lpphy_restore_dig_flt_state(struct b43_wldev *dev) in lpphy_restore_dig_flt_state() [all …]
|
| H A D | phy_lcn.c | 62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup() 109 static void b43_radio_2064_init(struct b43_wldev *dev) in b43_radio_2064_init() 165 static void b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) in b43_phy_lcn_afe_set_unset() 181 static u16 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) in b43_phy_lcn_get_pa_gain() 187 static void b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) in b43_phy_lcn_set_dac_gain() 198 static void b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) in b43_phy_lcn_set_bbmult() 204 static void b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) in b43_phy_lcn_clear_tx_power_offsets() 224 static void b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) in b43_phy_lcn_rev0_baseband_init() 259 static void b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) in b43_phy_lcn_bu_tweaks() 310 static void b43_phy_lcn_sense_setup(struct b43_wldev *dev, in b43_phy_lcn_sense_setup() [all …]
|
| H A D | phy_ht.c | 35 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup() 80 static void b43_radio_2059_rcal(struct b43_wldev *dev) in b43_radio_2059_rcal() 107 static void b43_radio_2057_rccal(struct b43_wldev *dev) in b43_radio_2057_rccal() 134 static void b43_radio_2059_init_pre(struct b43_wldev *dev) in b43_radio_2059_init_pre() 142 static void b43_radio_2059_init(struct b43_wldev *dev) in b43_radio_2059_init() 175 static void b43_phy_ht_force_rf_sequence(struct b43_wldev *dev, u16 rf_seq) in b43_phy_ht_force_rf_sequence() 196 static void b43_phy_ht_pa_override(struct b43_wldev *dev, bool enable) in b43_phy_ht_pa_override() 220 static u16 b43_phy_ht_classifier(struct b43_wldev *dev, u16 mask, u16 val) in b43_phy_ht_classifier() 236 static void b43_phy_ht_reset_cca(struct b43_wldev *dev) in b43_phy_ht_reset_cca() 250 static void b43_phy_ht_zero_extg(struct b43_wldev *dev) in b43_phy_ht_zero_extg() [all …]
|
| /linux/drivers/misc/mei/ |
| H A D | hw-me.c | 59 static inline u32 mei_me_mecbrw_read(const struct mei_device *dev) in mei_me_mecbrw_read() 70 static inline void mei_me_hcbww_write(struct mei_device *dev, u32 data) in mei_me_hcbww_write() 82 static inline u32 mei_me_mecsr_read(const struct mei_device *dev) in mei_me_mecsr_read() 99 static inline u32 mei_hcsr_read(const struct mei_device *dev) in mei_hcsr_read() 115 static inline void mei_hcsr_write(struct mei_device *dev, u32 reg) in mei_hcsr_write() 128 static inline void mei_hcsr_set(struct mei_device *dev, u32 reg) in mei_hcsr_set() 139 static inline void mei_hcsr_set_hig(struct mei_device *dev) in mei_hcsr_set_hig() 154 static inline u32 mei_me_d0i3c_read(const struct mei_device *dev) in mei_me_d0i3c_read() 170 static inline void mei_me_d0i3c_write(struct mei_device *dev, u32 reg) in mei_me_d0i3c_write() 184 static int mei_me_trc_status(struct mei_device *dev, u32 *trc) in mei_me_trc_status() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | phy.c | 19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr() 54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) in mt7601u_rf_rr() 95 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) in mt7601u_rf_rmw() 111 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) in mt7601u_rf_set() 117 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) in mt7601u_rf_clear() 122 static void mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) in mt7601u_bbp_wr() 144 static int mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) in mt7601u_bbp_rr() 182 static int mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmw() 195 static u8 mt7601u_bbp_rmc(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmc() 209 int mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) in mt7601u_wait_bbp_ready() [all …]
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_wed.c | 56 struct net_device *dev; member 100 wed_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wed_m32() 106 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set() 112 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr() 118 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32() 124 wdma_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_set() 130 wdma_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_clr() 136 wifi_r32(struct mtk_wed_device *dev, u32 reg) in wifi_r32() 142 wifi_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wifi_w32() 148 mtk_wed_read_reset(struct mtk_wed_device *dev) in mtk_wed_read_reset() [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | r852.c | 34 static inline uint8_t r852_read_reg(struct r852_device *dev, int address) in r852_read_reg() 41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg() 49 static inline uint32_t r852_read_reg_dword(struct r852_device *dev, int address) in r852_read_reg_dword() 56 static inline void r852_write_reg_dword(struct r852_device *dev, in r852_write_reg_dword() 71 static void r852_dma_test(struct r852_device *dev) in r852_dma_test() 89 static void r852_dma_enable(struct r852_device *dev) in r852_dma_enable() 130 static void r852_dma_done(struct r852_device *dev, int error) in r852_dma_done() 157 static int r852_dma_wait(struct r852_device *dev) in r852_dma_wait() 172 static void r852_do_dma(struct r852_device *dev, uint8_t *buf, int do_read) in r852_do_dma() 232 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_write_buf() local [all …]
|
| /linux/net/nfc/ |
| H A D | core.c | 33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download() 73 int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, in nfc_fw_download_done() 89 int nfc_dev_up(struct nfc_dev *dev) in nfc_dev_up() 137 int nfc_dev_down(struct nfc_dev *dev) in nfc_dev_down() 172 struct nfc_dev *dev = data; in nfc_rfkill_set_block() local 198 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll() 241 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll() 268 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target() 280 int nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) in nfc_dep_link_up() 327 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down() [all …]
|
| /linux/drivers/virtio/ |
| H A D | virtio.c | 17 struct virtio_device *dev = dev_to_virtio(_d); in device_show() local 25 struct virtio_device *dev = dev_to_virtio(_d); in vendor_show() local 33 struct virtio_device *dev = dev_to_virtio(_d); in status_show() local 41 struct virtio_device *dev = dev_to_virtio(_d); in modalias_show() local 50 struct virtio_device *dev = dev_to_virtio(_d); in features_show() local 74 static inline int virtio_id_match(const struct virtio_device *dev, in virtio_id_match() 88 struct virtio_device *dev = dev_to_virtio(_dv); in virtio_dev_match() local 100 const struct virtio_device *dev = dev_to_virtio(_dv); in virtio_uevent() local 126 static void __virtio_config_changed(struct virtio_device *dev) in __virtio_config_changed() 138 void virtio_config_changed(struct virtio_device *dev) in virtio_config_changed() [all …]
|
| /linux/drivers/pci/ |
| H A D | pci.c | 63 struct pci_dev *dev; member 83 static void pci_dev_d3_sleep(struct pci_dev *dev) in pci_dev_d3_sleep() 96 bool pci_reset_supported(struct pci_dev *dev) in pci_reset_supported() 279 static int pci_dev_str_match_path(struct pci_dev *dev, const char *path, in pci_dev_str_match_path() 373 static int pci_dev_str_match(struct pci_dev *dev, const char *p, in pci_dev_str_match() 429 u8 pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability() 475 u8 pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability() 525 u16 pci_find_next_ext_capability(struct pci_dev *dev, u16 start, int cap) in pci_find_next_ext_capability() 549 u16 pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability() 564 u64 pci_get_dsn(struct pci_dev *dev) in pci_get_dsn() [all …]
|
| H A D | iov.c | 24 int pci_iov_virtfn_bus(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_bus() 32 int pci_iov_virtfn_devfn(struct pci_dev *dev, int vf_id) in pci_iov_virtfn_devfn() 41 int pci_iov_vf_id(struct pci_dev *dev) in pci_iov_vf_id() 70 void *pci_iov_get_pf_drvdata(struct pci_dev *dev, struct pci_driver *pf_driver) in pci_iov_get_pf_drvdata() 89 static inline void pci_iov_set_numvfs(struct pci_dev *dev, int nr_virtfn) in pci_iov_set_numvfs() 105 static int compute_max_vf_buses(struct pci_dev *dev) in compute_max_vf_buses() 153 resource_size_t pci_iov_resource_size(struct pci_dev *dev, int resno) in pci_iov_resource_size() 161 void pci_iov_resource_set_size(struct pci_dev *dev, int resno, int size) in pci_iov_resource_set_size() 173 bool pci_iov_is_memory_decoding_enabled(struct pci_dev *dev) in pci_iov_is_memory_decoding_enabled() 205 int pci_iov_sysfs_link(struct pci_dev *dev, in pci_iov_sysfs_link() [all …]
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc_opr_v5.c | 36 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5() local 63 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v5() local 202 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v5() local 248 static int s5p_mfc_alloc_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v5() 255 static void s5p_mfc_release_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v5() 347 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_desc_buffer() local 357 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_shared_buffer() local 366 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v5() local 380 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v5() local 511 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v5() local [all …]
|
| /linux/drivers/memstick/host/ |
| H A D | r592.c | 53 static inline u32 r592_read_reg(struct r592_device *dev, int address) in r592_read_reg() 61 static inline void r592_write_reg(struct r592_device *dev, in r592_write_reg() 69 static inline u32 r592_read_reg_raw_be(struct r592_device *dev, int address) in r592_read_reg_raw_be() 77 static inline void r592_write_reg_raw_be(struct r592_device *dev, in r592_write_reg_raw_be() 85 static inline void r592_set_reg_mask(struct r592_device *dev, in r592_set_reg_mask() 94 static inline void r592_clear_reg_mask(struct r592_device *dev, in r592_clear_reg_mask() 105 static int r592_wait_status(struct r592_device *dev, u32 mask, u32 wanted_mask) in r592_wait_status() 130 static int r592_enable_device(struct r592_device *dev, bool enable) in r592_enable_device() 151 static int r592_set_mode(struct r592_device *dev, bool parallel_mode) in r592_set_mode() 179 static void r592_host_reset(struct r592_device *dev) in r592_host_reset() [all …]
|
| /linux/kernel/dma/ |
| H A D | mapping.c | 40 static void dmam_release(struct device *dev, void *res) in dmam_release() argument 48 static int dmam_match(struct device *dev, void *res, void *match_data) in dmam_match() argument 69 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent() argument 93 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs() argument 120 dma_go_direct(struct device * dev,dma_addr_t mask,const struct dma_map_ops * ops) dma_go_direct() argument 143 dma_alloc_direct(struct device * dev,const struct dma_map_ops * ops) dma_alloc_direct() argument 149 dma_map_direct(struct device * dev,const struct dma_map_ops * ops) dma_map_direct() argument 155 dma_map_phys(struct device * dev,phys_addr_t phys,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_phys() argument 191 dma_map_page_attrs(struct device * dev,struct page * page,size_t offset,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_page_attrs() argument 208 dma_unmap_phys(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_phys() argument 232 dma_unmap_page_attrs(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_page_attrs() argument 242 __dma_map_sg_attrs(struct device * dev,struct scatterlist * sg,int nents,enum dma_data_direction dir,unsigned long attrs) __dma_map_sg_attrs() argument 294 dma_map_sg_attrs(struct device * dev,struct scatterlist * sg,int nents,enum dma_data_direction dir,unsigned long attrs) dma_map_sg_attrs() argument 333 dma_map_sgtable(struct device * dev,struct sg_table * sgt,enum dma_data_direction dir,unsigned long attrs) dma_map_sgtable() argument 346 dma_unmap_sg_attrs(struct device * dev,struct scatterlist * sg,int nents,enum dma_data_direction dir,unsigned long attrs) dma_unmap_sg_attrs() argument 365 dma_map_resource(struct device * dev,phys_addr_t phys_addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_map_resource() argument 372 dma_unmap_resource(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir,unsigned long attrs) dma_unmap_resource() argument 380 __dma_sync_single_for_cpu(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir) __dma_sync_single_for_cpu() argument 397 __dma_sync_single_for_device(struct device * dev,dma_addr_t addr,size_t size,enum dma_data_direction dir) __dma_sync_single_for_device() argument 414 __dma_sync_sg_for_cpu(struct device * dev,struct scatterlist * sg,int nelems,enum dma_data_direction dir) __dma_sync_sg_for_cpu() argument 431 __dma_sync_sg_for_device(struct device * dev,struct scatterlist * sg,int nelems,enum dma_data_direction dir) __dma_sync_sg_for_device() argument 448 __dma_need_sync(struct device * dev,dma_addr_t dma_addr) __dma_need_sync() argument 471 dma_need_unmap(struct device * dev) dma_need_unmap() argument 481 dma_setup_need_sync(struct device * dev) dma_setup_need_sync() argument 503 dma_setup_need_sync(struct device * dev) dma_setup_need_sync() argument 517 dma_get_sgtable_attrs(struct device * dev,struct sg_table * sgt,void * cpu_addr,dma_addr_t dma_addr,size_t size,unsigned long attrs) dma_get_sgtable_attrs() argument 540 dma_pgprot(struct device * dev,pgprot_t prot,unsigned long attrs) dma_pgprot() argument 559 dma_can_mmap(struct device * dev) dma_can_mmap() argument 584 dma_mmap_attrs(struct device * dev,struct vm_area_struct * vma,void * cpu_addr,dma_addr_t dma_addr,size_t size,unsigned long attrs) dma_mmap_attrs() argument 602 dma_get_required_mask(struct device * dev) dma_get_required_mask() argument 627 dma_alloc_attrs(struct device * dev,size_t size,dma_addr_t * dma_handle,gfp_t flag,unsigned long attrs) dma_alloc_attrs() argument 671 dma_free_attrs(struct device * dev,size_t size,void * cpu_addr,dma_addr_t dma_handle,unsigned long attrs) dma_free_attrs() argument 702 __dma_alloc_pages(struct device * dev,size_t size,dma_addr_t * dma_handle,enum dma_data_direction dir,gfp_t gfp) __dma_alloc_pages() argument 724 dma_alloc_pages(struct device * dev,size_t size,dma_addr_t * dma_handle,enum dma_data_direction dir,gfp_t gfp) dma_alloc_pages() argument 740 __dma_free_pages(struct device * dev,size_t size,struct page * page,dma_addr_t dma_handle,enum dma_data_direction dir) __dma_free_pages() argument 754 dma_free_pages(struct device * dev,size_t size,struct page * page,dma_addr_t dma_handle,enum dma_data_direction dir) dma_free_pages() argument 763 dma_mmap_pages(struct device * dev,struct vm_area_struct * vma,size_t size,struct page * page) dma_mmap_pages() argument 776 alloc_single_sgt(struct device * dev,size_t size,enum dma_data_direction dir,gfp_t gfp) alloc_single_sgt() argument 800 dma_alloc_noncontiguous(struct device * dev,size_t size,enum dma_data_direction dir,gfp_t gfp,unsigned long attrs) dma_alloc_noncontiguous() argument 826 free_single_sgt(struct device * dev,size_t size,struct sg_table * sgt,enum dma_data_direction dir) free_single_sgt() argument 835 dma_free_noncontiguous(struct device * dev,size_t size,struct sg_table * sgt,enum dma_data_direction dir) dma_free_noncontiguous() argument 848 dma_vmap_noncontiguous(struct device * dev,size_t size,struct sg_table * sgt) dma_vmap_noncontiguous() argument 859 dma_vunmap_noncontiguous(struct device * dev,void * vaddr) dma_vunmap_noncontiguous() argument 866 dma_mmap_noncontiguous(struct device * dev,struct vm_area_struct * vma,size_t size,struct sg_table * sgt) dma_mmap_noncontiguous() argument 875 dma_supported(struct device * dev,u64 mask) dma_supported() argument 898 dma_pci_p2pdma_supported(struct device * dev) dma_pci_p2pdma_supported() argument 913 dma_set_mask(struct device * dev,u64 mask) dma_set_mask() argument 932 dma_set_coherent_mask(struct device * dev,u64 mask) dma_set_coherent_mask() argument 948 __dma_addressing_limited(struct device * dev) __dma_addressing_limited() argument 969 dma_addressing_limited(struct device * dev) dma_addressing_limited() argument 979 dma_max_mapping_size(struct device * dev) dma_max_mapping_size() argument 995 dma_opt_mapping_size(struct device * dev) dma_opt_mapping_size() argument 1009 dma_get_merge_boundary(struct device * dev) dma_get_merge_boundary() argument [all...] |
| /linux/drivers/base/ |
| H A D | dd.c | 73 static void __device_set_deferred_probe_reason(const struct device *dev, char *reason) in __device_set_deferred_probe_reason() argument 84 struct device *dev; in deferred_probe_work_func() local 133 driver_deferred_probe_add(struct device * dev) driver_deferred_probe_add() argument 146 driver_deferred_probe_del(struct device * dev) driver_deferred_probe_del() argument 228 device_set_deferred_probe_reason(const struct device * dev,struct va_format * vaf) device_set_deferred_probe_reason() argument 285 driver_deferred_probe_check_state(struct device * dev) driver_deferred_probe_check_state() argument 380 __device_set_driver_override(struct device * dev,const char * s,size_t len) __device_set_driver_override() argument 441 device_is_bound(struct device * dev) device_is_bound() argument 447 driver_bound(struct device * dev) driver_bound() argument 473 coredump_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) coredump_store() argument 484 driver_sysfs_add(struct device * dev) driver_sysfs_add() argument 517 driver_sysfs_remove(struct device * dev) driver_sysfs_remove() argument 544 device_bind_driver(struct device * dev) device_bind_driver() argument 562 state_synced_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) state_synced_store() argument 583 state_synced_show(struct device * dev,struct device_attribute * attr,char * buf) state_synced_show() argument 596 device_unbind_cleanup(struct device * dev) device_unbind_cleanup() argument 613 device_remove(struct device * dev) device_remove() argument 624 call_driver_probe(struct device * dev,const struct device_driver * drv) call_driver_probe() argument 655 really_probe(struct device * dev,const struct device_driver * drv) really_probe() argument 783 really_probe_debug(struct device * dev,const struct device_driver * drv) really_probe_debug() argument 830 __driver_probe_device(const struct device_driver * drv,struct device * dev) __driver_probe_device() argument 895 driver_probe_device(const struct device_driver * drv,struct device * dev) driver_probe_device() argument 960 struct device *dev; global() member 995 struct device *dev = data->dev; __device_attach_driver() local 1037 struct device *dev = _dev; __device_attach_async_helper() local 1071 __device_attach(struct device * dev,bool allow_async) __device_attach() argument 1142 device_attach(struct device * dev) device_attach() argument 1148 device_initial_probe(struct device * dev) device_initial_probe() argument 1170 __device_driver_lock(struct device * dev,struct device * parent) __device_driver_lock() argument 1186 __device_driver_unlock(struct device * dev,struct device * parent) __device_driver_unlock() argument 1201 device_driver_attach(const struct device_driver * drv,struct device * dev) device_driver_attach() argument 1220 struct device *dev = _dev; __driver_attach_async_helper() local 1235 __driver_attach(struct device * dev,void * data) __driver_attach() argument 1321 __device_release_driver(struct device * dev,struct device * parent) __device_release_driver() argument 1368 device_release_driver_internal(struct device * dev,const struct device_driver * drv,struct device * parent) device_release_driver_internal() argument 1391 device_release_driver(struct device * dev) device_release_driver() argument 1409 device_driver_detach(struct device * dev) device_driver_detach() argument 1421 struct device *dev; driver_detach() local [all...] |