Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/target/tcm_fc/
Dtfc_io.c70 u32 mem_off = 0; in ft_queue_data_in() local
99 mem_off = sg->offset; in ft_queue_data_in()
110 mem_off = sg->offset; in ft_queue_data_in()
139 off_in_page = mem_off; in ft_queue_data_in()
151 from = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); in ft_queue_data_in()
153 from += mem_off & ~PAGE_MASK; in ft_queue_data_in()
155 (mem_off & ~PAGE_MASK))); in ft_queue_data_in()
161 mem_off += tlen; in ft_queue_data_in()
197 u32 mem_off = 0; in ft_recv_write_data() local
273 mem_off = sg->offset; in ft_recv_write_data()
[all …]
/linux-3.4.99/drivers/net/ethernet/8390/
De2100.c85 static inline void mem_off(short port) in mem_off() function
353 mem_off(ioaddr); in e21_get_8390_hdr()
370 mem_off(ioaddr); in e21_block_input()
386 mem_off(ioaddr); in e21_block_output()
410 mem_off(ioaddr); in e21_close()
/linux-3.4.99/drivers/staging/crystalhd/
Dcrystalhd_misc.c33 static inline uint32_t crystalhd_dram_rd(struct crystalhd_adp *adp, uint32_t mem_off) in crystalhd_dram_rd() argument
35 crystalhd_reg_wr(adp, DCI_DRAM_BASE_ADDR, (mem_off >> 19)); in crystalhd_dram_rd()
36 return bc_dec_reg_rd(adp, (0x00380000 | (mem_off & 0x0007FFFF))); in crystalhd_dram_rd()
39 static inline void crystalhd_dram_wr(struct crystalhd_adp *adp, uint32_t mem_off, uint32_t val) in crystalhd_dram_wr() argument
41 crystalhd_reg_wr(adp, DCI_DRAM_BASE_ADDR, (mem_off >> 19)); in crystalhd_dram_wr()
42 bc_dec_reg_wr(adp, (0x00380000 | (mem_off & 0x0007FFFF)), val); in crystalhd_dram_wr()