Searched refs:supported_speeds (Results 1 – 6 of 6) sorted by relevance
180 static const u32 supported_speeds[] = { variable196 for (i = 0; i < ARRAY_SIZE(supported_speeds); i++) { in i2c_dw_validate_speed()197 if (t->bus_freq_hz == supported_speeds[i]) in i2c_dw_validate_speed()299 for (i = 0; i < ARRAY_SIZE(supported_speeds); i++) { in i2c_dw_acpi_round_bus_speed()300 if (acpi_speed >= supported_speeds[i]) in i2c_dw_acpi_round_bus_speed()301 return supported_speeds[i]; in i2c_dw_acpi_round_bus_speed()
204 static const u32 supported_speeds[] = { variable219 for (i = 0; i < ARRAY_SIZE(supported_speeds); i++) { in i2c_amd_get_bus_speed()220 if (acpi_speed >= supported_speeds[i]) in i2c_amd_get_bus_speed()223 acpi_speed = i < ARRAY_SIZE(supported_speeds) ? supported_speeds[i] : 0; in i2c_amd_get_bus_speed()
162 local supported_speeds=("$@"); shift167 for speed in ${supported_speeds[@]}; do
497 u32 supported_speeds; member556 (((struct fc_host_attrs *)(x)->shost_data)->supported_speeds)
3268 uint supported_speeds = FC_PORTSPEED_UNKNOWN; in qla2x00_get_host_supported_speeds() local3271 supported_speeds |= FC_PORTSPEED_64GBIT; in qla2x00_get_host_supported_speeds()3273 supported_speeds |= FC_PORTSPEED_32GBIT; in qla2x00_get_host_supported_speeds()3275 supported_speeds |= FC_PORTSPEED_16GBIT; in qla2x00_get_host_supported_speeds()3277 supported_speeds |= FC_PORTSPEED_8GBIT; in qla2x00_get_host_supported_speeds()3279 supported_speeds |= FC_PORTSPEED_4GBIT; in qla2x00_get_host_supported_speeds()3281 supported_speeds |= FC_PORTSPEED_2GBIT; in qla2x00_get_host_supported_speeds()3283 supported_speeds |= FC_PORTSPEED_1GBIT; in qla2x00_get_host_supported_speeds()3285 return supported_speeds; in qla2x00_get_host_supported_speeds()
393 fc_host->supported_speeds = FC_PORTSPEED_UNKNOWN; in fc_host_setup()1510 static FC_DEVICE_ATTR(host, supported_speeds, S_IRUGO,2216 SETUP_HOST_ATTRIBUTE_RD(supported_speeds); in fc_attach_transport()