/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/ |
D | base.c | 67 struct nvkm_iccsense_rail *rail, in nvkm_iccsense_ina2x9_read() argument 70 return nvkm_iccsense_poll_lane(rail->sensor->i2c, rail->sensor->addr, in nvkm_iccsense_ina2x9_read() 71 shunt_reg, 0, bus_reg, 3, rail->mohm, in nvkm_iccsense_ina2x9_read() 77 struct nvkm_iccsense_rail *rail) in nvkm_iccsense_ina209_read() argument 79 return nvkm_iccsense_ina2x9_read(iccsense, rail, 3, 4); in nvkm_iccsense_ina209_read() 84 struct nvkm_iccsense_rail *rail) in nvkm_iccsense_ina219_read() argument 86 return nvkm_iccsense_ina2x9_read(iccsense, rail, 1, 2); in nvkm_iccsense_ina219_read() 91 struct nvkm_iccsense_rail *rail) in nvkm_iccsense_ina3221_read() argument 93 return nvkm_iccsense_poll_lane(rail->sensor->i2c, rail->sensor->addr, in nvkm_iccsense_ina3221_read() 94 1 + (rail->idx * 2), 3, in nvkm_iccsense_ina3221_read() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | iccsense.c | 76 iccsense->rail = kmalloc_array(cnt, sizeof(struct pwr_rail_t), in nvbios_iccsense_parse() 78 if (!iccsense->rail) in nvbios_iccsense_parse() 83 struct pwr_rail_t *rail = &iccsense->rail[i]; in nvbios_iccsense_parse() local 92 rail->mode = 1; in nvbios_iccsense_parse() 94 rail->mode = 0; in nvbios_iccsense_parse() 95 rail->extdev_id = nvbios_rd08(bios, entry + 0x2); in nvbios_iccsense_parse() 99 rail->mode = nvbios_rd08(bios, entry); in nvbios_iccsense_parse() 100 rail->extdev_id = nvbios_rd08(bios, entry + 0x1); in nvbios_iccsense_parse() 105 if (nvbios_extdev_parse(bios, rail->extdev_id, &extdev)) in nvbios_iccsense_parse() 111 rail->resistor_count = 1; in nvbios_iccsense_parse() [all …]
|
/drivers/hwmon/ |
D | corsair-psu.c | 205 static int corsairpsu_request(struct corsairpsu_data *priv, u8 cmd, u8 rail, void *data) in corsairpsu_request() argument 217 ret = corsairpsu_usb_cmd(priv, 2, PSU_CMD_SELECT_RAIL, rail, NULL); in corsairpsu_request() 232 static int corsairpsu_get_value(struct corsairpsu_data *priv, u8 cmd, u8 rail, long *val) in corsairpsu_get_value() argument 238 ret = corsairpsu_request(priv, cmd, rail, data); in corsairpsu_get_value() 284 int rail; in corsairpsu_get_criticals() local 286 for (rail = 0; rail < TEMP_COUNT; ++rail) { in corsairpsu_get_criticals() 287 if (!corsairpsu_get_value(priv, PSU_CMD_TEMP_HCRIT, rail, &tmp)) { in corsairpsu_get_criticals() 288 priv->temp_crit_support |= BIT(rail); in corsairpsu_get_criticals() 289 priv->temp_crit[rail] = tmp; in corsairpsu_get_criticals() 293 for (rail = 0; rail < RAIL_COUNT; ++rail) { in corsairpsu_get_criticals() [all …]
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | iccsense.h | 19 struct pwr_rail_t *rail; member
|
/drivers/greybus/ |
D | svc.c | 793 struct svc_debugfs_pwrmon_rail *rail = &svc->pwrmon_rails[i]; in gb_svc_pwrmon_debugfs_init() local 799 rail->id = i; in gb_svc_pwrmon_debugfs_init() 800 rail->svc = svc; in gb_svc_pwrmon_debugfs_init() 803 debugfs_create_file("voltage_now", 0444, dir, rail, in gb_svc_pwrmon_debugfs_init() 805 debugfs_create_file("current_now", 0444, dir, rail, in gb_svc_pwrmon_debugfs_init() 807 debugfs_create_file("power_now", 0444, dir, rail, in gb_svc_pwrmon_debugfs_init()
|
/drivers/net/wireless/broadcom/b43/ |
D | phy_n.c | 1656 enum n_rail_type rail, in b43_nphy_scale_offset_rssi() argument 1668 if (core1or5 && rail == N_RAIL_I) in b43_nphy_scale_offset_rssi() 1670 if (core1or5 && rail == N_RAIL_Q) in b43_nphy_scale_offset_rssi() 1672 if (core2or5 && rail == N_RAIL_I) in b43_nphy_scale_offset_rssi() 1674 if (core2or5 && rail == N_RAIL_Q) in b43_nphy_scale_offset_rssi() 1678 if (core1or5 && rail == N_RAIL_I) in b43_nphy_scale_offset_rssi() 1680 if (core1or5 && rail == N_RAIL_Q) in b43_nphy_scale_offset_rssi() 1682 if (core2or5 && rail == N_RAIL_I) in b43_nphy_scale_offset_rssi() 1684 if (core2or5 && rail == N_RAIL_Q) in b43_nphy_scale_offset_rssi() 1688 if (core1or5 && rail == N_RAIL_I) in b43_nphy_scale_offset_rssi() [all …]
|
/drivers/iio/dac/ |
D | Kconfig | 309 (I2C 8-Bit DACs with rail-to-rail outputs). 319 (I2C 8-Bit DACs with rail-to-rail outputs):
|
/drivers/soc/qcom/ |
D | Kconfig | 129 for the voltage rail. 139 for the voltage rail.
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 21474 u8 coresel, u8 rail, u8 rssi_type) in wlc_phy_scale_offset_rssi_nphy() argument 21487 (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB)) in wlc_phy_scale_offset_rssi_nphy() 21492 (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB)) in wlc_phy_scale_offset_rssi_nphy() 21497 (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_NB)) in wlc_phy_scale_offset_rssi_nphy() 21502 (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_NB)) in wlc_phy_scale_offset_rssi_nphy() 21507 (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1)) in wlc_phy_scale_offset_rssi_nphy() 21512 (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1)) in wlc_phy_scale_offset_rssi_nphy() 21517 (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W1)) in wlc_phy_scale_offset_rssi_nphy() 21522 (rail == NPHY_RAIL_Q) && (rssi_type == NPHY_RSSI_SEL_W1)) in wlc_phy_scale_offset_rssi_nphy() 21527 (rail == NPHY_RAIL_I) && (rssi_type == NPHY_RSSI_SEL_W2)) in wlc_phy_scale_offset_rssi_nphy() [all …]
|
/drivers/gpio/ |
D | Kconfig | 892 powered by the core power rail and are turned off during sleep 899 core power rail and 9 from suspend power supply. 902 Twenty-one are powered by the core power rail and 9 from the
|
/drivers/power/supply/ |
D | Kconfig | 649 rail, ADC for battery and system monitoring, and push-button
|