Home
last modified time | relevance | path

Searched refs:w_addr (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/sprd/
Dsprd-mcdt.c405 u32 w_addr = readl_relaxed(mcdt->base + reg) & MCDT_CH_FIFO_ADDR_MASK; in sprd_mcdt_dac_fifo_avail() local
407 if (w_addr >= r_addr) in sprd_mcdt_dac_fifo_avail()
408 return 4 * (MCDT_FIFO_LENGTH - w_addr + r_addr); in sprd_mcdt_dac_fifo_avail()
410 return 4 * (r_addr - w_addr); in sprd_mcdt_dac_fifo_avail()
418 u32 w_addr = readl_relaxed(mcdt->base + reg) & MCDT_CH_FIFO_ADDR_MASK; in sprd_mcdt_adc_fifo_avail() local
420 if (w_addr >= r_addr) in sprd_mcdt_adc_fifo_avail()
421 return 4 * (w_addr - r_addr); in sprd_mcdt_adc_fifo_avail()
423 return 4 * (MCDT_FIFO_LENGTH - r_addr + w_addr); in sprd_mcdt_adc_fifo_avail()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c1038 unsigned long long w_addr = address + offset; in nfp_cpp_write() local
1042 ALIGN(w_addr + 1, NFP_CPP_SAFE_AREA_SIZE) - w_addr); in nfp_cpp_write()
/kernel/linux/linux-5.10/drivers/scsi/
Ddc395x.c4026 u16 w_addr; in check_eeprom() local
4034 for (w_addr = 0, w_eeprom = (u16 *)eeprom; w_addr < 64; in check_eeprom()
4035 w_addr++, w_eeprom++) in check_eeprom()
4072 for (w_addr = 0, cksum = 0, w_eeprom = (u16 *)eeprom; in check_eeprom()
4073 w_addr < 63; w_addr++, w_eeprom++) in check_eeprom()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c626 u8 path, u8 vec, u32 w_addr, u32 r_addr) in rtw8822c_dac_cal_backup_vec() argument
636 rtw_write32_mask(rtwdev, w_addr, 0xf0000000, i); in rtw8822c_dac_cal_backup_vec()
646 u32 w_addr, r_addr; in rtw8822c_dac_cal_backup_path() local
652 w_addr = rtw8822c_get_path_write_addr(path) + 0xb0; in rtw8822c_dac_cal_backup_path()
654 rtw8822c_dac_cal_backup_vec(rtwdev, path, 0, w_addr, r_addr); in rtw8822c_dac_cal_backup_path()
657 w_addr = rtw8822c_get_path_write_addr(path) + 0xb0 + w_off; in rtw8822c_dac_cal_backup_path()
659 rtw8822c_dac_cal_backup_vec(rtwdev, path, 1, w_addr, r_addr); in rtw8822c_dac_cal_backup_path()