Home
last modified time | relevance | path

Searched +full:state +full:- +full:enable (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crtc.c1 // SPDX-License-Identifier: MIT
46 struct drm_crtc *crtc = &acrtc->base; in amdgpu_dm_crtc_handle_vblank()
47 struct drm_device *dev = crtc->dev; in amdgpu_dm_crtc_handle_vblank()
52 spin_lock_irqsave(&dev->event_lock, flags); in amdgpu_dm_crtc_handle_vblank()
54 /* Send completion event for cursor-only commits */ in amdgpu_dm_crtc_handle_vblank()
55 if (acrtc->event && acrtc->pflip_status != AMDGPU_FLIP_SUBMITTED) { in amdgpu_dm_crtc_handle_vblank()
56 drm_crtc_send_vblank_event(crtc, acrtc->event); in amdgpu_dm_crtc_handle_vblank()
58 acrtc->event = NULL; in amdgpu_dm_crtc_handle_vblank()
61 spin_unlock_irqrestore(&dev->event_lock, flags); in amdgpu_dm_crtc_handle_vblank()
69 return crtc_state->active && drm_atomic_crtc_needs_modeset(crtc_state); in amdgpu_dm_crtc_modeset_required()
[all …]
/linux/drivers/media/dvb-frontends/
H A Dau8522_common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 Copyright (C) 2005-2008 Auvitek International, Ltd.
30 int au8522_writereg(struct au8522_state *state, u16 reg, u8 data) in au8522_writereg() argument
35 struct i2c_msg msg = { .addr = state->config.demod_address, in au8522_writereg()
38 ret = i2c_transfer(state->i2c, &msg, 1); in au8522_writereg()
44 return (ret != 1) ? -1 : 0; in au8522_writereg()
48 u8 au8522_readreg(struct au8522_state *state, u16 reg) in au8522_readreg() argument
55 { .addr = state->config.demod_address, .flags = 0, in au8522_readreg()
57 { .addr = state->config.demod_address, .flags = I2C_M_RD, in au8522_readreg()
60 ret = i2c_transfer(state->i2c, msg, 2); in au8522_readreg()
[all …]
H A Dsp887x.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #define SP887X_DEFAULT_FIRMWARE "dvb-fe-sp887x.fw"
40 static int i2c_writebytes (struct sp887x_state* state, u8 *buf, u8 len) in i2c_writebytes() argument
42 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = len }; in i2c_writebytes()
45 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes()
47 __func__, state->config->demod_address, err); in i2c_writebytes()
48 return -EREMOTEIO; in i2c_writebytes()
54 static int sp887x_writereg (struct sp887x_state* state, u16 reg, u16 data) in sp887x_writereg() argument
57 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 4 }; in sp887x_writereg()
60 if ((ret = i2c_transfer(state->i2c, &msg, 1)) != 1) { in sp887x_writereg()
[all …]
/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2018-2019 Cadence.
6 * Copyright (C) 2017-2018 NXP
15 #include <linux/dma-direction.h>
18 * USBSS-DEV register interface.
23 * struct cdns3_usb_regs - device controller registers.
29 * @usb_ien: USB Interrupt Enable.
37 * @ep_sts_en: Endpoint Status Enable.
39 * @ep_ien: EP Interrupt Enable.
53 * @buf_addr: Address for On-chip Buffer operations.
[all …]
/linux/tools/power/cpupower/man/
H A Dcpupower-idle-set.11 .TH "CPUPOWER-IDLE-SET" "1" "0.1" "" "cpupower Manual"
4 cpupower\-idle\-set \- Utility to set cpu idle state specific kernel options
7 cpupower [ \-c cpulist ] idle\-set [\fIoptions\fP]
10 The cpupower idle\-set subcommand allows to set cpu idle, also called cpu
11 sleep state, specific options offered by the kernel. One example is disabling
16 \fB\-d\fR \fB\-\-disable\fR <STATE_NO>
17 Disable a specific processor sleep state.
19 \fB\-e\fR \fB\-\-enable\fR <STATE_NO>
20 Enable a specific processor sleep state.
22 \fB\-D\fR \fB\-\-disable-by-latency\fR <LATENCY>
[all …]
/linux/drivers/media/i2c/adv748x/
H A Dadv748x-core.c1 // SPDX-License-Identifier: GPL-2.0+
21 #include <linux/v4l2-dv-timings.h>
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-dv-timings.h>
26 #include <media/v4l2-fwnode.h>
27 #include <media/v4l2-ioctl.h>
31 /* -----------------------------------------------------------------------------
59 static int adv748x_configure_regmap(struct adv748x_state *state, int region) in adv748x_configure_regmap() argument
63 if (!state->i2c_clients[region]) in adv748x_configure_regmap()
[all …]
/linux/drivers/media/pci/cx23885/
H A Dcx23888-ir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include "cx23888-ir.h"
16 #include <media/v4l2-device.h>
17 #include <media/rc-core.h>
21 MODULE_PARM_DESC(ir_888_debug, "enable debug messages [CX23888 IR controller]");
174 d--; in count_to_clock_divider()
306 count--; in pulse_clocks_to_clock_divider()
335 static inline void control_tx_enable(struct cx23885_dev *dev, bool enable) in control_tx_enable() argument
338 enable ? (CNTRL_TXE | CNTRL_TFE) : 0); in control_tx_enable()
341 static inline void control_rx_enable(struct cx23885_dev *dev, bool enable) in control_rx_enable() argument
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_crtc_test.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
27 …* dm_test_crtc_modeset_required_active_mode_changed - Test Crtc modeset required active mode chang…
32 struct drm_crtc_state state = {}; in dm_test_crtc_modeset_required_active_mode_changed() local
34 state.active = true; in dm_test_crtc_modeset_required_active_mode_changed()
35 state.mode_changed = true; in dm_test_crtc_modeset_required_active_mode_changed()
38 amdgpu_dm_crtc_modeset_required(&state, NULL, NULL)); in dm_test_crtc_modeset_required_active_mode_changed()
42 …* dm_test_crtc_modeset_required_active_active_changed - Test Crtc modeset required active active c…
47 struct drm_crtc_state state = {}; in dm_test_crtc_modeset_required_active_active_changed() local
49 state.active = true; in dm_test_crtc_modeset_required_active_active_changed()
50 state.active_changed = true; in dm_test_crtc_modeset_required_active_active_changed()
[all …]
/linux/drivers/thermal/intel/
H A Dtherm_throt.c1 // SPDX-License-Identifier: GPL-2.0-only
48 * struct _thermal_state - Represent the current thermal event state
59 * in throttled state for a single thermal
60 * threshold high to low state.
62 * in the throttled state.
64 * This is used for the purpose of rate-control.
80 * This structure is used to represent data related to thermal state for a CPU.
145 unsigned int cpu = dev->id; \
209 * "Table 2-2. IA-32 Architectural MSRs", MSR 0x19C in thermal_intr_init_core_clear_mask()
215 * enable interrupts, when 0 as it checks for X86_FEATURE_ACPI. in thermal_intr_init_core_clear_mask()
[all …]
/linux/Documentation/devicetree/bindings/regulator/
H A Dti,tps62360.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laxman Dewangan <ldewangan@nvidia.com>
13 The TPS6236x are a family of step down dc-dc converter with
22 - $ref: regulator.yaml#
27 - ti,tps62360
28 - ti,tps62361
29 - ti,tps62362
30 - ti,tps62363
[all …]
H A Dmaxim,max8973.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 - $ref: regulator.yaml#
18 - maxim,max8973
19 - maxim,max77621
21 junction-warn-millicelsius:
30 maxim,dvs-gpio:
35 maxim,dvs-default-state:
[all …]
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-phy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * mxl111sf-phy.c - driver for the MaxLinear MXL111SF
5 * Copyright (C) 2010-2014 Michael Krufky <mkrufky@linuxtv.org>
8 #include "mxl111sf-phy.h"
9 #include "mxl111sf-reg.h"
11 int mxl111sf_init_tuner_demod(struct mxl111sf_state *state) in mxl111sf_init_tuner_demod() argument
39 return mxl111sf_ctrl_program_regs(state, mxl_111_overwrite_default); in mxl111sf_init_tuner_demod()
42 int mxl1x1sf_soft_reset(struct mxl111sf_state *state) in mxl1x1sf_soft_reset() argument
47 ret = mxl111sf_write_reg(state, 0xff, 0x00); /* AIC */ in mxl1x1sf_soft_reset()
50 ret = mxl111sf_write_reg(state, 0x02, 0x01); /* get out of reset */ in mxl1x1sf_soft_reset()
[all …]
/linux/arch/mips/include/asm/sgi/
H A Dhpc3.h40 u32 _unused0[0x1000/4 - 2]; /* padding */
50 #define HPC3_PDMACTRL_FLSH 0x00000008 /* enable flush for receive DMA */
52 #define HPC3_PDMACTRL_LD 0x00000020 /* load enable for ACT */
54 #define HPC3_PDMACTRL_HW 0x0000ff00 /* DMA High-water mark */
58 u32 _unused1[0x1000/4 - 1]; /* padding */
65 u32 _unused0[0x1000/4 - 2]; /* padding */
84 #define HPC3_SDCFG_HCLK 0x00001 /* Enable DMA half clock mode */
85 #define HPC3_SDCFG_D1 0x00006 /* Cycles to spend in D1 state */
86 #define HPC3_SDCFG_D2 0x00038 /* Cycles to spend in D2 state */
87 #define HPC3_SDCFG_D3 0x001c0 /* Cycles to spend in D3 state */
[all …]
/linux/drivers/phy/amlogic/
H A Dphy-meson-axg-mipi-dphy.c1 // SPDX-License-Identifier: GPL-2.0
31 * [12] mipi HSbyteclk enable.
37 * [9] mipi divider output enable.
38 * [8] mipi divider counter enable.
39 * [7] PLL clock enable.
52 * 1: from register. 0: use clk lane state machine.
55 * 1: from register. 0: from clk lane state machine.
58 * 1: from register. 0: from chan0 state machine.
61 * 1: from register. 0: from chan0 state machine.
64 * 1: from register. 0: from chan0 state machine.
[all …]
/linux/Documentation/trace/coresight/
H A Dcoresight-cpu-debug.rst9 ------------
11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual
13 debug module and it is mainly used for two modes: self-hosted debug and
16 explore debugging method which rely on self-hosted debug mode, this document
19 The debug module provides sample-based profiling extension, which can be used
20 to sample CPU program counter, secure state and exception level, etc; usually
21 every CPU has one dedicated debug module to be connected. Based on self-hosted
29 --------------
31 - During driver registration, it uses EDDEVID and EDDEVID1 - two device ID
32 registers to decide if sample-based profiling is implemented or not. On some
[all …]
/linux/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /* Pieces to enable drivers to implement the .set callback */
6 #include "pinmux-aspeed.h"
15 const struct aspeed_sig_desc *desc, bool enable, u32 rv) in aspeed_sig_desc_print_val() argument
18 aspeed_pinmux_ips[desc->ip], desc->reg, in aspeed_sig_desc_print_val()
19 desc->mask, enable ? desc->enable : desc->disable, in aspeed_sig_desc_print_val()
20 (rv & desc->mask) >> __ffs(desc->mask), rv); in aspeed_sig_desc_print_val()
24 * aspeed_sig_desc_eval() - Query the enabled or disabled state of a signal
28 * @enabled: True to query the enabled state, false to query disabled state
31 * Return: 1 if the descriptor's bitfield is configured to the state
[all …]
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
3 * Copyright 2008 - 2015 Freescale Semiconductor Inc.
320 u32 fm_rie; /* FM Error Interrupt Enable 0x1c */
321 u32 fmfp_fcev[4]; /* FPM FMan-Controlle
927 static int enable(struct fman *fman, struct fman_cfg *cfg) enable() function
949 set_exception(struct fman * fman,enum fman_exceptions exception,bool enable) set_exception() argument
1104 fill_soc_specific_params(struct fman_state_struct * state) fill_soc_specific_params() argument
2016 fman_set_exception(struct fman * fman,enum fman_exceptions exception,bool enable) fman_set_exception() argument
[all...]
/linux/drivers/s390/net/
H A Dqeth_l2_sys.c1 // SPDX-License-Identifier: GPL-2.0
17 enum qeth_sbp_states state = QETH_SBP_STATE_INACTIVE; in qeth_bridge_port_role_state_show() local
25 mutex_lock(&card->sbp_lock); in qeth_bridge_port_role_state_show()
27 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show()
29 &card->options.sbp.role, &state, &os_mismatch); in qeth_bridge_port_role_state_show()
32 switch (state) { in qeth_bridge_port_role_state_show()
40 rc = -EIO; in qeth_bridge_port_role_state_show()
43 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show()
51 rc = -EIO; in qeth_bridge_port_role_state_show()
55 card->options.sbp.role, state); in qeth_bridge_port_role_state_show()
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dmotorola,mapphone-mdm6600.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/motorola,mapphone-mdm6600.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tony Lindgren <tony@atomide.com>
15 - const: motorola,mapphone-mdm6600
17 enable-gpios:
18 description: GPIO to enable the USB PHY
21 power-gpios:
25 reset-gpios:
[all …]
/linux/Documentation/devicetree/bindings/cpu/
H A Didle-states.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
11 - Anup Patel <anup@brainfault.org>
15 1 - Introduction
18 ARM and RISC-V systems contain HW capable of managing power consumption
19 dynamically, where cores can be put in different low-power states (ranging
22 run-time, can be specified through device tree bindings representing the
[all …]
/linux/drivers/media/i2c/cx25840/
H A Dcx25840-ir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <media/drv-intf/cx25840.h>
14 #include <media/rc-core.h>
16 #include "cx25840-core.h"
20 MODULE_PARM_DESC(ir_debug, "enable integrated IR debug messages");
116 struct cx25840_state *state = to_state(sd); in to_ir_state() local
117 return state ? state->ir_state : NULL; in to_ir_state()
135 d--; in count_to_clock_divider()
293 count--; in pulse_clocks_to_clock_divider()
322 static inline void control_tx_enable(struct i2c_client *c, bool enable) in control_tx_enable() argument
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-gt510.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-samsung-gt5-common.dtsi"
10 chassis-type = "tablet";
12 speaker_codec: audio-codec {
14 sdmode-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>;
15 #sound-dai-cells = <0>;
16 pinctrl-0 = <&audio_sdmode_default>;
17 pinctrl-names = "default";
21 compatible = "clk-pwm";
[all …]
/linux/drivers/net/dsa/mv88e6xxx/
H A Dpcs-639x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
36 err = mdiodev_c45_read(&mpcs->mdio, MDIO_MMD_PHYXS, regnum); in mv88e639x_read()
47 return mdiodev_c45_write(&mpcs->mdio, MDIO_MMD_PHYXS, regnum, val); in mv88e639x_write()
53 return mdiodev_c45_modify(&mpcs->mdio, MDIO_MMD_PHYXS, regnum, mask, in mv88e639x_modify()
60 return mdiodev_c45_modify_changed(&mpcs->mdio, MDIO_MMD_PHYXS, regnum, in mv88e639x_modify_changed()
74 mpcs->mdio.dev.parent = dev; in mv88e639x_pcs_alloc()
75 mpcs->mdio.bus = bus; in mv88e639x_pcs_alloc()
76 mpcs->mdio.addr = addr; in mv88e639x_pcs_alloc()
78 snprintf(mpcs->name, sizeof(mpcs->name), in mv88e639x_pcs_alloc()
79 "mv88e6xxx-%s-serdes-%d", dev_name(dev), port); in mv88e639x_pcs_alloc()
[all …]
/linux/drivers/parisc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 The VSC, GSC and HSC busses were used from the earliest 700-series
12 were also used in servers from the E-class to the K-class. They
17 bool "HP-PB bus support"
20 The HP-PB bus was used in the Nova class and K-class servers.
27 Say Y here to enable DMA management routines for the first
28 generation of PA-RISC cache-coherent machines. Programs the
36 many PA-RISC workstations & servers. It includes interfaces
39 and floppy. Note that you must still enable all the individual
75 present on B, C, J, L and N-class machines with 4-digit model
[all …]
/linux/drivers/video/fbdev/via/
H A Dvia_clock.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
12 #include <linux/via-core.h>
30 return ((pll.divisor - 2) << 16) in k800_encode_pll()
32 | (pll.multiplier - 2); in k800_encode_pll()
44 via_write_reg_mask(VIASR, 0x40, 0x02, 0x02); /* enable reset */ in cle266_set_primary_pll_encoded()
52 via_write_reg_mask(VIASR, 0x40, 0x02, 0x02); /* enable reset */ in k800_set_primary_pll_encoded()
61 via_write_reg_mask(VIASR, 0x40, 0x04, 0x04); /* enable reset */ in cle266_set_secondary_pll_encoded()
69 via_write_reg_mask(VIASR, 0x40, 0x04, 0x04); /* enable reset */ in k800_set_secondary_pll_encoded()
[all …]

12345678910>>...42