Searched refs:pbs (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/soc/qcom/ |
| H A D | qcom-pbs.c | 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() 75 int qcom_pbs_trigger_event(struct pbs_dev *pbs, u8 bitmap) in qcom_pbs_trigger_event() argument 84 if (IS_ERR_OR_NULL(pbs)) in qcom_pbs_trigger_event() 87 guard(mutex)(&pbs->lock); in qcom_pbs_trigger_event() 88 ret = regmap_read(pbs->regmap, pbs->base + PBS_CLIENT_SCRATCH2, &val); in qcom_pbs_trigger_event() [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/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/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 | lemans-pmics.dtsi | 118 reg-names = "hlos", "pbs";
|
| H A D | sc8280xp-pmics.dtsi | 107 reg-names = "hlos", "pbs";
|
| H A D | hamoa-pmics.dtsi | 206 reg-names = "hlos", "pbs";
|
| /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
|