Searched refs:selection_byte (Results 1 – 1 of 1) sorted by relevance
1878 static int is_long_cable(int phy, unsigned char selection_byte) in is_long_cable() argument1880 return !!(selection_byte & (1 << phy)); in is_long_cable()1883 static int is_medium_cable(int phy, unsigned char selection_byte) in is_medium_cable() argument1885 return !!(selection_byte & (1 << (phy + 4))); in is_medium_cable()1890 unsigned char selection_byte) in decode_selection_byte() argument1892 return ((selection_byte & (1 << phy)) ? 1 : 0) in decode_selection_byte()1893 + (selection_byte & (1 << (phy + 4)) ? 2 : 0); in decode_selection_byte()