Lines Matching refs:domain_device
23 static int sas_discover_expander(struct domain_device *dev);
24 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr);
25 static int sas_configure_phy(struct domain_device *dev, int phy_id,
27 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr);
36 static void sas_ex_add_parent_port(struct domain_device *dev, int phy_id) in sas_ex_add_parent_port()
56 static int smp_execute_task_sg(struct domain_device *dev, in smp_execute_task_sg()
145 static int smp_execute_task(struct domain_device *dev, void *req, int req_size, in smp_execute_task()
171 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) in sas_route_char()
200 static void sas_set_ex_phy(struct domain_device *dev, int phy_id, in sas_set_ex_phy()
349 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata()
352 struct domain_device *dev; in sas_ex_to_ata()
373 static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, in sas_ex_phy_discover_helper()
394 int sas_ex_phy_discover(struct domain_device *dev, int single) in sas_ex_phy_discover()
431 static int sas_expander_discover(struct domain_device *dev) in sas_expander_discover()
456 static int sas_ex_general(struct domain_device *dev) in sas_ex_general()
514 static void ex_assign_manuf_info(struct domain_device *dev, void in ex_assign_manuf_info()
537 static int sas_ex_manuf_info(struct domain_device *dev) in sas_ex_manuf_info()
576 int sas_smp_phy_control(struct domain_device *dev, int phy_id, in sas_smp_phy_control()
616 static void sas_ex_disable_phy(struct domain_device *dev, int phy_id) in sas_ex_disable_phy()
625 static void sas_ex_disable_port(struct domain_device *dev, u8 *sas_addr) in sas_ex_disable_port()
645 struct domain_device *dev; in sas_dev_present_in_domain()
664 struct domain_device *dev = sas_find_dev_by_rphy(rphy); in sas_smp_get_phy_events()
702 int sas_get_report_phy_sata(struct domain_device *dev, int phy_id, in sas_get_report_phy_sata()
743 static void sas_ex_get_linkrate(struct domain_device *parent, in sas_ex_get_linkrate()
744 struct domain_device *child, in sas_ex_get_linkrate()
775 static int sas_ex_add_dev(struct domain_device *parent, struct ex_phy *phy, in sas_ex_add_dev()
776 struct domain_device *child, int phy_id) in sas_ex_add_dev()
809 static struct domain_device *sas_ex_discover_end_dev( in sas_ex_discover_end_dev()
810 struct domain_device *parent, int phy_id) in sas_ex_discover_end_dev()
814 struct domain_device *child = NULL; in sas_ex_discover_end_dev()
868 static bool sas_ex_join_wide_port(struct domain_device *parent, int phy_id) in sas_ex_join_wide_port()
889 static struct domain_device *sas_ex_discover_expander( in sas_ex_discover_expander()
890 struct domain_device *parent, int phy_id) in sas_ex_discover_expander()
894 struct domain_device *child = NULL; in sas_ex_discover_expander()
968 static int sas_ex_discover_dev(struct domain_device *dev, int phy_id) in sas_ex_discover_dev()
972 struct domain_device *child = NULL; in sas_ex_discover_dev()
1063 static int sas_find_sub_addr(struct domain_device *dev, u8 *sub_addr) in sas_find_sub_addr()
1086 static int sas_check_level_subtractive_boundary(struct domain_device *dev) in sas_check_level_subtractive_boundary()
1089 struct domain_device *child; in sas_check_level_subtractive_boundary()
1124 static int sas_ex_discover_devices(struct domain_device *dev, int single) in sas_ex_discover_devices()
1162 static int sas_check_ex_subtractive_boundary(struct domain_device *dev) in sas_check_ex_subtractive_boundary()
1197 static void sas_print_parent_topology_bug(struct domain_device *child, in sas_print_parent_topology_bug()
1205 struct domain_device *parent = child->parent; in sas_print_parent_topology_bug()
1220 static bool sas_eeds_valid(struct domain_device *parent, in sas_eeds_valid()
1221 struct domain_device *child) in sas_eeds_valid()
1231 static int sas_check_eeds(struct domain_device *child, in sas_check_eeds()
1236 struct domain_device *parent = child->parent; in sas_check_eeds()
1262 static int sas_check_edge_expander_topo(struct domain_device *child, in sas_check_edge_expander_topo()
1293 static int sas_check_fanout_expander_topo(struct domain_device *child, in sas_check_fanout_expander_topo()
1310 static int sas_check_parent_topology(struct domain_device *child) in sas_check_parent_topology()
1354 static int sas_configure_present(struct domain_device *dev, int phy_id, in sas_configure_present()
1427 static int sas_configure_set(struct domain_device *dev, int phy_id, in sas_configure_set()
1466 static int sas_configure_phy(struct domain_device *dev, int phy_id, in sas_configure_phy()
1490 static int sas_configure_parent(struct domain_device *parent, in sas_configure_parent()
1491 struct domain_device *child, in sas_configure_parent()
1530 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr) in sas_configure_routing()
1537 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr) in sas_disable_routing()
1550 static int sas_discover_expander(struct domain_device *dev) in sas_discover_expander()
1585 struct domain_device *dev; in sas_ex_level_discovery()
1617 int sas_discover_root_expander(struct domain_device *dev) in sas_discover_root_expander()
1653 static int sas_get_phy_discover(struct domain_device *dev, in sas_get_phy_discover()
1677 static int sas_get_phy_change_count(struct domain_device *dev, in sas_get_phy_change_count()
1695 int sas_get_phy_attached_dev(struct domain_device *dev, int phy_id, in sas_get_phy_attached_dev()
1712 static int sas_find_bcast_phy(struct domain_device *dev, int *phy_id, in sas_find_bcast_phy()
1744 static int sas_get_ex_change_count(struct domain_device *dev, int *ecc) in sas_get_ex_change_count()
1792 static int sas_find_bcast_dev(struct domain_device *dev, in sas_find_bcast_dev()
1793 struct domain_device **src_dev) in sas_find_bcast_dev()
1799 struct domain_device *ch; in sas_find_bcast_dev()
1831 static void sas_unregister_ex_tree(struct asd_sas_port *port, struct domain_device *dev) in sas_unregister_ex_tree()
1834 struct domain_device *child, *n; in sas_unregister_ex_tree()
1846 static void sas_unregister_devs_sas_addr(struct domain_device *parent, in sas_unregister_devs_sas_addr()
1851 struct domain_device *child, *n, *found = NULL; in sas_unregister_devs_sas_addr()
1881 static int sas_discover_bfs_by_root_level(struct domain_device *root, in sas_discover_bfs_by_root_level()
1885 struct domain_device *child; in sas_discover_bfs_by_root_level()
1903 static int sas_discover_bfs_by_root(struct domain_device *dev) in sas_discover_bfs_by_root()
1921 static int sas_discover_new(struct domain_device *dev, int phy_id) in sas_discover_new()
1924 struct domain_device *child; in sas_discover_new()
1964 static int sas_rediscover_dev(struct domain_device *dev, int phy_id, in sas_rediscover_dev()
2019 struct domain_device *ata_dev = sas_ex_to_ata(dev, phy_id); in sas_rediscover_dev()
2057 static int sas_rediscover(struct domain_device *dev, const int phy_id) in sas_rediscover()
2094 int sas_ex_revalidate_domain(struct domain_device *port_dev) in sas_ex_revalidate_domain()
2097 struct domain_device *dev = NULL; in sas_ex_revalidate_domain()
2117 struct domain_device *dev) in sas_find_attached_phy_id()
2135 struct domain_device *dev; in sas_smp_handler()