Home
last modified time | relevance | path

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

12345678910>>...44

/linux/arch/arm/lib/
H A Dbacktrace-clang.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/lib/backtrace-clang.S
18 #define mask r7 macro
31 * Clang does not store pc or sp in function prologues so we don't know exactly
32 * where the function starts.
36 * call. Inserting a false stack frame allows us to reference the function
41 * but in cases such as calling function pointers we cannot. In this case,
42 * default to using the lr. This will be some address in the function, but will
43 * not be the function start.
45 * Unfortunately due to the stack frame layout we can't dump r0 - r3, but these
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_acpi.c52 u32 notification_mask; /* supported notifications mask */
58 u32 valid_mask; /* valid flags mask */
68 u8 thermal_state; /* thermal state: state id (0: exit state, non-0: state) */
72 u8 backlight_level; /* panel backlight level (0-255) */
90 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */
91 u16 valid_flags_mask; /* valid flags mask */
105 * radeon_atif_call - call an ATIF method
108 * @function: the ATIF function to execute
109 * @params: ATIF function params
111 * Executes the requested ATIF function (all asics).
[all …]
H A Dradeon_atpx_handler.c1 // SPDX-License-Identifier: GPL-2.0-only
37 /* handle for device - and atpx */
85 * radeon_atpx_call - call an ATPX method
88 * @function: the ATPX function to execute
89 * @params: ATPX function params
91 * Executes the requested ATPX function (all asics).
94 static union acpi_object *radeon_atpx_call(acpi_handle handle, int function, in radeon_atpx_call() argument
106 atpx_arg_elements[0].integer.value = function; in radeon_atpx_call()
110 atpx_arg_elements[1].buffer.length = params->length; in radeon_atpx_call()
111 atpx_arg_elements[1].buffer.pointer = params->pointer; in radeon_atpx_call()
[all …]
/linux/arch/powerpc/include/asm/
H A Dpmac_pfunc.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 * Arguments to a platform function call.
40 * Interpreting a given function always start with a begin() call which
43 * locking policy or per-function instance data.
64 int (*write_gpio)(PMF_STD_ARGS, u8 value, u8 mask);
65 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);
67 int (*write_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask);
69 int (*write_reg16)(PMF_STD_ARGS, u32 offset, u16 value, u16 mask);
71 int (*write_reg8)(PMF_STD_ARGS, u32 offset, u8 value, u8 mask);
76 int (*wait_reg32)(PMF_STD_ARGS, u32 offset, u32 value, u32 mask);
[all …]
/linux/drivers/ntb/hw/idt/
H A Dntb_hw_idt.h7 * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved.
36 * IDT PCIe-switch NTB Linux driver
39 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru>
55 * the supported IDT PCIe-switches
66 * IDT PCIe-switches device IDs
78 * NT-function Configuration Space registers
79 * NOTE 1) The IDT PCIe-switch internal data is little-endian
83 * with byte-enables corresponding to their native size or
86 * So to simplify the driver code, there is only DWORD-sized read/write
107 /* IDT Proprietary NT-port-specific registers */
[all …]
/linux/drivers/pinctrl/
H A Dpinctrl-single.c25 #include <linux/pinctrl/pinconf-generic.h>
30 #include <linux/platform_data/pinctrl-single.h>
37 #define DRIVER_NAME "pinctrl-single"
41 * struct pcs_func_vals - mux function register offset and value pair
44 * @mask: mask
49 unsigned mask; member
53 * struct pcs_conf_vals - pinconf parameter, pinconf register offset
54 * and value, enable, disable, mask
59 * @mask: mask bits in the register value
66 unsigned mask; member
[all …]
H A Dpinctrl-pic32.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/pinctrl/pinconf-generic.h>
23 #include <asm/mach-pic32/pic32.h>
25 #include "pinctrl-utils.h"
26 #include "pinctrl-pic32.h"
271 #define FUNCTION(_name, _gr) \ macro
279 FUNCTION(INT3, input0),
280 FUNCTION(T2CK, input0),
281 FUNCTION(T6CK, input0),
282 FUNCTION(IC3, input0),
[all …]
/linux/include/misc/
H A Docxl.h1 // SPDX-License-Identifier: GPL-2.0+
14 * reuse common code. A bit like a in-kernel library.
32 u8 pp_mmio_bar; /* per-process MMIO area */
45 int dvsec_function_pos; /* offset of the Function DVSEC */
52 OCXL_BIG_ENDIAN = 0, /**< AFU data is big-endian */
53 OCXL_LITTLE_ENDIAN = 1, /**< AFU data is little-endian */
65 * ocxl_function_open() - Open an OpenCAPI function on an OpenCAPI device
66 * @dev: The PCI device that contains the function
68 * Returns an opaque pointer to the function, or an error pointer (check with IS_ERR)
73 * ocxl_function_afu_list() - Get the list of AFUs associated with a PCI function device
[all …]
/linux/kernel/
H A Dsmp.c1 // SPDX-License-Identifier: GPL-2.0-only
38 #define CSD_TYPE(_csd) ((_csd)->node.u_flags & CSD_FLAG_TYPE_MASK)
58 if (!zalloc_cpumask_var_node(&cfd->cpumask, GFP_KERNEL, in smpcfd_prepare_cpu()
60 return -ENOMEM; in smpcfd_prepare_cpu()
61 if (!zalloc_cpumask_var_node(&cfd->cpumask_ipi, GFP_KERNEL, in smpcfd_prepare_cpu()
63 free_cpumask_var(cfd->cpumask); in smpcfd_prepare_cpu()
64 return -ENOMEM; in smpcfd_prepare_cpu()
66 cfd->csd = alloc_percpu(call_single_data_t); in smpcfd_prepare_cpu()
67 if (!cfd->csd) { in smpcfd_prepare_cpu()
68 free_cpumask_var(cfd->cpumask); in smpcfd_prepare_cpu()
[all …]
/linux/Documentation/arch/arm/samsung/
H A Dclksrc-change-registers.awk1 #!/usr/bin/awk -f
3 # Copyright 2010 Ben Dooks <ben-linux@fluff.org>
8 # ./clksrc-change-registers.awk arch/arm/plat-s5pc1xx/include/plat/regs-clock.h < src > dst
10 function extract_value(s)
14 return substr(s, eqat+2, (comat-eqat)-2)
17 function remove_brackets(b)
19 return substr(b, 2, length(b)-2)
22 function splitdefine(l, p)
30 function find_length(f)
48 function find_shift(s)
[all …]
/linux/include/linux/
H A Dmdio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2006-2009 Solarflare Communications Inc.
38 /* Bus address of the MDIO device (0-31) */
69 * up device-specific structures, if any
86 dev_set_drvdata(&mdio->dev, data); in mdiodev_set_drvdata()
91 return dev_get_drvdata(&mdio->dev); in mdiodev_get_drvdata()
105 get_device(&mdiodev->dev); in mdio_device_get()
129 * struct mdio_if_info - Ethernet controller MDIO interface
131 * @mmds: Mask of MMDs expected to be present in the PHY. This must be
132 * non-zero unless @prtad = %MDIO_PRTAD_NONE.
[all …]
H A Dsmp.h1 /* SPDX-License-Identifier: GPL-2.0 */
54 void *info, bool wait, const struct cpumask *mask);
60 * Architecture-dependent code may override them.
67 * Call a function on all processors
75 * on_each_cpu_mask(): Run a function on processors specified by
77 * @mask: The set of cpus to run on (only runs on online subset).
78 * @func: The function to run. This must be fast and non-blocking.
79 * @info: An arbitrary pointer to pass to the function.
80 * @wait: If true, wait (atomically) until function has completed
85 * You must not call this function with disabled interrupts or from a
[all …]
/linux/drivers/acpi/pmic/
H A Dintel_pmic.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * intel_pmic.c - Intel PMIC operation region driver
47 return -ENOENT; in pmic_get_reg_bit()
50 static acpi_status intel_pmic_power_handler(u32 function, in intel_pmic_power_handler() argument
55 struct regmap *regmap = opregion->regmap; in intel_pmic_power_handler()
56 const struct intel_pmic_opregion_data *d = opregion->data; in intel_pmic_power_handler()
62 if (function == ACPI_WRITE && !(*value64 == 0 || *value64 == 1)) in intel_pmic_power_handler()
65 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler()
66 d->power_table_count, &reg, &bit); in intel_pmic_power_handler()
67 if (result == -ENOENT) in intel_pmic_power_handler()
[all …]
/linux/drivers/net/dsa/microchip/
H A Dksz_dcb.c1 // SPDX-License-Identifier: GPL-2.0
54 /* ksz_supported_apptrust[] - Supported apptrust selectors and Priority Order
58 * the index within the array indicates the priority of the selector - lower
65 * non-configurable precedence where certain types of priority information
68 * 1. Tail Tag - Highest priority, overrides ACL, VLAN PCP, and DSCP priorities.
69 * 2. ACL - Overrides VLAN PCP and DSCP priorities.
70 * 3. VLAN PCP - Overrides DSCP priority.
71 * 4. DSCP - Lowest priority, does not override any other priority source.
77 * DCB_APP_SEL_PCP - Priority Code Point selector
78 * IEEE_8021QAZ_APP_SEL_DSCP - Differentiated Services Code Point selector
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dpinctrl-single.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pinctrl-single.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tony Lindgren <tony@atomide.com>
21 - enum:
22 - pinctrl-single
23 - pinconf-single
24 - items:
25 - enum:
[all …]
/linux/drivers/net/phy/
H A Dphy-core.c1 // SPDX-License-Identifier: GPL-2.0+
10 * phy_speed_to_str - Return a string representing the PHY link speed
57 return "Unsupported (update phy-core.c)"; in phy_speed_to_str()
63 * phy_duplex_to_str - Return string describing the duplex
75 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str()
80 * phy_rate_matching_to_str - Return a string describing the rate matching
94 return "open-loop"; in phy_rate_matching_to_str()
96 return "Unsupported (update phy-core.c)"; in phy_rate_matching_to_str()
101 * phy_interface_num_ports - Return the number of links that can be carried by
102 * a given MAC-PHY physical link. Returns 0 if this is
[all …]
H A Dmdio_bus.c1 // SPDX-License-Identifier: GPL-2.0+
40 #include "mdio-boardinfo.h"
45 mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, in mdiobus_register_gpiod()
47 if (IS_ERR(mdiodev->reset_gpio)) in mdiobus_register_gpiod()
48 return PTR_ERR(mdiodev->reset_gpio); in mdiobus_register_gpiod()
50 if (mdiodev->reset_gpio) in mdiobus_register_gpiod()
51 gpiod_set_consumer_name(mdiodev->reset_gpio, "PHY reset"); in mdiobus_register_gpiod()
60 reset = reset_control_get_optional_exclusive(&mdiodev->dev, "phy"); in mdiobus_register_reset()
64 mdiodev->reset_ctrl = reset; in mdiobus_register_reset()
73 if (mdiodev->bus->mdio_map[mdiodev->addr]) in mdiobus_register_device()
[all …]
/linux/arch/s390/include/asm/
H A Dcpacf.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #include <linux/kmsan-checks.h>
41 * Function codes for the KM (CIPHER MESSAGE) instruction
61 * Function codes for the KMC (CIPHER MESSAGE WITH CHAINING)
77 * Function codes for the KMCTR (CIPHER MESSAGE WITH COUNTER)
92 * Function codes for the KIMD (COMPUTE INTERMEDIATE MESSAGE DIGEST)
106 * Function codes for the KLMD (COMPUTE LAST MESSAGE DIGEST)
119 * function codes for the KMAC (COMPUTE MESSAGE AUTHENTICATION CODE)
132 * Function codes for the PCKMO (PERFORM CRYPTOGRAPHIC KEY MANAGEMENT)
153 * Function codes for the PRNO (PERFORM RANDOM NUMBER OPERATION)
[all …]
/linux/include/linux/bcma/
H A Dbcma_driver_pci.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 #define BCMA_CORE_PCI_ARBCTL_PARKID 0x00000006 /* Mask, selects which agent is parked on an idle …
29 #define BCMA_CORE_PCI_IMASK 0x0024 /* Interrupt mask */
36 #define BCMA_CORE_PCI_MBOX_F0_0 0x00000100 /* PCI function 0, INT 0 */
37 #define BCMA_CORE_PCI_MBOX_F0_1 0x00000200 /* PCI function 0, INT 1 */
38 #define BCMA_CORE_PCI_MBOX_F1_0 0x00000400 /* PCI function 1, INT 0 */
39 #define BCMA_CORE_PCI_MBOX_F1_1 0x00000800 /* PCI function 1, INT 1 */
40 #define BCMA_CORE_PCI_MBOX_F2_0 0x00001000 /* PCI function 2, INT 0 */
41 #define BCMA_CORE_PCI_MBOX_F2_1 0x00002000 /* PCI function 2, INT 1 */
42 #define BCMA_CORE_PCI_MBOX_F3_0 0x00004000 /* PCI function 3, INT 0 */
[all …]
/linux/include/linux/iio/
H A Diio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
40 * struct iio_chan_spec_ext_info - Extended channel info attribute
59 * struct iio_enum - Enum channel info attribute
62 * @set: Set callback function, may be NULL.
63 * @get: Get callback function, may be NULL.
90 * IIO_ENUM() - Initialize enum extended channel attribute
107 * IIO_ENUM_AVAILABLE() - Initialize enum available extended channel attribute
124 * struct iio_mount_matrix - iio mounting matrix
141 * IIO_MOUNT_MATRIX() - Initialize mount matrix extended channel attribute
154 * struct iio_event_spec - specification for a channel event
[all …]
/linux/drivers/media/platform/ti/davinci/
H A Dvpif.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
139 /* Macro for Generating mask */
145 ((((0xFFFFFFFF) << (32 - bits)) >> (32 - bits)) << pos)
168 /* Mask various length */
262 /* inline function to enable/disable channel0 */
271 /* inline function to enable/disable channel1 */
280 /* inline function to enable interrupt for channel0 */
302 /* inline function to enable interrupt for channel1 */
324 /* inline function to set buffer addresses in case of Y/C non mux mode */
[all …]
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-common.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 #include <media/media-device.h>
17 #include <media/v4l2-device.h>
18 #include <media/v4l2-fwnode.h>
36 * dcmipp_colorimetry_clamp() - Adjust colorimetry parameters
46 if ((fmt)->colorspace == V4L2_COLORSPACE_DEFAULT || \
47 (fmt)->colorspace > V4L2_COLORSPACE_DCI_P3) { \
48 (fmt)->colorspace = DCMIPP_COLORSPACE_DEFAULT; \
49 (fmt)->ycbcr_enc = DCMIPP_YCBCR_ENC_DEFAULT; \
50 (fmt)->quantization = DCMIPP_QUANTIZATION_DEFAULT; \
[all …]
/linux/include/linux/clk/
H A Dti.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/clk-provider.h>
14 * struct clk_omap_reg - OMAP register declaration
29 * struct dpll_data - DPLL registers and integration data
31 * @mult_mask: mask of the DPLL M bitfield in @mult_div1_reg
32 * @div1_mask: mask of the DPLL N bitfield in @mult_div1_reg
36 * @enable_mask: mask of the DPLL mode bitfield in @control_reg
43 * @max_multiplier: maximum valid non-bypass multiplier value (actual)
45 * @min_divider: minimum valid non-bypass divider value (actual)
46 * @max_divider: maximum valid non-bypass divider value (actual)
[all …]
/linux/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include "pinmux-aspeed.h"
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
35 * Evaluation of descriptor state is non-trivial in that it is not a binary
38 * descriptor (typically this means a different function to the one of interest
49 return -ENODEV; in aspeed_sig_desc_eval()
51 ret = regmap_read(map, desc->reg, &raw); in aspeed_sig_desc_eval()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c1 // SPDX-License-Identifier: MIT
136 * amdgpu_atif_call - call an ATIF method
139 * @function: the ATIF function to execute
140 * @params: ATIF function params
142 * Executes the requested ATIF function (all asics).
146 int function, in amdgpu_atif_call() argument
159 atif_arg_elements[0].integer.value = function; in amdgpu_atif_call()
163 atif_arg_elements[1].buffer.length = params->length; in amdgpu_atif_call()
164 atif_arg_elements[1].buffer.pointer = params->pointer; in amdgpu_atif_call()
171 status = acpi_evaluate_object(atif->handle, NULL, &atif_arg, in amdgpu_atif_call()
[all …]

12345678910>>...44