Home
last modified time | relevance | path

Searched refs:sreg (Results 1 – 25 of 51) sorted by relevance

123

/linux/drivers/regulator/
A Dscmi-regulator.c57 return voltage_ops->config_set(sreg->ph, sreg->id, in scmi_reg_enable()
65 return voltage_ops->config_set(sreg->ph, sreg->id, in scmi_reg_disable()
75 ret = voltage_ops->config_get(sreg->ph, sreg->id, &config); in scmi_reg_is_enabled()
92 ret = voltage_ops->level_get(sreg->ph, sreg->id, &volt_uV); in scmi_reg_get_voltage_sel()
159 sreg->id); in scmi_config_linear_regulator_mappings()
207 vinfo = voltage_ops->info_get(sreg->ph, sreg->id); in scmi_regulator_common_init()
230 sreg->desc.id = sreg->id; in scmi_regulator_common_init()
234 sreg->desc.of_match = sreg->of_node->full_name; in scmi_regulator_common_init()
250 sreg->conf.driver_data = sreg; in scmi_regulator_common_init()
365 if (!sreg) in scmi_regulator_probe()
[all …]
A Danatop-regulator.c162 struct anatop_regulator *sreg; in anatop_regulator_probe() local
175 sreg = devm_kzalloc(dev, sizeof(*sreg), GFP_KERNEL); in anatop_regulator_probe()
176 if (!sreg) in anatop_regulator_probe()
179 rdesc = &sreg->rdesc; in anatop_regulator_probe()
236 &sreg->delay_reg); in anatop_regulator_probe()
253 config.driver_data = sreg; in anatop_regulator_probe()
269 sreg->sel = 0; in anatop_regulator_probe()
270 sreg->bypass = true; in anatop_regulator_probe()
279 sreg->sel = 22; in anatop_regulator_probe()
283 sreg->sel = 0x10; in anatop_regulator_probe()
[all …]
A Dhi6421v600-regulator.c121 struct hi6421_spmi_reg_info *sreg; in hi6421_spmi_regulator_get_mode() local
124 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_get_mode()
127 if (reg_val & sreg->eco_mode_mask) in hi6421_spmi_regulator_get_mode()
136 struct hi6421_spmi_reg_info *sreg; in hi6421_spmi_regulator_set_mode() local
139 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_set_mode()
145 if (!sreg->eco_mode_mask) in hi6421_spmi_regulator_set_mode()
148 val = sreg->eco_mode_mask; in hi6421_spmi_regulator_set_mode()
155 sreg->eco_mode_mask, val); in hi6421_spmi_regulator_set_mode()
163 struct hi6421_spmi_reg_info *sreg; in hi6421_spmi_regulator_get_optimum_mode() local
165 sreg = container_of(rdev->desc, struct hi6421_spmi_reg_info, desc); in hi6421_spmi_regulator_get_optimum_mode()
[all …]
A Dhi655x-regulator.c108 sreg, cmask, vtable) { \ argument
125 .status_reg = HI655X_BUS_ADDR(sreg), \
129 sreg, cmask, minv, nvolt, vstep) { \ argument
147 .status_reg = HI655X_BUS_ADDR(sreg), \
/linux/drivers/tty/serial/
A Dsunsab.c122 if (stat->sreg.isr0 & SAB82532_ISR0_RPF) { in receive_chars()
127 if (stat->sreg.isr0 & SAB82532_ISR0_TCD) { in receive_chars()
133 if (stat->sreg.isr0 & SAB82532_ISR0_TIME) { in receive_chars()
139 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
159 stat->sreg.isr0 &= ~(SAB82532_ISR0_PERR | in receive_chars()
195 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
218 if (stat->sreg.isr0 & SAB82532_ISR0_RFO) in receive_chars()
237 if (stat->sreg.isr1 & SAB82532_ISR1_ALLS) { in transmit_chars()
244 if (!(stat->sreg.isr1 & SAB82532_ISR1_XPR)) in transmit_chars()
289 if (stat->sreg.isr0 & SAB82532_ISR0_CDSC) in check_status()
[all …]
/linux/net/netfilter/
A Dnft_cmp.c21 u8 sreg; member
33 d = memcmp(&regs->data[priv->sreg], &priv->data, priv->len); in nft_cmp_eval()
90 err = nft_parse_register_load(tb[NFTA_CMP_SREG], &priv->sreg, desc.len); in nft_cmp_init()
103 if (nft_dump_register(skb, NFTA_CMP_SREG, priv->sreg)) in nft_cmp_dump()
146 struct nft_offload_reg *reg = &ctx->regs[priv->sreg]; in __nft_cmp_offload()
213 err = nft_parse_register_load(tb[NFTA_CMP_SREG], &priv->sreg, desc.len); in nft_cmp_fast_init()
237 .sreg = priv->sreg, in nft_cmp_fast_offload()
251 if (nft_dump_register(skb, NFTA_CMP_SREG, priv->sreg)) in nft_cmp_fast_dump()
A Dnft_range.c18 u8 sreg; member
29 d1 = memcmp(&regs->data[priv->sreg], &priv->data_from, priv->len); in nft_range_eval()
30 d2 = memcmp(&regs->data[priv->sreg], &priv->data_to, priv->len); in nft_range_eval()
89 err = nft_parse_register_load(tb[NFTA_RANGE_SREG], &priv->sreg, in nft_range_init()
121 if (nft_dump_register(skb, NFTA_RANGE_SREG, priv->sreg)) in nft_range_dump()
A Dnft_bitwise.c19 u8 sreg; member
67 const u32 *src = &regs->data[priv->sreg]; in nft_bitwise_eval()
172 err = nft_parse_register_load(tb[NFTA_BITWISE_SREG], &priv->sreg, in nft_bitwise_init()
238 if (nft_dump_register(skb, NFTA_BITWISE_SREG, priv->sreg)) in nft_bitwise_dump()
273 priv->sreg != priv->dreg || priv->len != reg->len) in nft_bitwise_offload()
318 err = nft_parse_register_load(tb[NFTA_BITWISE_SREG], &priv->sreg, in nft_bitwise_fast_init()
352 if (nft_dump_register(skb, NFTA_BITWISE_SREG, priv->sreg)) in nft_bitwise_fast_dump()
381 if (priv->xor || priv->sreg != priv->dreg || reg->len != sizeof(u32)) in nft_bitwise_fast_offload()
A Dnft_byteorder.c19 u8 sreg; member
31 u32 *src = &regs->data[priv->sreg]; in nft_byteorder_eval()
140 err = nft_parse_register_load(tb[NFTA_BYTEORDER_SREG], &priv->sreg, in nft_byteorder_init()
154 if (nft_dump_register(skb, NFTA_BYTEORDER_SREG, priv->sreg)) in nft_byteorder_dump()
A Dnft_hash.c17 u8 sreg; member
31 const void *data = &regs->data[priv->sreg]; in nft_jhash_eval()
94 err = nft_parse_register_load(tb[NFTA_HASH_SREG], &priv->sreg, len); in nft_jhash_init()
146 if (nft_dump_register(skb, NFTA_HASH_SREG, priv->sreg)) in nft_jhash_dump()
A Dnft_objref.c98 u8 sreg; member
113 found = nft_set_do_lookup(net, set, &regs->data[priv->sreg], &ext); in nft_objref_map_eval()
143 err = nft_parse_register_load(tb[NFTA_OBJREF_SET_SREG], &priv->sreg, in nft_objref_map_init()
162 if (nft_dump_register(skb, NFTA_OBJREF_SET_SREG, priv->sreg) || in nft_objref_map_dump()
A Dnft_lookup.c20 u8 sreg; member
67 found = nft_set_do_lookup(net, set, &regs->data[priv->sreg], &ext) ^ in nft_lookup_eval()
114 err = nft_parse_register_load(tb[NFTA_LOOKUP_SREG], &priv->sreg, in nft_lookup_init()
188 if (nft_dump_register(skb, NFTA_LOOKUP_SREG, priv->sreg)) in nft_lookup_dump()
A Dnft_meta.c432 u32 *sreg = &regs->data[meta->sreg]; in nft_meta_set_eval() local
433 u32 value = *sreg; in nft_meta_set_eval()
444 value8 = nft_reg_load8(sreg); in nft_meta_set_eval()
452 value8 = nft_reg_load8(sreg); in nft_meta_set_eval()
667 err = nft_parse_register_load(tb[NFTA_META_SREG], &priv->sreg, len); in nft_meta_set_init()
700 if (nft_dump_register(skb, NFTA_META_SREG, priv->sreg)) in nft_meta_set_dump()
A Dnft_exthdr.c25 u8 sreg; member
271 &regs->data[priv->sreg]); in nft_exthdr_tcp_set_eval()
289 new.v32 = regs->data[priv->sreg]; in nft_exthdr_tcp_set_eval()
456 return nft_parse_register_load(tb[NFTA_EXTHDR_SREG], &priv->sreg, in nft_exthdr_tcp_set_init()
514 if (nft_dump_register(skb, NFTA_EXTHDR_SREG, priv->sreg)) in nft_exthdr_dump_set()
A Dnft_ct.c31 u8 sreg; member
240 u16 value = nft_reg_load16(&regs->data[priv->sreg]); in nft_ct_set_zone_eval()
285 u32 value = regs->data[priv->sreg]; in nft_ct_set_eval()
314 &regs->data[priv->sreg], in nft_ct_set_eval()
315 &regs->data[priv->sreg], in nft_ct_set_eval()
322 u32 ctmask = regs->data[priv->sreg]; in nft_ct_set_eval()
610 err = nft_parse_register_load(tb[NFTA_CT_SREG], &priv->sreg, len); in nft_ct_set_init()
683 if (nft_dump_register(skb, NFTA_CT_SREG, priv->sreg)) in nft_ct_set_dump()
/linux/arch/powerpc/include/asm/
A Dkvm_asm.h14 #define PPC_STD(sreg, offset, areg) std sreg, (offset)(areg) argument
17 #define PPC_STD(sreg, offset, areg) stw sreg, (offset+4)(areg) argument
/linux/drivers/media/pci/cx88/
A Dcx88.h597 #define cx_sread(sreg) (core->shadow[sreg]) argument
598 #define cx_swrite(sreg, reg, value) \ argument
599 (core->shadow[sreg] = value, \
600 writel(core->shadow[sreg], core->lmmio + ((reg) >> 2)))
601 #define cx_sandor(sreg, reg, mask, value) \ argument
602 (core->shadow[sreg] = (core->shadow[sreg] & ~(mask)) | \
604 writel(core->shadow[sreg], \
/linux/drivers/scsi/
A Desp_scsi.c122 p->sreg = esp->sreg; in esp_log_fill_regs()
194 p->val, p->sreg, p->seqreg, in esp_dump_cmd_log()
982 if (esp->sreg & ESP_STAT_SPAM) { in DEF_SCSI_QCMD()
1005 esp->sreg &= ~ESP_STAT_INTR; in esp_check_spur_intr()
1019 esp->sreg); in esp_check_spur_intr()
1070 esp->sreg = esp_read8(ESP_STATUS); in esp_reconnect_with_tag()
1074 i, esp->ireg, esp->sreg); in esp_reconnect_with_tag()
1114 i, esp->ireg, esp->sreg, in esp_reconnect_with_tag()
1728 esp->sreg); in esp_process_event()
2810 if (esp->sreg & ESP_STAT_INTR) in esp_wait_for_intr()
[all …]
A Dzorro_esp.c263 u8 phase = esp->sreg & ESP_STAT_PMASK; in zorro_esp_send_blz1230_dma_cmd()
314 u8 phase = esp->sreg & ESP_STAT_PMASK; in zorro_esp_send_blz1230II_dma_cmd()
359 u8 phase = esp->sreg & ESP_STAT_PMASK; in zorro_esp_send_blz2060_dma_cmd()
405 u8 phase = esp->sreg & ESP_STAT_PMASK; in zorro_esp_send_cyber_dma_cmd()
456 u8 phase = esp->sreg & ESP_STAT_PMASK; in zorro_esp_send_cyberII_dma_cmd()
498 u8 phase = esp->sreg & ESP_STAT_PMASK; in zorro_esp_send_fastlane_dma_cmd()
/linux/drivers/hwmon/
A Dds1621.c144 u8 conf, new_conf, sreg, resol; in ds1621_init_client() local
163 sreg = DS1621_COM_START; in ds1621_init_client()
172 sreg = DS1721_COM_START; in ds1621_init_client()
177 sreg = DS1621_COM_START; in ds1621_init_client()
182 i2c_smbus_write_byte(client, sreg); in ds1621_init_client()
/linux/drivers/clk/
A Dclk-nomadik.c304 u32 sreg = sclk->group1 ? SRC_PCKSR1 : SRC_PCKSR0; in src_clk_enable() local
308 while (!(readl(src_base + sreg) & sclk->clkbit)) in src_clk_enable()
317 u32 sreg = sclk->group1 ? SRC_PCKSR1 : SRC_PCKSR0; in src_clk_disable() local
321 while (readl(src_base + sreg) & sclk->clkbit) in src_clk_disable()
328 u32 sreg = sclk->group1 ? SRC_PCKSR1 : SRC_PCKSR0; in src_clk_is_enabled() local
329 u32 val = readl(src_base + sreg); in src_clk_is_enabled()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Dverifier.c529 const struct bpf_reg_state *sreg = cur_regs(env) + meta->insn.src_reg; in nfp_bpf_check_atomic() local
542 if (sreg->type != SCALAR_VALUE) { in nfp_bpf_check_atomic()
543 pr_vlog(env, "atomic add not of a scalar: %d\n", sreg->type); in nfp_bpf_check_atomic()
548 sreg->var_off.value > 0xffff || sreg->var_off.mask > 0xffff; in nfp_bpf_check_atomic()
550 (sreg->var_off.value & ~sreg->var_off.mask) <= 0xffff; in nfp_bpf_check_atomic()
559 const struct bpf_reg_state *sreg = in nfp_bpf_check_alu() local
564 meta->umin_src = min(meta->umin_src, sreg->umin_value); in nfp_bpf_check_alu()
565 meta->umax_src = max(meta->umax_src, sreg->umax_value); in nfp_bpf_check_alu()
/linux/include/net/netfilter/
A Dnf_tables_core.h31 u8 sreg; member
38 u8 sreg; member
72 u8 sreg; member
/linux/arch/x86/net/
A Dbpf_jit_comp32.c239 u8 sreg = sstk ? IA32_EAX : src; in emit_ia32_mov_r() local
249 EMIT2(0x89, add_2reg(0xC0, dst, sreg)); in emit_ia32_mov_r()
290 u8 sreg = sstk ? IA32_ECX : src; in emit_ia32_mul_r() local
304 EMIT2(0xF7, add_1reg(0xE0, sreg)); in emit_ia32_mul_r()
529 u8 sreg = sstk ? IA32_EAX : src; in emit_ia32_alu_r() local
544 EMIT2(0x11, add_2reg(0xC0, dreg, sreg)); in emit_ia32_alu_r()
546 EMIT2(0x01, add_2reg(0xC0, dreg, sreg)); in emit_ia32_alu_r()
557 EMIT2(0x09, add_2reg(0xC0, dreg, sreg)); in emit_ia32_alu_r()
561 EMIT2(0x21, add_2reg(0xC0, dreg, sreg)); in emit_ia32_alu_r()
565 EMIT2(0x31, add_2reg(0xC0, dreg, sreg)); in emit_ia32_alu_r()
[all …]
/linux/tools/arch/arm64/include/asm/
A Dsysreg.h1185 .macro mrs_s, rt, sreg
1186 __emit_inst(0xd5200000|(\sreg)|(.L__reg_num_\rt))
1189 .macro msr_s, sreg, rt
1190 __emit_inst(0xd5000000|(\sreg)|(.L__reg_num_\rt))
1208 __emit_inst(0xd5200000|(\\sreg)|(.L__reg_num_\\rt)) \
1214 __emit_inst(0xd5000000|(\\sreg)|(.L__reg_num_\\rt)) \

Completed in 67 milliseconds

123