Searched refs:supported_speeds (Results 1 – 7 of 7) sorted by relevance
203 static const u32 supported_speeds[] = { variable218 for (i = 0; i < ARRAY_SIZE(supported_speeds); i++) { in i2c_amd_get_bus_speed()219 if (acpi_speed >= supported_speeds[i]) in i2c_amd_get_bus_speed()222 acpi_speed = i < ARRAY_SIZE(supported_speeds) ? supported_speeds[i] : 0; in i2c_amd_get_bus_speed()
184 static const u32 supported_speeds[] = { variable200 for (i = 0; i < ARRAY_SIZE(supported_speeds); i++) { in i2c_dw_validate_speed()201 if (t->bus_freq_hz == supported_speeds[i]) in i2c_dw_validate_speed()303 for (i = 0; i < ARRAY_SIZE(supported_speeds); i++) { in i2c_dw_acpi_round_bus_speed()304 if (acpi_speed >= supported_speeds[i]) in i2c_dw_acpi_round_bus_speed()305 return supported_speeds[i]; in i2c_dw_acpi_round_bus_speed()
162 local supported_speeds=("$@"); shift167 for speed in ${supported_speeds[@]}; do
347 u32 supported_speeds = 0; in efct_get_link_supported_speeds() local368 supported_speeds |= supported_speed_list[i].speed; in efct_get_link_supported_speeds()371 return supported_speeds; in efct_get_link_supported_speeds()
533 u32 supported_speeds; member603 (((struct fc_host_attrs *)(x)->shost_data)->supported_speeds)
3336 uint supported_speeds = FC_PORTSPEED_UNKNOWN; in qla2x00_get_host_supported_speeds() local3339 supported_speeds |= FC_PORTSPEED_64GBIT; in qla2x00_get_host_supported_speeds()3341 supported_speeds |= FC_PORTSPEED_32GBIT; in qla2x00_get_host_supported_speeds()3343 supported_speeds |= FC_PORTSPEED_16GBIT; in qla2x00_get_host_supported_speeds()3345 supported_speeds |= FC_PORTSPEED_8GBIT; in qla2x00_get_host_supported_speeds()3347 supported_speeds |= FC_PORTSPEED_4GBIT; in qla2x00_get_host_supported_speeds()3349 supported_speeds |= FC_PORTSPEED_2GBIT; in qla2x00_get_host_supported_speeds()3351 supported_speeds |= FC_PORTSPEED_1GBIT; in qla2x00_get_host_supported_speeds()3353 return supported_speeds; in qla2x00_get_host_supported_speeds()
402 fc_host->supported_speeds = FC_PORTSPEED_UNKNOWN; in fc_host_setup()1916 static FC_DEVICE_ATTR(host, supported_speeds, S_IRUGO,2682 SETUP_HOST_ATTRIBUTE_RD(supported_speeds); in fc_attach_transport()