/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/ltc/ |
nouveau_nvkm_subdev_ltc_gp10b.c | 36 struct iommu_fwspec *spec; local in function:gp10b_ltc_init 43 __USE(spec); 45 spec = dev_iommu_fwspec_get(device->dev); 46 if (spec) { 47 u32 sid = spec->ids[0] & 0xffff;
|
/src/sys/arch/ia64/ia64/ |
consinit.c | 153 struct dig64_pci_spec *spec = ent->specs.pci; local in function:pcdp_cninit 155 if (spec->flags & DIG64_FLAGS_MMIO_TRA_VALID) 156 (void*)spec->mmio_tra; 157 if (spec->flags & DIG64_FLAGS_IOPORT_TRA_VALID) 158 (void*)spec->ioport_tra;
|
/src/lib/libutil/ |
parsedate.y | 130 spec: label 132 | spec item
|
/src/sys/arch/mmeye/stand/boot/ |
boot.c | 107 char *ptr, *spec; local in function:get_bsdbootname 110 spec = NULL; 129 spec = ptr; 134 len = strlen(spec); 139 if (parse_bootname(spec, len, dev, kern)) 150 parse_bootname(char *spec, int len, char **dev, char **kern) 157 memcpy(bootname, spec, len);
|
/src/usr.bin/sort/ |
init.c | 243 * spec in OPTS, require an additional argv word as an option 278 * Replace historic +SPEC arguments with appropriate -kSPEC. 280 * The form can be either a single +SPEC or a pair +SPEC -SPEC. 281 * The following -SPEC is not recognized unless it follows 288 char *vpos, *tpos, spec[20]; local in function:fixit 329 * At this point argv[i] is an old-style spec. The 331 * tells us if it's a +SPEC or -SPEC [all...] |
/src/usr.bin/tabs/ |
tabs.c | 56 const char *spec; member in struct:tabspec 86 const char *cr, *spec = NULL; local in function:main 139 spec = tabspecs[j].spec; 146 if (tabs == NULL && spec != NULL) 147 tabs = strdup(spec);
|
/src/games/monop/ |
monop.c | 64 spec; /* set if moving by card to RR or UTIL */ variable in typeref:typename:bool
|
/src/sys/arch/ia64/stand/common/ |
boot.c | 237 const char *spec, *ep; local in function:getbootfile 249 if ((spec = getenv("bootfile")) == NULL) 250 spec = default_bootfiles; 252 while ((try > 0) && (spec != NULL)) { 253 spec = strchr(spec, ';'); 254 if (spec) 255 spec++; /* skip over the leading ';' */ 258 if (spec != NULL) { 259 if ((ep = strchr(spec, ';')) != NULL) [all...] |
/src/usr.bin/hexdump/ |
parse.c | 163 static const char *spec = ".#-+ 0123456789"; variable in typeref:typename:const char * 186 while (strchr(spec + 1, *++fmt)); 256 for (++p1; *p1 && strchr(spec, *p1); ++p1); 259 while (*++p1 && strchr(spec + 1, *p1));
|
display.c | 216 static const char *spec = " -0+#"; local in function:bpad 227 for (p2 = ++p1; *p1 && strchr(spec, *p1); ++p1);
|
/src/sys/arch/arm/broadcom/ |
bcm2835_cprman.c | 82 const u_int *spec = data; local in function:cprman_decode 88 id = be32toh(spec[0]);
|
/src/sys/arch/cobalt/stand/boot/ |
boot.c | 225 char *ptr, *spec; local in function:get_bsdbootname 234 spec = bootstring; 237 while ((spec = strstr(spec, "root=")) != NULL) { 238 spec += 5; /* skip 'root=' */ 239 ptr = strchr(spec, ' '); 240 len = (ptr == NULL) ? strlen(spec) : ptr - spec; 242 if (len == 9 && memcmp("/dev/hd", spec, 7) == 0) { 243 bootunit = spec[7] - 'a' [all...] |
/src/sbin/fsck/ |
fsck.c | 199 const char *spec, *spec2, *mntpt, *type, *cp; local in function:main 202 spec = mntpt = *argv; 203 spec2 = getfsspecname(buf, sizeof(buf), spec); 205 spec2 = spec; 214 fs = getfsfile(spec); 216 fs = getfsspec(spec); 217 if (fs == NULL && spec != spec2) { 219 spec = spec2; 223 spec = getfsspecname(buf, sizeof(buf), fs->fs_spec); 224 if (spec == NULL [all...] |
/src/usr.sbin/mtree/ |
spec.c | 1 /* $NetBSD: spec.c,v 1.92 2024/12/05 17:17:43 christos Exp $ */ 68 static char sccsid[] = "@(#)spec.c 8.2 (Berkeley) 4/28/95"; 70 __RCSID("$NetBSD: spec.c,v 1.92 2024/12/05 17:17:43 christos Exp $"); 94 size_t mtree_lineno; /* Current spec line number */ 110 spec(FILE *fp) function in typeref:typename:NODE *
|
/src/sbin/mount_nfs/ |
mount_nfs.c | 174 mount_nfs_dogetargs(struct nfs_args *nfsargsp, int mntflags, const char *spec) 184 if ((tspec = strdup(spec)) == NULL) { 213 char *spec, char *name) 426 strlcpy(spec, *argv++, MAXPATHLEN); 428 mount_nfs_dogetargs(nfsargsp, *mntflags, spec); 434 char spec[MAXPATHLEN], name[MAXPATHLEN]; local in function:mount_nfs 439 mount_nfs_parseargs(argc, argv, &args, &mntflags, spec, name); 452 mount_nfs_dogetargs(&args, mntflags, spec); 457 err(EXIT_FAILURE, "%s on %s", spec, name);
|
/src/sys/altq/ |
altq_cbq.c | 708 cbq_class_spec_t *spec = &acp->cbq_class; local in function:cbq_class_create 726 if ((spec->flags & CBQCLF_ROOTCLASS) != 0) { 728 spec->pico_sec_per_byte, cbqrestart, spec->maxq, 729 RM_MAXQUEUED, spec->maxidle, spec->minidle, spec->offtime, 730 spec->flags); 735 cl = rmc_newclass(spec->priority, 736 &cbqp->ifnp, spec->pico_sec_per_byte [all...] |
/src/sbin/swapctl/ |
swapctl.c | 451 char *spec; local in function:add_swap 455 spec = buf; 457 if (stat(spec, &sb) < 0) 466 set_dumpdev1(spec); 476 if (swapctl(SWAP_ON, spec, priority) < 0) { 491 char *spec; local in function:delete_swap 497 spec = buf; 502 if (swapctl(SWAP_OFF, spec, pri) < 0) { 510 set_dumpdev1(char *spec) 515 if (strcmp(spec, "none") == 0) 533 char *spec; local in function:set_dumpdev 734 char *spec, *fsspec; local in function:do_fstab [all...] |
/src/usr.bin/make/ |
arch.c | 190 char *spec; /* For modifying some bytes of *pp */ local in function:Arch_ParseArchive 199 spec = *pp; 200 lib = FStr_InitRefer(spec); 226 spec[cp++ - spec] = '\0'; 277 spec[cp - spec] = '\0'; 299 * Now form an archive spec and recurse to deal with 351 spec[cp - spec] = saveChar [all...] |
/src/sys/fs/nfs/client/ |
nfs_clvfsops.c | 756 char *delimp, *hostp, *spec; local in function:nfs_mount_parse_from 761 error = vfs_getopt(opts, "from", (void **)&spec, &speclen); 768 if (*spec == '[' && (delimp = strchr(spec + 1, ']')) != NULL && 770 hostp = spec + 1; 771 spec = delimp + 2; 773 } else if ((delimp = strrchr(spec, ':')) != NULL) { 774 hostp = spec; 775 spec = delimp + 1; 776 } else if ((delimp = strrchr(spec, '@')) != NULL) [all...] |
/src/usr.sbin/gspa/gspa/ |
gsp_inst.c | 103 #define SPEC (0x10|EXPR) /* field or length specifier */ 106 #define OPTSPEC (OPTOPRN|SPEC) 160 {"FILL",0x0FC0, FILL, {SPEC, 0, 0, 0}}, 209 {"LINE",0xDF1A, LINE, {SPEC, 0, 0, 0}}, 229 {"PIXBLT",0x0F00,PIXBLT,{SPEC, SPEC, 0, 0}}, 257 int check_spec(int spec, const char *valid, const char *what); 259 int encode_instr(struct inst *ip, operand ops, int *spec, u_int16_t *iwords); 276 int spec[3]; local in function:do_statement 298 spec[0] = spec[1] = spec[2] = 0 [all...] |
/src/sys/dev/usb/ |
uhso.c | 462 uint8_t count, i, spec; local in function:uhso_attach 509 if (!uhso_get_iface_spec(uaa, i, &spec)) { 516 if (ISSET(spec, UHSO_IFACE_MUX)) 517 uhso_mux_attach(sc, ifh, UHSOPORT(spec)); 519 if (ISSET(spec, UHSO_IFACE_BULK)) 520 uhso_bulk_attach(sc, ifh, UHSOPORT(spec)); 522 if (ISSET(spec, UHSO_IFACE_IFNET)) 523 uhso_ifnet_attach(sc, ifh, UHSOPORT(spec)); 632 uhso_get_iface_spec(struct usb_attach_arg *uaa, uint8_t ifnum, uint8_t *spec) 647 *spec = uhso_spec_default[ifnum] [all...] |
/src/sys/dev/ic/ |
malo.c | 1949 struct malo_hw_spec *spec; local in function:malo_cmd_get_spec 1952 hdr->size = htole16(sizeof(*hdr) + sizeof(*spec)); 1955 spec = (struct malo_hw_spec *)(hdr + 1); 1957 memset(spec, 0, sizeof(*spec)); 1958 memset(spec->PermanentAddress, 0xff, ETHER_ADDR_LEN); 1959 spec->CookiePtr = htole32(sc->sc_cookie_dmaaddr); 1969 "#Ant %d\n", device_xname(sc->sc_dev), htole16(spec->HwVersion), 1970 htole32(spec->FWReleaseNumber), htole16(spec->NumOfWCB) [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_dp.c | 1429 /* Must try at least 3 times according to DP spec */ 3555 /* enable with pattern 1 (as per spec) */ 4271 /* always enable with pattern 1 (as per spec) */ 4593 * As per DP 1.4a spec section 2.2.4.3 [MSA Field for Indication 4622 /* Prepare VSC Header for SU as per DP 1.4a spec, Table 2-119 */ 4638 /* DP 1.4a spec, Table 2-120 */ 4770 * Prepare VSC Header for SU as per DP 1.4a spec, 5261 * According to DP spec 5369 /* Anything else is out of spec, warn and ignore */ 6009 * definition by different names. In the HDMI spec, it's called BSTATUS 6786 struct edp_power_seq cur, vbt, spec, local in function:intel_dp_init_panel_power_sequencer [all...] |