Searched refs:supported_speeds (Results 1 – 8 of 8) 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()
534 u32 supported_speeds; member604 (((struct fc_host_attrs *)(x)->shost_data)->supported_speeds)
3357 uint supported_speeds = FC_PORTSPEED_UNKNOWN; in qla2x00_get_host_supported_speeds() local3360 supported_speeds |= FC_PORTSPEED_64GBIT; in qla2x00_get_host_supported_speeds()3362 supported_speeds |= FC_PORTSPEED_32GBIT; in qla2x00_get_host_supported_speeds()3364 supported_speeds |= FC_PORTSPEED_16GBIT; in qla2x00_get_host_supported_speeds()3366 supported_speeds |= FC_PORTSPEED_8GBIT; in qla2x00_get_host_supported_speeds()3368 supported_speeds |= FC_PORTSPEED_4GBIT; in qla2x00_get_host_supported_speeds()3370 supported_speeds |= FC_PORTSPEED_2GBIT; in qla2x00_get_host_supported_speeds()3372 supported_speeds |= FC_PORTSPEED_1GBIT; in qla2x00_get_host_supported_speeds()3374 return supported_speeds; in qla2x00_get_host_supported_speeds()
403 fc_host->supported_speeds = FC_PORTSPEED_UNKNOWN; in fc_host_setup()1919 static FC_DEVICE_ATTR(host, supported_speeds, S_IRUGO,2684 SETUP_HOST_ATTRIBUTE_RD(supported_speeds); in fc_attach_transport()
530 self.add_field('supported_speeds', u.unpack_one("<H"))