Home
last modified time | relevance | path

Searched refs:ctl3 (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/hw/i2c/
H A Dnpcm7xx_smbus.c585 uint8_t old_ctl3 = s->ctl3; in npcm7xx_smbus_write_ctl3()
588 s->ctl3 = KEEP_OLD_BIT(old_ctl3, value, in npcm7xx_smbus_write_ctl3()
660 uint8_t bank = s->ctl3 & NPCM7XX_SMBCTL3_BNK_SEL; in npcm7xx_smbus_read()
693 value = s->ctl3; in npcm7xx_smbus_read()
821 uint8_t bank = s->ctl3 & NPCM7XX_SMBCTL3_BNK_SEL; in npcm7xx_smbus_write()
1001 s->ctl3 = NPCM7XX_SMB_CTL3_INIT_VAL; in npcm7xx_smbus_enter_reset()
1057 VMSTATE_UINT8(ctl3, NPCM7xxSMBusState),
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_smbus-test.c163 uint8_t ctl3 = qtest_readb(qts, base_addr + OFFSET_CTL3); in choose_bank() local
166 ctl3 |= CTL3_BNK_SEL; in choose_bank()
168 ctl3 &= ~CTL3_BNK_SEL; in choose_bank()
171 qtest_writeb(qts, base_addr + OFFSET_CTL3, ctl3); in choose_bank()
/openbmc/qemu/include/hw/i2c/
H A Dnpcm7xx_smbus.h86 uint8_t ctl3; member
/openbmc/linux/drivers/hwmon/
H A Dlm93.c1958 u8 ctl3, ctl4; in pwm_auto_spinup_min_show() local
1960 ctl3 = data->block9[nr][LM93_PWM_CTL3]; in pwm_auto_spinup_min_show()
1963 LM93_PWM_FROM_REG(ctl3 & 0x0f, (ctl4 & 0x07) ? in pwm_auto_spinup_min_show()
1974 u8 ctl3, ctl4; in pwm_auto_spinup_min_store() local
1983 ctl3 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3)); in pwm_auto_spinup_min_store()
1985 ctl3 = (ctl3 & 0xf0) | LM93_PWM_TO_REG(val, (ctl4 & 0x07) ? in pwm_auto_spinup_min_store()
1988 data->block9[nr][LM93_PWM_CTL3] = ctl3; in pwm_auto_spinup_min_store()
1989 lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3), ctl3); in pwm_auto_spinup_min_store()
2014 u8 ctl3; in pwm_auto_spinup_time_store() local
2023 ctl3 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3)); in pwm_auto_spinup_time_store()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_mac.h75 u32 ctl3; /* DMA control 3 */ member
H A Dmac.h284 u32 ctl3; member
322 #define ds_ctl3 u.tx.ctl3
H A Dar9003_mac.c57 WRITE_ONCE(ads->ctl3, val); in ar9003_set_txdesc()
166 + ads->data0 + ads->ctl3 in ar9003_calc_ptr_chksum()