Home
last modified time | relevance | path

Searched +full:nr +full:- +full:outputs (Results 1 – 25 of 44) sorted by relevance

12

/linux/Documentation/devicetree/bindings/clock/
H A Dxlnx,clocking-wizard.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/xlnx,clocking-wizard.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
20 - xlnx,clocking-wizard
21 - xlnx,clocking-wizard-v5.2
22 - xlnx,clocking-wizard-v6.0
23 - xlnx,versal-clk-wizard
29 "#clock-cells":
[all …]
/linux/arch/nios2/mm/
H A Dcacheflush.c23 start &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
24 end += (cpuinfo.dcache_line_size - 1); in __flush_dcache()
25 end &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
32 : /* Outputs */ in __flush_dcache()
42 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
43 end += (cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
44 end &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
48 : /* Outputs */ in __invalidate_dcache()
58 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache()
59 end += (cpuinfo.icache_line_size - 1); in __flush_icache()
[all …]
/linux/drivers/soc/renesas/
H A Dpwc-rzv2m.c1 // SPDX-License-Identifier: GPL-2.0-only
38 writel(reg, priv->base + PWC_GPIO); in rzv2m_pwc_gpio_set()
40 assign_bit(offset, priv->ch_en_bits, value); in rzv2m_pwc_gpio_set()
49 return test_bit(offset, priv->ch_en_bits); in rzv2m_pwc_gpio_get()
53 unsigned int nr, int value) in rzv2m_pwc_gpio_direction_output() argument
55 if (nr > 1) in rzv2m_pwc_gpio_direction_output()
56 return -EINVAL; in rzv2m_pwc_gpio_direction_output()
58 rzv2m_pwc_gpio_set(gc, nr, value); in rzv2m_pwc_gpio_direction_output()
71 .base = -1,
76 struct rzv2m_pwc_priv *priv = data->cb_data; in rzv2m_pwc_poweroff()
[all …]
/linux/drivers/s390/char/
H A Duvdevice.c1 // SPDX-License-Identifier: GPL-2.0
14 * to existing UV-calls.
36 /* Mapping from IOCTL-nr to UVC-bit */
49 .supp_uvio_cmds = GENMASK_ULL(UVIO_IOCTL_NUM_IOCTLS - 1, 0),
66 * uvio_uvdev_info() - Get information about the uvdevice
76 void __user *user_buf_arg = (void __user *)uv_ioctl->argument_addr; in uvio_uvdev_info()
78 if (uv_ioctl->argument_len < sizeof(uvdev_info)) in uvio_uvdev_info()
79 return -EINVAL; in uvio_uvdev_info()
81 return -EFAULT; in uvio_uvdev_info()
83 uv_ioctl->uv_rc = UVC_RC_EXECUTED; in uvio_uvdev_info()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-acorn.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * - PCF8583 real time clock & static RAM
12 #include <linux/i2c-algo-bit.h>
23 * We must preserve all non-i2c output bits in IOC_CONTROL.
25 * SDA outputs as well (which may be different from the
80 .nr = 0,
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dsamsung,exynos4210-combiner.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/samsung,exynos4210-combiner.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
19 interrupt sources can be connected to a combiner. The combiner outputs one
26 combiners. For example, a 32-bit interrupt enable/disable config register can
31 - $ref: /schemas/interrupt-controller.yaml#
35 const: samsung,exynos4210-combiner
37 interrupt-controller: true
[all …]
/linux/tools/perf/util/
H A Ddata-convert-json.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include "data-convert.h"
31 #include <event-parse.h>
41 // Outputs a JSON-encoded string surrounded by quotes with characters escaped.
71 // Outputs an optional comma, newline and indentation to delimit a new value
84 // Outputs a printf format string (with delimiter) as a JSON value.
96 // Outputs a JSON key-value pair where the value is a string.
106 // Outputs a JSON key-value pair where the value is a printf format string.
125 FILE *out = c->out; in output_sample_callchain_entry()
130 if (al && al->sym && al->sym->namelen) { in output_sample_callchain_entry()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2007-2012 Solarflare Communications Inc.
52 #define LM87_IN_LIMITS(nr, _min, _max) \ argument
53 0x2B + (nr) * 2, _max, 0x2C + (nr) * 2, _min
54 #define LM87_AIN_LIMITS(nr, _min, _max) \ argument
55 0x3B + (nr), _max, 0x1A + (nr), _min
91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87()
97 /* Read-to-clear alarm/interrupt status */ in ef4_init_lm87()
108 board->hwmon_client = client; in ef4_init_lm87()
118 i2c_unregister_device(falcon_board(efx)->hwmon_client); in ef4_fini_lm87()
[all …]
/linux/arch/alpha/boot/
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0
22 extern unsigned long switch_to_osf_pal(unsigned long nr,
48 * This function moves into OSF/1 pal-code, and has a temporary
53 * code has the L1 page table identity-map itself in the second PTE
54 * in the L1 page table. Thus the L1-page is virtually addressable
69 pcb_va->ksp = 0; in pal_init()
70 pcb_va->usp = 0; in pal_init()
71 pcb_va->ptbr = L1[1] >> 32; in pal_init()
72 pcb_va->asn = 0; in pal_init()
73 pcb_va->pcc = 0; in pal_init()
[all …]
H A Dbootp.c1 // SPDX-License-Identifier: GPL-2.0
25 extern unsigned long switch_to_osf_pal(unsigned long nr,
54 * This function moves into OSF/1 pal-code, and has a temporary
59 * code has the L1 page table identity-map itself in the second PTE
60 * in the L1 page table. Thus the L1-page is virtually addressable
75 pcb_va->ksp = 0; in pal_init()
76 pcb_va->usp = 0; in pal_init()
77 pcb_va->ptbr = L1[1] >> 32; in pal_init()
78 pcb_va->asn = 0; in pal_init()
79 pcb_va->pcc = 0; in pal_init()
[all …]
/linux/drivers/hwmon/
H A Dadm1026.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * adm1026.c - Part of lm_sensors, Linux kernel modules for hardware
19 #include <linux/hwmon-sysfs.h>
20 #include <linux/hwmon-vid.h>
27 static int gpio_input[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1,
28 -1, -1, -1, -1, -1, -1, -1, -1 };
29 static int gpio_output[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1,
30 -1, -1, -1, -1, -1, -1, -1, -1 };
31 static int gpio_inverted[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1,
32 -1, -1, -1, -1, -1, -1, -1, -1 };
[all …]
H A Dlm85.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * lm85.c - Part of lm_sensors, Linux kernel modules for hardware
7 * Copyright (c) 2003 Margit Schubert-While <margitsw@t-online.de>
9 * Copyright (C) 2007--2014 Jean Delvare <jdelvare@suse.de>
21 #include <linux/hwmon-vid.h>
22 #include <linux/hwmon-sysfs.h>
38 #define LM85_REG_IN(nr) (0x20 + (nr)) argument
39 #define LM85_REG_IN_MIN(nr) (0x44 + (nr) * 2) argument
40 #define LM85_REG_IN_MAX(nr) (0x45 + (nr) * 2) argument
42 #define LM85_REG_TEMP(nr) (0x25 + (nr)) argument
[all …]
H A Dw83792d.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * w83792d.c - Part of lm_sensors, Linux kernel modules for hardware
13 * calculation method to in6-in7(measured value, limits) is a little
30 #include <linux/hwmon-sysfs.h>
153 0x87, /* (bit3-0)SmartFan Fan1 tolerance */
154 0x87, /* (bit7-4)SmartFan Fan2 tolerance */
155 0x97 /* (bit3-0)SmartFan Fan3 tolerance */
174 { 0x88, /* (bit3-0) SmartFanII: Fan1 Non-Stop */
175 0x88, /* (bit7-4) SmartFanII: Fan1 Level 1 */
176 0xE0, /* (bit7-4) SmartFanII: Fan1 Level 2 */
[all …]
H A Dlm93.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * lm93.c - Part of lm_sensors, Linux kernel modules for hardware monitoring
13 * Copyright (c) 2003 Margit Schubert-While <margitsw@t-online.de>
16 * Copyright (c) 2003-2004 Jean Delvare <jdelvare@suse.de>
33 #include <linux/hwmon-sysfs.h>
34 #include <linux/hwmon-vid.h>
51 /* voltage inputs: in1-in16 (nr => 0-15) */
52 #define LM93_REG_IN(nr) (0x56 + (nr)) argument
53 #define LM93_REG_IN_MIN(nr) (0x90 + (nr) * 2) argument
54 #define LM93_REG_IN_MAX(nr) (0x91 + (nr) * 2) argument
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Ddp.c42 #define AMPERE_IED_HACK(disp) ((disp)->engine.subdev.device->card_type >= GA100)
53 *pid = BIT(outp->index); in nvkm_dp_mst_id_get()
60 int ret = nvkm_i2c_aux_acquire(outp->dp.aux); in nvkm_dp_aux_xfer()
65 ret = nvkm_i2c_aux_xfer(outp->dp.aux, false, type, addr, data, size); in nvkm_dp_aux_xfer()
66 nvkm_i2c_aux_release(outp->dp.aux); in nvkm_dp_aux_xfer()
73 outp->dp.enabled = pu; in nvkm_dp_aux_pwr()
74 nvkm_dp_enable(outp, outp->dp.enabled); in nvkm_dp_aux_pwr()
94 struct nvkm_outp *outp = lt->outp; in nvkm_dp_train_sense()
100 if (lt->repeater) in nvkm_dp_train_sense()
101 addr = DPCD_LTTPR_LANE0_1_STATUS(lt->repeater); in nvkm_dp_train_sense()
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
17 interrupt-parent = <&gic>;
18 #address-cells = <1>;
19 #size-cells = <1>;
33 compatible = "simple-bus";
34 #address-cells = <1>;
35 #size-cells = <1>;
[all …]
/linux/arch/sparc/mm/
H A Dinit_64.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 1996-1999 David S. Miller (davem@caip.rutgers.edu)
6 * Copyright (C) 1997-1999 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
70 * All sun4v chips support 256MB pages. Only SPARC-T4 and later
102 if (x->phys_addr > y->phys_addr) in cmp_p64()
104 if (x->phys_addr < y->phys_addr) in cmp_p64()
105 return -1; in cmp_p64()
126 if (ret == -1) { in read_obp_memory()
145 size -= new_base - base; in read_obp_memory()
156 (ents - i - 1) * sizeof(regs[0])); in read_obp_memory()
[all …]
/linux/drivers/media/usb/em28xx/
H A Dem28xx.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * em28xx.h - driver for Empia EM2800/EM2820/2840 USB video capture devices
27 #include <media/videobuf2-v4l2.h>
28 #include <media/videobuf2-vmalloc.h>
29 #include <media/v4l2-device.h>
30 #include <media/v4l2-ctrls.h>
31 #include <media/v4l2-fh.h>
32 #include <media/i2c/ir-kbd-i2c.h>
33 #include <media/rc-core.h>
36 #include "em28xx-reg.h"
[all …]
/linux/drivers/tty/serial/
H A Dsccnxp.c1 // SPDX-License-Identifier: GPL-2.0+
24 #include <linux/platform_data/serial-sccnxp.h>
27 #define SCCNXP_NAME "uart-sccnxp"
93 #define MCTRL_IBIT(cfg, sig) ((((cfg) >> (sig)) & 0xf) - LINE_IP0)
94 #define MCTRL_OBIT(cfg, sig) ((((cfg) >> (sig)) & 0xf) - LINE_OP0)
101 unsigned int nr; member
137 .nr = 2,
148 .nr = 1,
159 .nr = 2,
170 .nr = 1,
[all …]
/linux/drivers/media/pci/bt8xx/
H A Dbttv-cards.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 bttv-cards.c
6 this file has configuration information - card-specific stuff
9 Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de)
10 & Marcus Metzler (mocm@thp.uni-koeln.de)
11 (c) 1999-2001 Gerd Knorr <kraxel@goldbach.in-berlin.de>
31 #include <media/v4l2-common.h>
33 #include "bttv-audio-hook.h"
85 static unsigned int card[BTTV_MAX] = { [ 0 ... (BTTV_MAX-1) ] = UNSET };
86 static unsigned int pll[BTTV_MAX] = { [ 0 ... (BTTV_MAX-1) ] = UNSET };
[all …]
/linux/drivers/leds/
H A Dleds-ss4200.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * SS4200-E Hardware API
65 pr_info("detected '%s'\n", id->ident); in ss4200_led_dmi_callback()
71 MODULE_PARM_DESC(nodetect, "Skip DMI-based hardware detection");
74 * struct nas_led_whitelist - List of known good models
85 .ident = "Intel SS4200-E",
88 DMI_MATCH(DMI_PRODUCT_NAME, "SS4200-E"),
94 * FUJITSU SIEMENS SCALEO Home Server/SS4200-E
186 gpio_out |= (1<<led->gpio_bit); in __nasgpio_led_set_attr()
188 gpio_out &= ~(1<<led->gpio_bit); in __nasgpio_led_set_attr()
[all …]
H A Dleds-pca963x.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Author: Peter Meerwald <p.meerwald@bct-electronic.com>
9 * Based on leds-pca955x.c
11 * LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62)
12 * LED driver for the PCA9634/5 I2C LED driver (7-bit slave address set by hw.)
22 * or by adding the 'nxp,hw-blink' property to the DTS.
36 /* LED select registers determine the source that drives LED outputs */
43 #define PCA963X_MODE2_OUTDRV 0x04 /* Open-drain or totem pole */
121 struct i2c_client *client = led->chip->client; in pca963x_brightness()
122 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness()
[all …]
/linux/arch/arm/boot/dts/intel/pxa/
H A Dpxa3xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
7 (gpio <= 26) ? (0x027c + 4 * (gpio - 3)) : \
8 (gpio <= 98) ? (0x0400 + 4 * (gpio - 27)) : \
9 (gpio <= 127) ? (0x0600 + 4 * (gpio - 99)) : \
18 (gpio <= 26) ? (0x027c + 4 * (gpio - 3)) : \
19 (gpio <= 29) ? (0x0400 + 4 * (gpio - 27)) : \
20 (gpio <= 98) ? (0x0418 + 4 * (gpio - 30)) : \
21 (gpio <= 127) ? (0x0600 + 4 * (gpio - 99)) : \
23 (gpio <= 268) ? (0x052c + 4 * (gpio - 263)) : \
33 (gpio <= 9) ? (0x028c + 4 * (gpio - 5)) : \
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_exar.c1 // SPDX-License-Identifier: GPL-2.0
3 * Probe module for 8250/16550-type Exar chips PCI serial ports.
114 #define UART_EXAR_TXTRG 0x0a /* Tx FIFO trigger level write-only */
115 #define UART_EXAR_RXTRG 0x0b /* Rx FIFO trigger level write-only */
133 #define UART_EXAR_DLD_485_POLARITY 0x80 /* RS-485 Enable Signal Polarity */
150 * ---- ---- --------
154 * 3 - <reserved>
158 * 7 - <reserved>
161 * 10 - Red LED
162 * 11..15 - <unused>
[all …]
/linux/sound/soc/renesas/rcar/
H A Dssi.c1 // SPDX-License-Identifier: GPL-2.0
3 // Renesas R-Car SSIU/SSI support
109 ((pos) = ((struct rsnd_ssi *)(priv)->ssi + i)); \
112 #define rsnd_ssi_get(priv, id) ((struct rsnd_ssi *)(priv->ssi) + id)
113 #define rsnd_ssi_nr(priv) ((priv)->ssi_nr)
294 if (ssi->usrcnt > 0) { in rsnd_ssi_master_clk_start()
295 if (ssi->rate != rate) { in rsnd_ssi_master_clk_start()
297 return -EINVA in rsnd_ssi_master_clk_start()
1168 int i, nr, ret; rsnd_ssi_probe() local
[all...]

12