HomeSort by: relevance | last modified time | path
    Searched defs:icp (Results 1 - 25 of 42) sorted by relevancy

1 2

  /src/sys/arch/alpha/alpha/
api_up1000.c 75 struct irongate_config *icp; local in function:api_up1000_cons_init
78 icp = &irongate_configuration;
79 irongate_init(icp);
81 pci_consinit(&icp->ic_pc, &icp->ic_iot, &icp->ic_memt,
82 &icp->ic_iot, &icp->ic_memt);
api_up1000.c 75 struct irongate_config *icp; local in function:api_up1000_cons_init
78 icp = &irongate_configuration;
79 irongate_init(icp);
81 pci_consinit(&icp->ic_pc, &icp->ic_iot, &icp->ic_memt,
82 &icp->ic_iot, &icp->ic_memt);
  /src/sys/arch/alpha/pci/
irongate_dma.c 84 irongate_dma_init(struct irongate_config *icp)
91 t = &icp->ic_dmat_pci;
92 t->_cookie = icp;
117 t = &icp->ic_dmat_isa;
118 t->_cookie = icp;
148 struct irongate_config *icp = t->_cookie; local in function:irongate_dma_get_tag
156 return (&icp->ic_dmat_pci);
162 return (&icp->ic_dmat_isa);
irongate_dma.c 84 irongate_dma_init(struct irongate_config *icp)
91 t = &icp->ic_dmat_pci;
92 t->_cookie = icp;
117 t = &icp->ic_dmat_isa;
118 t->_cookie = icp;
148 struct irongate_config *icp = t->_cookie; local in function:irongate_dma_get_tag
156 return (&icp->ic_dmat_pci);
162 return (&icp->ic_dmat_isa);
irongate.c 72 irongate_init(struct irongate_config *icp)
81 irongate_pci_init(&icp->ic_pc, icp);
82 alpha_pci_chipset = &icp->ic_pc;
84 tag = pci_make_tag(&icp->ic_pc, 0, IRONGATE_PCIHOST_DEV, 0);
87 reg = irongate_conf_read0(icp, tag, PCI_CLASS_REG);
88 icp->ic_rev = PCI_REVISION(reg);
90 if (icp->ic_initted == 0) {
92 irongate_bus_io_init(&icp->ic_iot, icp);
124 struct irongate_config *icp; local in function:irongate_attach
194 struct irongate_config *icp = &irongate_configuration; local in function:irongate_bus_get_window
    [all...]
irongate_pci.c 80 struct irongate_config * const icp = ipv; local in function:irongate_conf_read
89 pci_decompose_tag(&icp->ic_pc, tag, &b, &d, NULL);
irongate.c 72 irongate_init(struct irongate_config *icp)
81 irongate_pci_init(&icp->ic_pc, icp);
82 alpha_pci_chipset = &icp->ic_pc;
84 tag = pci_make_tag(&icp->ic_pc, 0, IRONGATE_PCIHOST_DEV, 0);
87 reg = irongate_conf_read0(icp, tag, PCI_CLASS_REG);
88 icp->ic_rev = PCI_REVISION(reg);
90 if (icp->ic_initted == 0) {
92 irongate_bus_io_init(&icp->ic_iot, icp);
124 struct irongate_config *icp; local in function:irongate_attach
194 struct irongate_config *icp = &irongate_configuration; local in function:irongate_bus_get_window
    [all...]
irongate_pci.c 80 struct irongate_config * const icp = ipv; local in function:irongate_conf_read
89 pci_decompose_tag(&icp->ic_pc, tag, &b, &d, NULL);
  /src/sys/dev/ic/
icp_ioctl.c 62 * icp_ioctl.c: Ioctl interface for the ICP-Vortex management tools.
64 * Based on ICP's FreeBSD "iir" driver ioctl interface, written by
90 /* These are simply the same as ICP's "iir" driver for FreeBSD. */
135 struct icp_softc *icp; local in function:icpioctl
143 icp = device_lookup_private(&icp_cd, ucmd->io_node);
144 if (icp == NULL) {
149 error = icp_ucmd(icp, ucmd);
160 struct icp_softc *icp; local in function:icpioctl
163 icp = device_lookup_private(&icp_cd, ctrt->io_node);
164 if (icp == NULL)
215 struct icp_softc *icp; local in function:icpioctl
275 struct icp_softc *icp; local in function:icpioctl
    [all...]
icp_ioctl.c 62 * icp_ioctl.c: Ioctl interface for the ICP-Vortex management tools.
64 * Based on ICP's FreeBSD "iir" driver ioctl interface, written by
90 /* These are simply the same as ICP's "iir" driver for FreeBSD. */
135 struct icp_softc *icp; local in function:icpioctl
143 icp = device_lookup_private(&icp_cd, ucmd->io_node);
144 if (icp == NULL) {
149 error = icp_ucmd(icp, ucmd);
160 struct icp_softc *icp; local in function:icpioctl
163 icp = device_lookup_private(&icp_cd, ctrt->io_node);
164 if (icp == NULL)
215 struct icp_softc *icp; local in function:icpioctl
275 struct icp_softc *icp; local in function:icpioctl
    [all...]
icpsp.c 97 struct icp_softc *icp; local in function:icpsp_attach
101 icp = device_private(parent);
105 sc->sc_openings = icp->icp_openings;
108 icp_register_servicecb(icp, icpa->icpa_unit, &icpsp_servicecb);
112 sc->sc_adapter.adapt_openings = icp->icp_openings;
113 sc->sc_adapter.adapt_max_periph = icp->icp_openings;
120 sc->sc_channel.chan_ntargets = ((icp->icp_class & ICP_FC) != 0 ?
123 sc->sc_channel.chan_id = icp->icp_bus_id[sc->sc_busno];
137 struct icp_softc *icp; local in function:icpsp_scsipi_request
142 icp = device_private(device_parent(sc->sc_dv))
274 struct icp_softc *icp; local in function:icpsp_intr
    [all...]
icpsp.c 97 struct icp_softc *icp; local in function:icpsp_attach
101 icp = device_private(parent);
105 sc->sc_openings = icp->icp_openings;
108 icp_register_servicecb(icp, icpa->icpa_unit, &icpsp_servicecb);
112 sc->sc_adapter.adapt_openings = icp->icp_openings;
113 sc->sc_adapter.adapt_max_periph = icp->icp_openings;
120 sc->sc_channel.chan_ntargets = ((icp->icp_class & ICP_FC) != 0 ?
123 sc->sc_channel.chan_id = icp->icp_bus_id[sc->sc_busno];
137 struct icp_softc *icp; local in function:icpsp_scsipi_request
142 icp = device_private(device_parent(sc->sc_dv))
274 struct icp_softc *icp; local in function:icpsp_intr
    [all...]
ld_icp.c 33 * ICP-Vortex "GDT" front-end for ld(4) driver.
99 struct icp_softc *icp = device_private(parent); local in function:ld_icp_attach
100 struct icp_cachedrv *cd = &icp->icp_cdr[icpa->icpa_unit];
107 icp_register_servicecb(icp, icpa->icpa_unit, &ld_icp_servicecb);
117 ld->sc_maxqueuecnt = icp->icp_openings;
119 if (!icp_cmd(icp, ICP_CACHESERVICE, ICP_IOCTL, ICP_CACHE_DRV_INFO,
125 cdi = (struct icp_cdevinfo *)icp->icp_scr;
186 struct icp_softc *icp; local in function:ld_icp_dobio
189 icp = device_private(device_parent(sc->sc_ld.sc_dv));
194 if (__predict_false((ic = icp_ccb_alloc(icp)) == NULL)
268 struct icp_softc *icp; local in function:ld_icp_flush
318 struct icp_softc *icp; local in function:ld_icp_intr
    [all...]
ld_icp.c 33 * ICP-Vortex "GDT" front-end for ld(4) driver.
99 struct icp_softc *icp = device_private(parent); local in function:ld_icp_attach
100 struct icp_cachedrv *cd = &icp->icp_cdr[icpa->icpa_unit];
107 icp_register_servicecb(icp, icpa->icpa_unit, &ld_icp_servicecb);
117 ld->sc_maxqueuecnt = icp->icp_openings;
119 if (!icp_cmd(icp, ICP_CACHESERVICE, ICP_IOCTL, ICP_CACHE_DRV_INFO,
125 cdi = (struct icp_cdevinfo *)icp->icp_scr;
186 struct icp_softc *icp; local in function:ld_icp_dobio
189 icp = device_private(device_parent(sc->sc_ld.sc_dv));
194 if (__predict_false((ic = icp_ccb_alloc(icp)) == NULL)
268 struct icp_softc *icp; local in function:ld_icp_flush
318 struct icp_softc *icp; local in function:ld_icp_intr
    [all...]
icp.c 1 /* $NetBSD: icp.c,v 1.37 2022/04/10 09:50:45 andvar Exp $ */
65 * from both ICP-Vortex and �ko.neT. I want to thank them for their support.
70 * Support for the ICP-Vortex management tools added by
79 __KERNEL_RCSID(0, "$NetBSD: icp.c,v 1.37 2022/04/10 09:50:45 andvar Exp $");
108 void icp_ccb_submit(struct icp_softc *icp, struct icp_ccb *ic);
126 icp_init(struct icp_softc *icp, const char *intrstr)
138 aprint_normal_dev(icp->icp_dv, "interrupting at %s\n",
141 SIMPLEQ_INIT(&icp->icp_ccb_queue);
142 SIMPLEQ_INIT(&icp->icp_ccb_freelist);
143 SIMPLEQ_INIT(&icp->icp_ucmd_queue)
593 struct icp_softc *icp; local in function:icp_watchdog
668 struct icp_softc *icp; local in function:icp_intr
759 struct icp_softc *icp = device_private(ic->ic_dv); local in function:icp_ucmd_intr
    [all...]
icp.c 1 /* $NetBSD: icp.c,v 1.37 2022/04/10 09:50:45 andvar Exp $ */
65 * from both ICP-Vortex and �ko.neT. I want to thank them for their support.
70 * Support for the ICP-Vortex management tools added by
79 __KERNEL_RCSID(0, "$NetBSD: icp.c,v 1.37 2022/04/10 09:50:45 andvar Exp $");
108 void icp_ccb_submit(struct icp_softc *icp, struct icp_ccb *ic);
126 icp_init(struct icp_softc *icp, const char *intrstr)
138 aprint_normal_dev(icp->icp_dv, "interrupting at %s\n",
141 SIMPLEQ_INIT(&icp->icp_ccb_queue);
142 SIMPLEQ_INIT(&icp->icp_ccb_freelist);
143 SIMPLEQ_INIT(&icp->icp_ucmd_queue)
593 struct icp_softc *icp; local in function:icp_watchdog
668 struct icp_softc *icp; local in function:icp_intr
759 struct icp_softc *icp = device_private(ic->ic_dv); local in function:icp_ucmd_intr
    [all...]
  /src/sys/netmpls/
mpls_ttl.c 164 struct icmp *icp; local in function:mpls_icmp_error
257 icp = mtod(m, struct icmp *);
261 icp->icmp_type = type;
263 icp->icmp_gwaddr.s_addr = dest;
265 icp->icmp_void = 0;
271 icp->icmp_pptr = code;
275 icp->icmp_nextmtu = htons(destmtu);
278 icp->icmp_code = code;
280 memset(&icp->icmp_ip, 0, ICMP_EXT_OFFSET);
281 m_copydata(n, 0, icmplen, (char *)&icp->icmp_ip)
    [all...]
mpls_ttl.c 164 struct icmp *icp; local in function:mpls_icmp_error
257 icp = mtod(m, struct icmp *);
261 icp->icmp_type = type;
263 icp->icmp_gwaddr.s_addr = dest;
265 icp->icmp_void = 0;
271 icp->icmp_pptr = code;
275 icp->icmp_nextmtu = htons(destmtu);
278 icp->icmp_code = code;
280 memset(&icp->icmp_ip, 0, ICMP_EXT_OFFSET);
281 m_copydata(n, 0, icmplen, (char *)&icp->icmp_ip)
    [all...]
  /src/usr.sbin/timed/timed/
measure.c 86 struct icmp icp; local in function:measure
206 memset(&icp, 0, sizeof(icp));
207 memcpy(&icp, &packet[ip.ip_hl << 2],
208 MIN((size_t)ret, sizeof(icp)));
210 if (icp.icmp_type != ICMP_TSTAMPREPLY
211 || icp.icmp_id != oicp.icmp_id
212 || icp.icmp_seq < seqno
213 || icp.icmp_seq >= oicp.icmp_seq)
216 sendtime = ntohl(icp.icmp_otime)
    [all...]
measure.c 86 struct icmp icp; local in function:measure
206 memset(&icp, 0, sizeof(icp));
207 memcpy(&icp, &packet[ip.ip_hl << 2],
208 MIN((size_t)ret, sizeof(icp)));
210 if (icp.icmp_type != ICMP_TSTAMPREPLY
211 || icp.icmp_id != oicp.icmp_id
212 || icp.icmp_seq < seqno
213 || icp.icmp_seq >= oicp.icmp_seq)
216 sendtime = ntohl(icp.icmp_otime)
    [all...]
  /src/sys/netipsec/
ipsec_netbsd.c 92 struct icmp *icp; local in function:ah4_ctlinput
119 icp = (struct icmp *)((char *)ip -
121 icmp_mtudisc(icp, ip->ip_dst);
135 struct icmp *icp; local in function:esp4_ctlinput
162 icp = (struct icmp *)((char *)ip -
164 icmp_mtudisc(icp, ip->ip_dst);
ipsec_netbsd.c 92 struct icmp *icp; local in function:ah4_ctlinput
119 icp = (struct icmp *)((char *)ip -
121 icmp_mtudisc(icp, ip->ip_dst);
135 struct icmp *icp; local in function:esp4_ctlinput
162 icp = (struct icmp *)((char *)ip -
164 icmp_mtudisc(icp, ip->ip_dst);
  /src/sys/arch/acorn32/podulebus/
icside.c 179 struct icside_channel *icp; local in function:icside_attach
264 icp = &sc->sc_chan[channel];
265 sc->sc_wdcdev.sc_atac.atac_channels[channel] = &icp->ic_channel;
266 cp = &icp->ic_channel;
290 icp->ic_irqiot = iot;
292 IRQ_REGISTER_SPACE, 0, &icp->ic_irqioh))
295 (void)bus_space_read_1(iot, icp->ic_irqioh, 0);
298 icp->ic_irqaddr = pa->pa_podule->irq_addr;
299 icp->ic_irqmask = pa->pa_podule->irq_mask;
300 evcnt_attach_dynamic(&icp->ic_intrcnt, EVCNT_TYPE_INTR, NULL
337 struct icside_channel *icp = arg; local in function:icside_intr
    [all...]
icside.c 179 struct icside_channel *icp; local in function:icside_attach
264 icp = &sc->sc_chan[channel];
265 sc->sc_wdcdev.sc_atac.atac_channels[channel] = &icp->ic_channel;
266 cp = &icp->ic_channel;
290 icp->ic_irqiot = iot;
292 IRQ_REGISTER_SPACE, 0, &icp->ic_irqioh))
295 (void)bus_space_read_1(iot, icp->ic_irqioh, 0);
298 icp->ic_irqaddr = pa->pa_podule->irq_addr;
299 icp->ic_irqmask = pa->pa_podule->irq_mask;
300 evcnt_attach_dynamic(&icp->ic_intrcnt, EVCNT_TYPE_INTR, NULL
337 struct icside_channel *icp = arg; local in function:icside_intr
    [all...]
  /src/sys/dev/pci/
icp_pci.c 65 * from both ICP-Vortex and �ko.neT. I want to thank them for their support.
214 * ICP-Vortex only make RAID controllers, so we employ a heuristic
240 struct icp_softc *icp; local in function:icp_pci_attach
258 icp = device_private(self);
259 icp->icp_dv = self;
260 icp->icp_class = icp_pci_find_class(pa);
267 icp->icp_class |= ICP_FC;
270 ICP_CLASS(icp) == ICP_PCINEW ? ICP_PCINEW_DPMEM : ICP_PCI_DPMEM,
274 ICP_CLASS(icp) == ICP_PCINEW ? ICP_PCINEW_DPMEM :
283 icp->icp_dpmemt = dpmemt
    [all...]

Completed in 35 milliseconds

1 2