Searched refs:speed_str (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/riscv/kernel/ |
| H A D | unaligned_access_speed.c | 314 static const char * const speed_str[] __initconst = { NULL, NULL, "slow", "fast", "unsupported" }; variable 318 if (!strcmp(str, speed_str[RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW])) in set_unaligned_scalar_speed_param() 320 else if (!strcmp(str, speed_str[RISCV_HWPROBE_MISALIGNED_SCALAR_FAST])) in set_unaligned_scalar_speed_param() 322 else if (!strcmp(str, speed_str[RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED])) in set_unaligned_scalar_speed_param() 333 if (!strcmp(str, speed_str[RISCV_HWPROBE_MISALIGNED_VECTOR_SLOW])) in set_unaligned_vector_speed_param() 335 else if (!strcmp(str, speed_str[RISCV_HWPROBE_MISALIGNED_VECTOR_FAST])) in set_unaligned_vector_speed_param() 337 else if (!strcmp(str, speed_str[RISCV_HWPROBE_MISALIGNED_VECTOR_UNSUPPORTED])) in set_unaligned_vector_speed_param() 354 speed_str[unaligned_scalar_speed_param], unaligned_scalar_speed_param); in check_unaligned_access_all_cpus() 365 speed_str[unaligned_vector_speed_param]); in check_unaligned_access_all_cpus() 368 speed_str[unaligned_vector_speed_param], unaligned_vector_speed_param); in check_unaligned_access_all_cpus()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 8102 const char *speed_str; in ixgbe_watchdog_link_is_up() local 8146 speed_str = "10 Gbps"; in ixgbe_watchdog_link_is_up() 8149 speed_str = "5 Gbps"; in ixgbe_watchdog_link_is_up() 8152 speed_str = "2.5 Gbps"; in ixgbe_watchdog_link_is_up() 8155 speed_str = "1 Gbps"; in ixgbe_watchdog_link_is_up() 8158 speed_str = "100 Mbps"; in ixgbe_watchdog_link_is_up() 8161 speed_str = "10 Mbps"; in ixgbe_watchdog_link_is_up() 8164 speed_str = "unknown speed"; in ixgbe_watchdog_link_is_up() 8167 e_info(drv, "NIC Link is Up %s, Flow Control: %s, EEE: %s\n", speed_str, in ixgbe_watchdog_link_is_up()
|