Searched refs:ctlp (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/sys/dev/rp/
H A Drp_pci.c114 static void rp_pcireleaseresource(CONTROLLER_t *ctlp);
152 CONTROLLER_t *ctlp; local
156 ctlp = device_get_softc(dev);
157 bzero(ctlp, sizeof(*ctlp));
158 ctlp->dev = dev;
160 ctlp->aiop2rid = rp_pci_aiop2rid;
161 ctlp->aiop2off = rp_pci_aiop2off;
162 ctlp->ctlmask = rp_pci_ctlmask;
165 ctlp
219 CONTROLLER_t *ctlp; local
230 CONTROLLER_t *ctlp; local
239 rp_pcireleaseresource(CONTROLLER_t *ctlp) argument
342 rp_pci_ctlmask(CONTROLLER_t *ctlp) argument
[all...]
H A Drp_isa.c72 #define ISACTL(ctlp) ((ISACONTROLLER_t *)((ctlp)->bus_ctlp))
133 static void rp_isareleaseresource(CONTROLLER_t *ctlp);
150 CONTROLLER_t *ctlp; local
171 ctlp = device_get_softc(dev);
172 bzero(ctlp, sizeof(*ctlp));
173 ctlp->dev = dev;
174 ctlp->aiop2rid = rp_isa_aiop2rid;
175 ctlp
239 CONTROLLER_t *ctlp; local
275 rp_isareleaseresource(CONTROLLER_t *ctlp) argument
484 rp_isa_ctlmask(CONTROLLER_t *ctlp) argument
[all...]
H A Drpreg.h48 #define rp_readio(size, ctlp, rid, offset) \
49 (bus_read_##size(ctlp->io[rid], offset))
50 #define rp_readmultiio(size, ctlp, rid, offset, addr, count) \
51 (bus_read_multi_##size(ctlp->io[rid], offset, addr, count))
52 #define rp_writeio(size, ctlp, rid, offset, data) \
53 (bus_write_##size(ctlp->io[rid], offset, data))
54 #define rp_writemultiio(size, ctlp, rid, offset, addr, count) \
55 (bus_write_multi_##size(ctlp->io[rid], offset, addr, count))
57 #define rp_readio1(ctlp, rid, offset) rp_readio(1, ctlp, ri
[all...]
H A Drp.c710 CONTROLLER_t *ctlp = rp->rp_ctlp; local
712 atomic_subtract_32(&ctlp->free, 1);
716 rp_attachcommon(CONTROLLER_T *ctlp, int num_aiops, int num_ports) argument
726 unit = device_get_unit(ctlp->dev);
731 ctlp->num_ports = num_ports;
732 ctlp->rp = rp = (struct rp_port *)
735 device_printf(ctlp->dev, "rp_attachcommon: Could not malloc rp_ports structures.\n");
742 num_chan = sGetAiopNumChan(ctlp, aiop);
747 rp->rp_ctlp = ctlp;
757 if(sInitChan(ctlp,
780 rp_releaseresource(CONTROLLER_t *ctlp) argument
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_labels.c57 const ctf_lblent_t *ctlp; local
61 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR)
69 if ((s = ctf_strraw(fp, (ctlp + num_labels - 1)->ctl_label)) == NULL)
82 const ctf_lblent_t *ctlp; local
88 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR)
94 for (i = 0; i < num_labels; i++, ctlp++) {
95 if ((lname = ctf_strraw(fp, ctlp->ctl_label)) == NULL) {
97 "typeidx %u\n", ctlp->ctl_label, ctlp->ctl_typeidx);
101 linfo.ctb_typeidx = ctlp
[all...]
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Ddlcommon.c486 strgetmsg(fd, ctlp, datap, flagsp, caller)
488 struct strbuf *ctlp, *datap;
508 if ((rc = getmsg(fd, ctlp, datap, flagsp)) < 0) {
534 if (ctlp->len < sizeof (long))
535 err("getmsg: control portion length < sizeof (long): %d", ctlp->len);

Completed in 77 milliseconds