| /kernel/linux/linux-5.10/net/netfilter/ |
| D | nf_conntrack_h323_types.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 static const struct field_t _TransportAddress_ipAddress[] = { /* SEQUENCE */ 13 static const struct field_t _TransportAddress_ipSourceRoute_route[] = { /* SEQUENCE OF */ 17 static const struct field_t _TransportAddress_ipSourceRoute_routing[] = { /* CHOICE */ 22 static const struct field_t _TransportAddress_ipSourceRoute[] = { /* SEQUENCE */ 25 {FNAME("route") SEQOF, SEMI, 0, 0, SKIP, 0, 31 static const struct field_t _TransportAddress_ipxAddress[] = { /* SEQUENCE */ 37 static const struct field_t _TransportAddress_ip6Address[] = { /* SEQUENCE */ 43 static const struct field_t _H221NonStandard[] = { /* SEQUENCE */ 49 static const struct field_t _NonStandardIdentifier[] = { /* CHOICE */ [all …]
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| D | nf_conntrack_h323_types.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 static const struct field_t _TransportAddress_ipAddress[] = { /* SEQUENCE */ 13 static const struct field_t _TransportAddress_ipSourceRoute_route[] = { /* SEQUENCE OF */ 17 static const struct field_t _TransportAddress_ipSourceRoute_routing[] = { /* CHOICE */ 22 static const struct field_t _TransportAddress_ipSourceRoute[] = { /* SEQUENCE */ 25 {FNAME("route") SEQOF, SEMI, 0, 0, SKIP, 0, 31 static const struct field_t _TransportAddress_ipxAddress[] = { /* SEQUENCE */ 37 static const struct field_t _TransportAddress_ip6Address[] = { /* SEQUENCE */ 43 static const struct field_t _H221NonStandard[] = { /* SEQUENCE */ 49 static const struct field_t _NonStandardIdentifier[] = { /* CHOICE */ [all …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | act8945a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MFD driver for Active-semi ACT8945a PMIC 16 static const struct mfd_cell act8945a_devs[] = { 18 .name = "act8945a-regulator", 21 .name = "act8945a-charger", 22 .of_compatible = "active-semi,act8945a-charger", 26 static const struct regmap_config act8945a_regmap_config = { 31 static int act8945a_i2c_probe(struct i2c_client *i2c) in act8945a_i2c_probe() 39 dev_err(&i2c->dev, "regmap init failed: %d\n", ret); in act8945a_i2c_probe() 45 ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, in act8945a_i2c_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | act8945a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MFD driver for Active-semi ACT8945a PMIC 16 static const struct mfd_cell act8945a_devs[] = { 18 .name = "act8945a-regulator", 21 .name = "act8945a-charger", 22 .of_compatible = "active-semi,act8945a-charger", 26 static const struct regmap_config act8945a_regmap_config = { 31 static int act8945a_i2c_probe(struct i2c_client *i2c, in act8945a_i2c_probe() 40 dev_err(&i2c->dev, "regmap init failed: %d\n", ret); in act8945a_i2c_probe() 46 ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, in act8945a_i2c_probe() [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-pasemi-pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2007 PA Semi, Inc 5 * SMBus host driver for PA Semi PWRficient 18 #include "i2c-pasemi-core.h" 23 static struct pci_driver pasemi_smb_pci_driver; 25 static int pasemi_smb_pci_probe(struct pci_dev *dev, in pasemi_smb_pci_probe() 34 return -ENODEV; in pasemi_smb_pci_probe() 36 smbus = devm_kzalloc(&dev->dev, sizeof(*smbus), GFP_KERNEL); in pasemi_smb_pci_probe() 38 return -ENOMEM; in pasemi_smb_pci_probe() 40 smbus->dev = &dev->dev; in pasemi_smb_pci_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | act8945a_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Power supply driver for the Active-semi ACT8945A PMIC 18 static const char *act8945a_charger_model = "ACT8945A"; 19 static const char *act8945a_charger_manufacturer = "Active-semi"; 86 static int act8945a_get_charger_state(struct regmap *regmap, int *val) in act8945a_get_charger_state() 125 static int act8945a_get_charge_type(struct regmap *regmap, int *val) in act8945a_get_charge_type() 163 static int act8945a_get_battery_health(struct regmap *regmap, int *val) in act8945a_get_battery_health() 209 static int act8945a_get_capacity_level(struct act8945a_charger *charger, in act8945a_get_capacity_level() 214 int lbo_level = gpiod_get_value(charger->lbo_gpio); in act8945a_get_capacity_level() 268 * Riset(K) = 2336 * (1V/Ichg(mA)) - 0.205 [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | act8945a_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Power supply driver for the Active-semi ACT8945A PMIC 18 static const char *act8945a_charger_model = "ACT8945A"; 19 static const char *act8945a_charger_manufacturer = "Active-semi"; 86 static int act8945a_get_charger_state(struct regmap *regmap, int *val) in act8945a_get_charger_state() 125 static int act8945a_get_charge_type(struct regmap *regmap, int *val) in act8945a_get_charge_type() 163 static int act8945a_get_battery_health(struct regmap *regmap, int *val) in act8945a_get_battery_health() 209 static int act8945a_get_capacity_level(struct act8945a_charger *charger, in act8945a_get_capacity_level() 214 int lbo_level = gpiod_get_value(charger->lbo_gpio); in act8945a_get_capacity_level() 268 * Riset(K) = 2336 * (1V/Ichg(mA)) - 0.205 [all …]
|
| /kernel/linux/linux-6.6/drivers/char/hw_random/ |
| D | pasemi-rng.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2007 PA Semi, Inc 33 static int pasemi_rng_data_present(struct hwrng *rng, int wait) in pasemi_rng_data_present() 35 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_present() 48 static int pasemi_rng_data_read(struct hwrng *rng, u32 *data) in pasemi_rng_data_read() 50 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_read() 55 static int pasemi_rng_init(struct hwrng *rng) in pasemi_rng_init() 57 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_init() 67 static void pasemi_rng_cleanup(struct hwrng *rng) in pasemi_rng_cleanup() 69 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_cleanup() [all …]
|
| /kernel/linux/linux-5.10/drivers/char/hw_random/ |
| D | pasemi-rng.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2007 PA Semi, Inc 34 static int pasemi_rng_data_present(struct hwrng *rng, int wait) in pasemi_rng_data_present() 36 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_present() 49 static int pasemi_rng_data_read(struct hwrng *rng, u32 *data) in pasemi_rng_data_read() 51 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_read() 56 static int pasemi_rng_init(struct hwrng *rng) in pasemi_rng_init() 58 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_init() 68 static void pasemi_rng_cleanup(struct hwrng *rng) in pasemi_rng_cleanup() 70 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_cleanup() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-actions/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Actions Semi Leopard 7 * Copyright 2012 Actions Semi Inc. 8 * Author: Actions Semi, Inc. 18 #include <linux/soc/actions/owl-sps.h> 33 static void __iomem *scu_base_addr; 34 static void __iomem *sps_base_addr; 35 static void __iomem *timer_base_addr; 36 static int ncores; 38 static int s500_wakeup_secondary(unsigned int cpu) in s500_wakeup_secondary() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-actions/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Actions Semi Leopard 7 * Copyright 2012 Actions Semi Inc. 8 * Author: Actions Semi, Inc. 18 #include <linux/soc/actions/owl-sps.h> 35 static void __iomem *scu_base_addr; 36 static void __iomem *sps_base_addr; 37 static void __iomem *timer_base_addr; 38 static int ncores; 40 static int s500_wakeup_secondary(unsigned int cpu) in s500_wakeup_secondary() [all …]
|
| /kernel/linux/linux-5.10/drivers/clocksource/ |
| D | timer-owl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Actions Semi Owl timer 5 * Copyright 2012 Actions Semi Inc. 6 * Author: Actions Semi, Inc. 30 static void __iomem *owl_timer_base; 31 static void __iomem *owl_clksrc_base; 32 static void __iomem *owl_clkevt_base; 34 static inline void owl_timer_reset(void __iomem *base) in owl_timer_reset() 41 static inline void owl_timer_set_enabled(void __iomem *base, bool enabled) in owl_timer_set_enabled() 56 static u64 notrace owl_timer_sched_read(void) in owl_timer_sched_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/clocksource/ |
| D | timer-owl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Actions Semi Owl timer 5 * Copyright 2012 Actions Semi Inc. 6 * Author: Actions Semi, Inc. 30 static void __iomem *owl_timer_base; 31 static void __iomem *owl_clksrc_base; 32 static void __iomem *owl_clkevt_base; 34 static inline void owl_timer_reset(void __iomem *base) in owl_timer_reset() 41 static inline void owl_timer_set_enabled(void __iomem *base, bool enabled) in owl_timer_set_enabled() 56 static u64 notrace owl_timer_sched_read(void) in owl_timer_sched_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | act8865-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * act8865-regulator.c - Voltage regulation for active-semi ACT88xx PMUs 5 * http://www.active-semi.com/products/power-management-units/act88xx/ 22 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 124 #define ACT8865_ENA 0x80 /* ON - [7] */ 125 #define ACT8865_DIS 0x40 /* DIS - [6] */ 127 #define ACT8865_VSEL_MASK 0x3F /* VSET - [5:0] */ 130 #define ACT8600_LDO10_ENA 0x40 /* ON - [6] */ 131 #define ACT8600_SUDCDC_VSEL_MASK 0xFF /* SUDCDC VSET - [7:0] */ 150 static const struct regmap_range act8600_reg_ranges[] = { [all …]
|
| D | act8945a-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Voltage regulation driver for active-semi ACT8945A PMIC 16 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 52 #define ACT8945A_ENA 0x80 /* ON - [7] */ 53 #define ACT8945A_VSEL_MASK 0x3F /* VSET - [5:0] */ 76 static const struct linear_range act8945a_voltage_ranges[] = { 82 static int act8945a_set_suspend_state(struct regulator_dev *rdev, bool enable) in act8945a_set_suspend_state() 84 struct regmap *regmap = rdev->regmap; in act8945a_set_suspend_state() 118 return -EINVAL; in act8945a_set_suspend_state() 131 static int act8945a_set_suspend_enable(struct regulator_dev *rdev) in act8945a_set_suspend_enable() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | act8865-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * act8865-regulator.c - Voltage regulation for active-semi ACT88xx PMUs 5 * http://www.active-semi.com/products/power-management-units/act88xx/ 22 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 124 #define ACT8865_ENA 0x80 /* ON - [7] */ 125 #define ACT8865_DIS 0x40 /* DIS - [6] */ 127 #define ACT8865_VSEL_MASK 0x3F /* VSET - [5:0] */ 130 #define ACT8600_LDO10_ENA 0x40 /* ON - [6] */ 131 #define ACT8600_SUDCDC_VSEL_MASK 0xFF /* SUDCDC VSET - [7:0] */ 150 static const struct regmap_range act8600_reg_ranges[] = { [all …]
|
| D | act8945a-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Voltage regulation driver for active-semi ACT8945A PMIC 16 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 52 #define ACT8945A_ENA 0x80 /* ON - [7] */ 53 #define ACT8945A_VSEL_MASK 0x3F /* VSET - [5:0] */ 76 static const struct linear_range act8945a_voltage_ranges[] = { 82 static int act8945a_set_suspend_state(struct regulator_dev *rdev, bool enable) in act8945a_set_suspend_state() 84 struct regmap *regmap = rdev->regmap; in act8945a_set_suspend_state() 118 return -EINVAL; in act8945a_set_suspend_state() 131 static int act8945a_set_suspend_enable(struct regulator_dev *rdev) in act8945a_set_suspend_enable() [all …]
|
| /kernel/linux/linux-6.6/lib/math/ |
| D | rational-test.c | 1 // SPDX-License-Identifier: GPL-2.0 15 static const struct rational_test_param test_parameters[] = { 16 { 1230, 10, 100, 20, 100, 1, "Exceeds bounds, semi-convergent term > 1/2 last term" }, 17 { 34567,100, 120, 20, 120, 1, "Exceeds bounds, semi-convergent term < 1/2 last term" }, 19 { 1, 19, 100, 10, 1, 10, "Closest to smallest non-zero" }, 26 static void get_desc(const struct rational_test_param *param, char *desc) in get_desc() 28 strscpy(desc, param->name, KUNIT_PARAM_DESC_SIZE); in get_desc() 34 static void rational_test(struct kunit *test) in rational_test() 36 const struct rational_test_param *param = (const struct rational_test_param *)test->param_value; in rational_test() 39 rational_best_approximation(param->num, param->den, param->max_num, param->max_den, &n, &d); in rational_test() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/actions/ |
| D | owl-common.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 // Copyright (c) 2014 Actions Semi Inc. 6 // Author: David Liu <liuwei@actions-semi.com> 14 #include <linux/clk-provider.h> 34 static inline struct owl_clk_common *
|
| D | owl-mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 // Copyright (c) 2014 Actions Semi Inc. 6 // Author: David Liu <liuwei@actions-semi.com> 11 #include <linux/clk-provider.h> 14 #include "owl-mux.h" 22 regmap_read(common->regmap, mux_hw->reg, ®); in owl_mux_helper_get_parent() 23 parent = reg >> mux_hw->shift; in owl_mux_helper_get_parent() 24 parent &= BIT(mux_hw->width) - 1; in owl_mux_helper_get_parent() 29 static u8 owl_mux_get_parent(struct clk_hw *hw) in owl_mux_get_parent() 33 return owl_mux_helper_get_parent(&mux->common, &mux->mux_hw); in owl_mux_get_parent() [all …]
|
| D | owl-gate.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 // Copyright (c) 2014 Actions Semi Inc. 6 // Author: David Liu <liuwei@actions-semi.com> 11 #include <linux/clk-provider.h> 14 #include "owl-gate.h" 19 int set = gate_hw->gate_flags & CLK_GATE_SET_TO_DISABLE ? 1 : 0; in owl_gate_set() 24 regmap_read(common->regmap, gate_hw->reg, ®); in owl_gate_set() 27 reg |= BIT(gate_hw->bit_idx); in owl_gate_set() 29 reg &= ~BIT(gate_hw->bit_idx); in owl_gate_set() 31 regmap_write(common->regmap, gate_hw->reg, reg); in owl_gate_set() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/actions/ |
| D | owl-common.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 // Copyright (c) 2014 Actions Semi Inc. 6 // Author: David Liu <liuwei@actions-semi.com> 14 #include <linux/clk-provider.h> 34 static inline struct owl_clk_common *
|
| D | owl-mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 // Copyright (c) 2014 Actions Semi Inc. 6 // Author: David Liu <liuwei@actions-semi.com> 11 #include <linux/clk-provider.h> 14 #include "owl-mux.h" 22 regmap_read(common->regmap, mux_hw->reg, ®); in owl_mux_helper_get_parent() 23 parent = reg >> mux_hw->shift; in owl_mux_helper_get_parent() 24 parent &= BIT(mux_hw->width) - 1; in owl_mux_helper_get_parent() 29 static u8 owl_mux_get_parent(struct clk_hw *hw) in owl_mux_get_parent() 33 return owl_mux_helper_get_parent(&mux->common, &mux->mux_hw); in owl_mux_get_parent() [all …]
|
| D | owl-gate.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 // Copyright (c) 2014 Actions Semi Inc. 6 // Author: David Liu <liuwei@actions-semi.com> 11 #include <linux/clk-provider.h> 14 #include "owl-gate.h" 19 int set = gate_hw->gate_flags & CLK_GATE_SET_TO_DISABLE ? 1 : 0; in owl_gate_set() 24 regmap_read(common->regmap, gate_hw->reg, ®); in owl_gate_set() 27 reg |= BIT(gate_hw->bit_idx); in owl_gate_set() 29 reg &= ~BIT(gate_hw->bit_idx); in owl_gate_set() 31 regmap_write(common->regmap, gate_hw->reg, reg); in owl_gate_set() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | pasemi_nand.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2007 PA Semi, Inc 30 static unsigned int lpcctl; 31 static struct mtd_info *pasemi_nand_mtd; 32 static struct nand_controller controller; 33 static const char driver_name[] = "pasemi-nand"; 35 static void pasemi_read_buf(struct nand_chip *chip, u_char *buf, int len) in pasemi_read_buf() 38 memcpy_fromio(buf, chip->legacy.IO_ADDR_R, 0x800); in pasemi_read_buf() 40 len -= 0x800; in pasemi_read_buf() 42 memcpy_fromio(buf, chip->legacy.IO_ADDR_R, len); in pasemi_read_buf() [all …]
|