Lines Matching defs:ppd
5016 void (*ppfn)(struct e1000g *e1000gp, e1000g_peekpoke_t *ppd);
5017 e1000g_peekpoke_t *ppd;
5047 ppd = (e1000g_peekpoke_t *)(uintptr_t)mp->b_cont->b_rptr;
5052 switch (ppd->pp_acc_space) {
5057 ppd->pp_acc_space);
5064 ASSERT(ppd->pp_acc_size == 4);
5065 if (ppd->pp_acc_size != 4)
5068 if ((ppd->pp_acc_offset % ppd->pp_acc_size) != 0)
5087 if (ppd->pp_acc_offset >= maxoff)
5090 if (ppd->pp_acc_offset + ppd->pp_acc_size > maxoff)
5096 ppd->pp_acc_offset += mem_va;
5097 (*ppfn)(e1000gp, ppd);
5102 e1000g_ioc_peek_reg(struct e1000g *e1000gp, e1000g_peekpoke_t *ppd)
5109 (uintptr_t)ppd->pp_acc_offset);
5111 ppd->pp_acc_data = ddi_get32(handle, regaddr);
5115 e1000g_ioc_poke_reg(struct e1000g *e1000gp, e1000g_peekpoke_t *ppd)
5123 (uintptr_t)ppd->pp_acc_offset);
5124 value = (uint32_t)ppd->pp_acc_data;
5130 e1000g_ioc_peek_mem(struct e1000g *e1000gp, e1000g_peekpoke_t *ppd)
5135 vaddr = (void *)(uintptr_t)ppd->pp_acc_offset;
5137 switch (ppd->pp_acc_size) {
5157 (void *)e1000gp, (void *)ppd, value, vaddr);
5159 ppd->pp_acc_data = value;
5163 e1000g_ioc_poke_mem(struct e1000g *e1000gp, e1000g_peekpoke_t *ppd)
5168 vaddr = (void *)(uintptr_t)ppd->pp_acc_offset;
5169 value = ppd->pp_acc_data;
5173 (void *)e1000gp, (void *)ppd, value, vaddr);
5175 switch (ppd->pp_acc_size) {