| /linux/drivers/soc/qcom/ |
| H A D | qcom-pbs.c | 15 #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 D | ocelot_police.c | 27 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 D | ocelot_police.h | 30 u32 pbs; /* PBS in bytes/frames */ member
|
| H A D | ocelot_vcap.c | 905 pp.pbs = pol->burst; in ocelot_vcap_policer_add()
|
| /linux/Documentation/devicetree/bindings/soc/qcom/ |
| H A D | qcom,pbs.yaml | 4 $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 D | pmi632.dtsi | 159 pmi632_pbs_client3: pbs@7400 { 160 compatible = "qcom,pmi632-pbs", "qcom,pbs"; 194 qcom,pbs = <&pmi632_pbs_client3>;
|
| H A D | sc8280xp-pmics.dtsi | 107 reg-names = "hlos", "pbs";
|
| /linux/include/linux/soc/qcom/ |
| H A D | qcom-pbs.h | 16 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 D | qcom-labibb-regulator.c | 393 /* 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 D | qcom,spmi-pmic.yaml | 167 "^pbs@[0-9a-f]+$": 169 $ref: /schemas/soc/qcom/qcom,pbs.yaml#
|
| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | qcom,pon.yaml | 114 - const: pbs
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | qcom,sm6115-tlmm.yaml | 75 m_voc, nav_gpio, pa_indicator, pbs, pbs_out, phase_flag,
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum2_kvdl.c | 36 MLXSW_SP2_KVDL_PART_INFO(PBS, 0x24, KVD_SIZE, KVD_SIZE),
|
| H A D | core_acl_flex_actions.c | 1629 * 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 D | qos_conf.c | 72 __be32 pbs; member 111 config->pbs = cpu_to_be32(burst); in nfp_flower_offload_one_police()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_main.h | 730 u8 pbs; /* DWORD 10 */ member
|
| /linux/drivers/video/fbdev/ |
| H A D | sa1100fb.c | 254 * Convert bits-per-pixel to a hardware palette PBS value.
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | ich8lan.c | 4856 ew32(PBS, E1000_PBS_16K); in e1000_reset_hw_ich8lan()
|
| /linux/drivers/accel/habanalabs/gaudi/ |
| H A D | gaudi_security.c | 12849 * 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()
|