Home
last modified time | relevance | path

Searched refs:supported_speeds (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-designware-common.c180 static const u32 supported_speeds[] = { variable
196 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()
Di2c-amd-mp2-plat.c204 static const u32 supported_speeds[] = { variable
219 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()
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dethtool.sh162 local supported_speeds=("$@"); shift
167 for speed in ${supported_speeds[@]}; do
/kernel/linux/linux-5.10/include/scsi/
Dscsi_transport_fc.h497 u32 supported_speeds; member
556 (((struct fc_host_attrs *)(x)->shost_data)->supported_speeds)
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_attr.c3268 uint supported_speeds = FC_PORTSPEED_UNKNOWN; in qla2x00_get_host_supported_speeds() local
3271 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()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_transport_fc.c393 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()