Home
last modified time | relevance | path

Searched refs:spt (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/isdn/hisax/
Dsportster.c56 return (bytein(calc_off(cs->hw.spt.isac, offset))); in ReadISAC()
62 byteout(calc_off(cs->hw.spt.isac, offset), value); in WriteISAC()
68 read_fifo(cs->hw.spt.isac, data, size); in ReadISACfifo()
74 write_fifo(cs->hw.spt.isac, data, size); in WriteISACfifo()
80 return (bytein(calc_off(cs->hw.spt.hscx[hscx], offset))); in ReadHSCX()
86 byteout(calc_off(cs->hw.spt.hscx[hscx], offset), value); in WriteHSCX()
93 #define READHSCX(cs, nr, reg) bytein(calc_off(cs->hw.spt.hscx[nr], reg))
94 #define WRITEHSCX(cs, nr, reg, data) byteout(calc_off(cs->hw.spt.hscx[nr], reg), data)
95 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.spt.hscx[nr], ptr, cnt)
96 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.spt.hscx[nr], ptr, cnt)
[all …]
Dhisax.h907 struct spt_hw spt; member
/linux-4.19.296/drivers/misc/mic/host/
Dmic_smpt.c78 static void mic_add_smpt_entry(int spt, s64 *ref, u64 addr, in mic_add_smpt_entry() argument
84 for (i = spt; i < spt + entries; i++, in mic_add_smpt_entry()
91 smpt_info->entry[i].ref_count += ref[i - spt]; in mic_add_smpt_entry()
102 int spt; in mic_smpt_op() local
136 spt = i - entries + 1; in mic_smpt_op()
137 mic_addr = mic_smpt_to_pa(mdev, spt); in mic_smpt_op()
138 mic_add_smpt_entry(spt, ref, dma_addr, entries, mdev); in mic_smpt_op()
180 int spt; in mic_to_dma_addr() local
188 spt = mic_sys_addr_to_smpt(mdev, mic_addr); in mic_to_dma_addr()
189 dma_addr = smpt_info->entry[spt].dma_addr + in mic_to_dma_addr()
[all …]