Home
last modified time | relevance | path

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

/linux/drivers/atm/
H A Dlanai.c302 static void vci_bitfield_iterate(struct lanai_dev *lanai, in vci_bitfield_iterate() argument
309 func(lanai, vci); in vci_bitfield_iterate()
468 static inline bus_addr_t reg_addr(const struct lanai_dev *lanai, in reg_addr() argument
471 return lanai->base + reg; in reg_addr()
474 static inline u32 reg_read(const struct lanai_dev *lanai, in reg_read() argument
478 t = readl(reg_addr(lanai, reg)); in reg_read()
479 RWDEBUG("R [0x%08X] 0x%02X = 0x%08X\n", (unsigned int) lanai->base, in reg_read()
484 static inline void reg_write(const struct lanai_dev *lanai, u32 val, in reg_write() argument
487 RWDEBUG("W [0x%08X] 0x%02X < 0x%08X\n", (unsigned int) lanai->base, in reg_write()
489 writel(val, reg_addr(lanai, reg)); in reg_write()
[all …]
H A DMakefile27 obj-$(CONFIG_ATM_LANAI) += lanai.o
/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c126 struct mcp_kreq_ether_recv __iomem *lanai; /* lanai ptr for recv ring */ member
140 struct mcp_kreq_ether_send __iomem *lanai; /* lanai ptr for sendq */ member
1248 myri10ge_submit_8rx(&rx->lanai[idx - 7], in myri10ge_alloc_rx_pages()
2243 ss->tx.lanai = (struct mcp_kreq_ether_send __iomem *) in myri10ge_get_txrx()
2249 ss->rx_small.lanai = (struct mcp_kreq_ether_recv __iomem *) in myri10ge_get_txrx()
2254 ss->rx_big.lanai = (struct mcp_kreq_ether_recv __iomem *) in myri10ge_get_txrx()
2527 myri10ge_pio_copy(&tx->lanai[idx], &src[cnt], sizeof(*src)); in myri10ge_submit_req_backwards()
2553 dst = dstp = &tx->lanai[idx]; in myri10ge_submit_req()