Home
last modified time | relevance | path

Searched +full:disable +full:- +full:report +full:- +full:mask (Results 1 – 25 of 696) sorted by relevance

12345678910>>...28

/linux/sound/soc/codecs/
H A Dda7219-aad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver
24 #include "da7219-aad.h"
35 da7219->aad->jack = jack; in da7219_aad_jack_det()
36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det()
38 /* Send an initial empty report */ in da7219_aad_jack_det()
41 /* Enable/Disable jack detection */ in da7219_aad_jack_det()
55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work()
83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work()
85 da7219->micbias_on_event = true; in da7219_aad_btn_det_work()
[all …]
H A Dwcd-mbhc-v2.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
14 #include "wcd-mbhc-v2.h"
54 /* Delayed work to report long button press */
56 /* Work to handle plug report */
76 /* Holds type of Headset - Mono/Stereo */
78 /* Holds mbhc detection method - ADC/Legacy */
85 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field()
88 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field()
89 mbhc->fields[field].reg, in wcd_mbhc_write_field()
[all …]
H A Darizona-jack.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices
5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc
26 #include <dt-bindings/mfd/arizona.h>
33 * The hardware supports 8 ranges / buttons, but the snd-jack interface
34 * only supports 6 buttons (button 0-5).
100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp()
101 unsigned int mask = 0, val = 0; in arizona_extcon_hp_clamp() local
105 switch (arizona->type) { in arizona_extcon_hp_clamp()
108 mask = 0; in arizona_extcon_hp_clamp()
[all …]
H A Dwm8994.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8994.c -- WM8994 ALSA SoC Audio driver
5 * Copyright 2009-12 Wolfson Microelectronics plc
48 unsigned int mask; member
114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate()
120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate()
124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate()
126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate()
128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate()
129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate()
[all …]
/linux/kernel/kcsan/
H A Dkcsan.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * see Documentation/dev-tools/kcsan.rst.
24 * Globally enable and disable KCSAN.
36 * slow-paths.
99 * Value-change states.
103 * Did not observe a value-change, however, it is valid to report the
109 * Did not observe a value-change, and it is invalid to report the race.
121 * to be consumed by the reporting thread. No report is printed yet.
128 * consumed: print the full report based on information set by the racing
133 int watchpoint_idx, u64 old, u64 new, u64 mask);
[all …]
H A Dreport.c1 // SPDX-License-Identifier: GPL-2.0
24 * Max. number of stack entries to show in the report.
40 * up the watchpoint, which then prints the complete report atomically.
69 * as we have watchpoints (upper bound on concurrent races to report).
71 static struct other_info other_infos[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1];
95 * Therefore, we use a fixed-size array, which at most will occupy a page. This
108 * Spinlock serializing report generation, and access to @other_infos. Although
109 * it could make sense to have a finer-grained locking story for @other_infos,
110 * report generation needs to be serialized either way, so not much is gained.
116 * been reported since (now - KCSAN_REPORT_ONCE_IN_MS).
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_memirq.c1 // SPDX-License-Identifier: MIT
46 * MMIO register based interrupts infrastructure used for non-virtualized mode
47 * or SRIOV-8 (which supports 8 Virtual Functions) does not scale efficiently
55 * be mapped to system memory and must be marked as un-cacheable (UC) on
64 * called "page" in the specs, even if they aren't page-sized or aligned.
70 * - _`Interrupt Status Report Page`: this page contains the interrupt
78 * - _`Interrupt Source Report Page`: this is the equivalent of the
83 * - Interrupt Mask: the HW needs a location to fetch the interrupt
84 * mask vector to be used by the LRM in the context, so we just use
89 * 0x0000 +===========+ <== Interrupt Status Report Page
[all …]
/linux/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
33 ------
38 - Fn key combinations
[all …]
/linux/include/uapi/linux/
H A Dpmu.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
21 #define PMU_ADB_POLL_OFF 0x21 /* disable ADB auto-poll */
23 #define PMU_WRITE_NVRAM 0x33 /* write non-volatile RAM */
25 #define PMU_READ_NVRAM 0x3b /* read non-volatile RAM */
26 #define PMU_SET_RTC 0x30 /* set real-time clock */
27 #define PMU_READ_RTC 0x38 /* read real-time clock */
31 #define PMU_PCEJECT 0x4c /* eject PC-card from slot */
32 #define PMU_BATTERY_STATE 0x6b /* report battery state etc. */
33 #define PMU_SMART_BATTERY_STATE 0x6f /* report battery state (new way) */
34 #define PMU_SET_INTR_MASK 0x70 /* set PMU interrupt mask */
[all …]
/linux/drivers/regulator/
H A Drt5190a-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 #include <dt-bindings/regulator/richtek,rt5190a-regulator.h>
40 #define RT5190A_BUCK23_STEPNUM ((1400000 - 600000) / 10000 + 1)
83 unsigned int mask = RT5190A_RID_BITMASK(rid), val; in rt5190a_fixed_buck_set_mode() local
87 val = mask; in rt5190a_fixed_buck_set_mode()
93 return -EINVAL; in rt5190a_fixed_buck_set_mode()
96 return regmap_update_bits(regmap, RT5190A_REG_DCDCCNTL, mask, val); in rt5190a_fixed_buck_set_mode()
108 dev_err(&rdev->dev, "Failed to get mode [%d]\n", ret); in rt5190a_fixed_buck_get_mode()
120 .disable = regulator_disable_regmap,
131 .disable = regulator_disable_regmap,
[all …]
/linux/tools/perf/Documentation/
H A Dperf-record.txt1 perf-record(1)
5 ----
6 perf-record - Run a command and record its profile into perf.data
9 --------
11 'perf record' [-e <EVENT> | --event=EVENT] [-a] <command>
12 'perf record' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>]
15 -----------
17 from it, into perf.data - without displaying anything.
19 This file can then be inspected later on, using 'perf report'.
23 -------
[all …]
/linux/drivers/net/ipa/
H A Dgsi.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2024 Linaro Ltd.
29 * providing a well-defined communication layer between the AP subsystem
32 * -------- ---------
34 * | AP +<---. .----+ Modem |
35 * | +--. | | .->+ |
37 * -------- | | | | ---------
39 * --+-+---+-+--
41 * |-----------|
[all …]
/linux/drivers/usb/host/
H A Duhci-hub.c1 // SPDX-License-Identifier: GPL-2.0
8 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com
19 USB_DT_HUB, /* __u8 bDescriptorType; Hub-descriptor */
22 HUB_CHAR_INDV_PORT_OCPM, /* (per-port OC, no power switching) */
41 /* A port that either is connected or has a changed-bit set will prevent
48 for (port = 0; port < uhci->rh_numports; ++port) { in any_ports_active()
51 test_bit(port, &uhci->port_c_suspend)) in any_ports_active()
60 int mask = RWC_BITS; in get_hub_status_data() local
62 /* Some boards (both VIA and Intel apparently) report bogus in get_hub_status_data()
69 mask &= ~USBPORTSC_OCC; in get_hub_status_data()
[all …]
/linux/drivers/s390/cio/
H A Dio_sch.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 dev_get_drvdata(&(n)->dev))
30 #define set_io_private(n, p) (dev_set_drvdata(&(n)->dev, p))
35 return priv ? priv->cdev : NULL; in sch_get_cdev()
43 priv->cdev = cdev; in sch_set_cdev()
61 * ccw_request - Internal CCW request.
65 * @lpm: mask of paths to use
69 * @data: user-defined pointer passed to all callbacks
71 * @cancel: non-zero if request was cancelled
72 * @done: non-zero if request was finished
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dsyna,rmi4.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jason A. Donenfeld <Jason@zx2c4.com>
11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com
12 - Vincent Huang <vincent.huang@tw.synaptics.com>
22 - syna,rmi4-i2c
23 - syna,rmi4-spi
28 '#address-cells':
31 '#size-cells':
[all …]
/linux/drivers/ata/
H A Dpata_hpt3x2n.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org>
12 * Portions Copyright (C) 2005-2010 MontaVista Software, Inc.
85 * hpt3x2n_find_mode - reset the hpt3x2n bus
99 while (clocks->xfer_speed) { in hpt3x2n_find_mode()
100 if (clocks->xfer_speed == speed) in hpt3x2n_find_mode()
101 return clocks->timing; in hpt3x2n_find_mode()
109 * hpt372n_filter - mode selection filter
111 * @mask: mode mask
116 static unsigned int hpt372n_filter(struct ata_device *adev, unsigned int mask) in hpt372n_filter() argument
[all …]
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_mux.h1 /* SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-21 Intel Corporation.
26 /* open session request (AP->CP) */
29 /* response to open session request (CP->AP) */
32 /* close session request (AP->CP) */
35 /* response to close session request (CP->AP) */
38 /* Flow control command with mask of the flow per queue/flow. */
46 /* Command for report packet indicating link quality metrics. */
49 /* Response to a report packet */
131 __le32 mask; /* indicating the desired flow control */ member
[all …]
/linux/drivers/input/touchscreen/
H A Dda9052_tsi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 0, on); in da9052_ts_adc_toggle()
31 tsi->adc_on = on; in da9052_ts_adc_toggle()
38 if (!tsi->stopped) { in da9052_ts_pendwn_irq()
39 /* Mask PEN_DOWN event and unmask TSI_READY event */ in da9052_ts_pendwn_irq()
40 da9052_disable_irq_nosync(tsi->da9052, DA9052_IRQ_PENDOWN); in da9052_ts_pendwn_irq()
41 da9052_enable_irq(tsi->da9052, DA9052_IRQ_TSIREADY); in da9052_ts_pendwn_irq()
45 schedule_delayed_work(&tsi->ts_pen_work, HZ / 50); in da9052_ts_pendwn_irq()
53 struct input_dev *input = tsi->dev; in da9052_ts_read()
58 ret = da9052_reg_read(tsi->da9052, DA9052_TSI_X_MSB_REG); in da9052_ts_read()
[all …]
/linux/include/linux/mfd/wm831x/
H A Dpdata.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x
23 int no_constant_voltage; /** Disable constant voltage charging */
31 int off_mask; /** Mask OFF while charging */
40 * Configuration for the WM831x DC-DC BuckWise convertors. This
76 int pressure; /** Report pressure (boolean) */
116 /** Disable the touchscreen */
/linux/drivers/net/ethernet/marvell/
H A Dsky2.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 /* Yukon-2 */
32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */
33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */
34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */
35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */
36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */
37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */
38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */
60 /* PCI_OUR_REG_3 32 bit Our Register 3 (Yukon-ECU only) */
[all …]
/linux/drivers/iio/light/
H A Dcm3232.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014-2015 Capella Microsystems Inc.
8 * IIO driver for CM3232 (7-bit I2C slave address 0x10).
78 * cm3232_reg_init() - Initialize CM3232
87 struct i2c_client *client = chip->client; in cm3232_reg_init()
90 chip->als_info = &cm3232_als_info_default; in cm3232_reg_init()
95 dev_err(&chip->client->dev, "Error reading addr_id\n"); in cm3232_reg_init()
99 if ((ret & 0xFF) != chip->als_info->hw_id) in cm3232_reg_init()
100 return -ENODEV; in cm3232_reg_init()
102 /* Disable and reset device */ in cm3232_reg_init()
[all …]
/linux/drivers/media/radio/si4713/
H A Dsi4713.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * drivers/media/radio/si4713-i2c.c
19 #include <media/v4l2-device.h>
20 #include <media/v4l2-ioctl.h>
21 #include <media/v4l2-common.h>
28 MODULE_PARM_DESC(debug, "Debug level (0 - 2)");
46 #define DEFAULT_ACOMP_THRESHOLD (-0x28)
160 int rval = -EINVAL; in usecs_to_dev()
176 v4l2_dbg(2, debug, &sdev->sd, in si4713_handler()
178 complete(&sdev->work); in si4713_handler()
[all …]
/linux/drivers/gpio/
H A Dgpio-brcmstb.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (C) 2015-2017 Broadcom
60 #define GPIO_BIT(gpio) ((gpio) & (MAX_GPIO_PER_BANK - 1))
66 return bank->parent_priv; in brcmstb_gpio_gc_to_priv()
72 void __iomem *reg_base = bank->parent_priv->reg_base; in __brcmstb_gpio_get_active_irqs()
74 return bank->gc.read_reg(reg_base + GIO_STAT(bank->id)) & in __brcmstb_gpio_get_active_irqs()
75 bank->gc.read_reg(reg_base + GIO_MASK(bank->id)); in __brcmstb_gpio_get_active_irqs()
84 raw_spin_lock_irqsave(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_get_active_irqs()
86 raw_spin_unlock_irqrestore(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_get_active_irqs()
94 return hwirq - bank->gc.offset; in brcmstb_gpio_hwirq_to_offset()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
31 sizeof(((struct ixgbe_adapter *)0)->m), \
34 sizeof(((struct rtnl_link_stats64 *)0)->m), \
111 #define IXGBE_NUM_RX_QUEUES netdev->num_tx_queues
114 (netdev->num_tx_queues + IXGBE_NUM_RX_QUEUES) * \
118 (sizeof(((struct ixgbe_adapter *)0)->stats.pxonrxc) + \
119 sizeof(((struct ixgbe_adapter *)0)->stats.pxontxc) + \
120 sizeof(((struct ixgbe_adapter *)0)->stats.pxoffrxc) + \
121 sizeof(((struct ixgbe_adapter *)0)->stats.pxofftxc)) \
[all …]
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * (c) 2001-03 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
11 #include "saa7134-reg.h"
23 #include <linux/dma-mapping.h>
32 /* ------------------------------------------------------------------ */
48 MODULE_PARM_DESC(alsa,"enable/disable ALSA DMA sound [dmasound]");
56 MODULE_PARM_DESC(saa7134_userptr, "enable page-aligned userptr support");
58 static unsigned int video_nr[] = {[0 ... (SAA7134_MAXBOARDS - 1)] = UNSET };
59 static unsigned int vbi_nr[] = {[0 ... (SAA7134_MAXBOARDS - 1)] = UNSET };
60 static unsigned int radio_nr[] = {[0 ... (SAA7134_MAXBOARDS - 1)] = UNSET };
[all …]

12345678910>>...28