| /src/sys/dev/ic/ | 
| 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_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...]
 | 
| 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...]
 | 
| 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...]
 | 
| icpvar.h | 169 	 * support the ICP configuration tools. 185 #define	ICP_HAS_WORK(icp)						\
 186 	(! SIMPLEQ_EMPTY(&(icp)->icp_ccb_queue) ||			\
 187 	 ! SIMPLEQ_EMPTY(&(icp)->icp_ucmd_queue))
 189 #define	ICP_STAT_INCR(icp, x)						\
 197 #define	ICP_STAT_SET(icp, x, v)						\
 205 #define	ICP_STAT_DECR(icp, x)						\
 218 #define ICP_CLASS(icp)	((icp)->icp_class & ICP_CLASS_MASK)
 
 | 
| /src/sys/arch/alpha/pci/ | 
| 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_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_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/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);
 
 | 
| /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...]
 | 
| /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...]
 | 
| /src/sbin/ping/ | 
| ping.c | 1066 	struct icmp *icp;  local in function:pr_pack 1076 		    ntohs((u_int16_t)icp->icmp_seq),	\
 1094 	icp = (struct icmp *)(buf + hlen);
 1095 	if (icp->icmp_type == ICMP_ECHOREPLY
 1096 	    && icp->icmp_id == ident) {
 1098 		if (icp->icmp_seq == htons((u_int16_t)(ntransmitted-1)))
 1110 				(void)memcpy(&tv32, icp->icmp_data, sizeof(tv32));
 1114 				(void)memcpy(&tv, icp->icmp_data, sizeof(tv));
 1127 		if (TST(ntohs((u_int16_t)icp->icmp_seq))) {
 1131 			SET(ntohs((u_int16_t)icp->icmp_seq))
 [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...]
 | 
| /src/sys/netinet/ | 
| ip_icmp.c | 257 	struct icmp *icp;  local in function:icmp_error 347 	icp = (struct icmp *)(nip + 1);
 353 	icp->icmp_type = type;
 355 		icp->icmp_gwaddr.s_addr = dest;
 357 		icp->icmp_void = 0;
 363 			icp->icmp_pptr = code;
 367 			icp->icmp_nextmtu = htons(destmtu);
 369 	icp->icmp_code = code;
 370 	m_copydata(n, 0, datalen, (void *)&icp->icmp_ip);
 410 	struct icmp *icp;  local in function:_icmp_input
 945  struct icmp *icp;  local in function:icmp_send
 [all...]
 | 
| tcp_subr.c | 1383 	struct icmp *icp;  local in function:tcp_ctlinput 1440 		icp = (struct icmp *)((char *)ip -
 1453 		mtu = (u_int)ntohs(icp->icmp_nextmtu);
 1462 			icmp_mtudisc(icp, ip->ip_dst);
 1477 			tp->t_pmtud_nextmtu = icp->icmp_nextmtu;
 1478 			tp->t_pmtud_ip_len = icp->icmp_ip.ip_len;
 1479 			tp->t_pmtud_ip_hl = icp->icmp_ip.ip_hl;
 
 | 
| /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...]
 | 
| /src/sbin/ping6/ | 
| ping6.c | 1085 	struct icmp6_hdr *icp;  local in function:pinger 1094 	icp = (struct icmp6_hdr *)outpack;
 1096 	memset(icp, 0, sizeof(*icp));
 1097 	icp->icmp6_cksum = 0;
 1104 		icp->icmp6_code = ICMP6_NI_SUBJ_IPV6;
 1113 		icp->icmp6_code = 0;	/* code field is always 0 */
 1119 		icp->icmp6_code = ICMP6_NI_SUBJ_IPV6;
 1127 		icp->icmp6_code = ICMP6_NI_SUBJ_FQDN;	/*empty*/
 1137 		icp->icmp6_type = ICMP6_NI_QUERY
 1292  struct icmp6_hdr *icp;  local in function:pr_pack
 [all...]
 | 
| /src/usr.sbin/traceroute6/ | 
| traceroute6.c | 824 		struct icmp6_hdr *icp = (struct icmp6_hdr *)outpacket;  local in function:send_probe 826 		icp->icmp6_type = ICMP6_ECHO_REQUEST;
 827 		icp->icmp6_code = 0;
 828 		icp->icmp6_cksum = 0;
 829 		icp->icmp6_id = ident;
 830 		icp->icmp6_seq = htons(seq);
 924 	struct icmp6_hdr *icp;  local in function:packet_ok
 942 	icp = (struct icmp6_hdr *)buf;
 971 	type = icp->icmp6_type;
 972 	code = icp->icmp6_code
 [all...]
 | 
| /src/usr.sbin/traceroute/ | 
| traceroute.c | 1414 	struct icmp *icp;  local in function:packet_ok 1429 	icp = (struct icmp *)(buf + hlen);
 1431 	icp = (struct icmp *)buf;
 1433 	type = icp->icmp_type;
 1434 	code = icp->icmp_code;
 1440 		pmtu = ntohs(icp->icmp_nextmtu);
 1442 		pmtu = ntohs(((struct my_pmtu *)&icp->icmp_void)->ipm_nextmtu);
 1451 		hip = &icp->icmp_ip;
 1454 		nextmtu = ntohs(icp->icmp_nextmtu);	/* for frag_err() */
 1459 			    icp->icmp_id == htons(ident) &
 [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);
 
 | 
| /src/usr.sbin/rtadvd/ | 
| rtadvd.c | 726 	struct icmp6_hdr *icp;  local in function:rtadvd_input 803 	icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base;
 805 	switch (icp->icmp6_type) {
 822 		if (icp->icmp6_code) {
 826 			    __func__, icp->icmp6_code,
 842 		rs_input(i, (struct nd_router_solicit *)icp, pi, &rcvfrom);
 859 		if (icp->icmp6_code) {
 863 			    __func__, icp->icmp6_code,
 879 		ra_input(i, (struct nd_router_advert *)icp, pi, &rcvfrom);
 889 		    __func__, icp->icmp6_type)
 [all...]
 | 
| /src/share/man/man4/ | 
| Makefile | 33 	iavf.4 ibmcd.4 ibmhawk.4 ichsmb.4 icmp.4 icp.4 icsphy.4 iee.4 \ 223 MLINKS+=icp.4 icpsp.4
 
 | 
| /src/sys/netinet6/ | 
| icmp6.c | 408 		struct icmp6_hdr *icp;  local in function:icmp6_error 410 		IP6_EXTHDR_GET(icp, struct icmp6_hdr *, m, off,
 411 			sizeof(*icp));
 412 		if (icp == NULL) {
 416 		if (icp->icmp6_type < ICMP6_ECHO_REQUEST ||
 417 		    icp->icmp6_type == ND_REDIRECT) {
 
 | 
| /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/ti/ | 
| k3-j7200-main.dtsi | 504 		ti,trm-icp = <0x8>; 531 		ti,trm-icp = <0x8>;
 
 | 
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ | 
| at91-sama5d2_icp.dts | 3  * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board 19 	model = "Microchip SAMA5D2-ICP";
 20 	compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
 
 |