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);
54 static int smp_execute_task_sg(struct domain_device *dev, in smp_execute_task_sg()
140 static int smp_execute_task(struct domain_device *dev, void *req, int req_size, in smp_execute_task()
166 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) in sas_route_char()
195 static void sas_set_ex_phy(struct domain_device *dev, int phy_id, void *rsp) in sas_set_ex_phy()
345 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata()
348 struct domain_device *dev; in sas_ex_to_ata()
369 static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, in sas_ex_phy_discover_helper()
390 int sas_ex_phy_discover(struct domain_device *dev, int single) in sas_ex_phy_discover()
427 static int sas_expander_discover(struct domain_device *dev) in sas_expander_discover()
449 static void ex_assign_report_general(struct domain_device *dev, in ex_assign_report_general()
466 static int sas_ex_general(struct domain_device *dev) in sas_ex_general()
515 static void ex_assign_manuf_info(struct domain_device *dev, void in ex_assign_manuf_info()
538 static int sas_ex_manuf_info(struct domain_device *dev) in sas_ex_manuf_info()
577 int sas_smp_phy_control(struct domain_device *dev, int phy_id, in sas_smp_phy_control()
617 static void sas_ex_disable_phy(struct domain_device *dev, int phy_id) in sas_ex_disable_phy()
626 static void sas_ex_disable_port(struct domain_device *dev, u8 *sas_addr) in sas_ex_disable_port()
646 struct domain_device *dev; in sas_dev_present_in_domain()
665 struct domain_device *dev = sas_find_dev_by_rphy(rphy); in sas_smp_get_phy_events()
703 int sas_get_report_phy_sata(struct domain_device *dev, int phy_id, in sas_get_report_phy_sata()
744 static void sas_ex_get_linkrate(struct domain_device *parent, in sas_ex_get_linkrate()
745 struct domain_device *child, in sas_ex_get_linkrate()
778 static struct domain_device *sas_ex_discover_end_dev( in sas_ex_discover_end_dev()
779 struct domain_device *parent, int phy_id) in sas_ex_discover_end_dev()
783 struct domain_device *child = NULL; in sas_ex_discover_end_dev()
914 static bool sas_ex_join_wide_port(struct domain_device *parent, int phy_id) in sas_ex_join_wide_port()
937 static struct domain_device *sas_ex_discover_expander( in sas_ex_discover_expander()
938 struct domain_device *parent, int phy_id) in sas_ex_discover_expander()
942 struct domain_device *child = NULL; in sas_ex_discover_expander()
1016 static int sas_ex_discover_dev(struct domain_device *dev, int phy_id) in sas_ex_discover_dev()
1020 struct domain_device *child = NULL; in sas_ex_discover_dev()
1113 static int sas_find_sub_addr(struct domain_device *dev, u8 *sub_addr) in sas_find_sub_addr()
1136 static int sas_check_level_subtractive_boundary(struct domain_device *dev) in sas_check_level_subtractive_boundary()
1139 struct domain_device *child; in sas_check_level_subtractive_boundary()
1174 static int sas_ex_discover_devices(struct domain_device *dev, int single) in sas_ex_discover_devices()
1212 static int sas_check_ex_subtractive_boundary(struct domain_device *dev) in sas_check_ex_subtractive_boundary()
1247 static void sas_print_parent_topology_bug(struct domain_device *child, in sas_print_parent_topology_bug()
1255 struct domain_device *parent = child->parent; in sas_print_parent_topology_bug()
1270 static int sas_check_eeds(struct domain_device *child, in sas_check_eeds()
1275 struct domain_device *parent = child->parent; in sas_check_eeds()
1314 static int sas_check_parent_topology(struct domain_device *child) in sas_check_parent_topology()
1386 static int sas_configure_present(struct domain_device *dev, int phy_id, in sas_configure_present()
1459 static int sas_configure_set(struct domain_device *dev, int phy_id, in sas_configure_set()
1498 static int sas_configure_phy(struct domain_device *dev, int phy_id, in sas_configure_phy()
1521 static int sas_configure_parent(struct domain_device *parent, in sas_configure_parent()
1522 struct domain_device *child, in sas_configure_parent()
1562 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr) in sas_configure_routing()
1569 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr) in sas_disable_routing()
1582 static int sas_discover_expander(struct domain_device *dev) in sas_discover_expander()
1617 struct domain_device *dev; in sas_ex_level_discovery()
1649 int sas_discover_root_expander(struct domain_device *dev) in sas_discover_root_expander()
1675 static int sas_get_phy_discover(struct domain_device *dev, in sas_get_phy_discover()
1701 static int sas_get_phy_change_count(struct domain_device *dev, in sas_get_phy_change_count()
1719 static int sas_get_phy_attached_dev(struct domain_device *dev, int phy_id, in sas_get_phy_attached_dev()
1743 static int sas_find_bcast_phy(struct domain_device *dev, int *phy_id, in sas_find_bcast_phy()
1775 static int sas_get_ex_change_count(struct domain_device *dev, int *ecc) in sas_get_ex_change_count()
1823 static int sas_find_bcast_dev(struct domain_device *dev, in sas_find_bcast_dev()
1824 struct domain_device **src_dev) in sas_find_bcast_dev()
1830 struct domain_device *ch; in sas_find_bcast_dev()
1862 static void sas_unregister_ex_tree(struct asd_sas_port *port, struct domain_device *dev) in sas_unregister_ex_tree()
1865 struct domain_device *child, *n; in sas_unregister_ex_tree()
1877 static void sas_unregister_devs_sas_addr(struct domain_device *parent, in sas_unregister_devs_sas_addr()
1882 struct domain_device *child, *n, *found = NULL; in sas_unregister_devs_sas_addr()
1910 static int sas_discover_bfs_by_root_level(struct domain_device *root, in sas_discover_bfs_by_root_level()
1914 struct domain_device *child; in sas_discover_bfs_by_root_level()
1932 static int sas_discover_bfs_by_root(struct domain_device *dev) in sas_discover_bfs_by_root()
1950 static int sas_discover_new(struct domain_device *dev, int phy_id) in sas_discover_new()
1953 struct domain_device *child; in sas_discover_new()
1994 static int sas_rediscover_dev(struct domain_device *dev, int phy_id, in sas_rediscover_dev()
2040 struct domain_device *ata_dev = sas_ex_to_ata(dev, phy_id); in sas_rediscover_dev()
2075 static int sas_rediscover(struct domain_device *dev, const int phy_id) in sas_rediscover()
2113 int sas_ex_revalidate_domain(struct domain_device *port_dev) in sas_ex_revalidate_domain()
2116 struct domain_device *dev = NULL; in sas_ex_revalidate_domain()
2138 struct domain_device *dev; in sas_smp_handler()