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