Home
last modified time | relevance | path

Searched refs:er (Results 1 – 25 of 46) sorted by relevance

12

/linux-5.19.10/arch/x86/events/intel/
Duncore_nhmex.c555 struct intel_uncore_extra_reg *er; in nhmex_mbox_get_shared_reg() local
561 er = &box->shared_regs[idx]; in nhmex_mbox_get_shared_reg()
562 raw_spin_lock_irqsave(&er->lock, flags); in nhmex_mbox_get_shared_reg()
563 if (!atomic_read(&er->ref) || er->config == config) { in nhmex_mbox_get_shared_reg()
564 atomic_inc(&er->ref); in nhmex_mbox_get_shared_reg()
565 er->config = config; in nhmex_mbox_get_shared_reg()
568 raw_spin_unlock_irqrestore(&er->lock, flags); in nhmex_mbox_get_shared_reg()
586 er = &box->shared_regs[EXTRA_REG_NHMEX_M_ZDP_CTL_FVC]; in nhmex_mbox_get_shared_reg()
588 raw_spin_lock_irqsave(&er->lock, flags); in nhmex_mbox_get_shared_reg()
590 if (__BITS_VALUE(atomic_read(&er->ref), idx, 8)) { in nhmex_mbox_get_shared_reg()
[all …]
Duncore_snbep.c930 struct intel_uncore_extra_reg *er = &box->shared_regs[0]; in snbep_cbox_put_constraint() local
938 atomic_sub(1 << (i * 6), &er->ref); in snbep_cbox_put_constraint()
948 struct intel_uncore_extra_reg *er = &box->shared_regs[0]; in __snbep_cbox_get_constraint() local
956 raw_spin_lock_irqsave(&er->lock, flags); in __snbep_cbox_get_constraint()
964 if (!__BITS_VALUE(atomic_read(&er->ref), i, 6) || in __snbep_cbox_get_constraint()
965 !((reg1->config ^ er->config) & mask)) { in __snbep_cbox_get_constraint()
966 atomic_add(1 << (i * 6), &er->ref); in __snbep_cbox_get_constraint()
967 er->config &= ~mask; in __snbep_cbox_get_constraint()
968 er->config |= reg1->config & mask; in __snbep_cbox_get_constraint()
974 raw_spin_unlock_irqrestore(&er->lock, flags); in __snbep_cbox_get_constraint()
[all …]
Duncore.c166 struct intel_uncore_extra_reg *er; in uncore_get_constraint() local
181 er = &box->shared_regs[reg1->idx]; in uncore_get_constraint()
182 raw_spin_lock_irqsave(&er->lock, flags); in uncore_get_constraint()
183 if (!atomic_read(&er->ref) || in uncore_get_constraint()
184 (er->config1 == reg1->config && er->config2 == reg2->config)) { in uncore_get_constraint()
185 atomic_inc(&er->ref); in uncore_get_constraint()
186 er->config1 = reg1->config; in uncore_get_constraint()
187 er->config2 = reg2->config; in uncore_get_constraint()
190 raw_spin_unlock_irqrestore(&er->lock, flags); in uncore_get_constraint()
203 struct intel_uncore_extra_reg *er; in uncore_put_constraint() local
[all …]
/linux-5.19.10/fs/gfs2/
Dxattr.c356 struct gfs2_ea_request *er = ei->ei_er; in ea_list_i() local
388 if (er->er_data_len) { in ea_list_i()
389 if (ei->ei_size + ea_size > er->er_data_len) in ea_list_i()
392 memcpy(er->er_data + ei->ei_size, prefix, l); in ea_list_i()
393 memcpy(er->er_data + ei->ei_size + l, GFS2_EA2NAME(ea), in ea_list_i()
395 er->er_data[ei->ei_size + ea_size - 1] = 0; in ea_list_i()
415 struct gfs2_ea_request er; in gfs2_listxattr() local
419 memset(&er, 0, sizeof(struct gfs2_ea_request)); in gfs2_listxattr()
421 er.er_data = buffer; in gfs2_listxattr()
422 er.er_data_len = size; in gfs2_listxattr()
[all …]
Dxattr.h24 #define GFS2_EAREQ_SIZE_STUFFED(er) \ argument
25 ALIGN(sizeof(struct gfs2_ea_header) + (er)->er_name_len + (er)->er_data_len, 8)
/linux-5.19.10/Documentation/trace/postprocess/
Ddecode_msr.py29 for er in extra_ranges:
30 if er[1] <= num <= er[2]:
31 r = er[0] % (num - er[1],)
/linux-5.19.10/tools/testing/selftests/net/forwarding/
Dtc_police.sh143 local er=$((80 * 1000 * 1000))
145 local nr_pct=$((100 * (nr - er) / er))
147 …check_err $? "Expected rate $(humanize $er), got $(humanize $nr), which is $nr_pct% off. Required …
193 local er=$((80 * 1000 * 1000))
195 local nr_pct=$((100 * (nr - er) / er))
197 …check_err $? "Expected rate $(humanize $er), got $(humanize $nr), which is $nr_pct% off. Required …
263 local er=$((80 * 1000 * 1000))
265 local nr_pct=$((100 * (nr - er) / er))
267 …check_err $? "Expected rate $(humanize $er), got $(humanize $nr), which is $nr_pct% off. Required …
273 local er=$((80 * 1000 * 1000))
[all …]
Dsch_tbf_core.sh226 local er=$((mbit * 1000 * 1000))
228 local nr_pct=$((100 * (nr - er) / er))
230 …check_err $? "Expected rate $(humanize $er), got $(humanize $nr), which is $nr_pct% off. Required …
/linux-5.19.10/arch/powerpc/platforms/4xx/
Duic.c56 u32 er, sr; in uic_unmask_irq() local
63 er = mfdcr(uic->dcrbase + UIC_ER); in uic_unmask_irq()
64 er |= sr; in uic_unmask_irq()
65 mtdcr(uic->dcrbase + UIC_ER, er); in uic_unmask_irq()
74 u32 er; in uic_mask_irq() local
77 er = mfdcr(uic->dcrbase + UIC_ER); in uic_mask_irq()
78 er &= ~(1 << (31 - src)); in uic_mask_irq()
79 mtdcr(uic->dcrbase + UIC_ER, er); in uic_mask_irq()
99 u32 er, sr; in uic_mask_ack_irq() local
103 er = mfdcr(uic->dcrbase + UIC_ER); in uic_mask_ack_irq()
[all …]
/linux-5.19.10/arch/mips/kvm/
Dvz.c880 enum emulation_result er = EMULATE_DONE; in kvm_vz_gpsi_cop0() local
890 er = update_pc(vcpu, cause); in kvm_vz_gpsi_cop0()
891 if (er == EMULATE_FAIL) in kvm_vz_gpsi_cop0()
892 return er; in kvm_vz_gpsi_cop0()
897 er = kvm_mips_emul_wait(vcpu); in kvm_vz_gpsi_cop0()
900 er = EMULATE_FAIL; in kvm_vz_gpsi_cop0()
959 er = EMULATE_FAIL; in kvm_vz_gpsi_cop0()
962 if (er != EMULATE_FAIL) { in kvm_vz_gpsi_cop0()
1054 er = EMULATE_FAIL; in kvm_vz_gpsi_cop0()
1059 er = EMULATE_FAIL; in kvm_vz_gpsi_cop0()
[all …]
Demulate.c975 enum emulation_result er; in kvm_mips_emulate_store() local
987 er = update_pc(vcpu, cause); in kvm_mips_emulate_store()
988 if (er == EMULATE_FAIL) in kvm_mips_emulate_store()
989 return er; in kvm_mips_emulate_store()
1275 enum emulation_result er; in kvm_mips_emulate_load() local
1289 er = update_pc(vcpu, cause); in kvm_mips_emulate_load()
1290 if (er == EMULATE_FAIL) in kvm_mips_emulate_load()
1291 return er; in kvm_mips_emulate_load()
1515 enum emulation_result er = EMULATE_DONE; in kvm_mips_complete_mmio_load() local
1519 er = EMULATE_FAIL; in kvm_mips_complete_mmio_load()
[all …]
/linux-5.19.10/arch/arm/mach-ux500/
Dpm.c90 u32 er; /* Enable register */ in prcmu_gic_pending_irq() local
97 er = readl_relaxed(dist_base + GIC_DIST_ENABLE_SET + i * 4); in prcmu_gic_pending_irq()
99 if (pr & er) in prcmu_gic_pending_irq()
144 u32 er; /* Enable register */ in prcmu_copy_gic_settings() local
149 er = readl_relaxed(dist_base + in prcmu_copy_gic_settings()
151 writel(er, PRCM_ARMITMSK31TO0 + i * 4); in prcmu_copy_gic_settings()
/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvhw/
Ddrf.h140 #define DRF_MR_X(er,ew,ty,p,o,dr,m,v) ({ \ argument
141 ty _t = DRF_RD_X(er, (p), (o), dr); \
145 #define DRF_MR_N(X,er,ew,ty,p,o,d,r ,m,v) DRF_MR_X(er, ew, ty, (p), (o), d##_##r , (m), (v)) argument
146 #define DRF_MR_I(X,er,ew,ty,p,o,d,r,i,m,v) DRF_MR_X(er, ew, ty, (p), (o), d##_##r(i), (m), (v)) argument
174 #define DRF_MV_N(X,er,ew,ty,p,o,d,r, f,v) \ argument
175 NVVAL_GET_X(DRF_MR_X(er, ew, ty, (p), (o), d##_##r , DRF_SMASK(d##_##r##_##f), \
177 #define DRF_MV_I(X,er,ew,ty,p,o,d,r,i,f,v) \ argument
178 NVVAL_GET_X(DRF_MR_X(er, ew, ty, (p), (o), d##_##r(i), DRF_SMASK(d##_##r##_##f), \
184 #define DRF_MD_N(X,er,ew,ty,p,o,d,r, f,v) \ argument
185 NVVAL_GET_X(DRF_MR_X(er, ew, ty, (p), (o), d##_##r , DRF_SMASK(d##_##r##_##f), \
[all …]
/linux-5.19.10/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.c76 u16 er; member
195 srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct; in hdcs_set_exposure()
197 mnct = (hdcs->exp.er + 12 + ct - 1) / ct; in hdcs_set_exposure()
201 srowexp = cp - hdcs->exp.er - 6 - cycles; in hdcs_set_exposure()
203 mnct = (hdcs->exp.er + 5 + ct - 1) / ct; in hdcs_set_exposure()
384 hdcs->exp.er = 100; in hdcs_probe_1x00()
448 hdcs->exp.er = 96; in hdcs_probe_1020()
/linux-5.19.10/Documentation/devicetree/bindings/powerpc/4xx/
Dcpm.txt9 - er-offset : All 4xx SoCs with a CPM controller have
15 er-offset = <1>.
47 er-offset = <0>;
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/
Dqos_lib.sh42 local er=$(rate $t0 $t1 $interval)
54 echo $ir $er
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dtu102.c277 const struct nvkm_enum *er, *ee, *ec, *ea; in tu102_fifo_fault() local
285 er = nvkm_enum_find(fifo->func->fault.reason, info->reason); in tu102_fifo_fault()
332 info->reason, er ? er->name : "", chan ? chan->chid : -1, in tu102_fifo_fault()
Dgf100.c262 const struct nvkm_enum *er, *eu, *ec; in gf100_fifo_fault() local
268 er = nvkm_enum_find(gf100_fifo_fault_reason, info->reason); in gf100_fifo_fault()
302 info->reason, er ? er->name : "", chan ? chan->chid : -1, in gf100_fifo_fault()
/linux-5.19.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c558 struct pcan_usb_pro_rxstatus *er) in pcan_usb_pro_handle_error() argument
560 const u16 raw_status = le16_to_cpu(er->status); in pcan_usb_pro_handle_error()
561 const unsigned int ctrl_idx = (er->channel >> 4) & 0x0f; in pcan_usb_pro_handle_error()
589 u32 rx_err_cnt = (le32_to_cpu(er->err_frm) & 0x00ff0000) >> 16; in pcan_usb_pro_handle_error()
590 u32 tx_err_cnt = (le32_to_cpu(er->err_frm) & 0xff000000) >> 24; in pcan_usb_pro_handle_error()
664 peak_usb_get_ts_time(&usb_if->time_ref, le32_to_cpu(er->ts32), &hwts->hwtstamp); in pcan_usb_pro_handle_error()
Dpcan_usb_fd.c590 struct pucan_error_msg *er = (struct pucan_error_msg *)rx_msg; in pcan_usb_fd_decode_error() local
594 if (pucan_ermsg_get_channel(er) >= ARRAY_SIZE(usb_if->dev)) in pcan_usb_fd_decode_error()
597 dev = usb_if->dev[pucan_ermsg_get_channel(er)]; in pcan_usb_fd_decode_error()
601 pdev->bec.txerr = er->tx_err_cnt; in pcan_usb_fd_decode_error()
602 pdev->bec.rxerr = er->rx_err_cnt; in pcan_usb_fd_decode_error()
/linux-5.19.10/drivers/target/iscsi/
Discsi_target_parameters.c629 struct iscsi_extra_response *er, *er_tmp; in iscsi_release_extra_responses() local
631 list_for_each_entry_safe(er, er_tmp, &param_list->extra_response_list, in iscsi_release_extra_responses()
633 list_del(&er->er_list); in iscsi_release_extra_responses()
634 kfree(er); in iscsi_release_extra_responses()
1429 struct iscsi_extra_response *er; in iscsi_encode_text_output() local
1469 list_for_each_entry(er, &param_list->extra_response_list, er_list) { in iscsi_encode_text_output()
1470 *length += sprintf(output_buf, "%s=%s", er->key, er->value); in iscsi_encode_text_output()
1473 pr_debug("Sending key: %s=%s\n", er->key, er->value); in iscsi_encode_text_output()
/linux-5.19.10/Documentation/devicetree/bindings/clock/
Dapple,nco.yaml10 - Martin Povišer <povik+lin@cutebit.org>
/linux-5.19.10/net/netrom/
Daf_netrom.c1148 int er; in nr_recvmsg() local
1162 skb = skb_recv_datagram(sk, flags, &er); in nr_recvmsg()
1165 return er; in nr_recvmsg()
1176 er = skb_copy_datagram_msg(skb, 0, msg, copied); in nr_recvmsg()
1177 if (er < 0) { in nr_recvmsg()
1180 return er; in nr_recvmsg()
/linux-5.19.10/arch/x86/events/
Dcore.c161 struct extra_reg *er; in x86_pmu_extra_regs() local
168 for (er = extra_regs; er->msr; er++) { in x86_pmu_extra_regs()
169 if (er->event != (config & er->config_mask)) in x86_pmu_extra_regs()
171 if (event->attr.config1 & ~er->valid_mask) in x86_pmu_extra_regs()
174 if (!er->extra_msr_access) in x86_pmu_extra_regs()
177 reg->idx = er->idx; in x86_pmu_extra_regs()
179 reg->reg = er->msr; in x86_pmu_extra_regs()
/linux-5.19.10/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1641 mv643xx_eth_get_ringparam(struct net_device *dev, struct ethtool_ringparam *er, in mv643xx_eth_get_ringparam() argument
1647 er->rx_max_pending = 4096; in mv643xx_eth_get_ringparam()
1648 er->tx_max_pending = 4096; in mv643xx_eth_get_ringparam()
1650 er->rx_pending = mp->rx_ring_size; in mv643xx_eth_get_ringparam()
1651 er->tx_pending = mp->tx_ring_size; in mv643xx_eth_get_ringparam()
1655 mv643xx_eth_set_ringparam(struct net_device *dev, struct ethtool_ringparam *er, in mv643xx_eth_set_ringparam() argument
1661 if (er->rx_mini_pending || er->rx_jumbo_pending) in mv643xx_eth_set_ringparam()
1664 mp->rx_ring_size = min(er->rx_pending, 4096U); in mv643xx_eth_set_ringparam()
1665 mp->tx_ring_size = clamp_t(unsigned int, er->tx_pending, in mv643xx_eth_set_ringparam()
1667 if (mp->tx_ring_size != er->tx_pending) in mv643xx_eth_set_ringparam()
[all …]

12