Home
last modified time | relevance | path

Searched refs:raw_value (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/clk/rockchip/
Dclk-mmc-phase.c50 u32 raw_value; in rockchip_mmc_get_phase() local
58 raw_value = readl(mmc_clock->reg) >> (mmc_clock->shift); in rockchip_mmc_get_phase()
60 degrees = (raw_value & ROCKCHIP_MMC_DEGREE_MASK) * 90; in rockchip_mmc_get_phase()
62 if (raw_value & ROCKCHIP_MMC_DELAY_SEL) { in rockchip_mmc_get_phase()
67 delay_num = (raw_value & ROCKCHIP_MMC_DELAYNUM_MASK); in rockchip_mmc_get_phase()
81 u32 raw_value; in rockchip_mmc_set_phase() local
135 raw_value = delay_num ? ROCKCHIP_MMC_DELAY_SEL : 0; in rockchip_mmc_set_phase()
136 raw_value |= delay_num << ROCKCHIP_MMC_DELAYNUM_OFFSET; in rockchip_mmc_set_phase()
137 raw_value |= nineties; in rockchip_mmc_set_phase()
138 writel(HIWORD_UPDATE(raw_value, 0x07ff, mmc_clock->shift), in rockchip_mmc_set_phase()
[all …]
/linux-6.6.21/drivers/iio/accel/
Dadxl372.c846 u16 raw_value; in adxl372_read_event_value() local
854 ret = adxl372_read_threshold_value(indio_dev, addr, &raw_value); in adxl372_read_event_value()
857 *val = raw_value * ADXL372_USCALE; in adxl372_read_event_value()
862 ret = adxl372_read_threshold_value(indio_dev, addr, &raw_value); in adxl372_read_event_value()
865 *val = raw_value * ADXL372_USCALE; in adxl372_read_event_value()
/linux-6.6.21/include/linux/
Dhid-sensor-hub.h278 int64_t raw_value);
/linux-6.6.21/tools/net/ynl/lib/
Dnlspec.py90 def raw_value(self): member in SpecEnumEntry
125 self.entries_by_val[e.raw_value()] = e
/linux-6.6.21/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c429 int64_t raw_value) in hid_sensor_convert_timestamp() argument
431 return st->timestamp_ns_scale * raw_value; in hid_sensor_convert_timestamp()
/linux-6.6.21/sound/soc/codecs/
Dcx2072x.c516 __le32 raw_value; in cx2072x_reg_write() local
528 raw_value = cpu_to_le32(value); in cx2072x_reg_write()
529 return cx2072x_reg_raw_write(context, reg, &raw_value, size); in cx2072x_reg_write()
/linux-6.6.21/drivers/hid/
Dhid-core.c371 __s32 raw_value; in hid_parser_global() local
426 raw_value = item_sdata(item); in hid_parser_global()
427 if (!(raw_value & 0xfffffff0)) in hid_parser_global()
428 parser->global.unit_exponent = hid_snto32(raw_value, 4); in hid_parser_global()
430 parser->global.unit_exponent = raw_value; in hid_parser_global()
Dwacom_wac.c2435 __u32 raw_value = wacom_s32tou(value, field->report_size); in wacom_wac_pen_event() local
2438 wacom_wac->serial[0] |= ((__u64)raw_value) << 32; in wacom_wac_pen_event()
2445 wacom_wac->id[0] |= raw_value & 0xFFFFF; in wacom_wac_pen_event()