Lines Matching refs:domain_device
36 static int sas_discover_expander(struct domain_device *dev);
37 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr);
38 static int sas_configure_phy(struct domain_device *dev, int phy_id,
40 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr);
67 static int smp_execute_task(struct domain_device *dev, void *req, int req_size, in smp_execute_task()
169 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) in sas_route_char()
198 static void sas_set_ex_phy(struct domain_device *dev, int phy_id, void *rsp) in sas_set_ex_phy()
347 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata()
350 struct domain_device *dev; in sas_ex_to_ata()
371 static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, in sas_ex_phy_discover_helper()
392 int sas_ex_phy_discover(struct domain_device *dev, int single) in sas_ex_phy_discover()
429 static int sas_expander_discover(struct domain_device *dev) in sas_expander_discover()
451 static void ex_assign_report_general(struct domain_device *dev, in ex_assign_report_general()
468 static int sas_ex_general(struct domain_device *dev) in sas_ex_general()
517 static void ex_assign_manuf_info(struct domain_device *dev, void in ex_assign_manuf_info()
540 static int sas_ex_manuf_info(struct domain_device *dev) in sas_ex_manuf_info()
579 int sas_smp_phy_control(struct domain_device *dev, int phy_id, in sas_smp_phy_control()
612 static void sas_ex_disable_phy(struct domain_device *dev, int phy_id) in sas_ex_disable_phy()
621 static void sas_ex_disable_port(struct domain_device *dev, u8 *sas_addr) in sas_ex_disable_port()
641 struct domain_device *dev; in sas_dev_present_in_domain()
660 struct domain_device *dev = sas_find_dev_by_rphy(rphy); in sas_smp_get_phy_events()
697 int sas_get_report_phy_sata(struct domain_device *dev, int phy_id, in sas_get_report_phy_sata()
738 static void sas_ex_get_linkrate(struct domain_device *parent, in sas_ex_get_linkrate()
739 struct domain_device *child, in sas_ex_get_linkrate()
772 static struct domain_device *sas_ex_discover_end_dev( in sas_ex_discover_end_dev()
773 struct domain_device *parent, int phy_id) in sas_ex_discover_end_dev()
777 struct domain_device *child = NULL; in sas_ex_discover_end_dev()
883 static bool sas_ex_join_wide_port(struct domain_device *parent, int phy_id) in sas_ex_join_wide_port()
906 static struct domain_device *sas_ex_discover_expander( in sas_ex_discover_expander()
907 struct domain_device *parent, int phy_id) in sas_ex_discover_expander()
911 struct domain_device *child = NULL; in sas_ex_discover_expander()
984 static int sas_ex_discover_dev(struct domain_device *dev, int phy_id) in sas_ex_discover_dev()
988 struct domain_device *child = NULL; in sas_ex_discover_dev()
1102 static int sas_find_sub_addr(struct domain_device *dev, u8 *sub_addr) in sas_find_sub_addr()
1126 static int sas_check_level_subtractive_boundary(struct domain_device *dev) in sas_check_level_subtractive_boundary()
1129 struct domain_device *child; in sas_check_level_subtractive_boundary()
1167 static int sas_ex_discover_devices(struct domain_device *dev, int single) in sas_ex_discover_devices()
1205 static int sas_check_ex_subtractive_boundary(struct domain_device *dev) in sas_check_ex_subtractive_boundary()
1243 static void sas_print_parent_topology_bug(struct domain_device *child, in sas_print_parent_topology_bug()
1251 struct domain_device *parent = child->parent; in sas_print_parent_topology_bug()
1268 static int sas_check_eeds(struct domain_device *child, in sas_check_eeds()
1273 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()
1387 static int sas_configure_present(struct domain_device *dev, int phy_id, in sas_configure_present()
1461 static int sas_configure_set(struct domain_device *dev, int phy_id, in sas_configure_set()
1501 static int sas_configure_phy(struct domain_device *dev, int phy_id, in sas_configure_phy()
1523 static int sas_configure_parent(struct domain_device *parent, in sas_configure_parent()
1524 struct domain_device *child, in sas_configure_parent()
1564 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr) in sas_configure_routing()
1571 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr) in sas_disable_routing()
1584 static int sas_discover_expander(struct domain_device *dev) in sas_discover_expander()
1619 struct domain_device *dev; in sas_ex_level_discovery()
1652 int sas_discover_root_expander(struct domain_device *dev) in sas_discover_root_expander()
1678 static int sas_get_phy_discover(struct domain_device *dev, in sas_get_phy_discover()
1704 static int sas_get_phy_change_count(struct domain_device *dev, in sas_get_phy_change_count()
1722 static int sas_get_phy_attached_dev(struct domain_device *dev, int phy_id, in sas_get_phy_attached_dev()
1745 static int sas_find_bcast_phy(struct domain_device *dev, int *phy_id, in sas_find_bcast_phy()
1777 static int sas_get_ex_change_count(struct domain_device *dev, int *ecc) in sas_get_ex_change_count()
1825 static int sas_find_bcast_dev(struct domain_device *dev, in sas_find_bcast_dev()
1826 struct domain_device **src_dev) in sas_find_bcast_dev()
1832 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()
1878 static void sas_unregister_devs_sas_addr(struct domain_device *parent, in sas_unregister_devs_sas_addr()
1883 struct domain_device *child, *n, *found = NULL; in sas_unregister_devs_sas_addr()
1911 static int sas_discover_bfs_by_root_level(struct domain_device *root, in sas_discover_bfs_by_root_level()
1915 struct domain_device *child; in sas_discover_bfs_by_root_level()
1934 static int sas_discover_bfs_by_root(struct domain_device *dev) in sas_discover_bfs_by_root()
1952 static int sas_discover_new(struct domain_device *dev, int phy_id) in sas_discover_new()
1955 struct domain_device *child; in sas_discover_new()
1997 static int sas_rediscover_dev(struct domain_device *dev, int phy_id, bool last) in sas_rediscover_dev()
2030 struct domain_device *ata_dev = sas_ex_to_ata(dev, phy_id); in sas_rediscover_dev()
2068 static int sas_rediscover(struct domain_device *dev, const int phy_id) in sas_rediscover()
2108 int sas_ex_revalidate_domain(struct domain_device *port_dev) in sas_ex_revalidate_domain()
2111 struct domain_device *dev = NULL; in sas_ex_revalidate_domain()
2136 struct domain_device *dev; in sas_smp_handler()