| /kernel/linux/linux-6.6/arch/arm/lib/ |
| D | backtrace-clang.S | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/lib/ |
| D | backtrace-clang.S | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 #define CSD_TYPE(_csd) ((_csd)->flags & CSD_FLAG_TYPE_MASK) 49 if (!zalloc_cpumask_var_node(&cfd->cpumask, GFP_KERNEL, in smpcfd_prepare_cpu() 51 return -ENOMEM; in smpcfd_prepare_cpu() 52 if (!zalloc_cpumask_var_node(&cfd->cpumask_ipi, GFP_KERNEL, in smpcfd_prepare_cpu() 54 free_cpumask_var(cfd->cpumask); in smpcfd_prepare_cpu() 55 return -ENOMEM; in smpcfd_prepare_cpu() 57 cfd->csd = alloc_percpu(call_single_data_t); in smpcfd_prepare_cpu() 58 if (!cfd->csd) { in smpcfd_prepare_cpu() 59 free_cpumask_var(cfd->cpumask); in smpcfd_prepare_cpu() [all …]
|
| /kernel/linux/linux-6.6/arch/s390/include/asm/ |
| D | cpacf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 40 * Function codes for the KM (CIPHER MESSAGE) instruction 58 * Function codes for the KMC (CIPHER MESSAGE WITH CHAINING) 74 * Function codes for the KMCTR (CIPHER MESSAGE WITH COUNTER) 89 * Function codes for the KIMD (COMPUTE INTERMEDIATE MESSAGE DIGEST) 103 * Function codes for the KLMD (COMPUTE LAST MESSAGE DIGEST) 116 * function codes for the KMAC (COMPUTE MESSAGE AUTHENTICATION CODE) 125 * Function codes for the PCKMO (PERFORM CRYPTOGRAPHIC KEY MANAGEMENT) 142 * Function codes for the PRNO (PERFORM RANDOM NUMBER OPERATION) 152 * Function codes for the KMA (CIPHER MESSAGE WITH AUTHENTICATION) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | pinctrl-single.txt | 1 One-register-per-pin type device tree based pinctrl driver 4 - compatible : "pinctrl-single" or "pinconf-single". 5 "pinctrl-single" means that pinconf isn't supported. 6 "pinconf-single" means that generic pinconf is supported. 8 - reg : offset and length of the register set for the mux registers 10 - #pinctrl-cells : number of cells in addition to the index, set to 1 11 for pinctrl-single,pins and 2 for pinctrl-single,bits 13 - pinctrl-single,register-width : pinmux register access width in bits 15 - pinctrl-single,function-mask : mask of allowed pinmux function bits 19 - pinctrl-single,function-off : function off mode for disabled state if [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | radeon_acpi.c | 53 u32 notification_mask; /* supported notifications mask */ 59 u32 valid_mask; /* valid flags mask */ 69 u8 thermal_state; /* thermal state: state id (0: exit state, non-0: state) */ 73 u8 backlight_level; /* panel backlight level (0-255) */ 91 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ 92 u16 valid_flags_mask; /* valid flags mask */ 106 * radeon_atif_call - call an ATIF method 109 * @function: the ATIF function to execute 110 * @params: ATIF function params 112 * Executes the requested ATIF function (all asics). [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | radeon_acpi.c | 52 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 …]
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
| D | pmac_pfunc.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
| D | pmac_pfunc.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/ntb/hw/idt/ |
| D | ntb_hw_idt.h | 7 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/ntb/hw/idt/ |
| D | ntb_hw_idt.h | 7 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_acpi.c | 76 * amdgpu_atif_call - call an ATIF method 79 * @function: the ATIF function to execute 80 * @params: ATIF function params 82 * Executes the requested ATIF function (all asics). 86 int function, in amdgpu_atif_call() argument 98 atif_arg_elements[0].integer.value = function; in amdgpu_atif_call() 102 atif_arg_elements[1].buffer.length = params->length; in amdgpu_atif_call() 103 atif_arg_elements[1].buffer.pointer = params->pointer; in amdgpu_atif_call() 110 status = acpi_evaluate_object(atif->handle, NULL, &atif_arg, in amdgpu_atif_call() 125 * amdgpu_atif_parse_notification - parse supported notifications [all …]
|
| /kernel/linux/linux-5.10/drivers/net/phy/ |
| D | phy-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * phy_speed_to_str - Return a string representing the PHY link speed 55 return "Unsupported (update phy-core.c)"; in phy_speed_to_str() 61 * phy_duplex_to_str - Return string describing the duplex 73 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str() 79 * - iow, descending speed. */ 182 * phy_lookup_setting - lookup a PHY setting 185 * @mask: allowed link modes 199 phy_lookup_setting(int speed, int duplex, const unsigned long *mask, bool exact) in phy_lookup_setting() argument 205 if (p->bit < __ETHTOOL_LINK_MODE_MASK_NBITS && in phy_lookup_setting() [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/ |
| D | pinctrl-single.c | 25 #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 …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/ |
| D | pinctrl-single.c | 29 #include <linux/pinctrl/pinconf-generic.h> 31 #include <linux/platform_data/pinctrl-single.h> 38 #define DRIVER_NAME "pinctrl-single" 42 * struct pcs_func_vals - mux function register offset and value pair 45 * @mask: mask 50 unsigned mask; member 54 * struct pcs_conf_vals - pinconf parameter, pinconf register offset 55 * and value, enable, disable, mask 60 * @mask: mask bits in the register value 67 unsigned mask; member [all …]
|
| /kernel/linux/linux-6.6/include/misc/ |
| D | ocxl.h | 1 // 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 …]
|
| /kernel/linux/linux-5.10/include/misc/ |
| D | ocxl.h | 1 // 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 …]
|
| /kernel/linux/linux-6.6/kernel/ |
| D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 #define CSD_TYPE(_csd) ((_csd)->node.u_flags & CSD_FLAG_TYPE_MASK) 57 if (!zalloc_cpumask_var_node(&cfd->cpumask, GFP_KERNEL, in smpcfd_prepare_cpu() 59 return -ENOMEM; in smpcfd_prepare_cpu() 60 if (!zalloc_cpumask_var_node(&cfd->cpumask_ipi, GFP_KERNEL, in smpcfd_prepare_cpu() 62 free_cpumask_var(cfd->cpumask); in smpcfd_prepare_cpu() 63 return -ENOMEM; in smpcfd_prepare_cpu() 65 cfd->csd = alloc_percpu(call_single_data_t); in smpcfd_prepare_cpu() 66 if (!cfd->csd) { in smpcfd_prepare_cpu() 67 free_cpumask_var(cfd->cpumask); in smpcfd_prepare_cpu() [all …]
|
| /kernel/linux/linux-5.10/Documentation/arm/samsung/ |
| D | clksrc-change-registers.awk | 1 #!/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 …]
|
| /kernel/linux/linux-6.6/Documentation/arch/arm/samsung/ |
| D | clksrc-change-registers.awk | 1 #!/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 …]
|
| /kernel/linux/linux-6.6/drivers/net/phy/ |
| D | phy-core.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/comedi/drivers/ |
| D | comedi_8255.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 19 * This module is not used directly by end-users. Rather, it is used by 26 * Direction configuration is done in blocks, with channels 0-7, 8-15, 27 * 16-19, and 20-23 making up the 4 blocks. The only 8255 mode 45 outb(data, dev->iobase + regbase + port); in subdev_8255_io() 48 return inb(dev->iobase + regbase + port); in subdev_8255_io() 55 writeb(data, dev->mmio + regbase + port); in subdev_8255_mmio() 58 return readb(dev->mmio + regbase + port); in subdev_8255_mmio() 66 struct subdev_8255_private *spriv = s->private; in subdev_8255_insn() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| D | comedi_8255.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 19 * This module is not used directly by end-users. Rather, it is used by 26 * Direction configuration is done in blocks, with channels 0-7, 8-15, 27 * 16-19, and 20-23 making up the 4 blocks. The only 8255 mode 46 outb(data, dev->iobase + regbase + port); in subdev_8255_io() 49 return inb(dev->iobase + regbase + port); in subdev_8255_io() 56 writeb(data, dev->mmio + regbase + port); in subdev_8255_mmio() 59 return readb(dev->mmio + regbase + port); in subdev_8255_mmio() 67 struct subdev_8255_private *spriv = s->private; in subdev_8255_insn() [all …]
|
| /kernel/linux/linux-6.6/drivers/acpi/pmic/ |
| D | intel_pmic.c | 1 // 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, ®, &bit); in intel_pmic_power_handler() 67 if (result == -ENOENT) in intel_pmic_power_handler() [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/pmic/ |
| D | intel_pmic.c | 1 // 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 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, ®, &bit); in intel_pmic_power_handler() 67 if (result == -ENOENT) in intel_pmic_power_handler() [all …]
|