Searched refs:pcnp (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 60 #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 D | pcnimpl.h | 241 #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, \
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.h | 291 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 D | devinfo_devlink.c | 539 read_nodes(struct di_devlink_handle *hdp, cache_node_t *pcnp, uint32_t nidx) in read_nodes() argument 551 if ((pcnp == NULL) ^ (nidx == DB_HDR(hdp)->root_idx)) { in read_nodes() 565 cnp = node_insert(hdp, pcnp, path, INSERT_HEAD); in read_nodes() 587 read_minors(struct di_devlink_handle *hdp, cache_node_t *pcnp, uint32_t nidx) in read_minors() argument 596 if (pcnp == NULL) { in read_minors() 608 cmnp = minor_insert(hdp, pcnp, name, nodetype, NULL); in read_minors() 2645 cache_node_t *pcnp, in node_insert() argument 2668 cnp->parent = pcnp; in node_insert() 2670 if (pcnp == NULL) { in node_insert() 2675 cnp->sib = pcnp->child; in node_insert() [all …]
|