/linux/lib/ |
H A D | atomic64_test.c | 95 i, (i) + one, (i) + one); \ 101 i, (i) - one, (i) - one); \ 109 int one = 1; in test_atomic() local 192 r += one; in test_atomic64() 197 r -= one; in test_atomic64() 212 r += one; in test_atomic64() 217 r -= one; in test_atomic64() 224 INIT(-one); in test_atomic64() 225 BUG_ON(atomic64_dec_if_positive(&v) != (-one - one)); in test_atomic64() 230 r += one; in test_atomic64() [all …]
|
H A D | stackinit_kunit.c | 90 zero.one = 0; \ 107 #define __static_all { .one = 0, \ 113 #define __dynamic_all { .one = arg->one, \ 119 #define __runtime_all var.one = 0; \ 256 unsigned long one; member 264 size_t one; member 273 u8 one; member 281 char *one; member 290 u8 one; member
|
/linux/tools/testing/selftests/rcutorture/doc/ |
H A D | TREE_RCU-kconfig.txt | 8 CONFIG_DEBUG_OBJECTS_RCU_HEAD -- Do one. 9 CONFIG_HZ_PERIODIC -- Do one. 15 CONFIG_RCU_BOOST -- one of PREEMPT_RCU. 17 CONFIG_RCU_FANOUT_LEAF -- Do one non-default. 18 CONFIG_RCU_NOCB_CPU -- Do three, one with no rcu_nocbs CPUs, one with 21 CONFIG_SMP -- Need one !SMP for PREEMPT_RCU. 25 RCU-bh: Do one with PREEMPT and one with !PREEMPT. 26 RCU-sched: Do one with PREEMPT but not BOOST. 31 nohz_full - do at least one. 32 maxcpu -- do at least one. [all …]
|
/linux/drivers/tty/serial/ |
H A D | sc16is7xx.c | 430 mutex_lock(&one->efr_lock); in sc16is7xx_efr_lock() 463 one->config.ier_mask |= bit; in sc16is7xx_ier_clear() 477 one->config.ier_val |= bit; in sc16is7xx_ier_set() 760 one->old_mctrl = status; in sc16is7xx_update_mlines() 783 mutex_lock(&one->efr_lock); in sc16is7xx_port_irq() 862 mutex_lock(&one->efr_lock); in sc16is7xx_tx_proc() 894 config = one->config; in sc16is7xx_reg_proc() 895 memset(&one->config, 0, sizeof(one->config)); in sc16is7xx_reg_proc() 930 if (one->port.state) { in sc16is7xx_ms_proc() 994 return one->old_mctrl; in sc16is7xx_get_mctrl() [all …]
|
H A D | max310x.c | 316 struct max310x_one *one = to_max310x_port(port); in max310x_port_read() local 319 regmap_read(one->regmap, reg, &val); in max310x_port_read() 328 regmap_write(one->regmap, reg, val); in max310x_port_write() 672 max310x_batch_read(port, one->rx_buf, rxlen); in max310x_handle_rx() 692 one->rx_buf[rxlen-1], flag); in max310x_handle_rx() 788 schedule_work(&one->tx_work); in max310x_start_tx() 849 max310x_handle_tx(&one->port); in max310x_tx_proc() 874 (one->port.mctrl & TIOCM_LOOP) ? in max310x_md_proc() 882 schedule_work(&one->md_work); in max310x_set_mctrl() 1010 one->port.rs485.delay_rts_after_send; in max310x_rs_proc() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | connect4_prog.c | 114 int zero = 0, one = 1; in set_keepalive() local 116 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_KEEPALIVE, &one, sizeof(one))) in set_keepalive() 119 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPIDLE, &one, sizeof(one))) in set_keepalive() 121 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPINTVL, &one, sizeof(one))) in set_keepalive() 123 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPCNT, &one, sizeof(one))) in set_keepalive() 125 if (bpf_setsockopt(ctx, SOL_TCP, TCP_SYNCNT, &one, sizeof(one))) in set_keepalive() 127 if (bpf_setsockopt(ctx, SOL_TCP, TCP_USER_TIMEOUT, &one, sizeof(one))) in set_keepalive()
|
/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 85 double one = i_one, one_bump = one * 0.1; in approx() local 88 one_bump = one + MAX(one_bump, 2.0); in approx() 92 if (one == two || in approx() 93 (one > two && one <= two_bump) || in approx() 94 (two > one && two <= one_bump)) in approx() 107 unsigned long long one, bool (*eval)(int, int), unsigned long long two, in compare() argument 119 (long long)one, name_eval, (long long)two); in compare() 120 if (one > INT_MAX) { in compare() 121 ksft_print_msg("Miscalculation! Measurement went negative: %lld\n", (long long)one); in compare() 131 good = eval(one, two); in compare()
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | tuner.rst | 13 Video input devices can have one or more tuners demodulating a RF 14 signal. Each tuner is associated with one or more video inputs, 21 Radio input devices have exactly one tuner with index zero, no video 34 current tuner, when there is more than one. The tuner is solely 38 device has one or more tuners. 44 Video output devices can have one or more modulators, that modulate a 46 set or video recorder. Each modulator is associated with one or more 54 Radio output devices have exactly one modulator with index zero, no 59 supports the tuner functionality and one that supports the modulator 68 is more than one at all. The modulator is solely determined by the [all …]
|
H A D | pixfmt-compressed.rst | 44 The decoder expects one Access Unit per buffer. 45 The encoder generates one Access Unit per buffer. 77 Exactly one output and one capture buffer must be provided for use 127 Exactly one output and one capture buffer must be provided for use with 156 compressed frame per buffer, and the decoder requires one 168 Exactly one output and one capture buffer must be provided for use with 178 compressed frame per buffer, and the decoder requires one 191 Exactly one output and one capture buffer must be provided for use with 200 The decoder expects one Access Unit per buffer. 201 The encoder generates one Access Unit per buffer. [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | sk_bind_sendto_listen.c | 10 int fd1, fd2, one = 1; in main() local 27 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) { in main() 49 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) { in main()
|
H A D | nettest.c | 423 int one = 1; in set_pktinfo_v4() local 426 rc = setsockopt(sd, SOL_IP, IP_PKTINFO, &one, sizeof(one)); in set_pktinfo_v4() 435 int one = 1; in set_recvpktinfo_v6() local 447 int one = 1; in set_recverr_v4() local 450 rc = setsockopt(sd, SOL_IP, IP_RECVERR, &one, sizeof(one)); in set_recverr_v4() 459 int one = 1; in set_recverr_v6() local 462 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVERR, &one, sizeof(one)); in set_recverr_v6() 531 if (setsockopt(sd, SOL_IP, IP_FREEBIND, &one, sizeof(one))) { in set_freebind() 1343 int one = 1; in msock_init() local 1356 (char *)&one, sizeof(one)) < 0) { in msock_init() [all …]
|
/linux/Documentation/devicetree/bindings/timer/ |
H A D | xlnx,xps-timer.yaml | 38 xlnx,one-timer-only: 42 Whether only one timer is present in this block. 47 - xlnx,one-timer-only 58 xlnx,one-timer-only: 81 xlnx,one-timer-only = <0x0>; 91 xlnx,one-timer-only = <0x0>;
|
/linux/net/netfilter/ipset/ |
H A D | Kconfig | 32 This option adds the bitmap:ip set type support, by which one 41 This option adds the bitmap:ip,mac set type support, by which one 50 This option adds the bitmap:port set type support, by which one 59 This option adds the hash:ip set type support, by which one 69 This option adds the hash:ip,mark set type support, by which one 88 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6 98 one can store IPv4/IPv6 address, protocol/port, and IPv4/IPv6 117 one can store MAC (ethernet address) elements in a set. 153 one can store IPv4/IPv6 network address/prefix and 163 one can store IPv4/IPv6 network address/prefix and [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | connect_close.c | 53 int c, one = 1, s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in do_accept() local 58 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); in do_accept() 59 setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)); in do_accept()
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | gr-udc.txt | 15 - interrupts : Interrupt numbers for this device. Either one interrupt number 16 for all interrupts, or one for status related interrupts, one for IN 17 endpoint related interrupts and one for OUT endpoint related interrupts. 23 number. If the property is present it typically contains one entry for 29 number. If the property is present it typically contains one entry for
|
H A D | brcm,usb-pinmap.yaml | 27 description: Array of one or two GPIO pins used for input signals. 31 description: Array of input signal names, one per gpio in in-gpios. 35 description: Array of enable and mask pairs, one per gpio in-gpios. 39 description: Array of one GPIO pin used for output signals. 43 description: Array of output signal names, one per gpio in out-gpios. 47 description: Array of enable, value, changed and clear masks, one
|
/linux/drivers/usb/dwc3/ |
H A D | Kconfig | 66 Say 'Y' or 'M' here if you have one such device 75 IP inside, say 'Y' or 'M' if you have one such device. 99 Say 'Y' or 'M' here if you have one such device 110 Say 'Y' or 'M' if you have one such device. 119 Say 'Y' or 'M' if you have one such device. 128 Say 'Y' or 'M' if you have one such device. 141 Say 'Y' or 'M' if you have one such device. 151 Say 'Y' or 'M' if you have one such device. 160 Say 'Y' or 'M' if you have one such device. 170 Say 'Y' or 'M' here if you have one such device [all …]
|
/linux/Documentation/devicetree/bindings/iommu/ |
H A D | samsung,sysmmu.yaml | 23 System MMUs are in many to one relation with peripheral devices, i.e. single 24 peripheral device might have multiple System MMUs (usually one for each bus 25 master), but one System MMU can handle transactions from only one peripheral 31 * MFC has one System MMU on its left and right bus. 32 * FIMD in Exynos5420 has one System MMU for window 0 and 4, the other system MMU 34 * M2M Scalers and G2D in Exynos5420 has one System MMU on the read channel and
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | realtek,usb3phy.yaml | 16 support multiple XHCI controllers. One PHY device node maps to one XHCI 21 Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on some 31 Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#2. 39 Each xhci maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#0.
|
H A D | realtek,usb2phy.yaml | 16 support multiple XHCI controllers. One PHY device node maps to one XHCI 21 Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on some 31 The controller#0 has one USB 2.0 PHY. The controller#1 includes two USB 2.0 39 Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#2. 47 Each xhci maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#0. 55 Each XHCI maps to one USB 2.0 PHY. 98 For one of the phys of RTD1619b SoC, the synchronous clock of the
|
H A D | brcm,stingray-usb-phy.txt | 4 - compatible : should be one of the listed compatibles 5 - "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS. 9 - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | sprd,pinctrl.txt | 6 register contains several bit fields with one bit or several bits 12 to choose one function (like: UART0) for which system, since we 13 have several systems (AP/CP/CM4) on one SoC.). 17 as one generic configuration, and maybe it will add more strange 18 global configuration in future. Then we add one "sprd,control" to 22 Moreover we recognise every fields comprising one bit or several 23 bits in one global control register as one pin, thus we should 28 register definition, and each register described one pin is used 57 register definition, and each register described one pin is used to
|
/linux/Documentation/ABI/testing/ |
H A D | debugfs-scmi-raw | 11 Each write to the entry causes one command request to be built 12 and sent while the replies are read back one message at time 29 Each write to the entry causes one command request to be built 30 and sent while the replies are read back one message at time 41 Each read gives back one message at time (receiving an EOF at 52 Each read gives back one message at time (receiving an EOF at 80 Each write to the entry causes one command request to be built 81 and sent while the replies are read back one message at time 89 one default channel. 108 and sent while the replies are read back one message at time [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | mvebu-audio.txt | 15 (named "pll_regs") and the second one ("soc_ctrl") - for register 16 where one of exceptive I/O types (I2S or S/PDIF) is set. 23 - clocks: one or two phandles. 24 The first one is mandatory and defines the internal clock. 25 The second one is optional and defines an external clock.
|
/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-types.rst | 144 composing must have at least two sink pads and one source 152 must have at least one sink pad and one source pad. Read 161 encoding conversion must have at least one sink pad and one 170 processing must have one sink pad and one source pad. It uses 179 at least one sink pad and one source pad, and scale the 184 scaling can be supported in one direction only). Binning and 190 capable of statistics computation must have one sink pad and 191 one source pad. It computes statistics over the frames 198 one source pad. 203 frames. Must have one sink pad and at least one source pad. [all …]
|