Lines Matching refs:strncmp
141 if (!strncmp(info->params.host_bus_type, "ISA", 3)) {
144 } else if (!strncmp(info->params.host_bus_type, "PCIX", 4) ||
145 !strncmp(info->params.host_bus_type, "PCI", 3) ||
146 !strncmp(info->params.host_bus_type, "XPRS", 4)) {
153 } else if (!strncmp(info->params.host_bus_type, "IBND", 4) ||
154 !strncmp(info->params.host_bus_type, "HTPT", 4)) {
186 if (!strncmp(info->params.interface_type, "ATAPI", 5)) {
190 } else if (!strncmp(info->params.interface_type, "ATA", 3)) {
193 } else if (!strncmp(info->params.interface_type, "SCSI", 4)) {
197 } else if (!strncmp(info->params.interface_type, "USB", 3)) {
200 } else if (!strncmp(info->params.interface_type, "1394", 4)) {
203 } else if (!strncmp(info->params.interface_type, "FIBRE", 5)) {
207 } else if (!strncmp(info->params.interface_type, "I2O", 3)) {
210 } else if (!strncmp(info->params.interface_type, "RAID", 4)) {
213 } else if (!strncmp(info->params.interface_type, "SATA", 4)) {
635 if (!strncmp(info->params.host_bus_type, type, strlen(type)) ||
636 !strncmp(info->params.interface_type, type, strlen(type)))