Home
last modified time | relevance | path

Searched refs:pnpinfo (Results 1 – 15 of 15) sorted by relevance

/freebsd/sbin/devmatch/
H A Ddevmatch.c172 pnpval_as_int(const char *val, const char *pnpinfo) in pnpval_as_int() argument
178 if (pnpinfo == NULL) in pnpval_as_int()
190 if (strncmp(key + 1, pnpinfo, strlen(key + 1)) == 0) in pnpval_as_int()
191 rv = strtol(pnpinfo + strlen(key + 1), NULL, 0); in pnpval_as_int()
193 cp = strstr(pnpinfo, key); in pnpval_as_int()
216 pnpval_as_str(const char *val, const char *pnpinfo) in pnpval_as_str() argument
222 if (pnpinfo == NULL) { in pnpval_as_str()
236 if (strncmp(key + 1, pnpinfo, strlen(key + 1)) == 0) in pnpval_as_str()
237 quoted_strcpy(retval, pnpinfo + strlen(key + 1)); in pnpval_as_str()
239 cp = strstr(pnpinfo, key); in pnpval_as_str()
[all …]
/freebsd/stand/common/
H A Dpnp.c32 struct pnpinfo *pi; in pnp_scan()
91 struct pnpinfo *pi; in pnp_discard()
104 pnp_addident(struct pnpinfo *pi, char *ident) in pnp_addident()
120 struct pnpinfo *
123 struct pnpinfo *pi; in pnp_allocinfo()
125 pi = malloc(sizeof(struct pnpinfo)); in pnp_allocinfo()
126 bzero(pi, sizeof(struct pnpinfo)); in pnp_allocinfo()
135 pnp_freeinfo(struct pnpinfo *pi) in pnp_freeinfo()
158 pnp_addinfo(struct pnpinfo *pi) in pnp_addinfo()
H A Dbootstrap.h151 struct pnpinfo struct
160 STAILQ_ENTRY(pnpinfo) pi_link; argument
163 STAILQ_HEAD(pnpinfo_stql, pnpinfo);
167 void pnp_addident(struct pnpinfo *pi, char *ident);
168 struct pnpinfo *pnp_allocinfo(void);
169 void pnp_freeinfo(struct pnpinfo *pi);
170 void pnp_addinfo(struct pnpinfo *pi);
H A Dmodule.c64 static char * mod_searchmodule_pnpinfo(const char *bus, const char *pnpinfo);
362 COMMAND_SET(pnpmatch, "pnpmatch", "list matched modules based on pnpinfo", command_pnpmatch);
409 COMMAND_SET(pnpload, "pnpload", "load matched modules based on pnpinfo", command_pnpload);
460 char *pnpinfo = NULL; in pnpautoload_fdt_bus()
473 asprintf(&pnpinfo, "compat=%s", compatstr); in pnpautoload_fdt_bus()
475 module = mod_searchmodule_pnpinfo(busname, pnpinfo); in pnpautoload_fdt_bus()
483 free(pnpinfo); in pnpautoload_fdt_bus()
503 COMMAND_SET(pnpautoload, "pnpautoload", "auto load modules based on pnpinfo", command_pnpautoload);
1254 pnpval_as_int(const char *val, const char *pnpinfo) in pnpval_as_int()
1260 if (pnpinfo in pnpval_as_int()
459 char *pnpinfo = NULL; pnpautoload_fdt_bus() local
1253 pnpval_as_int(const char * val,const char * pnpinfo) pnpval_as_int() argument
1297 pnpval_as_str(const char * val,const char * pnpinfo) pnpval_as_str() argument
1330 devmatch_search_hints(struct moduledir * mdp,const char * bus,const char * dev,const char * pnpinfo) devmatch_search_hints() argument
1529 mod_searchmodule_pnpinfo(const char * bus,const char * pnpinfo) mod_searchmodule_pnpinfo() argument
[all...]
H A Disapnp.c157 isapnp_scan_resdata(struct pnpinfo *pi) in isapnp_scan_resdata()
228 struct pnpinfo *pi; in isapnp_isolation_protocol()
/freebsd/usr.sbin/pnpinfo/
H A DMakefile1 .PATH: ${SRCTOP}/contrib/pnpinfo
3 PROG= pnpinfo
4 MAN= pnpinfo.8
/freebsd/contrib/pnpinfo/
H A DMakefile3 PROG= pnpinfo
4 MAN8= pnpinfo.8
/freebsd/usr.sbin/bsnmpd/modules/snmp_lm75/
H A Dsnmp_lm75.c68 char pnpinfo[LM75BUF]; member
204 len = sizeof(sensor->pnpinfo); in update_sensor()
205 update_sensor_sysctl(sensor->pnpinfo, &len, idx, "%pnpinfo"); in update_sensor()
417 ret = string_get(value, sensor->pnpinfo, -1); in op_lm75SensorTable()
/freebsd/stand/i386/libi386/
H A Dbiospnp.c86 static void biospnp_scanresdata(struct pnpinfo *pi, struct pnp_devNode *dn);
159 struct pnpinfo *pi; in biospnp_enumerate()
187 biospnp_scanresdata(struct pnpinfo *pi, struct pnp_devNode *dn) in biospnp_scanresdata()
H A Dbiospci.c298 struct pnpinfo *pi; in biospci_addinfo()
/freebsd/sys/dev/usb/
H A Dusb_device.c1225 char *pnpinfo; in usb_detach_device_sub() local
1258 pnpinfo = *ppnpinfo; in usb_detach_device_sub()
1259 if (pnpinfo != NULL) { in usb_detach_device_sub()
1261 free(pnpinfo, M_USBDEV); in usb_detach_device_sub()
1316 &iface->pnpinfo, flag); in usb_detach_device()
3038 usbd_set_pnpinfo(struct usb_device *udev, uint8_t iface_index, const char *pnpinfo) in usbd_set_pnpinfo() argument
3046 if (iface->pnpinfo != NULL) { in usbd_set_pnpinfo()
3047 free(iface->pnpinfo, M_USBDEV); in usbd_set_pnpinfo()
3048 iface->pnpinfo = NULL; in usbd_set_pnpinfo()
3051 if (pnpinfo == NULL || pnpinfo[0] == 0) in usbd_set_pnpinfo()
[all …]
H A Dusbdi.h186 char *pnpinfo; /* additional PnP-info for this interface */ member
581 uint8_t iface_index, const char *pnpinfo);
H A Dusb_hub.c1765 iface->pnpinfo ? " " : "", in uhub_child_pnpinfo()
1766 iface->pnpinfo ? iface->pnpinfo : ""); in uhub_child_pnpinfo()
/freebsd/usr.sbin/
H A DMakefile.i38615 SUBDIR+= pnpinfo
/freebsd/targets/pseudo/userland/
H A DMakefile.depend790 usr.sbin/pnpinfo \