Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c1037 unsigned long long w_addr = address + offset; in nfp_cpp_write() local
1041 ALIGN(w_addr + 1, NFP_CPP_SAFE_AREA_SIZE) - w_addr); in nfp_cpp_write()
/linux-6.1.9/drivers/scsi/
Ddc395x.c3989 u16 w_addr; in check_eeprom() local
3997 for (w_addr = 0, w_eeprom = (u16 *)eeprom; w_addr < 64; in check_eeprom()
3998 w_addr++, w_eeprom++) in check_eeprom()
4035 for (w_addr = 0, cksum = 0, w_eeprom = (u16 *)eeprom; in check_eeprom()
4036 w_addr < 63; w_addr++, w_eeprom++) in check_eeprom()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c635 u8 path, u8 vec, u32 w_addr, u32 r_addr) in rtw8822c_dac_cal_backup_vec() argument
645 rtw_write32_mask(rtwdev, w_addr, 0xf0000000, i); in rtw8822c_dac_cal_backup_vec()
655 u32 w_addr, r_addr; in rtw8822c_dac_cal_backup_path() local
661 w_addr = rtw8822c_get_path_write_addr(path) + 0xb0; in rtw8822c_dac_cal_backup_path()
663 rtw8822c_dac_cal_backup_vec(rtwdev, path, 0, w_addr, r_addr); in rtw8822c_dac_cal_backup_path()
666 w_addr = rtw8822c_get_path_write_addr(path) + 0xb0 + w_off; in rtw8822c_dac_cal_backup_path()
668 rtw8822c_dac_cal_backup_vec(rtwdev, path, 1, w_addr, r_addr); in rtw8822c_dac_cal_backup_path()