/linux/drivers/firewire/ ! |
H A D | phy-packet-definitions.h | 13 static inline unsigned int phy_packet_get_packet_identifier(u32 quadlet) in phy_packet_get_packet_identifier() argument 15 return (quadlet & PACKET_IDENTIFIER_MASK) >> PACKET_IDENTIFIER_SHIFT; in phy_packet_get_packet_identifier() 18 static inline void phy_packet_set_packet_identifier(u32 *quadlet, unsigned int packet_identifier) in phy_packet_set_packet_identifier() argument 20 *quadlet &= ~PACKET_IDENTIFIER_MASK; in phy_packet_set_packet_identifier() 21 *quadlet |= (packet_identifier << PACKET_IDENTIFIER_SHIFT) & PACKET_IDENTIFIER_MASK; in phy_packet_set_packet_identifier() 35 static inline unsigned int phy_packet_phy_config_get_root_id(u32 quadlet) in phy_packet_phy_config_get_root_id() argument 37 return (quadlet & PHY_CONFIG_ROOT_ID_MASK) >> PHY_CONFIG_ROOT_ID_SHIFT; in phy_packet_phy_config_get_root_id() 40 static inline void phy_packet_phy_config_set_root_id(u32 *quadlet, unsigned int root_id) in phy_packet_phy_config_set_root_id() argument 42 *quadlet &= ~PHY_CONFIG_ROOT_ID_MASK; in phy_packet_phy_config_set_root_id() 43 *quadlet | in phy_packet_phy_config_set_root_id() 46 phy_packet_phy_config_get_force_root_node(u32 quadlet) phy_packet_phy_config_get_force_root_node() argument 51 phy_packet_phy_config_set_force_root_node(u32 * quadlet,bool has_force_root_node) phy_packet_phy_config_set_force_root_node() argument 57 phy_packet_phy_config_get_gap_count_optimization(u32 quadlet) phy_packet_phy_config_get_gap_count_optimization() argument 62 phy_packet_phy_config_set_gap_count_optimization(u32 * quadlet,bool has_gap_count_optimization) phy_packet_phy_config_set_gap_count_optimization() argument 68 phy_packet_phy_config_get_gap_count(u32 quadlet) phy_packet_phy_config_get_gap_count() argument 73 phy_packet_phy_config_set_gap_count(u32 * quadlet,unsigned int gap_count) phy_packet_phy_config_set_gap_count() argument 108 phy_packet_self_id_get_phy_id(u32 quadlet) phy_packet_self_id_get_phy_id() argument 113 phy_packet_self_id_set_phy_id(u32 * quadlet,unsigned int phy_id) phy_packet_self_id_set_phy_id() argument 119 phy_packet_self_id_get_extended(u32 quadlet) phy_packet_self_id_get_extended() argument 124 phy_packet_self_id_set_extended(u32 * quadlet,bool extended) phy_packet_self_id_set_extended() argument 130 phy_packet_self_id_zero_get_link_active(u32 quadlet) phy_packet_self_id_zero_get_link_active() argument 135 phy_packet_self_id_zero_set_link_active(u32 * quadlet,bool is_active) phy_packet_self_id_zero_set_link_active() argument 141 phy_packet_self_id_zero_get_gap_count(u32 quadlet) phy_packet_self_id_zero_get_gap_count() argument 146 phy_packet_self_id_zero_set_gap_count(u32 * quadlet,unsigned int gap_count) phy_packet_self_id_zero_set_gap_count() argument 152 phy_packet_self_id_zero_get_scode(u32 quadlet) phy_packet_self_id_zero_get_scode() argument 157 phy_packet_self_id_zero_set_scode(u32 * quadlet,unsigned int speed) phy_packet_self_id_zero_set_scode() argument 163 phy_packet_self_id_zero_get_contender(u32 quadlet) phy_packet_self_id_zero_get_contender() argument 168 phy_packet_self_id_zero_set_contender(u32 * quadlet,bool is_contender) phy_packet_self_id_zero_set_contender() argument 174 phy_packet_self_id_zero_get_power_class(u32 quadlet) phy_packet_self_id_zero_get_power_class() argument 179 phy_packet_self_id_zero_set_power_class(u32 * quadlet,unsigned int power_class) phy_packet_self_id_zero_set_power_class() argument 185 phy_packet_self_id_zero_get_initiated_reset(u32 quadlet) phy_packet_self_id_zero_get_initiated_reset() argument 190 phy_packet_self_id_zero_set_initiated_reset(u32 * quadlet,bool is_initiated_reset) phy_packet_self_id_zero_set_initiated_reset() argument 196 phy_packet_self_id_get_more_packets(u32 quadlet) phy_packet_self_id_get_more_packets() argument 201 phy_packet_self_id_set_more_packets(u32 * quadlet,bool is_more_packets) phy_packet_self_id_set_more_packets() argument 207 phy_packet_self_id_extended_get_sequence(u32 quadlet) phy_packet_self_id_extended_get_sequence() argument 212 phy_packet_self_id_extended_set_sequence(u32 * quadlet,unsigned int sequence) phy_packet_self_id_extended_set_sequence() argument 227 u32 quadlet; self_id_sequence_enumerator_next() local [all...] |
H A D | packet-serdes-test.c | 191 static void serialize_phy_packet_self_id_zero(u32 *quadlet, unsigned int packet_identifier, in serialize_phy_packet_self_id_zero() argument 198 phy_packet_set_packet_identifier(quadlet, packet_identifier); in serialize_phy_packet_self_id_zero() 199 phy_packet_self_id_set_phy_id(quadlet, phy_id); in serialize_phy_packet_self_id_zero() 200 phy_packet_self_id_set_extended(quadlet, extended); in serialize_phy_packet_self_id_zero() 201 phy_packet_self_id_zero_set_link_active(quadlet, link_is_active); in serialize_phy_packet_self_id_zero() 202 phy_packet_self_id_zero_set_gap_count(quadlet, gap_count); in serialize_phy_packet_self_id_zero() 203 phy_packet_self_id_zero_set_scode(quadlet, scode); in serialize_phy_packet_self_id_zero() 204 phy_packet_self_id_zero_set_contender(quadlet, is_contender); in serialize_phy_packet_self_id_zero() 205 phy_packet_self_id_zero_set_power_class(quadlet, power_class); in serialize_phy_packet_self_id_zero() 206 phy_packet_self_id_zero_set_initiated_reset(quadlet, is_initiated_rese in serialize_phy_packet_self_id_zero() 210 deserialize_phy_packet_self_id_zero(u32 quadlet,unsigned int * packet_identifier,unsigned int * phy_id,bool * extended,bool * link_is_active,unsigned int * gap_count,unsigned int * scode,bool * is_contender,unsigned int * power_class,bool * is_initiated_reset,bool * has_more_packets) deserialize_phy_packet_self_id_zero() argument 229 serialize_phy_packet_self_id_extended(u32 * quadlet,unsigned int packet_identifier,unsigned int phy_id,bool extended,unsigned int sequence,bool has_more_packets) serialize_phy_packet_self_id_extended() argument 240 deserialize_phy_packet_self_id_extended(u32 quadlet,unsigned int * packet_identifier,unsigned int * phy_id,bool * extended,unsigned int * sequence,bool * has_more_packets) deserialize_phy_packet_self_id_extended() argument 251 serialize_phy_packet_phy_config(u32 * quadlet,unsigned int packet_identifier,unsigned int root_id,bool has_force_root_node,bool has_gap_count_optimization,unsigned int gap_count) serialize_phy_packet_phy_config() argument 262 deserialize_phy_packet_phy_config(u32 quadlet,unsigned int * packet_identifier,unsigned int * root_id,bool * has_force_root_node,bool * has_gap_count_optimization,unsigned int * gap_count) deserialize_phy_packet_phy_config() argument 840 u32 quadlet = 0; test_phy_packet_phy_config_force_root_node() local 867 u32 quadlet = 0; test_phy_packet_phy_config_gap_count_optimization() local [all...] |
H A D | ohci.c | 2037 u32 reg, quadlet; in bus_reset_work() local 2069 * the inverted quadlets and a header quadlet, we shift one in bus_reset_work() 2079 quadlet = cond_le32_to_cpu(ohci->self_id[0], has_be_header_quirk(ohci)); in bus_reset_work() 2080 generation = ohci1394_self_id_receive_q0_get_generation(quadlet); in bus_reset_work() 2182 // Writing the header quadlet will indicate that the config rom is ready, in bus_reset_work() 2622 * header quadlet; 0 is endian agnostic and means that the in ohci_set_config_rom()
|
/linux/include/trace/events/ ! |
H A D | firewire_ohci.h | 55 #define SELF_ID_RECEIVE_Q0_GET_GENERATION(quadlet) \ argument 56 (((quadlet) & OHCI1394_SELF_ID_RECEIVE_Q0_GENERATION_MASK) >> OHCI1394_SELF_ID_RECEIVE_Q0_GENERATION_SHIFT) 58 #define SELF_ID_RECEIVE_Q0_GET_TIMESTAMP(quadlet) \ argument 59 (((quadlet) & OHCI1394_SELF_ID_RECEIVE_Q0_TIMESTAMP_MASK) >> OHCI1394_SELF_ID_RECEIVE_Q0_TIMESTAMP_SHIFT)
|