Searched refs:prot_str (Results 1 – 2 of 2) sorted by relevance
144 static int str_to_prot(char *prot_str) in str_to_prot() argument148 if ((strchr(prot_str, 'r')) != NULL) in str_to_prot()150 if ((strchr(prot_str, 'w')) != NULL) in str_to_prot()152 if ((strchr(prot_str, 'x')) != NULL) in str_to_prot()
2422 const char *prot_str = NULL; in ata_eh_link_report() local2426 prot_str = "unknown"; in ata_eh_link_report()2429 prot_str = "nodata"; in ata_eh_link_report()2432 prot_str = "pio"; in ata_eh_link_report()2435 prot_str = "dma"; in ata_eh_link_report()2438 prot_str = "ncq dma"; in ata_eh_link_report()2441 prot_str = "ncq nodata"; in ata_eh_link_report()2444 prot_str = "nodata"; in ata_eh_link_report()2447 prot_str = "pio"; in ata_eh_link_report()2450 prot_str = "dma"; in ata_eh_link_report()[all …]