Searched refs:val (Results 176 - 200 of 10961) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88x201x.c112 u32 val; local
116 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_RXSTAT, &val);
117 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_TXSTAT, &val);
118 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_STAT, &val);
123 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_STAT1, &val);
127 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_STAT1, &val);
129 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_STAT, &val);
133 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_RXSTAT, &val);
134 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_TXSTAT, &val);
165 u32 val local
205 u32 val; local
229 u32 val; local
[all...]
/linux-master/drivers/phy/qualcomm/
H A Dphy-qcom-pcie2.c72 u32 val; local
75 val = readl(qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL2);
76 val &= ~BIT(1);
77 writel(val, qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL2);
82 val = readl(qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL2);
83 val &= ~BIT(0);
84 writel(val, qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL2);
87 val = readl(qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL3);
88 val |= BIT(0);
89 writel(val, qph
175 u32 val; local
[all...]
/linux-master/drivers/misc/mei/
H A Dmei-trace.h20 TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val),
21 TP_ARGS(dev, reg, offs, val),
26 __field(u32, val)
32 __entry->val = val;
35 __get_str(dev), __entry->reg, __entry->offs, __entry->val)
39 TP_PROTO(const struct device *dev, const char *reg, u32 offs, u32 val),
40 TP_ARGS(dev, reg, offs, val),
45 __field(u32, val)
51 __entry->val
[all...]
/linux-master/drivers/clk/mmp/
H A Dpwr-island.c30 u32 val; local
35 val = readl(pm_domain->reg);
38 val |= pm_domain->power_on;
39 writel(val, pm_domain->reg);
42 val |= 0x100;
43 writel(val, pm_domain->reg);
47 u32 after_power_on = val;
49 val &= ~pm_domain->reset;
50 writel(val, pm_domain->reg);
52 val |
71 u32 val; local
[all...]
/linux-master/samples/bpf/
H A Dibumad_kern.c80 u64 zero = 0, *val; local
85 val = bpf_map_lookup_elem(&read_count, &class);
86 if (!val) {
88 val = bpf_map_lookup_elem(&read_count, &class);
89 if (!val)
93 (*val) += 1;
100 u64 zero = 0, *val; local
105 val = bpf_map_lookup_elem(&read_count, &class);
106 if (!val) {
108 val
120 u64 zero = 0, *val; local
[all...]
/linux-master/arch/powerpc/boot/
H A Dio.h21 static inline void out_8(volatile unsigned char *addr, int val) argument
24 : "=m" (*addr) : "r" (val));
46 static inline void out_le16(volatile u16 *addr, int val) argument
49 : "r" (val), "r" (addr));
52 static inline void out_be16(volatile u16 *addr, int val) argument
55 : "=m" (*addr) : "r" (val));
76 static inline void out_le32(volatile unsigned *addr, int val) argument
79 : "r" (val), "r" (addr));
82 static inline void out_be32(volatile unsigned *addr, int val) argument
85 : "=m" (*addr) : "r" (val));
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_doorbell.h54 static inline void mthca_write64_raw(__be64 val, void __iomem *dest) argument
56 __raw_writeq((__force u64) val, dest);
65 static inline void mthca_write_db_rec(__be32 val[2], __be32 *db) argument
67 *(u64 *) db = *(u64 *) val;
82 static inline void mthca_write64_raw(__be64 val, void __iomem *dest) argument
84 __raw_writel(((__force u32 *) &val)[0], dest);
85 __raw_writel(((__force u32 *) &val)[1], dest + 4);
102 static inline void mthca_write_db_rec(__be32 val[2], __be32 *db) argument
104 db[0] = val[0];
106 db[1] = val[
[all...]
/linux-master/include/trace/events/
H A Dhwmon.h12 TP_PROTO(int index, const char *attr_name, long val),
14 TP_ARGS(index, attr_name, val),
19 __field(long, val)
25 __entry->val = val;
28 TP_printk("index=%d, attr_name=%s, val=%ld",
29 __entry->index, __get_str(attr_name), __entry->val)
34 TP_PROTO(int index, const char *attr_name, long val),
36 TP_ARGS(index, attr_name, val)
41 TP_PROTO(int index, const char *attr_name, long val),
[all...]
/linux-master/arch/sh/include/asm/
H A Dwatchdog.h73 * @val: Value to write
75 * Writes the given value @val to the lower byte of the timer counter.
78 static inline void sh_wdt_write_cnt(__u32 val) argument
80 __raw_writel((WTCNT_HIGH << 24) | (__u32)val, WTCNT);
85 * @val: Value to write
87 * Writes the given value @val to the lower byte of the timer counter.
90 static inline void sh_wdt_write_bst(__u32 val) argument
92 __raw_writel((WTBST_HIGH << 24) | (__u32)val, WTBST);
106 * @val: Value to write
108 * Writes the given value @val t
111 sh_wdt_write_csr(__u32 val) argument
132 sh_wdt_write_cnt(__u8 val) argument
154 sh_wdt_write_csr(__u8 val) argument
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dlinked_maps2.c42 int key = 2, val = 2; local
47 bpf_map_update_elem(&map2, &key, &val, 0);
48 bpf_map_update_elem(&map_weak, &key, &val, 0);
57 int key = 1, *val; local
65 val = bpf_map_lookup_elem(&map2, &key);
66 if (val)
67 output_second2 = *val;
69 val = bpf_map_lookup_elem(&map_weak, &key);
70 if (val)
71 output_weak2 = *val;
[all...]
H A Dlinked_maps1.c48 int key = 1, val = 1; local
53 bpf_map_update_elem(&map2, &key, &val, 0);
54 bpf_map_update_elem(&map_weak, &key, &val, 0);
63 int key = 2, *val; local
71 val = bpf_map_lookup_elem(&map2, &key);
72 if (val)
73 output_second1 = *val;
75 val = bpf_map_lookup_elem(&map_weak, &key);
76 if (val)
77 output_weak1 = *val;
[all...]
H A Dtimer_mim.c39 static int timer_cb1(void *map, int *key, struct hmap_elem *val);
41 static int timer_cb2(void *map, int *key, struct hmap_elem *val) argument
44 bpf_timer_set_callback(&val->timer, timer_cb1);
45 if (bpf_timer_start(&val->timer, 1000, 0))
52 static int timer_cb1(void *map, int *key, struct hmap_elem *val) argument
55 bpf_timer_set_callback(&val->timer, timer_cb2);
56 if (bpf_timer_start(&val->timer, 1000, 0))
69 struct hmap_elem *val; local
78 val = bpf_map_lookup_elem(inner_map, &hash_key);
79 if (!val)
[all...]
H A Dtest_map_ops.c32 static u64 callback(u64 map, u64 key, u64 val, u64 ctx, u64 flags) argument
41 const int val = 1; local
46 err = bpf_map_update_elem(&hash_map, &key, &val, BPF_NOEXIST);
67 const int val = 1; local
72 err = bpf_map_push_elem(&stack_map, &val, 0);
80 int val; local
85 err = bpf_map_pop_elem(&stack_map, &val);
93 int val; local
98 err = bpf_map_peek_elem(&stack_map, &val);
107 const int val local
125 const int val = 1; local
[all...]
/linux-master/drivers/usb/isp1760/
H A Disp1760-core.h61 unsigned int val; local
63 regmap_field_read(fields[field], &val);
65 return val;
69 u32 val)
71 regmap_field_write(fields[field], val);
86 unsigned int val; local
88 regmap_read(regs, reg, &val);
90 return val;
93 static inline void isp1760_reg_write(struct regmap *regs, u32 reg, u32 val) argument
95 regmap_write(regs, reg, val);
68 isp1760_field_write(struct regmap_field **fields, u32 field, u32 val) argument
[all...]
/linux-master/drivers/clk/qcom/
H A Dclk-regmap-mux.c23 unsigned int val; local
25 regmap_read(clkr->regmap, mux->reg, &val);
27 val >>= mux->shift;
28 val &= mask;
31 return qcom_find_cfg_index(hw, mux->parent_map, val);
33 return val;
41 unsigned int val; local
46 val = index;
47 val <<= mux->shift;
49 return regmap_update_bits(clkr->regmap, mux->reg, mask, val);
[all...]
/linux-master/arch/x86/mm/
H A Dpgprot.c37 unsigned long val = pgprot_val(protection_map[vm_flags & local
49 val |= _PAGE_PKEY_BIT0;
51 val |= _PAGE_PKEY_BIT1;
53 val |= _PAGE_PKEY_BIT2;
55 val |= _PAGE_PKEY_BIT3;
58 val = __sme_set(val);
59 if (val & _PAGE_PRESENT)
60 val &= __supported_pte_mask;
61 return __pgprot(val);
[all...]
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dphy.h18 int addr, int reg, u16 *val);
20 int addr, int reg, u16 val);
22 int addr, int reg, u16 *val);
24 int addr, int reg, u16 val);
28 int reg, u16 *val);
30 int reg, u16 val);
32 int reg, u16 *val);
34 int reg, u16 val);
36 u8 page, int reg, u16 *val);
38 u8 page, int reg, u16 val);
[all...]
/linux-master/drivers/usb/typec/ucsi/
H A Dpsy.c34 union power_supply_propval *val)
49 val->intval = scope;
54 union power_supply_propval *val)
56 val->intval = UCSI_PSY_OFFLINE;
59 val->intval = UCSI_PSY_FIXED_ONLINE;
64 union power_supply_propval *val)
71 val->intval = pdo_fixed_voltage(pdo) * 1000;
77 val->intval = UCSI_TYPEC_VSAFE5V * 1000;
80 val->intval = 0;
87 union power_supply_propval *val)
33 ucsi_psy_get_scope(struct ucsi_connector *con, union power_supply_propval *val) argument
53 ucsi_psy_get_online(struct ucsi_connector *con, union power_supply_propval *val) argument
63 ucsi_psy_get_voltage_min(struct ucsi_connector *con, union power_supply_propval *val) argument
86 ucsi_psy_get_voltage_max(struct ucsi_connector *con, union power_supply_propval *val) argument
113 ucsi_psy_get_voltage_now(struct ucsi_connector *con, union power_supply_propval *val) argument
142 ucsi_psy_get_current_max(struct ucsi_connector *con, union power_supply_propval *val) argument
172 ucsi_psy_get_current_now(struct ucsi_connector *con, union power_supply_propval *val) argument
184 ucsi_psy_get_usb_type(struct ucsi_connector *con, union power_supply_propval *val) argument
197 ucsi_psy_get_prop(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_config.c19 unsigned long bank, val; local
30 val = i;
48 key, &val, ADF_DEC);
53 val = 128;
55 key, &val, ADF_DEC);
59 val = 512;
62 key, &val, ADF_DEC);
66 val = 0;
69 key, &val, ADF_DEC);
73 val
125 unsigned long val; local
192 unsigned long val; local
[all...]
/linux-master/drivers/iommu/intel/
H A Dpasid.h42 u64 val; member in struct:pasid_dir_entry
46 u64 val[8]; member in struct:pasid_entry
64 return READ_ONCE(pde->val) & PASID_PTE_PRESENT;
74 return phys_to_virt(READ_ONCE(pde->val) & PDE_PFN_MASK);
80 return READ_ONCE(pte->val[0]) & PASID_PTE_PRESENT;
86 return (u16)((READ_ONCE(pte->val[0]) >> 6) & 0x7);
91 WRITE_ONCE(pe->val[0], 0);
92 WRITE_ONCE(pe->val[1], 0);
93 WRITE_ONCE(pe->val[2], 0);
94 WRITE_ONCE(pe->val[
[all...]
/linux-master/arch/mips/bcm63xx/
H A Ddev-flash.c60 u32 val; local
64 val = bcm_misc_readl(MISC_STRAPBUS_6328_REG);
65 if (val & STRAPBUS_6328_BOOT_SEL_SERIAL)
76 val = bcm_gpio_readl(GPIO_STRAPBUS_REG);
77 if (val & STRAPBUS_6358_BOOT_SEL_PARALLEL)
82 val = bcm_misc_readl(MISC_STRAPBUS_6362_REG);
83 if (val & STRAPBUS_6362_BOOT_SEL_SERIAL)
88 val = bcm_gpio_readl(GPIO_STRAPBUS_REG);
89 switch (val & STRAPBUS_6368_BOOT_SEL_MASK) {
106 u32 val; local
[all...]
/linux-master/arch/arm64/kvm/
H A Dvgic-sys-reg-v3.c14 u64 val)
26 host_pri_bits = FIELD_GET(ICC_CTLR_EL1_PRI_BITS_MASK, val) + 1;
32 host_id_bits = FIELD_GET(ICC_CTLR_EL1_ID_BITS_MASK, val);
39 seis = FIELD_GET(ICC_CTLR_EL1_SEIS_MASK, val);
44 a3v = FIELD_GET(ICC_CTLR_EL1_A3V_MASK, val);
52 vmcr.cbpr = FIELD_GET(ICC_CTLR_EL1_CBPR_MASK, val);
53 vmcr.eoim = FIELD_GET(ICC_CTLR_EL1_EOImode_MASK, val);
64 u64 val; local
67 val = 0;
68 val |
13 set_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
87 set_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
99 get_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 *val) argument
110 set_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
122 get_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 *val) argument
133 set_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
147 get_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 *val) argument
162 set_gic_grpen0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
174 get_gic_grpen0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 *val) argument
185 set_gic_grpen1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
197 get_gic_grpen1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 *val) argument
208 set_apr_reg(struct kvm_vcpu *vcpu, u64 val, u8 apr, u8 idx) argument
228 set_gic_ap0r(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
241 get_gic_ap0r(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 *val) argument
254 set_gic_ap1r(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
267 get_gic_ap1r(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 *val) argument
280 set_gic_sre(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 val) argument
290 get_gic_sre(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, u64 *val) argument
[all...]
/linux-master/scripts/dtc/libfdt/
H A Dfdt_addresses.c17 uint32_t val; local
27 val = fdt32_to_cpu(*c);
28 if (val > FDT_MAX_NCELLS)
31 return (int)val;
36 int val; local
38 val = fdt_cells(fdt, nodeoffset, "#address-cells");
39 if (val == 0)
41 if (val == -FDT_ERR_NOTFOUND)
43 return val;
48 int val; local
[all...]
/linux-master/arch/mips/include/asm/
H A Dmipsmtregs.h20 #define write_c0_mvpcontrol(val) __write_32bit_c0_register($0, 1, val)
26 #define write_c0_vpecontrol(val) __write_32bit_c0_register($1, 1, val)
29 #define write_c0_vpeconf0(val) __write_32bit_c0_register($1, 2, val)
32 #define write_c0_vpeconf1(val) __write_32bit_c0_register($1, 3, val)
35 #define write_c0_tcstatus(val) __write_32bit_c0_register($2, 1, val)
[all...]
/linux-master/drivers/phy/marvell/
H A Dphy-mvebu-cp110-comphy.c340 u32 val; local
342 regmap_read(priv->regmap, MVEBU_COMPHY_CONF1(lane->id), &val);
343 val &= ~MVEBU_COMPHY_CONF1_USB_PCIE;
344 val |= MVEBU_COMPHY_CONF1_PWRUP;
345 regmap_write(priv->regmap, MVEBU_COMPHY_CONF1(lane->id), val);
348 val = readl(priv->base + MVEBU_COMPHY_SERDES_CFG0(lane->id));
349 val &= ~(MVEBU_COMPHY_SERDES_CFG0_PU_PLL |
359 val |= MVEBU_COMPHY_SERDES_CFG0_GEN_RX(0xe) |
363 val |= MVEBU_COMPHY_SERDES_CFG0_GEN_RX(0xb) |
368 val |
456 u32 val; local
498 u32 val; local
531 u32 val; local
584 u32 val; local
727 u32 val; local
878 u32 val; local
1039 u32 val; local
[all...]

Completed in 225 milliseconds

1234567891011>>