switchtec_ntb 93 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static struct switchtec_ntb *ntb_sndev(struct ntb_dev *ntb) switchtec_ntb 95 drivers/ntb/hw/mscc/ntb_hw_switchtec.c return container_of(ntb, struct switchtec_ntb, ntb); switchtec_ntb 98 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_part_op(struct switchtec_ntb *sndev, switchtec_ntb 155 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_send_msg(struct switchtec_ntb *sndev, int idx, switchtec_ntb 168 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 181 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int lut_index(struct switchtec_ntb *sndev, int mw_idx) switchtec_ntb 186 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int peer_lut_index(struct switchtec_ntb *sndev, int mw_idx) switchtec_ntb 196 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 221 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_mw_clr_direct(struct switchtec_ntb *sndev, int idx) switchtec_ntb 235 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_mw_clr_lut(struct switchtec_ntb *sndev, int idx) switchtec_ntb 242 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_mw_set_direct(struct switchtec_ntb *sndev, int idx, switchtec_ntb 261 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_mw_set_lut(struct switchtec_ntb *sndev, int idx, switchtec_ntb 273 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 343 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 349 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_direct_get_addr(struct switchtec_ntb *sndev, switchtec_ntb 384 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_lut_get_addr(struct switchtec_ntb *sndev, switchtec_ntb 406 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 416 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_part_link_speed(struct switchtec_ntb *sndev, switchtec_ntb 433 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_set_link_speed(struct switchtec_ntb *sndev) switchtec_ntb 453 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int crosslink_is_enabled(struct switchtec_ntb *sndev) switchtec_ntb 460 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void crosslink_init_dbmsgs(struct switchtec_ntb *sndev) switchtec_ntb 487 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_reinit_peer(struct switchtec_ntb *sndev); switchtec_ntb 489 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_link_status_update(struct switchtec_ntb *sndev) switchtec_ntb 520 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev; switchtec_ntb 522 drivers/ntb/hw/mscc/ntb_hw_switchtec.c sndev = container_of(work, struct switchtec_ntb, switchtec_ntb 541 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_check_link(struct switchtec_ntb *sndev, switchtec_ntb 552 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = stdev->sndev; switchtec_ntb 561 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 575 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 589 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 603 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 615 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 626 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 635 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 645 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 663 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 680 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 691 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 714 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 724 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 731 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 744 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 760 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 777 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 796 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = ntb_sndev(ntb); switchtec_ntb 838 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_init_sndev(struct switchtec_ntb *sndev) switchtec_ntb 910 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int config_rsvd_lut_win(struct switchtec_ntb *sndev, switchtec_ntb 949 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int config_req_id_table(struct switchtec_ntb *sndev, switchtec_ntb 998 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int crosslink_setup_mws(struct switchtec_ntb *sndev, int ntb_lut_idx, switchtec_ntb 1064 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int crosslink_setup_req_ids(struct switchtec_ntb *sndev, switchtec_ntb 1088 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int crosslink_enum_partition(struct switchtec_ntb *sndev, switchtec_ntb 1121 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_init_crosslink(struct switchtec_ntb *sndev) switchtec_ntb 1180 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_deinit_crosslink(struct switchtec_ntb *sndev) switchtec_ntb 1201 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_init_mw(struct switchtec_ntb *sndev) switchtec_ntb 1234 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_init_db(struct switchtec_ntb *sndev) switchtec_ntb 1260 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_init_msgs(struct switchtec_ntb *sndev) switchtec_ntb 1279 drivers/ntb/hw/mscc/ntb_hw_switchtec.c switchtec_ntb_init_req_id_table(struct switchtec_ntb *sndev) switchtec_ntb 1297 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_init_shared(struct switchtec_ntb *sndev) switchtec_ntb 1323 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_init_shared_mw(struct switchtec_ntb *sndev) switchtec_ntb 1363 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_deinit_shared_mw(struct switchtec_ntb *sndev) switchtec_ntb 1377 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = dev; switchtec_ntb 1389 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = dev; switchtec_ntb 1407 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_init_db_msg_irq(struct switchtec_ntb *sndev) switchtec_ntb 1455 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static void switchtec_ntb_deinit_db_msg_irq(struct switchtec_ntb *sndev) switchtec_ntb 1461 drivers/ntb/hw/mscc/ntb_hw_switchtec.c static int switchtec_ntb_reinit_peer(struct switchtec_ntb *sndev) switchtec_ntb 1479 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev; switchtec_ntb 1550 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct switchtec_ntb *sndev = stdev->sndev; switchtec_ntb 343 include/linux/switchtec.h struct switchtec_ntb; switchtec_ntb 391 include/linux/switchtec.h struct switchtec_ntb *sndev;