Lines Matching refs:strncmp
150 if (!strncmp(info->params.host_bus_type, "ISA", 3)) { in edd_show_host_bus()
153 } else if (!strncmp(info->params.host_bus_type, "PCIX", 4) || in edd_show_host_bus()
154 !strncmp(info->params.host_bus_type, "PCI", 3) || in edd_show_host_bus()
155 !strncmp(info->params.host_bus_type, "XPRS", 4)) { in edd_show_host_bus()
162 } else if (!strncmp(info->params.host_bus_type, "IBND", 4) || in edd_show_host_bus()
163 !strncmp(info->params.host_bus_type, "HTPT", 4)) { in edd_show_host_bus()
195 if (!strncmp(info->params.interface_type, "ATAPI", 5)) { in edd_show_interface()
199 } else if (!strncmp(info->params.interface_type, "ATA", 3)) { in edd_show_interface()
202 } else if (!strncmp(info->params.interface_type, "SCSI", 4)) { in edd_show_interface()
206 } else if (!strncmp(info->params.interface_type, "USB", 3)) { in edd_show_interface()
209 } else if (!strncmp(info->params.interface_type, "1394", 4)) { in edd_show_interface()
212 } else if (!strncmp(info->params.interface_type, "FIBRE", 5)) { in edd_show_interface()
216 } else if (!strncmp(info->params.interface_type, "I2O", 3)) { in edd_show_interface()
219 } else if (!strncmp(info->params.interface_type, "RAID", 4)) { in edd_show_interface()
222 } else if (!strncmp(info->params.interface_type, "SATA", 4)) { in edd_show_interface()
653 if (!strncmp(info->params.host_bus_type, type, strlen(type)) || in edd_dev_is_type()
654 !strncmp(info->params.interface_type, type, strlen(type))) in edd_dev_is_type()