Home
last modified time | relevance | path

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

12345678910>>...45

/linux-6.14.4/tools/testing/selftests/kvm/x86/
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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 <[email protected]>
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 …]
/linux-6.14.4/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-tpmi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * uncore-frquency-tpmi: Uncore frequency scaling using TPMI
13 * new gen CPUs to have multiple uncore controls at uncore-cluster
29 #include "uncore-frequency-common.h"
37 /* status + control + adv_ctl1 + adv_ctl2 */
77 /* Bit definitions for CONTROL register */
85 /* Helper function to read MMIO offset for max/min control frequency */
89 u64 control; in read_control_freq() local
91 control = readq(cluster_info->cluster_base + UNCORE_CONTROL_INDEX); in read_control_freq()
93 *value = FIELD_GET(UNCORE_MAX_RATIO_MASK, control) * UNCORE_FREQ_KHZ_MULTIPLIER; in read_control_freq()
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
Dml26124.c1 // SPDX-License-Identifier: GPL-2.0-only
53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0);
55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0);
56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0);
57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0);
58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0);
60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law",
61 "A-law"};
190 /* CLOCK control Register */
198 {0x0e, 0x00}, /* CLK Input/Output Control */
[all …]
Dwm8994.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8994.c -- WM8994 ALSA SoC Audio driver
5 * Copyright 2009-12 Wolfson Microelectronics plc
114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() local
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()
130 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate()
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/drivers/usb/serial/
Dspcp8x5.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2010-2013 Johan Hovold ([email protected])
10 * Greg Kroah-Hartman ([email protected])
145 const struct usb_device_id *id = usb_get_serial_data(port->serial); in spcp8x5_port_probe()
150 return -ENOMEM; in spcp8x5_port_probe()
152 spin_lock_init(&priv->lock); in spcp8x5_port_probe()
153 priv->quirks = id->driver_info; in spcp8x5_port_probe()
157 port->port.drain_delay = 256; in spcp8x5_port_probe()
173 struct usb_device *dev = port->serial->dev; in spcp8x5_set_ctrl_line()
176 if (priv->quirks & SPCP825_QUIRK_NO_UART_STATUS) in spcp8x5_set_ctrl_line()
[all …]
/linux-6.14.4/drivers/staging/greybus/
Daudio_topology.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2015-2016 Google Inc.
5 * Copyright 2015-2016 Linaro Ltd.
34 dev_dbg(codec->dev, "%s:Find module#%d\n", __func__, dev_id); in find_gb_module()
36 mutex_lock(&codec->lock); in find_gb_module()
37 list_for_each_entry(module, &codec->module_list, list) { in find_gb_module()
38 if (module->dev_id == dev_id) { in find_gb_module()
39 mutex_unlock(&codec->lock); in find_gb_module()
43 mutex_unlock(&codec->lock); in find_gb_module()
44 dev_warn(codec->dev, "%s: module#%d missing in codec list\n", name, in find_gb_module()
[all …]
/linux-6.14.4/drivers/char/hw_random/
Dn2-drv.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* n2-drv.c: Niagara-2 RNG driver.
37 /* The Niagara2 RNG provides a 64-bit read-only random number
38 * register, plus a control register. Access to the RNG is
39 * virtualized through the hypervisor so that both guests and control
49 * which is the 64-bit read-only register.
52 * such that a full 64-bits of entropy are available in the register.
57 * A control register is provided for adjusting various aspects of RNG
75 * separately. This is why 4 control register values must be provided
81 * control 0: (1 << RNG_CTL_VCO_SHIFT) | RNG_CTL_ES1
[all …]
/linux-6.14.4/drivers/net/wireless/broadcom/b43/
Dxmit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 Copyright (C) 2005 Martin Langer <martin-[email protected]>
45 if (e->bitrate == bitrate) in b43_tx_legacy_rate_phy_ctl_ent()
56 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck()
66 return -1; in b43_plcp_get_bitrate_idx_cck()
75 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm()
93 return -1; in b43_plcp_get_bitrate_idx_ofdm()
139 __u8 *raw = plcp->raw; in b43_generate_plcp_hdr()
147 plcp->data = cpu_to_le32(d); in b43_generate_plcp_hdr()
161 plcp->data |= cpu_to_le32(plen << 16); in b43_generate_plcp_hdr()
[all …]
/linux-6.14.4/arch/x86/kvm/svm/
Dsvm.c18 #include <linux/amd-iommu.h>
24 #include <linux/psp-sev.h>
40 #include <asm/spec-ctrl.h>
57 MODULE_DESCRIPTION("KVM support for SVM (AMD-V) extensions");
133 * AMD does not virtualize APIC TSC-deadline timer mode, but it is
150 * These 2 parameters are used to config the controls for Pause-Loop Exiting:
163 * In this mode, a 16-bit pause filter threshold field is added in the
185 /* Default doubles per-vcpu window every exit. */
189 /* Default resets per-vcpu window every exit to pause_filter_count. */
259 static int tsc_aux_uret_slot __read_mostly = -1;
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/e1000e/
Dmac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
9 * e1000e_get_bus_info_pcie - Get PCIe bus information
18 struct pci_dev *pdev = hw->adapter->pdev; in e1000e_get_bus_info_pcie()
19 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie()
20 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie()
24 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie()
27 bus->width = (enum e1000_bus_width)FIELD_GET(PCI_EXP_LNKSTA_NLW, in e1000e_get_bus_info_pcie()
31 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie()
37 * e1000_set_lan_id_multi_port_pcie - Set LAN id for PCIe multiple port devices
[all …]
/linux-6.14.4/sound/usb/
Dmixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Mixer control part
17 * - support for UAC2 effect units
18 * - support for graphical equalizers
19 * - RANGE and MEM set commands (UAC2)
20 * - RANGE and MEM interrupt dispatchers (UAC2)
21 * - audio channel clustering (UAC2)
22 * - audio sample rate converter units (UAC2)
23 * - proper handling of clock multipliers (UAC2)
24 * - dispatch clock change notifications (UAC2)
[all …]
/linux-6.14.4/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-ingenic.c1 // SPDX-License-Identifier: GPL-2.0
3 * dwmac-ingenic.c - Ingenic SoCs DWMAC specific glue layer
75 struct ingenic_mac *mac = plat_dat->bsp_priv; in ingenic_mac_init()
78 if (mac->soc_info->set_mode) { in ingenic_mac_init()
79 ret = mac->soc_info->set_mode(plat_dat); in ingenic_mac_init()
89 struct ingenic_mac *mac = plat_dat->bsp_priv; in jz4775_mac_set_mode()
92 switch (plat_dat->mac_interface) { in jz4775_mac_set_mode()
96 dev_dbg(mac->dev, "MAC PHY Control Register: PHY_INTERFACE_MODE_MII\n"); in jz4775_mac_set_mode()
97 break; in jz4775_mac_set_mode()
102 dev_dbg(mac->dev, "MAC PHY Control Register: PHY_INTERFACE_MODE_GMII\n"); in jz4775_mac_set_mode()
[all …]
/linux-6.14.4/tools/virtio/
Dvirtio_test.c1 // SPDX-License-Identifier: GPL-2.0
22 #define RANDOM_BATCH -1
33 /* copy used for control */
40 int control; member
49 static const struct vhost_vring_file no_backend = { .fd = -1 },
55 struct vq_info *info = vq->priv; in vq_notify()
58 r = write(info->kick, &v, sizeof v); in vq_notify()
70 struct vhost_vring_state state = { .index = info->idx }; in vhost_vq_setup()
71 struct vhost_vring_file file = { .index = info->idx }; in vhost_vq_setup()
72 unsigned long long features = dev->vdev.features; in vhost_vq_setup()
[all …]
/linux-6.14.4/drivers/video/backlight/
Dtdo24m.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tdo24m - SPI-based drivers for Toppoly TDO24M series LCD panels
44 #define CMD_NULL (-1)
56 CMD2(0xB8, 0xFF, 0xF9), /* Output Control */
64 CMD2(0xB8, 0x80, 0x02), /* Output Control */
89 CMD1(0xcf, 0x02), /* Blanking period control (1) */
90 CMD2(0xd0, 0x08, 0x04), /* Blanking period control (2) */
91 CMD1(0xd1, 0x01), /* CKV timing control on/off */
92 CMD2(0xd2, 0x14, 0x00), /* CKV 1,2 timing control */
93 CMD2(0xd3, 0x1a, 0x0f), /* OEV timing control */
[all …]
/linux-6.14.4/drivers/net/ethernet/ti/
Dnetcp_sgmii.c1 // SPDX-License-Identifier: GPL-2.0
7 * Sandeep Paulraj <s-[email protected]>
8 * Wingman Kwok <w-[email protected]>
22 #define SGMII23_OFFSET(x) ((x - 2) * 0x100)
93 u32 control; in netcp_sgmii_config() local
98 control = 0x21; in netcp_sgmii_config()
99 break; in netcp_sgmii_config()
104 control = 1; in netcp_sgmii_config()
105 break; in netcp_sgmii_config()
109 control = 0x20; in netcp_sgmii_config()
[all …]

12345678910>>...45