Home
last modified time | relevance | path

Searched refs:gap_count (Results 1 – 6 of 6) sorted by relevance

/drivers/firewire/
A Dpacket-serdes-test.c265 unsigned int *gap_count) in deserialize_phy_packet_phy_config() argument
656 unsigned int gap_count; in test_phy_packet_self_id_zero_case0() local
673 KUNIT_EXPECT_EQ(test, 0x05, gap_count); in test_phy_packet_self_id_zero_case0()
711 unsigned int gap_count; in test_phy_packet_self_id_zero_case1() local
728 KUNIT_EXPECT_EQ(test, 0x3f, gap_count); in test_phy_packet_self_id_zero_case1()
769 unsigned int gap_count; in test_phy_packet_self_id_zero_and_one() local
846 unsigned int gap_count; in test_phy_packet_phy_config_force_root_node() local
850 &gap_count); in test_phy_packet_phy_config_force_root_node()
856 KUNIT_EXPECT_EQ(test, 0, gap_count); in test_phy_packet_phy_config_force_root_node()
873 unsigned int gap_count; in test_phy_packet_phy_config_gap_count_optimization() local
[all …]
A Dcore-card.c292 int gap_count, generation, grace, rcode; in bm_work() local
431 if (card->gap_count == 0) { in bm_work()
482 gap_count = gap_count_table[root_node->max_hops]; in bm_work()
484 gap_count = 63; in bm_work()
493 (card->gap_count != gap_count || new_root_id != root_id)) in bm_work()
500 new_root_id, gap_count); in bm_work()
501 fw_send_phy_config(card, new_root_id, generation, gap_count); in bm_work()
514 reset_bus(card, card->gap_count != 0); in bm_work()
A Dphy-packet-definitions.h73 static inline void phy_packet_phy_config_set_gap_count(u32 *quadlet, unsigned int gap_count) in phy_packet_phy_config_set_gap_count() argument
76 *quadlet |= (gap_count << PHY_CONFIG_GAP_COUNT_SHIFT) & PHY_CONFIG_GAP_COUNT_MASK; in phy_packet_phy_config_set_gap_count()
146 static inline void phy_packet_self_id_zero_set_gap_count(u32 *quadlet, unsigned int gap_count) in phy_packet_self_id_zero_set_gap_count() argument
149 *quadlet |= (gap_count << SELF_ID_ZERO_GAP_COUNT_SHIFT) & SELF_ID_ZERO_GAP_COUNT_MASK; in phy_packet_self_id_zero_set_gap_count()
A Dcore-topology.c108 int gap_count; in build_tree() local
117 gap_count = phy_packet_self_id_zero_get_gap_count(*sid); in build_tree()
243 if (phy_packet_self_id_zero_get_gap_count(self_id_sequence[0]) != gap_count) in build_tree()
244 gap_count = 0; in build_tree()
253 card->gap_count = gap_count; in build_tree()
A Dcore-transaction.c459 int node_id, int generation, int gap_count) in fw_send_phy_config() argument
471 if (gap_count == FW_PHY_CONFIG_CURRENT_GAP_COUNT) { in fw_send_phy_config()
472 gap_count = card->driver->read_phy_reg(card, 1); in fw_send_phy_config()
473 if (gap_count < 0) in fw_send_phy_config()
476 gap_count &= 63; in fw_send_phy_config()
477 if (gap_count == 63) in fw_send_phy_config()
480 phy_packet_phy_config_set_gap_count(&data, gap_count); in fw_send_phy_config()
A Dcore.h279 int node_id, int generation, int gap_count);

Completed in 19 milliseconds