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);
34 static int smp_execute_task_sg(struct domain_device *dev, in smp_execute_task_sg()
123 static int smp_execute_task(struct domain_device *dev, void *req, int req_size, in smp_execute_task()
149 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) in sas_route_char()
178 static void sas_set_ex_phy(struct domain_device *dev, int phy_id, in sas_set_ex_phy()
327 struct domain_device *sas_ex_to_ata(struct domain_device *ex_dev, int phy_id) in sas_ex_to_ata()
330 struct domain_device *dev; in sas_ex_to_ata()
351 static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req, in sas_ex_phy_discover_helper()
372 int sas_ex_phy_discover(struct domain_device *dev, int single) in sas_ex_phy_discover()
409 static int sas_expander_discover(struct domain_device *dev) in sas_expander_discover()
434 static int sas_ex_general(struct domain_device *dev) in sas_ex_general()
492 static void ex_assign_manuf_info(struct domain_device *dev, void in ex_assign_manuf_info()
515 static int sas_ex_manuf_info(struct domain_device *dev) in sas_ex_manuf_info()
554 int sas_smp_phy_control(struct domain_device *dev, int phy_id, in sas_smp_phy_control()
594 static void sas_ex_disable_phy(struct domain_device *dev, int phy_id) in sas_ex_disable_phy()
603 static void sas_ex_disable_port(struct domain_device *dev, u8 *sas_addr) in sas_ex_disable_port()
623 struct domain_device *dev; in sas_dev_present_in_domain()
642 struct domain_device *dev = sas_find_dev_by_rphy(rphy); in sas_smp_get_phy_events()
680 int sas_get_report_phy_sata(struct domain_device *dev, int phy_id, in sas_get_report_phy_sata()
721 static void sas_ex_get_linkrate(struct domain_device *parent, in sas_ex_get_linkrate()
722 struct domain_device *child, in sas_ex_get_linkrate()
753 static int sas_ex_add_dev(struct domain_device *parent, struct ex_phy *phy, in sas_ex_add_dev()
754 struct domain_device *child, int phy_id) in sas_ex_add_dev()
787 static struct domain_device *sas_ex_discover_end_dev( in sas_ex_discover_end_dev()
788 struct domain_device *parent, int phy_id) in sas_ex_discover_end_dev()
792 struct domain_device *child = NULL; in sas_ex_discover_end_dev()
846 static bool sas_ex_join_wide_port(struct domain_device *parent, int phy_id) in sas_ex_join_wide_port()
869 static struct domain_device *sas_ex_discover_expander( in sas_ex_discover_expander()
870 struct domain_device *parent, int phy_id) in sas_ex_discover_expander()
874 struct domain_device *child = NULL; in sas_ex_discover_expander()
948 static int sas_ex_discover_dev(struct domain_device *dev, int phy_id) in sas_ex_discover_dev()
952 struct domain_device *child = NULL; in sas_ex_discover_dev()
1043 static int sas_find_sub_addr(struct domain_device *dev, u8 *sub_addr) in sas_find_sub_addr()
1066 static int sas_check_level_subtractive_boundary(struct domain_device *dev) in sas_check_level_subtractive_boundary()
1069 struct domain_device *child; in sas_check_level_subtractive_boundary()
1104 static int sas_ex_discover_devices(struct domain_device *dev, int single) in sas_ex_discover_devices()
1142 static int sas_check_ex_subtractive_boundary(struct domain_device *dev) in sas_check_ex_subtractive_boundary()
1177 static void sas_print_parent_topology_bug(struct domain_device *child, in sas_print_parent_topology_bug()
1185 struct domain_device *parent = child->parent; in sas_print_parent_topology_bug()
1200 static bool sas_eeds_valid(struct domain_device *parent, in sas_eeds_valid()
1201 struct domain_device *child) in sas_eeds_valid()
1211 static int sas_check_eeds(struct domain_device *child, in sas_check_eeds()
1216 struct domain_device *parent = child->parent; in sas_check_eeds()
1242 static int sas_check_edge_expander_topo(struct domain_device *child, in sas_check_edge_expander_topo()
1273 static int sas_check_fanout_expander_topo(struct domain_device *child, in sas_check_fanout_expander_topo()
1290 static int sas_check_parent_topology(struct domain_device *child) in sas_check_parent_topology()
1334 static int sas_configure_present(struct domain_device *dev, int phy_id, in sas_configure_present()
1407 static int sas_configure_set(struct domain_device *dev, int phy_id, in sas_configure_set()
1446 static int sas_configure_phy(struct domain_device *dev, int phy_id, in sas_configure_phy()
1470 static int sas_configure_parent(struct domain_device *parent, in sas_configure_parent()
1471 struct domain_device *child, in sas_configure_parent()
1510 static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr) in sas_configure_routing()
1517 static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr) in sas_disable_routing()
1530 static int sas_discover_expander(struct domain_device *dev) in sas_discover_expander()
1565 struct domain_device *dev; in sas_ex_level_discovery()
1597 int sas_discover_root_expander(struct domain_device *dev) in sas_discover_root_expander()
1633 static int sas_get_phy_discover(struct domain_device *dev, in sas_get_phy_discover()
1657 static int sas_get_phy_change_count(struct domain_device *dev, in sas_get_phy_change_count()
1675 int sas_get_phy_attached_dev(struct domain_device *dev, int phy_id, in sas_get_phy_attached_dev()
1692 static int sas_find_bcast_phy(struct domain_device *dev, int *phy_id, in sas_find_bcast_phy()
1724 static int sas_get_ex_change_count(struct domain_device *dev, int *ecc) in sas_get_ex_change_count()
1772 static int sas_find_bcast_dev(struct domain_device *dev, in sas_find_bcast_dev()
1773 struct domain_device **src_dev) in sas_find_bcast_dev()
1779 struct domain_device *ch; in sas_find_bcast_dev()
1811 static void sas_unregister_ex_tree(struct asd_sas_port *port, struct domain_device *dev) in sas_unregister_ex_tree()
1814 struct domain_device *child, *n; in sas_unregister_ex_tree()
1826 static void sas_unregister_devs_sas_addr(struct domain_device *parent, in sas_unregister_devs_sas_addr()
1831 struct domain_device *child, *n, *found = NULL; in sas_unregister_devs_sas_addr()
1858 static int sas_discover_bfs_by_root_level(struct domain_device *root, in sas_discover_bfs_by_root_level()
1862 struct domain_device *child; in sas_discover_bfs_by_root_level()
1880 static int sas_discover_bfs_by_root(struct domain_device *dev) in sas_discover_bfs_by_root()
1898 static int sas_discover_new(struct domain_device *dev, int phy_id) in sas_discover_new()
1901 struct domain_device *child; in sas_discover_new()
1941 static int sas_rediscover_dev(struct domain_device *dev, int phy_id, in sas_rediscover_dev()
1996 struct domain_device *ata_dev = sas_ex_to_ata(dev, phy_id); in sas_rediscover_dev()
2034 static int sas_rediscover(struct domain_device *dev, const int phy_id) in sas_rediscover()
2071 int sas_ex_revalidate_domain(struct domain_device *port_dev) in sas_ex_revalidate_domain()
2074 struct domain_device *dev = NULL; in sas_ex_revalidate_domain()
2094 struct domain_device *dev) in sas_find_attached_phy_id()
2112 struct domain_device *dev; in sas_smp_handler()