speed_index 39 drivers/hwmon/gpio-fan.c int speed_index; speed_index 129 drivers/hwmon/gpio-fan.c static void set_fan_speed(struct gpio_fan_data *fan_data, int speed_index) speed_index 131 drivers/hwmon/gpio-fan.c if (fan_data->speed_index == speed_index) speed_index 134 drivers/hwmon/gpio-fan.c __set_fan_ctrl(fan_data, fan_data->speed[speed_index].ctrl_val); speed_index 135 drivers/hwmon/gpio-fan.c fan_data->speed_index = speed_index; speed_index 169 drivers/hwmon/gpio-fan.c u8 pwm = fan_data->speed_index * 255 / (fan_data->num_speed - 1); speed_index 179 drivers/hwmon/gpio-fan.c int speed_index; speed_index 192 drivers/hwmon/gpio-fan.c speed_index = DIV_ROUND_UP(pwm * (fan_data->num_speed - 1), 255); speed_index 193 drivers/hwmon/gpio-fan.c set_fan_speed(fan_data, speed_index); speed_index 263 drivers/hwmon/gpio-fan.c return sprintf(buf, "%d\n", fan_data->speed[fan_data->speed_index].rpm); speed_index 355 drivers/hwmon/gpio-fan.c fan_data->speed_index = get_fan_speed_index(fan_data); speed_index 356 drivers/hwmon/gpio-fan.c if (fan_data->speed_index < 0) speed_index 357 drivers/hwmon/gpio-fan.c return fan_data->speed_index; speed_index 382 drivers/hwmon/gpio-fan.c *state = fan_data->speed_index; speed_index 563 drivers/hwmon/gpio-fan.c fan_data->resume_speed = fan_data->speed_index; speed_index 838 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c unsigned int speed_index = speed_index 843 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c (hw_timers_tbl_[speed_index] << 0x10U); speed_index 931 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c unsigned int speed_index = speed_index 937 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c [speed_index][1] * 2; speed_index 939 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c [speed_index][1] * 2; speed_index 942 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c [speed_index][0] << 0x8U; speed_index 944 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c [speed_index][1] << 0x10U; speed_index 947 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c [speed_index][0] << 0x8U; speed_index 949 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c [speed_index][1] << 0x10U; speed_index 117 drivers/net/phy/swphy.c int speed_index, duplex_index; speed_index 126 drivers/net/phy/swphy.c speed_index = swphy_decode_speed(state->speed); speed_index 127 drivers/net/phy/swphy.c if (WARN_ON(speed_index < 0)) speed_index 132 drivers/net/phy/swphy.c bmsr |= speed[speed_index].bmsr & duplex[duplex_index].bmsr; speed_index 133 drivers/net/phy/swphy.c estat |= speed[speed_index].estat & duplex[duplex_index].estat; speed_index 138 drivers/net/phy/swphy.c lpa |= speed[speed_index].lpa & duplex[duplex_index].lpa; speed_index 139 drivers/net/phy/swphy.c lpagb |= speed[speed_index].lpagb & duplex[duplex_index].lpagb;