Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c1035 unsigned long long w_addr = address + offset; in nfp_cpp_write() local
1039 ALIGN(w_addr + 1, NFP_CPP_SAFE_AREA_SIZE) - w_addr); in nfp_cpp_write()
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c627 u8 path, u8 vec, u32 w_addr, u32 r_addr) in rtw8822c_dac_cal_backup_vec() argument
637 rtw_write32_mask(rtwdev, w_addr, 0xf0000000, i); in rtw8822c_dac_cal_backup_vec()
647 u32 w_addr, r_addr; in rtw8822c_dac_cal_backup_path() local
653 w_addr = rtw8822c_get_path_write_addr(path) + 0xb0; in rtw8822c_dac_cal_backup_path()
655 rtw8822c_dac_cal_backup_vec(rtwdev, path, 0, w_addr, r_addr); in rtw8822c_dac_cal_backup_path()
658 w_addr = rtw8822c_get_path_write_addr(path) + 0xb0 + w_off; in rtw8822c_dac_cal_backup_path()
660 rtw8822c_dac_cal_backup_vec(rtwdev, path, 1, w_addr, r_addr); in rtw8822c_dac_cal_backup_path()
/Linux-v5.4/drivers/scsi/
Ddc395x.c4059 u16 w_addr; in check_eeprom() local
4067 for (w_addr = 0, w_eeprom = (u16 *)eeprom; w_addr < 64; in check_eeprom()
4068 w_addr++, w_eeprom++) in check_eeprom()
4105 for (w_addr = 0, cksum = 0, w_eeprom = (u16 *)eeprom; in check_eeprom()
4106 w_addr < 63; w_addr++, w_eeprom++) in check_eeprom()