Searched refs:last_val (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/drivers/clk/bcm/ |
A D | clk-bcm53573-ilp.c | 48 u32 last_val, cur_val; in bcm53573_ilp_recalc_rate() local 56 regmap_read(regmap, PMU_XTAL_FREQ_RATIO, &last_val); in bcm53573_ilp_recalc_rate() 57 last_val &= XTAL_ALP_PER_4ILP; in bcm53573_ilp_recalc_rate() 68 if (cur_val != last_val) { in bcm53573_ilp_recalc_rate() 73 last_val = cur_val; in bcm53573_ilp_recalc_rate()
|
/linux-6.3-rc2/drivers/i2c/muxes/ |
A D | i2c-mux-mlxcpld.c | 24 int last_val; member 98 if (mux->last_val != regval) { in mlxcpld_mux_select_chan() 100 mux->last_val = err < 0 ? -1 : regval; in mlxcpld_mux_select_chan() 111 mux->last_val = -1; in mlxcpld_mux_deselect() 153 data->last_val = -1; /* force the first selection */ in mlxcpld_mux_probe()
|
/linux-6.3-rc2/drivers/media/radio/ |
A D | radio-shark.c | 75 u32 last_val; member 86 if (shark->last_val == val) in shark_write_val() 99 shark->last_val = val; in shark_write_val() 118 return shark->last_val; in shark_read_val() 127 return shark->last_val; in shark_read_val() 133 shark->last_val = val; in shark_read_val()
|
/linux-6.3-rc2/drivers/regulator/ |
A D | rpi-panel-attiny-regulator.c | 218 u8 last_val; in attiny_gpio_set() local 225 last_val = attiny_get_port_state(state, mappings[off].reg); in attiny_gpio_set() 227 last_val |= mappings[off].mask; in attiny_gpio_set() 229 last_val &= ~mappings[off].mask; in attiny_gpio_set() 231 attiny_set_port_state(state, mappings[off].reg, last_val); in attiny_gpio_set()
|
/linux-6.3-rc2/drivers/iio/adc/ |
A D | rockchip_saradc.c | 58 u16 last_val; member 109 *val = info->last_val; in rockchip_saradc_read_raw() 126 info->last_val = readl_relaxed(info->regs + SARADC_DATA); in rockchip_saradc_isr() 127 info->last_val &= GENMASK(info->last_chan->scan_type.realbits - 1, 0); in rockchip_saradc_isr() 287 data.values[j] = info->last_val; in rockchip_saradc_trigger_handler()
|
A D | rzg2l_adc.c | 79 u16 last_val[RZG2L_ADC_MAX_CHANNELS]; member 250 *val = adc->last_val[ch]; in rzg2l_adc_read_raw() 292 adc->last_val[ch] = rzg2l_adc_readl(adc, RZG2L_ADCR(ch)) & RZG2L_ADCR_AD_MASK; in rzg2l_adc_isr()
|
/linux-6.3-rc2/drivers/input/mouse/ |
A D | sentelic.h | 105 unsigned char last_val; member
|
A D | sentelic.c | 454 return sprintf(buf, "%02x%02x\n", pad->last_reg, pad->last_val); in fsp_attr_show_getreg() 480 pad->last_val = val; in fsp_attr_set_getreg()
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/ |
A D | hw.c | 1643 u32 reg, last_val; in ath9k_hw_check_alive() local 1655 last_val = REG_READ(ah, AR_OBS_BUS_1); in ath9k_hw_check_alive() 1658 if (reg != last_val) in ath9k_hw_check_alive() 1662 last_val = reg; in ath9k_hw_check_alive()
|
/linux-6.3-rc2/arch/x86/xen/ |
A D | setup.c | 452 unsigned long nr_pages, unsigned long last_val)) in xen_foreach_remap_area() argument
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | atmel_mxt_ts.c | 1314 u8 *last_val = base + end_off - 1; in mxt_calculate_crc() local 1319 while (ptr < last_val) { in mxt_calculate_crc() 1325 if (ptr == last_val) in mxt_calculate_crc()
|
Completed in 34 milliseconds