/linux-6.12.1/drivers/soc/qcom/ |
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 …]
|
D | Kconfig | 290 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.
|
D | Makefile | 41 obj-$(CONFIG_QCOM_PBS) += qcom-pbs.o
|
/linux-6.12.1/drivers/net/ethernet/mscc/ |
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 …]
|
D | ocelot_police.h | 30 u32 pbs; /* PBS in bytes/frames */ member
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/qcom/ |
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-6.12.1/arch/arm64/boot/dts/qcom/ |
D | pmi632.dtsi | 159 pmi632_pbs_client3: pbs@7400 { 160 compatible = "qcom,pmi632-pbs", "qcom,pbs"; 194 qcom,pbs = <&pmi632_pbs_client3>;
|
D | pmk8550.dtsi | 31 reg-names = "hlos", "pbs";
|
D | pmk8350.dtsi | 36 reg-names = "hlos", "pbs";
|
D | sa8775p-pmics.dtsi | 118 reg-names = "hlos", "pbs";
|
D | sc8280xp-pmics.dtsi | 67 reg-names = "hlos", "pbs";
|
D | x1e80100-pmics.dtsi | 206 reg-names = "hlos", "pbs";
|
/linux-6.12.1/drivers/pinctrl/qcom/ |
D | pinctrl-sm6115.c | 705 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/ |
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-6.12.1/Documentation/devicetree/bindings/leds/ |
D | leds-qcom-lpg.yaml | 87 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/ |
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-6.12.1/Documentation/devicetree/bindings/power/reset/ |
D | qcom,pon.yaml | 107 - const: pbs
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | qcom,spmi-pmic.yaml | 165 "^pbs@[0-9a-f]+$": 167 $ref: /schemas/soc/qcom/qcom,pbs.yaml#
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | qcom,sm6115-tlmm.yaml | 75 m_voc, nav_gpio, pa_indicator, pbs, pbs_out, phase_flag,
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum2_kvdl.c | 36 MLXSW_SP2_KVDL_PART_INFO(PBS, 0x24, KVD_SIZE, KVD_SIZE),
|
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-6.12.1/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 17 #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/ |
D | blk-merge.c | 204 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/ |
D | qos_conf.c | 72 __be32 pbs; member 111 config->pbs = cpu_to_be32(burst); in nfp_flower_offload_one_police()
|
/linux-6.12.1/drivers/scsi/be2iscsi/ |
D | be_main.h | 730 u8 pbs; /* DWORD 10 */ member
|