Home
last modified time | relevance | path

Searched refs:quadlet (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/firewire/
H A Dphy-packet-definitions.h13 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 |= (root_id << PHY_CONFIG_ROOT_ID_SHIFT) & PHY_CONFIG_ROOT_ID_MASK; in phy_packet_phy_config_set_root_id()
[all …]
H A Dpacket-serdes-test.c191 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_reset); in serialize_phy_packet_self_id_zero()
[all …]
H A Dohci.c2034 u32 reg, quadlet; in bus_reset_work() local
2076 quadlet = cond_le32_to_cpu(ohci->self_id[0], has_be_header_quirk(ohci)); in bus_reset_work()
2077 generation = ohci1394_self_id_receive_q0_get_generation(quadlet); in bus_reset_work()
/linux/include/trace/events/
H A Dfirewire_ohci.h55 #define SELF_ID_RECEIVE_Q0_GET_GENERATION(quadlet) \ argument
56 …(((quadlet) & OHCI1394_SELF_ID_RECEIVE_Q0_GENERATION_MASK) >> OHCI1394_SELF_ID_RECEIVE_Q0_GENERATI…
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…