Searched refs:selection_byte (Results 1 – 1 of 1) sorted by relevance
1875 static int is_long_cable(int phy, unsigned char selection_byte) in is_long_cable() argument1877 return !!(selection_byte & (1 << phy)); in is_long_cable()1880 static int is_medium_cable(int phy, unsigned char selection_byte) in is_medium_cable() argument1882 return !!(selection_byte & (1 << (phy + 4))); in is_medium_cable()1887 unsigned char selection_byte) in decode_selection_byte() argument1889 return ((selection_byte & (1 << phy)) ? 1 : 0) in decode_selection_byte()1890 + (selection_byte & (1 << (phy + 4)) ? 2 : 0); in decode_selection_byte()