Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/soc/qcom/
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 …]
DKconfig290 tristate "PBS trigger support for Qualcomm Technologies, Inc. PMICS"
293 This driver supports configuring software programmable boot sequencer (PBS)
294 trigger event through PBS RAM on Qualcomm Technologies, Inc. PMICs.
296 PBS trigger event to the PBS RAM.
DMakefile41 obj-$(CONFIG_QCOM_PBS) += qcom-pbs.o
/linux-6.12.1/drivers/net/ethernet/mscc/
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 …]
Docelot_police.h30 u32 pbs; /* PBS in bytes/frames */ member
/linux-6.12.1/Documentation/devicetree/bindings/soc/qcom/
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-6.12.1/arch/arm64/boot/dts/qcom/
Dpmi632.dtsi159 pmi632_pbs_client3: pbs@7400 {
160 compatible = "qcom,pmi632-pbs", "qcom,pbs";
194 qcom,pbs = <&pmi632_pbs_client3>;
Dpmk8550.dtsi31 reg-names = "hlos", "pbs";
Dpmk8350.dtsi36 reg-names = "hlos", "pbs";
Dsa8775p-pmics.dtsi118 reg-names = "hlos", "pbs";
Dsc8280xp-pmics.dtsi67 reg-names = "hlos", "pbs";
Dx1e80100-pmics.dtsi206 reg-names = "hlos", "pbs";
/linux-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-sm6115.c705 MSM_PIN_FUNCTION(pbs),
757 [10] = PINGROUP(10, EAST, qup3, agera_pll, _, pbs, qdss_gpio, _, _, _, _),
758 [11] = PINGROUP(11, EAST, qup3, agera_pll, _, pbs, qdss_gpio, _, _, _, _),
765 [18] = PINGROUP(18, EAST, sdc2_tb, cri_trng, pbs, qdss_gpio, _, _, _, _, _),
766 [19] = PINGROUP(19, EAST, sdc1_tb, pbs, qdss_gpio, _, _, _, _, _, _),
767 [20] = PINGROUP(20, EAST, cam_mclk, pbs, qdss_gpio, _, _, _, _, _, _),
768 [21] = PINGROUP(21, EAST, cam_mclk, adsp_ext, pbs, qdss_gpio, _, _, _, _, _),
769 [22] = PINGROUP(22, EAST, cci_i2c, prng_rosc, _, pbs, phase_flag, qdss_gpio, dac_calib, atest, _),
770 [23] = PINGROUP(23, EAST, cci_i2c, prng_rosc, _, pbs, phase_flag, qdss_gpio, dac_calib, atest, _),
771 [24] = PINGROUP(24, EAST, cci_timer, gcc_gp1, _, pbs, phase_flag, qdss_gpio, dac_calib, atest, _),
[all …]
/linux-6.12.1/include/linux/soc/qcom/
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-6.12.1/Documentation/devicetree/bindings/leds/
Dleds-qcom-lpg.yaml87 qcom,pbs:
90 Phandle of the Qualcomm Programmable Boot Sequencer node (PBS).
91 PBS node is used to trigger LPG pattern sequences for PMICs that support
279 qcom,pbs = <&pmi632_pbs_client3>;
/linux-6.12.1/drivers/regulator/
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-6.12.1/Documentation/devicetree/bindings/power/reset/
Dqcom,pon.yaml107 - const: pbs
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.yaml165 "^pbs@[0-9a-f]+$":
167 $ref: /schemas/soc/qcom/qcom,pbs.yaml#
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/
Dqcom,sm6115-tlmm.yaml75 m_voc, nav_gpio, pa_indicator, pbs, pbs_out, phase_flag,
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_kvdl.c36 MLXSW_SP2_KVDL_PART_INFO(PBS, 0x24, KVD_SIZE, KVD_SIZE),
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-6.12.1/drivers/leds/rgb/
Dleds-qcom-lpg.c17 #include <linux/soc/qcom/qcom-pbs.h>
95 * @pbs_dev: PBS device
98 * @pbs_en_bitmap: bitmap for tracking PBS triggers
1563 /* Get PBS device node if single SDAM device */ in lpg_init_sdam()
1567 "Failed to get PBS client device\n"); in lpg_init_sdam()
/linux-6.12.1/block/
Dblk-merge.c204 unsigned pbs = lim->physical_block_size >> SECTOR_SHIFT; in get_max_io_size() local
225 start = bio->bi_iter.bi_sector & (pbs - 1); in get_max_io_size()
226 end = (start + max_sectors) & ~(pbs - 1); in get_max_io_size()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c72 __be32 pbs; member
111 config->pbs = cpu_to_be32(burst); in nfp_flower_offload_one_police()
/linux-6.12.1/drivers/scsi/be2iscsi/
Dbe_main.h730 u8 pbs; /* DWORD 10 */ member

12