Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/wlan-ng/
H A Dhfa384x_usb.c242 static int hfa384x_isgood_pdrcode(u16 pdrcode);
2171 u16 pdrcode; /* pdr code, host order */ in hfa384x_drvr_readpda() local
2206 pdrcode = le16_to_cpu(pda[currpdr + 1]); in hfa384x_drvr_readpda()
2215 if (!hfa384x_isgood_pdrcode(pdrcode)) { in hfa384x_drvr_readpda()
2217 pdrcode); in hfa384x_drvr_readpda()
2222 if (pdrcode == HFA384x_PDR_END_OF_PDA) in hfa384x_drvr_readpda()
3833 static int hfa384x_isgood_pdrcode(u16 pdrcode) in hfa384x_isgood_pdrcode() argument
3835 switch (pdrcode) { in hfa384x_isgood_pdrcode()
3868 if (pdrcode < 0x1000) { in hfa384x_isgood_pdrcode()
3871 pdrcode); in hfa384x_isgood_pdrcode()
[all …]