Home
last modified time | relevance | path

Searched +full:pin +full:- +full:count (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dqcom,mpm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controlle
[all...]
/freebsd/sys/dts/
H A Dbindings-gpio.txt7 1.1 #gpio-cells
9 Property: #gpio-cells
13 Description: The #gpio-cells property defines the number of cells required
17 1.2 gpio-controller
19 Property: gpio-controller
23 Description: The presence of a gpio-controller property defines a node as a
27 1.3 pin-count
29 Property: pin-count
33 Description: The pin-count property defines the number of GPIO pins.
39 #gpio-cells = <3>;
[all …]
H A Dbindings-mpp.txt2 * Multi purpose pin (MPP) configuration.
6 - pin-map : array of pin configurations. Each pin is defined by 2 cells,
7 respectively: <pin> <function>. Pins not specified in the pin-map property
10 - pin : pin number.
12 - function : function ID of the pin according to the assignment tables in
13 User Manual. Each pin can have many possible functions depending on the
16 - pin-count: number of the physical MPP connections on the SOC (depending on
17 the model it can be 24-50, or possibly else in future devices).
22 #pin-cells = <2>;
25 pin-count= <50>;
[all …]
/freebsd/usr.sbin/bluetooth/bluetooth-config/
H A Dbluetooth-config.sh2 #-
3 # ----------------------------------------------------------------------------
4 # "THE BEER-WARE LICENSE" (Revision 42):
7 # this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp
8 # ----------------------------------------------------------------------------
13 exerr () { echo -e "Error: $*" >&2 ; exit 1; }
14 print_syntax () { echo -e "Syntax: $0 scan [-d device] [-n node]"; exit 1; }
20 [ "$#" -eq 1 -a "$1" = "scan" ] || print_syntax
33 if [ $( id -u ) -ne 0 ]; then
34 exerr "$0 must modify files that belong to root. Re-run as root."
[all …]
/freebsd/sys/contrib/device-tree/Bindings/arm/hisilicon/
H A Dlow-pin-count.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/arm/hisilicon/low-pin-count.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Hisilicon HiP06 Low Pin Count device
10 - Wei Xu <xuwei5@hisilicon.com>
13 Hisilicon HiP06 SoCs implement a Low Pin Count (LPC) controller, which
21 pattern: '^isa@[0-9a-f]+$'
28 - hisilicon,hip06-lpc
29 - hisilicon,hip07-lpc
[all …]
H A Dhisilicon-low-pin-count.txt1 Hisilicon Hip06 Low Pin Count device
2 Hisilicon Hip06 SoCs implement a Low Pin Count (LPC) controller, which
9 - compatible: value should be as follows:
10 (a) "hisilicon,hip06-lpc"
11 (b) "hisilicon,hip07-lpc"
12 - #address-cells: must be 2 which stick to the ISA/EISA binding doc.
13 - #size-cells: must be 1 which stick to the ISA/EISA binding doc.
14 - reg: base memory range where the LPC register set is mapped.
23 compatible = "hisilicon,hip06-lpc";
24 #address-cells = <2>;
[all …]
/freebsd/contrib/libfido2/tools/
H A Dtest.sh1 #!/bin/sh -ex
3 # Copyright (c) 2021-2022 Yubico AB. All rights reserved.
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
8 # usage: ./test.sh "$(mktemp -d fido2test-XXXXXXXX)" device
11 # - is incomplete;
12 # - assumes CTAP 2.1-like hmac-secret;
13 # - should pass as-is on a YubiKey with a PIN set;
14 # - may otherwise require set +e above;
15 # - can be executed with UV=1 to run additional UV tests;
[all …]
H A Dutil.c2 * Copyright (c) 2018-2022 Yubico AB. All rights reserved.
3 * Use of this source code is governed by a BSD-style
5 * SPDX-License-Identifier: BSD-2-Clause
30 #include "../openbsd-compat/openbsd-compat.h"
32 #include "../openbsd-compat/posix_win.h"
40 char *pin; in get_pin() local
42 int r, ok = -1; in get_pin()
44 if ((pin = calloc(1, PINBUF_LEN)) == NULL) { in get_pin()
48 if ((r = snprintf(prompt, sizeof(prompt), "Enter PIN for %s: ", in get_pin()
53 if (!readpassphrase(prompt, pin, PINBUF_LEN, RPP_ECHO_OFF)) { in get_pin()
[all …]
/freebsd/sys/dev/gpio/
H A Dgpiobus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
78 * low-level controller driver in struct gpio_pin. Currently, only pins
80 * the FDT properties. In theory, these flags are defined per-platform. In
81 * practice they are always the flags from the dt-bindings/gpio/gpio.h file.
82 * The only one of those flags we currently support is for handling active-low
88 * XXX -> Move me to better place - gpio_subr.c?
96 gpio_pin_t pin, uint32_t intr_mode) in gpio_alloc_intr_resource() argument
104 gpio_data->gpio_pin_num = pin->pin; in gpio_alloc_intr_resource()
105 gpio_data->gpio_pin_flags = pin->flags; in gpio_alloc_intr_resource()
[all …]
H A Dgpioled_fdt.c1 /*-
51 gpio_pin_t pin; member
74 if (led->pin) in gpioled_control()
75 gpio_pin_set_active(led->pin, onoff); in gpioled_control()
86 led->parent_sc = sc; in gpioleds_attach_led()
89 if (OF_getprop_alloc(node, "default-state", in gpioleds_attach_led()
90 (void **)&default_state) != -1) { in gpioleds_attach_led()
96 state = -1; in gpioleds_attach_led()
98 state = -1; in gpioleds_attach_led()
99 device_printf(sc->sc_dev, in gpioleds_attach_led()
[all …]
/freebsd/sys/x86/x86/
H A Dlocal_apic.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
15 * 3. Neither the name of the author nor the names of any co-contributors
98 * I/O interrupts use non-negative IRQ values. These values are used
99 * to mark unused IDT entries or IDT entries reserved for a non-I/O
102 #define IRQ_FREE -1
103 #define IRQ_TIMER -2
104 #define IRQ_SYSCALL -3
105 #define IRQ_DTRACE_RET -4
106 #define IRQ_EVTCHN -5
[all …]
H A Dmptable.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
110 /* From MP spec v1.4, table 4-8. */
133 /* From MP spec v1.4, table 5-1. */
153 u_char irq; /* Source slot:pin. */
163 static int pci0 = -1;
199 static int search_for_sig(u_int32_t target, int count);
214 search_for_sig(u_int32_t target, int count) in search_for_sig() argument
220 for (x = 0; x < count; x += 4) in search_for_sig()
224 return (-1); in search_for_sig()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dsamsung-pinctrl.txt1 Samsung GPIO and Pin Mux/Config controller
3 Samsung's ARM based SoC's integrates a GPIO and Pin mux/config hardware
6 on-chip controllers onto these pads.
9 - compatible: should be one of the following.
10 - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller,
11 - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller,
12 - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller,
13 - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller,
14 - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller,
15 - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller,
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/bridge/
H A Dparade,ps8622.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
15 - parade,ps8622
16 - parade,ps8625
21 lane-count:
26 use-external-pwm:
30 reset-gpios:
32 description: GPIO connected to RST_ pin.
[all …]
H A Dps8622.txt1 ps8622-bridge bindings
4 - compatible: "parade,ps8622" or "parade,ps8625"
5 - reg: first i2c address of the bridge
6 - sleep-gpios: OF device-tree gpio specification for PD_ pin.
7 - reset-gpios: OF device-tree gpio specification for RST_ pin.
10 - lane-count: number of DP lanes to use
11 - use-external-pwm: backlight will be controlled by an external PWM
12 - video interfaces: Device node can contain video interface port
15 [1]: Documentation/devicetree/bindings/media/video-interfaces.txt
18 lvds-bridge@48 {
[all …]
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos5420-peach-pit.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/clock/maxim,max77802.h>
13 #include <dt-bindings/regulator/maxim,max77802.h>
14 #include <dt-bindings/sound/samsung-i2s.h>
16 #include "exynos5420-cpus.dtsi"
21 compatible = "google,pit-rev16",
[all …]
H A Dexynos5800-peach-pi.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/clock/maxim,max77802.h>
13 #include <dt-bindings/regulator/maxim,max77802.h>
14 #include <dt-bindings/sound/samsung-i2s.h>
16 #include "exynos5420-cpus.dtsi"
21 compatible = "google,pi-rev16",
[all …]
H A Dexynos5250-snow-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/clock/maxim,max77686.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/samsung-i2
[all...]
/freebsd/contrib/wpa/src/wps/
H A Dwps_registrar.c2 * Wi-Fi Protected Setup - Registrar
3 * Copyright (c) 2008-2016, Jouni Malinen <j@w1.fi>
45 dl_list_del(&token->list); in wps_remove_nfc_pw_token()
55 if (pw_id == 0 || pw_id == token->pw_id) in wps_free_nfc_pw_tokens()
66 if (pw_id == token->pw_id) in wps_get_nfc_pw_token()
83 u8 *pin; member
93 static void wps_free_pin(struct wps_uuid_pin *pin) in wps_free_pin() argument
95 bin_clear_free(pin->pin, pin->pin_len); in wps_free_pin()
96 os_free(pin); in wps_free_pin()
100 static void wps_remove_pin(struct wps_uuid_pin *pin) in wps_remove_pin() argument
[all …]
/freebsd/sys/dev/pci/
H A Dpcib_if.m1 #-
37 null_route_interrupt(device_t pcib, device_t dev, int pin)
109 int pin;
113 # Allocate 'count' MSI messages mapped onto 'count' IRQs. 'irq' points
114 # to an array of at least 'count' ints. The max number of messages this
122 int count;
128 # Release 'count' MSI messages mapped onto 'count' IRQs stored in the
134 int count;
139 # Allocate a single MSI-X message mapped onto '*irq'.
148 # Release a single MSI-X message mapped onto 'irq'.
[all …]
/freebsd/crypto/heimdal/appl/rcp/
H A Drcp.c45 char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */
65 { NULL, 'P', arg_string, &port, "non-default port", "port" },
107 argc -= optind; in main()
132 remin = remout = -1; in main()
135 "rcp%s%s%s", iamrecursive ? " -r" : "", in main()
136 pflag ? " -p" : "", targetshouldbedirectory ? " -d" : ""); in main()
140 if ((targ = colon(argv[argc - 1]))) /* Dest is remote host. */ in main()
145 verifydir(argv[argc - 1]); in main()
160 if ((thost = strchr(argv[argc - 1], '@')) != NULL) { in toremote()
163 tuser = argv[argc - 1]; in toremote()
[all …]
/freebsd/share/misc/
H A Dscsi_modes35 # 'i' is a byte-sized integral types, followed by a field width of
38 # 'b' is a bit-sized integral type
39 # 't' is a bitfield type- followed by a bit field width
42 # 'z' values are null-padded strings
81 {Extended Self-Test Completion Time} i2
95 0x02 "Disconnect-Reconnect" {
111 0x16 "Extended Device-Type Specific";
154 0x18 "Protocol-Specific Logical Unit";
156 0x19 "Protocol-Specific Port";
172 {Background Pre-Scan Time Limit} i2
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dwps_hostapd.c3 * Copyright (c) 2008-2016, Jouni Malinen <j@w1.fi>
60 for (j = 0; j < iface->num_bss; j++) { in wps_for_each()
61 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each()
64 if (hapd != data->calling_hapd && in wps_for_each()
65 (hapd->conf->wps_independent || in wps_for_each()
66 data->calling_hapd->conf->wps_independent)) in wps_for_each()
69 ret = data->func(hapd, data->ctx); in wps_for_each()
82 struct hostapd_iface *iface = hapd->iface; in hostapd_wps_for_each()
87 if (iface->interfaces == NULL || in hostapd_wps_for_each()
88 iface->interfaces->for_each_interface == NULL) in hostapd_wps_for_each()
[all …]
/freebsd/sys/arm/mv/
H A Dmv_armv7_machdep.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 1994-1998 Mark Brinicombe.
109 #define MPP_SEL(pin,func) (((func) & 0xf) << \ argument
110 (((pin) % MPP_PINS_PER_REG) * 4))
122 * for all A38x-based platforms only. in mv_busdma_tag_init()
124 if ((node = OF_finddevice("/")) == -1){ in mv_busdma_tag_init()
167 if ((node = OF_finddevice("mpp")) != -1) in platform_mpp_init()
173 if ((node = OF_finddevice("/")) == -1) in platform_mpp_init()
176 if ((node = fdt_find_compatible(node, "simple-bus", 0)) == 0) in platform_mpp_init()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Ddavicom,dm9051.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Joseph CHANG <josright123@gmail.com>
13 The DM9051 is a fully integrated and cost-effective low pin count single
17 - $ref: ethernet-controller.yaml#
26 spi-max-frequency:
32 local-mac-address: true
34 mac-address: true
37 - compatible
[all …]

12345678910>>...12