Home
last modified time | relevance | path

Searched +full:break +full:- +full:control (Results 1 – 25 of 1089) sorted by relevance

12345678910>>...44

/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
Dhyperv_features.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Tests for Hyper-V features enablement
18 * but to activate the feature it is sufficient to set it to a non-zero
32 uint64_t control; member
47 GUEST_ASSERT(msr->idx); in guest_msr()
49 if (msr->write) in guest_msr()
50 vector = wrmsr_safe(msr->idx, msr->write_val); in guest_msr()
52 if (!vector && (!msr->write || !is_write_only_msr(msr->idx))) in guest_msr()
53 vector = rdmsr_safe(msr->idx, &msr_val); in guest_msr()
55 if (msr->fault_expected) in guest_msr()
[all …]
/kernel/linux/linux-5.10/sound/core/seq/
Dseq_midi_emul.c1 // SPDX-License-Identifier: GPL-2.0-or-later
39 int control, int value);
62 * Generic MIDI - no interpretation at all, it will just save current values
64 * GM - You can use all gm_ prefixed elements of chan. Controls, RPN, NRPN,
66 * GS - You can use all gs_ prefixed elements of chan. Codes for GS will be
68 * XG - You can use all xg_ prefixed elements of chan. Codes for XG will
84 if (chanset->channels == NULL) in snd_midi_process_event()
88 dest_channel = ev->data.note.channel; in snd_midi_process_event()
89 if (dest_channel >= chanset->max_channels) { in snd_midi_process_event()
91 dest_channel, chanset->max_channels); in snd_midi_process_event()
[all …]
/kernel/linux/linux-6.6/sound/core/seq/
Dseq_midi_emul.c1 // SPDX-License-Identifier: GPL-2.0-or-later
39 int control, int value);
62 * Generic MIDI - no interpretation at all, it will just save current values
64 * GM - You can use all gm_ prefixed elements of chan. Controls, RPN, NRPN,
66 * GS - You can use all gs_ prefixed elements of chan. Codes for GS will be
68 * XG - You can use all xg_ prefixed elements of chan. Codes for XG will
84 if (chanset->channels == NULL) in snd_midi_process_event()
88 dest_channel = ev->data.note.channel; in snd_midi_process_event()
89 if (dest_channel >= chanset->max_channels) { in snd_midi_process_event()
91 dest_channel, chanset->max_channels); in snd_midi_process_event()
[all …]
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-camera/
Dcontrols.c1 // SPDX-License-Identifier: GPL-2.0
18 #include <media/videobuf2-vmalloc.h>
19 #include <media/v4l2-device.h>
20 #include <media/v4l2-ioctl.h>
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-fh.h>
23 #include <media/v4l2-event.h>
24 #include <media/v4l2-common.h>
26 #include "../vchiq-mmal/mmal-common.h"
27 #include "../vchiq-mmal/mmal-vchiq.h"
[all …]
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-camera/
Dcontrols.c1 // SPDX-License-Identifier: GPL-2.0
18 #include <media/videobuf2-vmalloc.h>
19 #include <media/v4l2-device.h>
20 #include <media/v4l2-ioctl.h>
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-fh.h>
23 #include <media/v4l2-event.h>
24 #include <media/v4l2-common.h>
26 #include "mmal-common.h"
27 #include "mmal-vchiq.h"
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Ddscontrol.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: dscontrol - Support for execution control opcodes -
7 * Copyright (C) 2000 - 2020, Intel Corp.
25 * PARAMETERS: walk_list - The list that owns the walk stack
26 * op - The control Op
30 * DESCRIPTION: Handles all control ops encountered during control method
44 op, op->common.aml_opcode, walk_state)); in acpi_ds_exec_begin_control_op()
46 switch (op->common.aml_opcode) { in acpi_ds_exec_begin_control_op()
50 * There is no need to allocate a new control state. in acpi_ds_exec_begin_control_op()
52 if (walk_state->control_state) { in acpi_ds_exec_begin_control_op()
[all …]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
Ddscontrol.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: dscontrol - Support for execution control opcodes -
7 * Copyright (C) 2000 - 2023, Intel Corp.
25 * PARAMETERS: walk_list - The list that owns the walk stack
26 * op - The control Op
30 * DESCRIPTION: Handles all control ops encountered during control method
44 op, op->common.aml_opcode, walk_state)); in acpi_ds_exec_begin_control_op()
46 switch (op->common.aml_opcode) { in acpi_ds_exec_begin_control_op()
50 * There is no need to allocate a new control state. in acpi_ds_exec_begin_control_op()
52 if (walk_state->control_state) { in acpi_ds_exec_begin_control_op()
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-rpc/include/mach/
Dacornfb.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-rpc/include/mach/acornfb.h
10 #define acornfb_bandwidth(var) ((var)->pixclock * 8 / (var)->bits_per_pixel)
17 if (!var->pixclock) in acornfb_valid_pixrate()
60 d = pixclk - p; in acornfb_vidc20_find_pll()
63 d = -d; in acornfb_vidc20_find_pll()
67 best_v = v - 1; in acornfb_vidc20_find_pll()
68 best_r = r - 1; in acornfb_vidc20_find_pll()
72 break; in acornfb_vidc20_find_pll()
84 /* Select pixel-clock divisor to keep PLL in range */ in acornfb_vidc20_find_rates()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-rpc/include/mach/
Dacornfb.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-rpc/include/mach/acornfb.h
10 #define acornfb_bandwidth(var) ((var)->pixclock * 8 / (var)->bits_per_pixel)
17 if (!var->pixclock) in acornfb_valid_pixrate()
60 d = pixclk - p; in acornfb_vidc20_find_pll()
63 d = -d; in acornfb_vidc20_find_pll()
67 best_v = v - 1; in acornfb_vidc20_find_pll()
68 best_r = r - 1; in acornfb_vidc20_find_pll()
72 break; in acornfb_vidc20_find_pll()
84 /* Select pixel-clock divisor to keep PLL in range */ in acornfb_vidc20_find_rates()
[all …]
/kernel/linux/linux-6.6/net/bluetooth/
Dl2cap_core.c2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
4 Copyright (C) 2009-2010 Gustavo F. Padovan <gustavo@padovan.org>
60 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
80 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type()
85 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type()
88 /* ---- L2CAP channels ---- */
95 list_for_each_entry(c, &conn->chan_l, list) { in __l2cap_get_chan_by_dcid()
96 if (c->dcid == cid) in __l2cap_get_chan_by_dcid()
107 list_for_each_entry(c, &conn->chan_l, list) { in __l2cap_get_chan_by_scid()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_core.c2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
4 Copyright (C) 2009-2010 Gustavo F. Padovan <gustavo@padovan.org>
62 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
82 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type()
87 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type()
90 /* ---- L2CAP channels ---- */
97 list_for_each_entry(c, &conn->chan_l, list) { in __l2cap_get_chan_by_dcid()
98 if (c->dcid == cid) in __l2cap_get_chan_by_dcid()
109 list_for_each_entry(c, &conn->chan_l, list) { in __l2cap_get_chan_by_scid()
[all …]
/kernel/linux/linux-5.10/arch/mips/oprofile/
Dop_model_mipsxx.c30 * Skip CPUs with non-zero hardware thread id (4 hwt per core)
129 unsigned int control[4]; member
140 /* Compute the performance counter control word. */ in mipsxx_reg_setup()
142 reg.control[i] = 0; in mipsxx_reg_setup()
148 reg.control[i] = M_PERFCTL_EVENT(ctr[i].event) | in mipsxx_reg_setup()
151 reg.control[i] |= MIPS_PERFCTRL_K; in mipsxx_reg_setup()
153 reg.control[i] |= MIPS_PERFCTRL_U; in mipsxx_reg_setup()
155 reg.control[i] |= MIPS_PERFCTRL_EXL; in mipsxx_reg_setup()
157 reg.control[i] |= XLR_PERFCTRL_ALLTHREADS; in mipsxx_reg_setup()
158 reg.counter[i] = 0x80000000 - ctr[i].count; in mipsxx_reg_setup()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm8940.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8940.c -- WM8940 ALSA Soc Audio driver
12 * Notch filter control
107 { 0x4, 0x0010 }, /* Interface Control */
108 { 0x5, 0x0000 }, /* Companding Control */
109 { 0x6, 0x0140 }, /* Clock Control */
111 { 0x8, 0x0000 }, /* GPIO Control */
112 { 0x9, 0x0002 }, /* Auto Increment Control */
113 { 0xa, 0x0000 }, /* DAC Control */
116 { 0xe, 0x0100 }, /* ADC Control */
[all …]
/kernel/linux/linux-5.10/drivers/staging/iio/frequency/
Dad9834.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2010-2011 Analog Devices Inc.
36 /* Command Control Bits */
54 #define RES_MASK(bits) (BIT(bits) - 1)
57 * struct ad9834_state - driver instance specific data
61 * @control: cached control word
75 unsigned short control; member
116 clk_freq = clk_get_rate(st->mclk); in ad9834_write_frequency()
119 return -EINVAL; in ad9834_write_frequency()
123 st->freq_data[0] = cpu_to_be16(addr | (regval & in ad9834_write_frequency()
[all …]
/kernel/linux/linux-6.6/drivers/staging/iio/frequency/
Dad9834.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2010-2011 Analog Devices Inc.
36 /* Command Control Bits */
54 #define RES_MASK(bits) (BIT(bits) - 1)
57 * struct ad9834_state - driver instance specific data
60 * @control: cached control word
74 unsigned short control; member
115 clk_freq = clk_get_rate(st->mclk); in ad9834_write_frequency()
118 return -EINVAL; in ad9834_write_frequency()
122 st->freq_data[0] = cpu_to_be16(addr | (regval & in ad9834_write_frequency()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dadv7183.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <media/v4l2-ctrls.h>
20 #include <media/v4l2-device.h>
38 * All standards are supported through autodetect, 8-bit, 4:2:2, ITU-R BT.656 output on P15 to P8.
69 return &container_of(ctrl->handler, struct adv7183, hdl)->sd; in to_sd()
95 return -1; in adv7183_writeregs()
112 v4l2_info(sd, "adv7183: Input control = 0x%02x\n", in adv7183_log_status()
116 v4l2_info(sd, "adv7183: Output control = 0x%02x\n", in adv7183_log_status()
118 v4l2_info(sd, "adv7183: Extended output control = 0x%02x\n", in adv7183_log_status()
132 v4l2_info(sd, "adv7183: ADI control = 0x%02x\n", in adv7183_log_status()
[all …]
/kernel/linux/linux-6.6/drivers/media/i2c/
Dadv7183.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <media/v4l2-ctrls.h>
20 #include <media/v4l2-device.h>
38 * All standards are supported through autodetect, 8-bit, 4:2:2, ITU-R BT.656 output on P15 to P8.
69 return &container_of(ctrl->handler, struct adv7183, hdl)->sd; in to_sd()
95 return -1; in adv7183_writeregs()
112 v4l2_info(sd, "adv7183: Input control = 0x%02x\n", in adv7183_log_status()
116 v4l2_info(sd, "adv7183: Output control = 0x%02x\n", in adv7183_log_status()
118 v4l2_info(sd, "adv7183: Extended output control = 0x%02x\n", in adv7183_log_status()
132 v4l2_info(sd, "adv7183: ADI control = 0x%02x\n", in adv7183_log_status()
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dwm8940.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8940.c -- WM8940 ALSA Soc Audio driver
12 * Notch filter control
109 { 0x4, 0x0010 }, /* Interface Control */
110 { 0x5, 0x0000 }, /* Companding Control */
111 { 0x6, 0x0140 }, /* Clock Control */
113 { 0x8, 0x0000 }, /* GPIO Control */
114 { 0x9, 0x0002 }, /* Auto Increment Control */
115 { 0xa, 0x0000 }, /* DAC Control */
118 { 0xe, 0x0100 }, /* ADC Control */
[all …]
/kernel/linux/linux-6.6/drivers/phy/ti/
Dphy-omap-control.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * omap-control-phy.c - The PHY part of control module.
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
20 * omap_control_pcie_pcs - set the PCS delay count
21 * @dev: the control module device
36 dev_err(dev, "%s: invalid control phy device\n", __func__); in omap_control_pcie_pcs()
40 if (control_phy->type != OMAP_CTRL_TYPE_PCIE) { in omap_control_pcie_pcs()
45 val = readl(control_phy->pcie_pcs); in omap_control_pcie_pcs()
49 writel(val, control_phy->pcie_pcs); in omap_control_pcie_pcs()
54 * omap_control_phy_power - power on/off the phy using control module reg
[all …]
/kernel/linux/linux-6.6/drivers/dma/dw-edma/
Ddw-edma-v0-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates.
11 #include <linux/io-64-nonatomic-lo-hi.h>
13 #include "dw-edma-core.h"
14 #include "dw-edma-v0-core.h"
15 #include "dw-edma-v0-regs.h"
16 #include "dw-edma-v0-debugfs.h"
30 return dw->chip->reg_base; in __dw_regs()
34 writel(value, &(__dw_regs(dw)->name))
37 readl(&(__dw_regs(dw)->name))
[all …]
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-omap-control.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * omap-control-phy.c - The PHY part of control module.
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
20 * omap_control_pcie_pcs - set the PCS delay count
21 * @dev: the control module device
36 dev_err(dev, "%s: invalid control phy device\n", __func__); in omap_control_pcie_pcs()
40 if (control_phy->type != OMAP_CTRL_TYPE_PCIE) { in omap_control_pcie_pcs()
45 val = readl(control_phy->pcie_pcs); in omap_control_pcie_pcs()
49 writel(val, control_phy->pcie_pcs); in omap_control_pcie_pcs()
54 * omap_control_phy_power - power on/off the phy using control module reg
[all …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dspcp8x5.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2010-2013 Johan Hovold (jhovold@gmail.com)
10 * Greg Kroah-Hartman (greg@kroah.com)
155 const struct usb_device_id *id = usb_get_serial_data(port->serial); in spcp8x5_port_probe()
160 return -ENOMEM; in spcp8x5_port_probe()
162 spin_lock_init(&priv->lock); in spcp8x5_port_probe()
163 priv->quirks = id->driver_info; in spcp8x5_port_probe()
167 port->port.drain_delay = 256; in spcp8x5_port_probe()
185 struct usb_device *dev = port->serial->dev; in spcp8x5_set_ctrl_line()
188 if (priv->quirks & SPCP825_QUIRK_NO_UART_STATUS) in spcp8x5_set_ctrl_line()
[all …]
/kernel/linux/linux-6.6/drivers/usb/serial/
Dspcp8x5.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2010-2013 Johan Hovold (jhovold@gmail.com)
10 * Greg Kroah-Hartman (greg@kroah.com)
155 const struct usb_device_id *id = usb_get_serial_data(port->serial); in spcp8x5_port_probe()
160 return -ENOMEM; in spcp8x5_port_probe()
162 spin_lock_init(&priv->lock); in spcp8x5_port_probe()
163 priv->quirks = id->driver_info; in spcp8x5_port_probe()
167 port->port.drain_delay = 256; in spcp8x5_port_probe()
183 struct usb_device *dev = port->serial->dev; in spcp8x5_set_ctrl_line()
186 if (priv->quirks & SPCP825_QUIRK_NO_UART_STATUS) in spcp8x5_set_ctrl_line()
[all …]
/kernel/linux/linux-6.6/drivers/staging/greybus/
Daudio_topology.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2015-2016 Google Inc.
5 * Copyright 2015-2016 Linaro Ltd.
13 /* mixer control */
40 dev_dbg(codec->dev, "%s:Find module#%d\n", __func__, dev_id); in find_gb_module()
42 mutex_lock(&codec->lock); in find_gb_module()
43 list_for_each_entry(module, &codec->module_list, list) { in find_gb_module()
44 if (module->dev_id == dev_id) { in find_gb_module()
45 mutex_unlock(&codec->lock); in find_gb_module()
49 mutex_unlock(&codec->lock); in find_gb_module()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_topology.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2015-2016 Google Inc.
5 * Copyright 2015-2016 Linaro Ltd.
13 /* mixer control */
41 dev_dbg(codec->dev, "%s:Find module#%d\n", __func__, dev_id); in find_gb_module()
43 mutex_lock(&codec->lock); in find_gb_module()
44 list_for_each_entry(module, &codec->module_list, list) { in find_gb_module()
45 if (module->dev_id == dev_id) { in find_gb_module()
46 mutex_unlock(&codec->lock); in find_gb_module()
50 mutex_unlock(&codec->lock); in find_gb_module()
[all …]

12345678910>>...44