/freebsd-11.0-release/sys/arm/xscale/i8134x/ |
H A D | i81342_pci.c | 420 i81342_pci_route_interrupt(device_t pcib, device_t dev, int pin) argument 432 switch (pin) { 445 switch (pin) { 460 switch (pin) { 473 printf("Warning: couldn't map %s IRQ for device %d pin %d\n", 474 sc->sc_is_atux ? "PCI-X" : "PCIe", device, pin);
|
/freebsd-11.0-release/sys/powerpc/ofw/ |
H A D | ofw_pci.c | 252 ofw_pci_route_interrupt(device_t bus, device_t dev, int pin) argument 261 pintr = pin; 278 if (pin > 4) 279 return (pin); 281 device_printf(bus, "could not route pin %d for device %d.%d\n", 282 pin, pci_get_slot(dev), pci_get_function(dev));
|
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/ |
H A D | ap.c | 858 const char *pin, char *buf, size_t buflen, 866 if (pin == NULL) { 871 pin = buf; 873 ret_len = os_snprintf(buf, buflen, "%s", pin); 878 ret = hostapd_wps_add_pin(wpa_s->ap_iface->bss[0], bssid, "any", pin, 927 unsigned int pin; local 933 pin = wps_generate_pin(); 934 os_snprintf(pin_txt, sizeof(pin_txt), "%08u", pin); 955 int wpas_wps_ap_pin_set(struct wpa_supplicant *wpa_s, const char *pin, argument 965 ret = os_snprintf(pin_txt, sizeof(pin_txt), "%s", pin); 857 wpa_supplicant_ap_wps_pin(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, char *buf, size_t buflen, int timeout) argument [all...] |
H A D | ctrl_iface.c | 933 char *pin; local 936 pin = os_strchr(cmd, ' '); 937 if (pin) 938 *pin++ = '\0'; 956 if (pin) { 957 pos = os_strchr(pin, ' '); 964 return wpa_supplicant_ap_wps_pin(wpa_s, _bssid, pin, 969 if (pin) { 970 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, 974 ret = os_snprintf(buf, buflen, "%s", pin); 996 char pin[9]; local 1453 char *pin; local 1538 char *pin; local 1563 char *uuid = cmd, *pin, *pos; local 1582 char *uuid = cmd, *pin; local 1606 char *pin; local 4856 char *pin = NULL; local [all...] |
/freebsd-11.0-release/crypto/openssh/ |
H A D | scp.c | 232 int pin[2], pout[2], reserved[2]; local 248 if (pipe(pin) < 0) 265 close(pin[1]); 267 dup2(pin[0], 0); 269 close(pin[0]); 288 close(pin[0]); 289 *fdout = pin[1];
|
H A D | session.c | 464 int pin[2], pout[2], perr[2]; local 470 if (pipe(pin) < 0) { 476 close(pin[0]); 477 close(pin[1]); 483 close(pin[0]); 484 close(pin[1]); 516 close(pin[0]); 517 close(pin[1]); 548 close(pin[1]); 549 if (dup2(pin[ [all...] |
H A D | ssh-agent.c | 772 char *provider = NULL, *pin, canonical_provider[PATH_MAX]; local 782 (r = sshbuf_get_cstring(e->request, &pin, NULL)) != 0) 818 count = pkcs11_add_provider(canonical_provider, pin, &keys); 839 free(pin); 848 char *provider = NULL, *pin = NULL; local 854 (r = sshbuf_get_cstring(e->request, &pin, NULL)) != 0) 856 free(pin);
|
/freebsd-11.0-release/sys/dev/acpica/ |
H A D | acpi_pci_link.c | 574 acpi_pci_link_search_irq(int bus, int device, int pin) argument 596 * See if it uses the pin in question. Note that the passed 597 * in pin uses 0 for A, .. 3 for D whereas the intpin 600 if (value != pin + 1) 605 "ACPI: Found matching pin for %d.%d.INT%c at func %d: %d\n", 606 bus, device, pin + 'A', func, value); 633 int pin) 666 * indicated (bus, slot, pin). If so, we prefer that IRQ for 683 bios_irq = acpi_pci_link_search_irq(bus, slot, pin); 692 bios_irq, (int)bus, slot, pin 632 acpi_pci_link_add_reference(device_t dev, int index, device_t pcib, int slot, int pin) argument [all...] |
H A D | acpi_pcib_acpi.c | 87 device_t dev, int pin); 583 acpi_pcib_acpi_route_interrupt(device_t pcib, device_t dev, int pin) argument 587 return (acpi_pcib_route_interrupt(pcib, dev, pin, &sc->ap_prt));
|
/freebsd-11.0-release/sys/mips/nlm/ |
H A D | xlp_pci.c | 225 * The intline and int pin of SoC devices are DOA, except 511 mips_pcib_route_interrupt(device_t bus, device_t dev, int pin) argument 516 * Validate requested pin number. 518 if ((pin < 1) || (pin > 4))
|
/freebsd-11.0-release/sys/arm/allwinner/ |
H A D | a10_codec.c | 206 int pin; local 227 pin = prop[1] * 32 + prop[2]; 228 GPIO_PIN_SETFLAGS(gpio, pin, GPIO_PIN_OUTPUT); 229 GPIO_PIN_SET(gpio, pin, GPIO_PIN_LOW); 466 * and VMIC pin voltage 517 * and VMIC pin voltage
|
/freebsd-11.0-release/sys/x86/include/ |
H A D | mptable.h | 202 int mptable_pci_route_interrupt(device_t pcib, device_t dev, int pin);
|
/freebsd-11.0-release/sys/powerpc/powerpc/ |
H A D | intr_machdep.c | 362 powerpc_get_irq(uint32_t node, u_int pin) argument 367 return (pin); 373 return (piclist[idx].base + pin); 396 return (piclist[idx].base + pin);
|
/freebsd-11.0-release/crypto/heimdal/lib/hx509/ |
H A D | softp11.c | 601 const char *pin, 613 if (pin == NULL) 616 if (pin) { 618 asprintf(&str, "PASS:%s", pin); 694 read_conf_file(const char *fn, CK_USER_TYPE userType, const char *pin) argument 753 ret = add_certificate(cert, pin, id, label); 1199 char *pin = NULL; local 1208 asprintf(&pin, "%.*s", (int)ulPinLen, pPin); 1209 st_logf("type: %d password: %s\n", (int)userType, pin); 1216 ret = read_conf_file(soft_token.config_file, userType, pin); 600 add_certificate(const char *cert_file, const char *pin, char *id, char *label) argument [all...] |
/freebsd-11.0-release/contrib/wpa/src/ap/ |
H A D | wps_hostapd.c | 1258 const u8 *pin; member in struct:wps_add_pin_data 1273 data->uuid, data->pin, data->pin_len, 1282 const char *uuid, const char *pin, int timeout) 1289 data.pin = (const u8 *) pin; 1290 data.pin_len = os_strlen(pin); 1614 unsigned int pin; local 1617 pin = wps_generate_pin(); 1618 os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%08u", pin); 1631 int hostapd_wps_ap_pin_set(struct hostapd_data *hapd, const char *pin, argument 1281 hostapd_wps_add_pin(struct hostapd_data *hapd, const u8 *addr, const char *uuid, const char *pin, int timeout) argument [all...] |
/freebsd-11.0-release/sys/arm/mv/ |
H A D | mv_machdep.c | 84 #define MPP_SEL(pin,func) (((func) & 0xf) << \ 85 (((pin) % MPP_PINS_PER_REG) * 4)) 147 * Process 'pin-count' and 'pin-map' props. 149 if (OF_getprop(node, "pin-count", &pin_count, sizeof(pin_count)) <= 0) 155 if (OF_getprop(node, "#pin-cells", &pin_cells, sizeof(pin_cells)) <= 0) 163 len = OF_getprop(node, "pin-map", pinmap, sizeof(pinmap)); 172 * Fill out a "mpp[pin] => function" table. All pins unspecified in 173 * the 'pin-map' property are defaulted to 0 function i.e. GPIO.
|
/freebsd-11.0-release/sys/mips/cavium/ |
H A D | octopci.c | 420 octopci_route_interrupt(device_t dev, device_t child, int pin) argument 429 return (OCTEON_IRQ_PCI_INT0 + pin - 1); 449 return (OCTEON_IRQ_PCI_INT0 + pin - 1); 453 irq = pin; 455 irq = pin - 1; 464 irq = slot + pin - 3;
|
/freebsd-11.0-release/sys/sparc64/pci/ |
H A D | psycho.c | 926 psycho_route_interrupt(device_t bridge, device_t dev, int pin) argument 932 mintr = ofw_pci_route_interrupt_common(bridge, dev, pin); 942 if (pin > 4) 943 return (pin); 946 * device, and that pin is a "real" intpin number. Determine 955 mintr = INTINO(PSYCHO_READ8(sc, intrmap)) + pin - 1; 957 "guessing interrupt %d for device %d.%d pin %d\n", 958 (int)mintr, pci_get_slot(dev), pci_get_function(dev), pin);
|
/freebsd-11.0-release/contrib/wpa/hostapd/ |
H A D | ctrl_iface.c | 198 char *pin = os_strchr(txt, ' '); local 204 if (pin == NULL) 206 *pin++ = '\0'; 208 timeout_txt = os_strchr(pin, ' '); 221 return hostapd_wps_add_pin(hapd, addr, txt, pin, timeout); 228 char pin[9]; local 238 pin[len++] = *pos; 248 pin[len] = '\0'; 252 pin_val = atoi(pin); 262 ret = os_snprintf(buf, buflen, "%s", pin); 518 char *pin; local [all...] |
/freebsd-11.0-release/contrib/wpa/src/eap_peer/ |
H A D | eap_tls_common.c | 101 params->pin = config->pin; 124 params->pin = config->pin2; 211 os_free(config->pin); 212 config->pin = NULL; 688 /* TODO: clean pin if engine used? */
|
/freebsd-11.0-release/contrib/wpa/src/wps/ |
H A D | wps.c | 48 if (cfg->pin) { 55 os_memcpy(data->dev_password, cfg->pin, cfg->pin_len); 62 if (cfg->pin == NULL &&
|
/freebsd-11.0-release/sys/mips/malta/ |
H A D | gt_pci.c | 150 static int gt_pci_route_interrupt(device_t pcib, device_t dev, int pin); 575 gt_pci_route_interrupt(device_t pcib, device_t dev, int pin) argument 595 device_printf(pcib, "no IRQ mapping for %d/%d/%d/%d\n", bus, device, func, pin);
|
/freebsd-11.0-release/sys/dev/dwc/ |
H A D | if_dwc.c | 1044 uint32_t pin, flags; local 1068 gpio_prop + 1, &pin, &flags) != 0) { 1080 GPIO_PIN_SETFLAGS(gpio, pin, GPIO_PIN_OUTPUT); 1081 GPIO_PIN_SET(gpio, pin, pin_value); 1083 GPIO_PIN_SET(gpio, pin, !pin_value); 1085 GPIO_PIN_SET(gpio, pin, pin_value);
|
/freebsd-11.0-release/sys/mips/idt/ |
H A D | idtpci.c | 406 idtpci_route_interrupt(device_t pcib, device_t device, int pin) argument 418 device_printf(pcib, "routing pin %d for %s\n", pin,
|
/freebsd-11.0-release/sys/arm/versatile/ |
H A D | versatile_pci.c | 403 versatile_pci_route_interrupt(device_t pcib, device_t device, int pin) argument 406 return (27 + ((pci_get_slot(device) + pin - 1) & 3));
|