Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/scsi/isci/
Dhost.c1875 static int is_long_cable(int phy, unsigned char selection_byte) in is_long_cable() argument
1877 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() argument
1882 return !!(selection_byte & (1 << (phy + 4))); in is_medium_cable()
1887 unsigned char selection_byte) in decode_selection_byte() argument
1889 return ((selection_byte & (1 << phy)) ? 1 : 0) in decode_selection_byte()
1890 + (selection_byte & (1 << (phy + 4)) ? 2 : 0); in decode_selection_byte()