• Home
  • Raw
  • Download

Lines Matching defs:dev

60 	struct pci_dev *dev;  member
65 static void pci_dev_d3_sleep(struct pci_dev *dev) in pci_dev_d3_sleep()
259 static int pci_dev_str_match_path(struct pci_dev *dev, const char *path, in pci_dev_str_match_path()
353 static int pci_dev_str_match(struct pci_dev *dev, const char *p, in pci_dev_str_match()
435 int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability()
481 int pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability()
532 int pci_find_next_ext_capability(struct pci_dev *dev, int start, int cap) in pci_find_next_ext_capability()
587 int pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability()
602 u64 pci_get_dsn(struct pci_dev *dev) in pci_get_dsn()
627 static int __pci_find_next_ht_cap(struct pci_dev *dev, int pos, int ht_cap) in __pci_find_next_ht_cap()
667 int pci_find_next_ht_capability(struct pci_dev *dev, int pos, int ht_cap) in pci_find_next_ht_capability()
684 int pci_find_ht_capability(struct pci_dev *dev, int ht_cap) in pci_find_ht_capability()
705 struct resource *pci_find_parent_resource(const struct pci_dev *dev, in pci_find_parent_resource()
749 struct resource *pci_find_resource(struct pci_dev *dev, struct resource *res) in pci_find_resource()
772 int pci_wait_for_pending(struct pci_dev *dev, int pos, u16 mask) in pci_wait_for_pending()
808 static void pci_disable_acs_redir(struct pci_dev *dev) in pci_disable_acs_redir()
864 static void pci_std_enable_acs(struct pci_dev *dev) in pci_std_enable_acs()
900 static void pci_enable_acs(struct pci_dev *dev) in pci_enable_acs()
928 static void pci_restore_bars(struct pci_dev *dev) in pci_restore_bars()
947 static inline bool platform_pci_power_manageable(struct pci_dev *dev) in platform_pci_power_manageable()
952 static inline int platform_pci_set_power_state(struct pci_dev *dev, in platform_pci_set_power_state()
958 static inline pci_power_t platform_pci_get_power_state(struct pci_dev *dev) in platform_pci_get_power_state()
963 static inline void platform_pci_refresh_power_state(struct pci_dev *dev) in platform_pci_refresh_power_state()
969 static inline pci_power_t platform_pci_choose_state(struct pci_dev *dev) in platform_pci_choose_state()
975 static inline int platform_pci_set_wakeup(struct pci_dev *dev, bool enable) in platform_pci_set_wakeup()
981 static inline bool platform_pci_need_resume(struct pci_dev *dev) in platform_pci_need_resume()
986 static inline bool platform_pci_bridge_d3(struct pci_dev *dev) in platform_pci_bridge_d3()
1006 static int pci_raw_set_power_state(struct pci_dev *dev, pci_power_t state) in pci_raw_set_power_state()
1125 void pci_update_current_state(struct pci_dev *dev, pci_power_t state) in pci_update_current_state()
1147 void pci_refresh_power_state(struct pci_dev *dev) in pci_refresh_power_state()
1160 int pci_platform_power_transition(struct pci_dev *dev, pci_power_t state) in pci_platform_power_transition()
1200 static int pci_dev_wait(struct pci_dev *dev, char *reset_type, int timeout) in pci_dev_wait()
1245 int pci_power_up(struct pci_dev *dev) in pci_power_up()
1271 static int __pci_dev_set_current_state(struct pci_dev *dev, void *data) in __pci_dev_set_current_state()
1307 int pci_set_power_state(struct pci_dev *dev, pci_power_t state) in pci_set_power_state()
1367 pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state) in pci_choose_state()
1410 struct pci_cap_saved_state *pci_find_saved_cap(struct pci_dev *dev, char cap) in pci_find_saved_cap()
1415 struct pci_cap_saved_state *pci_find_saved_ext_cap(struct pci_dev *dev, u16 cap) in pci_find_saved_ext_cap()
1420 static int pci_save_pcie_state(struct pci_dev *dev) in pci_save_pcie_state()
1447 static void pci_restore_pcie_state(struct pci_dev *dev) in pci_restore_pcie_state()
1467 static int pci_save_pcix_state(struct pci_dev *dev) in pci_save_pcix_state()
1488 static void pci_restore_pcix_state(struct pci_dev *dev) in pci_restore_pcix_state()
1503 static void pci_save_ltr_state(struct pci_dev *dev) in pci_save_ltr_state()
1527 static void pci_restore_ltr_state(struct pci_dev *dev) in pci_restore_ltr_state()
1548 int pci_save_state(struct pci_dev *dev) in pci_save_state()
1663 void pci_restore_state(struct pci_dev *dev) in pci_restore_state()
1710 struct pci_saved_state *pci_store_saved_state(struct pci_dev *dev) in pci_store_saved_state()
1749 int pci_load_saved_state(struct pci_dev *dev, in pci_load_saved_state()
1786 int pci_load_and_free_saved_state(struct pci_dev *dev, in pci_load_and_free_saved_state()
1796 int __weak pcibios_enable_device(struct pci_dev *dev, int bars) in pcibios_enable_device()
1801 static int do_pci_enable_device(struct pci_dev *dev, int bars) in do_pci_enable_device()
1842 int pci_reenable_device(struct pci_dev *dev) in pci_reenable_device()
1850 static void pci_enable_bridge(struct pci_dev *dev) in pci_enable_bridge()
1872 static int pci_enable_device_flags(struct pci_dev *dev, unsigned long flags) in pci_enable_device_flags()
1915 int pci_enable_device_io(struct pci_dev *dev) in pci_enable_device_io()
1929 int pci_enable_device_mem(struct pci_dev *dev) in pci_enable_device_mem()
1946 int pci_enable_device(struct pci_dev *dev) in pci_enable_device()
1969 struct pci_dev *dev = to_pci_dev(gendev); in pcim_release() local
2066 int __weak pcibios_add_device(struct pci_dev *dev) in pcibios_add_device()
2080 void __weak pcibios_release_device(struct pci_dev *dev) {} in pcibios_release_device()
2090 void __weak pcibios_disable_device(struct pci_dev *dev) {} in pcibios_disable_device()
2103 static void do_pci_disable_device(struct pci_dev *dev) in do_pci_disable_device()
2123 void pci_disable_enabled_device(struct pci_dev *dev) in pci_disable_enabled_device()
2139 void pci_disable_device(struct pci_dev *dev) in pci_disable_device()
2167 int __weak pcibios_set_pcie_reset_state(struct pci_dev *dev, in pcibios_set_pcie_reset_state()
2180 int pci_set_pcie_reset_state(struct pci_dev *dev, enum pcie_reset_state state) in pci_set_pcie_reset_state()
2186 void pcie_clear_device_status(struct pci_dev *dev) in pcie_clear_device_status()
2198 void pcie_clear_root_pme_status(struct pci_dev *dev) in pcie_clear_root_pme_status()
2211 bool pci_check_pme_status(struct pci_dev *dev) in pci_check_pme_status()
2246 static int pci_pme_wakeup(struct pci_dev *dev, void *pme_poll_reset) in pci_pme_wakeup()
2274 bool pci_pme_capable(struct pci_dev *dev, pci_power_t state) in pci_pme_capable()
2319 static void __pci_pme_active(struct pci_dev *dev, bool enable) in __pci_pme_active()
2339 void pci_pme_restore(struct pci_dev *dev) in pci_pme_restore()
2365 void pci_pme_active(struct pci_dev *dev, bool enable) in pci_pme_active()
2442 static int __pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable) in __pci_enable_wake()
2526 int pci_wake_from_d3(struct pci_dev *dev, bool enable) in pci_wake_from_d3()
2543 static pci_power_t pci_target_state(struct pci_dev *dev, bool wakeup) in pci_target_state()
2608 int pci_prepare_to_sleep(struct pci_dev *dev) in pci_prepare_to_sleep()
2635 int pci_back_from_sleep(struct pci_dev *dev) in pci_back_from_sleep()
2649 int pci_finish_runtime_suspend(struct pci_dev *dev) in pci_finish_runtime_suspend()
2680 bool pci_dev_run_wake(struct pci_dev *dev) in pci_dev_run_wake()
2722 struct device *dev = &pci_dev->dev; in pci_dev_need_resume() local
2753 struct device *dev = &pci_dev->dev; in pci_dev_adjust_pme() local
2774 struct device *dev = &pci_dev->dev; in pci_dev_complete_resume() local
2789 struct device *dev = &pdev->dev; in pci_config_pm_runtime_get() local
2811 struct device *dev = &pdev->dev; in pci_config_pm_runtime_put() local
2910 static int pci_dev_check_d3cold(struct pci_dev *dev, void *data) in pci_dev_check_d3cold()
2937 void pci_bridge_d3_update(struct pci_dev *dev) in pci_bridge_d3_update()
2990 void pci_d3cold_enable(struct pci_dev *dev) in pci_d3cold_enable()
3007 void pci_d3cold_disable(struct pci_dev *dev) in pci_d3cold_disable()
3020 void pci_pm_init(struct pci_dev *dev) in pci_pm_init()
3092 static unsigned long pci_ea_flags(struct pci_dev *dev, u8 prop) in pci_ea_flags()
3115 static struct resource *pci_ea_get_resource(struct pci_dev *dev, u8 bei, in pci_ea_get_resource()
3133 static int pci_ea_read(struct pci_dev *dev, int offset) in pci_ea_read()
3255 void pci_ea_init(struct pci_dev *dev) in pci_ea_init()
3297 static int _pci_add_cap_save_buffer(struct pci_dev *dev, u16 cap, in _pci_add_cap_save_buffer()
3323 int pci_add_cap_save_buffer(struct pci_dev *dev, char cap, unsigned int size) in pci_add_cap_save_buffer()
3328 int pci_add_ext_cap_save_buffer(struct pci_dev *dev, u16 cap, unsigned int size) in pci_add_ext_cap_save_buffer()
3337 void pci_allocate_cap_save_buffers(struct pci_dev *dev) in pci_allocate_cap_save_buffers()
3358 void pci_free_cap_save_buffers(struct pci_dev *dev) in pci_free_cap_save_buffers()
3374 void pci_configure_ari(struct pci_dev *dev) in pci_configure_ari()
3535 void pci_acs_init(struct pci_dev *dev) in pci_acs_init()
3669 int pci_enable_atomic_ops_to_root(struct pci_dev *dev, u32 cap_mask) in pci_enable_atomic_ops_to_root()
3742 u8 pci_swizzle_interrupt_pin(const struct pci_dev *dev, u8 pin) in pci_swizzle_interrupt_pin()
3754 int pci_get_interrupt_pin(struct pci_dev *dev, struct pci_dev **bridge) in pci_get_interrupt_pin()
3778 u8 pci_common_swizzle(struct pci_dev *dev, u8 *pinp) in pci_common_swizzle()
4121 static void devm_pci_unmap_iospace(struct device *dev, void *ptr) in devm_pci_unmap_iospace()
4137 int devm_pci_remap_iospace(struct device *dev, const struct resource *res, in devm_pci_remap_iospace()
4168 void __iomem *devm_pci_remap_cfgspace(struct device *dev, in devm_pci_remap_cfgspace()
4208 void __iomem *devm_pci_remap_cfg_resource(struct device *dev, in devm_pci_remap_cfg_resource()
4241 static void __pci_set_master(struct pci_dev *dev, bool enable) in __pci_set_master()
4278 void __weak pcibios_set_master(struct pci_dev *dev) in pcibios_set_master()
4304 void pci_set_master(struct pci_dev *dev) in pci_set_master()
4315 void pci_clear_master(struct pci_dev *dev) in pci_clear_master()
4331 int pci_set_cacheline_size(struct pci_dev *dev) in pci_set_cacheline_size()
4367 int pci_set_mwi(struct pci_dev *dev) in pci_set_mwi()
4398 int pcim_set_mwi(struct pci_dev *dev) in pcim_set_mwi()
4420 int pci_try_set_mwi(struct pci_dev *dev) in pci_try_set_mwi()
4436 void pci_clear_mwi(struct pci_dev *dev) in pci_clear_mwi()
4482 static bool pci_check_and_set_intx_mask(struct pci_dev *dev, bool mask) in pci_check_and_set_intx_mask()
4534 bool pci_check_and_mask_intx(struct pci_dev *dev) in pci_check_and_mask_intx()
4548 bool pci_check_and_unmask_intx(struct pci_dev *dev) in pci_check_and_unmask_intx()
4560 int pci_wait_for_pending_transaction(struct pci_dev *dev) in pci_wait_for_pending_transaction()
4577 bool pcie_has_flr(struct pci_dev *dev) in pcie_has_flr()
4597 int pcie_flr(struct pci_dev *dev) in pcie_flr()
4618 static int pci_af_flr(struct pci_dev *dev, int probe) in pci_af_flr()
4677 static int pci_pm_reset(struct pci_dev *dev, int probe) in pci_pm_reset()
4810 int pci_bridge_wait_for_secondary_bus(struct pci_dev *dev, char *reset_type, in pci_bridge_wait_for_secondary_bus()
4892 void pci_reset_secondary_bus(struct pci_dev *dev) in pci_reset_secondary_bus()
4910 void __weak pcibios_reset_secondary_bus(struct pci_dev *dev) in pcibios_reset_secondary_bus()
4922 int pci_bridge_secondary_bus_reset(struct pci_dev *dev) in pci_bridge_secondary_bus_reset()
4931 static int pci_parent_bus_reset(struct pci_dev *dev, int probe) in pci_parent_bus_reset()
4964 static int pci_dev_reset_slot_function(struct pci_dev *dev, int probe) in pci_dev_reset_slot_function()
4973 static void pci_dev_lock(struct pci_dev *dev) in pci_dev_lock()
4981 static int pci_dev_trylock(struct pci_dev *dev) in pci_dev_trylock()
4992 static void pci_dev_unlock(struct pci_dev *dev) in pci_dev_unlock()
4998 static void pci_dev_save_and_disable(struct pci_dev *dev) in pci_dev_save_and_disable()
5029 static void pci_dev_restore(struct pci_dev *dev) in pci_dev_restore()
5065 int __pci_reset_function_locked(struct pci_dev *dev) in __pci_reset_function_locked()
5111 int pci_probe_reset_function(struct pci_dev *dev) in pci_probe_reset_function()
5151 int pci_reset_function(struct pci_dev *dev) in pci_reset_function()
5187 int pci_reset_function_locked(struct pci_dev *dev) in pci_reset_function_locked()
5210 int pci_try_reset_function(struct pci_dev *dev) in pci_try_reset_function()
5232 struct pci_dev *dev; in pci_bus_resetable() local
5250 struct pci_dev *dev; in pci_bus_lock() local
5262 struct pci_dev *dev; in pci_bus_unlock() local
5274 struct pci_dev *dev; in pci_bus_trylock() local
5300 struct pci_dev *dev; in pci_slot_resetable() local
5320 struct pci_dev *dev; in pci_slot_lock() local
5334 struct pci_dev *dev; in pci_slot_unlock() local
5348 struct pci_dev *dev; in pci_slot_trylock() local
5382 struct pci_dev *dev; in pci_bus_save_and_disable_locked() local
5398 struct pci_dev *dev; in pci_bus_restore_locked() local
5413 struct pci_dev *dev; in pci_slot_save_and_disable_locked() local
5431 struct pci_dev *dev; in pci_slot_restore_locked() local
5623 int pcix_get_max_mmrbc(struct pci_dev *dev) in pcix_get_max_mmrbc()
5646 int pcix_get_mmrbc(struct pci_dev *dev) in pcix_get_mmrbc()
5671 int pcix_set_mmrbc(struct pci_dev *dev, int mmrbc) in pcix_set_mmrbc()
5715 int pcie_get_readrq(struct pci_dev *dev) in pcie_get_readrq()
5733 int pcie_set_readrq(struct pci_dev *dev, int rq) in pcie_set_readrq()
5768 int pcie_get_mps(struct pci_dev *dev) in pcie_get_mps()
5786 int pcie_set_mps(struct pci_dev *dev, int mps) in pcie_set_mps()
5820 u32 pcie_bandwidth_available(struct pci_dev *dev, struct pci_dev **limiting_dev, in pcie_bandwidth_available()
5871 enum pci_bus_speed pcie_get_speed_cap(struct pci_dev *dev) in pcie_get_speed_cap()
5907 enum pcie_link_width pcie_get_width_cap(struct pci_dev *dev) in pcie_get_width_cap()
5929 u32 pcie_bandwidth_capable(struct pci_dev *dev, enum pci_bus_speed *speed, in pcie_bandwidth_capable()
5951 void __pcie_print_link_status(struct pci_dev *dev, bool verbose) in __pcie_print_link_status()
5980 void pcie_print_link_status(struct pci_dev *dev) in pcie_print_link_status()
5993 int pci_select_bars(struct pci_dev *dev, unsigned long flags) in pci_select_bars()
6011 static int pci_set_vga_state_arch(struct pci_dev *dev, bool decode, in pci_set_vga_state_arch()
6028 int pci_set_vga_state(struct pci_dev *dev, bool decode, in pci_set_vga_state()
6111 void pci_add_dma_alias(struct pci_dev *dev, u8 devfn_from, unsigned nr_devfns) in pci_add_dma_alias()
6158 void pci_ignore_hotplug(struct pci_dev *dev) in pci_ignore_hotplug()
6179 struct pci_dev __weak *pci_real_dma_dev(struct pci_dev *dev) in pci_real_dma_dev()
6193 void __weak pci_resource_to_user(const struct pci_dev *dev, int bar, in pci_resource_to_user()
6212 static resource_size_t pci_specified_resource_alignment(struct pci_dev *dev, in pci_specified_resource_alignment()
6266 static void pci_request_resource_alignment(struct pci_dev *dev, int bar, in pci_request_resource_alignment()
6335 void pci_reassigndev_resource_alignment(struct pci_dev *dev) in pci_reassigndev_resource_alignment()