Home
last modified time | relevance | path

Searched full:pbs (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/soc/qcom/
H A Dqcom-pbs.c15 #include <linux/soc/qcom/qcom-pbs.h>
35 static int qcom_pbs_wait_for_ack(struct pbs_dev *pbs, u8 bit_pos) in qcom_pbs_wait_for_ack() argument
40 ret = regmap_read_poll_timeout(pbs->regmap, pbs->base + PBS_CLIENT_SCRATCH2, in qcom_pbs_wait_for_ack()
44 dev_err(pbs->dev, "Timeout for PBS ACK/NACK for bit %u\n", bit_pos); in qcom_pbs_wait_for_ack()
49 ret = regmap_write(pbs->regmap, pbs->base + PBS_CLIENT_SCRATCH2, 0); in qcom_pbs_wait_for_ack()
50 dev_err(pbs->dev, "NACK from PBS for bit %u\n", bit_pos); in qcom_pbs_wait_for_ack()
54 dev_dbg(pbs->dev, "PBS sequence for bit %u executed!\n", bit_pos); in qcom_pbs_wait_for_ack()
59 * qcom_pbs_trigger_event() - Trigger the PBS RAM sequence
60 * @pbs: Pointer to PBS device
63 * This function is used to trigger the PBS RAM sequence to be
[all …]
/linux/drivers/net/ethernet/mscc/
H A Docelot_police.c27 u32 cir = 0, cbs = 0, pir = 0, pbs = 0; in qos_policer_conf_set() local
34 pbs = conf->pbs; in qos_policer_conf_set()
63 if (pir == 0 && pbs == 0) { in qos_policer_conf_set()
69 pbs = DIV_ROUND_UP(pbs, 4096); in qos_policer_conf_set()
70 pbs = (pbs ? pbs : 1); /* No zero burst size */ in qos_policer_conf_set()
79 pbs = (pbs * 10) / 328; /* 32.8 frames */ in qos_policer_conf_set()
80 pbs = (pbs ? pbs : 1); /* No zero burst size */ in qos_policer_conf_set()
84 if (pir == 0 && pbs == 0) { in qos_policer_conf_set()
90 pbs = (pbs * 10) / 3; /* 0.3 frames */ in qos_policer_conf_set()
91 pbs = (pbs ? pbs : 1); /* No zero burst size */ in qos_policer_conf_set()
[all …]
H A Docelot_police.h30 u32 pbs; /* PBS in bytes/frames */ member
H A Docelot_vcap.c905 pp.pbs = pol->burst; in ocelot_vcap_policer_add()
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,pbs.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,pbs.yaml#
13 The Qualcomm Technologies, Inc. Programmable Boot Sequencer (PBS)
21 - qcom,pmi632-pbs
22 - const: qcom,pbs
42 pbs@7400 {
43 compatible = "qcom,pmi632-pbs", "qcom,pbs";
/linux/arch/arm64/boot/dts/qcom/
H A Dpmi632.dtsi159 pmi632_pbs_client3: pbs@7400 {
160 compatible = "qcom,pmi632-pbs", "qcom,pbs";
194 qcom,pbs = <&pmi632_pbs_client3>;
H A Dsc8280xp-pmics.dtsi107 reg-names = "hlos", "pbs";
/linux/include/linux/soc/qcom/
H A Dqcom-pbs.h16 int qcom_pbs_trigger_event(struct pbs_dev *pbs, u8 bitmap);
19 static inline int qcom_pbs_trigger_event(struct pbs_dev *pbs, u8 bitmap) in qcom_pbs_trigger_event() argument
/linux/drivers/regulator/
H A Dqcom-labibb-regulator.c393 /* We have to work on both regulators due to PBS... */ in qcom_labibb_check_sc_status()
424 * as already done by the Portable Batch System (PBS).
443 * (PBS) will disable the vregs for us, preventing hardware damage. in qcom_labibb_sc_recovery_worker()
453 * The Portable Batch System (PBS) automatically disables LAB in qcom_labibb_sc_recovery_worker()
495 * have ever been disabled by the PBS. in qcom_labibb_sc_recovery_worker()
527 * Portable Batch System (PBS) and they will be enabled again by
/linux/Documentation/devicetree/bindings/mfd/
H A Dqcom,spmi-pmic.yaml167 "^pbs@[0-9a-f]+$":
169 $ref: /schemas/soc/qcom/qcom,pbs.yaml#
/linux/Documentation/devicetree/bindings/power/reset/
H A Dqcom,pon.yaml114 - const: pbs
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dqcom,sm6115-tlmm.yaml75 m_voc, nav_gpio, pa_indicator, pbs, pbs_out, phase_flag,
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum2_kvdl.c36 MLXSW_SP2_KVDL_PART_INFO(PBS, 0x24, KVD_SIZE, KVD_SIZE),
H A Dcore_acl_flex_actions.c1629 * Forwarding Action can be used to implement Policy Based Switching (PBS)
1637 /* PBS, Policy Based Switching */
1647 * A pointer to the PBS entry configured by PPBS register.
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dqos_conf.c72 __be32 pbs; member
111 config->pbs = cpu_to_be32(burst); in nfp_flower_offload_one_police()
/linux/drivers/scsi/be2iscsi/
H A Dbe_main.h730 u8 pbs; /* DWORD 10 */ member
/linux/drivers/video/fbdev/
H A Dsa1100fb.c254 * Convert bits-per-pixel to a hardware palette PBS value.
/linux/drivers/net/ethernet/intel/e1000e/
H A Dich8lan.c4856 ew32(PBS, E1000_PBS_16K); in e1000_reset_hw_ich8lan()
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi_security.c12849 * The last 4 bytes in the block of the PBs control the security of in gaudi_init_protection_bits()
12850 * the PBs themselves, so they always need to be configured to be in gaudi_init_protection_bits()