Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/pcn/
H A Dpcn.c60 #define CSR_WRITE_4(pcnp, reg, val) \ argument
61 ddi_put32(pcnp->pcn_regshandle, (uint32_t *)(pcnp->pcn_regs + reg), val)
63 #define CSR_WRITE_2(pcnp, reg, val) \ argument
64 ddi_put16(pcnp->pcn_regshandle, (uint16_t *)(pcnp->pcn_regs + reg), val)
66 #define CSR_READ_4(pcnp, reg) \ argument
67 ddi_get32(pcnp->pcn_regshandle, (uint32_t *)(pcnp->pcn_regs + reg))
69 #define CSR_READ_2(pcnp, reg) \ argument
70 ddi_get16(pcnp->pcn_regshandle, (uint16_t *)(pcnp->pcn_regs + reg))
72 #define PCN_CSR_SETBIT(pcnp, reg, x) \ argument
73 pcn_csr_write(pcnp, reg, pcn_csr_read(pcnp, reg) | (x))
[all …]
H A Dpcnimpl.h241 #define SYNCTXDESC(pcnp, index, who) \ argument
242 (void) ddi_dma_sync(pcnp->pcn_txdesc_dmah, \
245 #define SYNCRXDESC(pcnp, index, who) \ argument
246 (void) ddi_dma_sync(pcnp->pcn_rxdesc_dmah, \
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h291 static int read_nodes(struct di_devlink_handle *hdp, cache_node_t *pcnp,
293 static int read_minors(struct di_devlink_handle *hdp, cache_node_t *pcnp,
304 cache_node_t *pcnp, const char *path, int insert);
306 cache_node_t *pcnp, const char *name, const char *nodetype,
H A Ddevinfo_devlink.c540 read_nodes(struct di_devlink_handle *hdp, cache_node_t *pcnp, uint32_t nidx) in read_nodes() argument
552 if ((pcnp == NULL) ^ (nidx == DB_HDR(hdp)->root_idx)) { in read_nodes()
566 cnp = node_insert(hdp, pcnp, path, INSERT_HEAD); in read_nodes()
588 read_minors(struct di_devlink_handle *hdp, cache_node_t *pcnp, uint32_t nidx) in read_minors() argument
597 if (pcnp == NULL) { in read_minors()
609 cmnp = minor_insert(hdp, pcnp, name, nodetype, NULL); in read_minors()
2646 cache_node_t *pcnp, in node_insert() argument
2669 cnp->parent = pcnp; in node_insert()
2671 if (pcnp == NULL) { in node_insert()
2676 cnp->sib = pcnp->child; in node_insert()
[all …]