Home
last modified time | relevance | path

Searched full:bcm (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/drivers/interconnect/qcom/
Dbcm-voter.c16 #include "bcm-voter.h"
24 * @dev: reference to the device that communicates with the BCM
25 * @np: reference to the device node to match bcm voters
29 * @voter_node: list of bcm voters
62 static void bcm_aggregate_mask(struct qcom_icc_bcm *bcm) in bcm_aggregate_mask() argument
68 bcm->vote_x[bucket] = 0; in bcm_aggregate_mask()
69 bcm->vote_y[bucket] = 0; in bcm_aggregate_mask()
71 for (i = 0; i < bcm->num_nodes; i++) { in bcm_aggregate_mask()
72 node = bcm->nodes[i]; in bcm_aggregate_mask()
74 /* If any vote in this bucket exists, keep the BCM enabled */ in bcm_aggregate_mask()
[all …]
Dicc-rpmh.c13 #include "bcm-voter.h"
105 * qcom_icc_bcm_init - populates bcm aux data and connect qnodes
106 * @bcm: bcm to be initialized
111 int qcom_icc_bcm_init(struct qcom_icc_bcm *bcm, struct device *dev) in qcom_icc_bcm_init() argument
118 /* BCM is already initialised*/ in qcom_icc_bcm_init()
119 if (bcm->addr) in qcom_icc_bcm_init()
122 bcm->addr = cmd_db_read_addr(bcm->name); in qcom_icc_bcm_init()
123 if (!bcm->addr) { in qcom_icc_bcm_init()
125 bcm->name); in qcom_icc_bcm_init()
129 data = cmd_db_read_aux_data(bcm->name, &data_count); in qcom_icc_bcm_init()
[all …]
Dicc-rpmh.h20 * @voter: bcm voter targeted by this provider
31 * struct bcm_db - Auxiliary data pertaining to each Bus Clock Manager (BCM)
34 * @vcd: virtual clock domain that this bcm belongs to
77 * known as Bus Clock Manager (BCM)
78 * @name: the bcm node name used to fetch BCM data from command db
79 * @type: latency or bandwidth bcm
81 * @vote_x: aggregated threshold values, represents sum_bw when @type is bw bcm
82 * @vote_y: aggregated threshold values, represents peak_bw when @type is bw bcm
85 * @dirty: flag used to indicate whether the bcm needs to be committed
92 * @nodes: list of qcom_icc_nodes that this BCM encapsulates
[all …]
/kernel/linux/linux-5.10/drivers/interconnect/qcom/
Dbcm-voter.c16 #include "bcm-voter.h"
24 * @dev: reference to the device that communicates with the BCM
25 * @np: reference to the device node to match bcm voters
29 * @voter_node: list of bcm voters
68 static void bcm_aggregate(struct qcom_icc_bcm *bcm) in bcm_aggregate() argument
77 for (i = 0; i < bcm->num_nodes; i++) { in bcm_aggregate()
78 node = bcm->nodes[i]; in bcm_aggregate()
79 temp = bcm_div(node->sum_avg[bucket] * bcm->aux_data.width, in bcm_aggregate()
83 temp = bcm_div(node->max_peak[bucket] * bcm->aux_data.width, in bcm_aggregate()
88 temp = agg_avg[bucket] * bcm->vote_scale; in bcm_aggregate()
[all …]
Dicc-rpmh.c12 #include "bcm-voter.h"
128 * qcom_icc_bcm_init - populates bcm aux data and connect qnodes
129 * @bcm: bcm to be initialized
134 int qcom_icc_bcm_init(struct qcom_icc_bcm *bcm, struct device *dev) in qcom_icc_bcm_init() argument
141 /* BCM is already initialised*/ in qcom_icc_bcm_init()
142 if (bcm->addr) in qcom_icc_bcm_init()
145 bcm->addr = cmd_db_read_addr(bcm->name); in qcom_icc_bcm_init()
146 if (!bcm->addr) { in qcom_icc_bcm_init()
148 bcm->name); in qcom_icc_bcm_init()
152 data = cmd_db_read_aux_data(bcm->name, &data_count); in qcom_icc_bcm_init()
[all …]
Dicc-rpmh.h20 * @voter: bcm voter targeted by this provider
31 * struct bcm_db - Auxiliary data pertaining to each Bus Clock Manager (BCM)
34 * @vcd: virtual clock domain that this bcm belongs to
77 * known as Bus Clock Manager (BCM)
78 * @name: the bcm node name used to fetch BCM data from command db
79 * @type: latency or bandwidth bcm
81 * @vote_x: aggregated threshold values, represents sum_bw when @type is bw bcm
82 * @vote_y: aggregated threshold values, represents peak_bw when @type is bw bcm
85 * @dirty: flag used to indicate whether the bcm needs to be committed
92 * @nodes: list of qcom_icc_nodes that this BCM encapsulates
[all …]
/kernel/linux/linux-6.6/drivers/bluetooth/
Dhci_bcm.c154 /* generic bcm uart resources */
162 /* List of BCM BT UART devices */
181 struct bcm_data *bcm = hu->priv; in bcm_set_baudrate() local
185 if (speed > 3000000 && !bcm->dev->no_uart_clock_set) { in bcm_set_baudrate()
198 bt_dev_err(hdev, "BCM: failed to write clock (%d)", in bcm_set_baudrate()
218 bt_dev_err(hdev, "BCM: failed to write update baudrate (%d)", in bcm_set_baudrate()
335 static int bcm_request_irq(struct bcm_data *bcm) in bcm_request_irq() argument
337 struct bcm_device *bdev = bcm->dev; in bcm_request_irq()
394 struct bcm_data *bcm = hu->priv; in bcm_setup_sleep() local
398 sleep_params.host_wake_active = !bcm->dev->irq_active_low; in bcm_setup_sleep()
[all …]
Dbtbcm.c66 bt_dev_info(hdev, "BCM: Using EFI device address (%pMR)", &bdaddr); in btbcm_set_bdaddr_from_efi()
86 bt_dev_err(hdev, "BCM: Reading device address failed (%d)", err); in btbcm_check_bdaddr()
91 bt_dev_err(hdev, "BCM: Device address length mismatch"); in btbcm_check_bdaddr()
135 bt_dev_info(hdev, "BCM: Using default device address (%pMR)", in btbcm_check_bdaddr()
155 bt_dev_err(hdev, "BCM: Change address command failed (%d)", err); in btbcm_set_bdaddr()
173 bt_dev_err(hdev, "BCM: Read PCM int params failed (%d)", err); in btbcm_read_pcm_int_params()
178 bt_dev_err(hdev, "BCM: Read PCM int params length mismatch"); in btbcm_read_pcm_int_params()
201 bt_dev_err(hdev, "BCM: Write PCM int params failed (%d)", err); in btbcm_write_pcm_int_params()
223 bt_dev_err(hdev, "BCM: Download Minidrv command failed (%d)", in btbcm_patchram()
243 bt_dev_err(hdev, "BCM: Patch is corrupted"); in btbcm_patchram()
[all …]
/kernel/linux/linux-5.10/drivers/phy/broadcom/
DMakefile3 obj-$(CONFIG_PHY_CYGNUS_PCIE) += phy-bcm-cygnus-pcie.o
4 obj-$(CONFIG_BCM_KONA_USB2_PHY) += phy-bcm-kona-usb2.o
5 obj-$(CONFIG_PHY_BCM_NS_USB2) += phy-bcm-ns-usb2.o
6 obj-$(CONFIG_PHY_BCM_NS_USB3) += phy-bcm-ns-usb3.o
7 obj-$(CONFIG_PHY_NS2_PCIE) += phy-bcm-ns2-pcie.o
8 obj-$(CONFIG_PHY_NS2_USB_DRD) += phy-bcm-ns2-usbdrd.o
14 obj-$(CONFIG_PHY_BCM_SR_PCIE) += phy-bcm-sr-pcie.o
15 obj-$(CONFIG_PHY_BCM_SR_USB) += phy-bcm-sr-usb.o
/kernel/linux/linux-6.6/drivers/phy/broadcom/
DMakefile3 obj-$(CONFIG_PHY_CYGNUS_PCIE) += phy-bcm-cygnus-pcie.o
4 obj-$(CONFIG_BCM_KONA_USB2_PHY) += phy-bcm-kona-usb2.o
5 obj-$(CONFIG_PHY_BCM_NS_USB2) += phy-bcm-ns-usb2.o
6 obj-$(CONFIG_PHY_BCM_NS_USB3) += phy-bcm-ns-usb3.o
7 obj-$(CONFIG_PHY_NS2_PCIE) += phy-bcm-ns2-pcie.o
8 obj-$(CONFIG_PHY_NS2_USB_DRD) += phy-bcm-ns2-usbdrd.o
14 obj-$(CONFIG_PHY_BCM_SR_PCIE) += phy-bcm-sr-pcie.o
15 obj-$(CONFIG_PHY_BCM_SR_USB) += phy-bcm-sr-usb.o
/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_bcm.c132 /* generic bcm uart resources */
140 /* List of BCM BT UART devices */
175 bt_dev_err(hdev, "BCM: failed to write clock (%d)", in bcm_set_baudrate()
195 bt_dev_err(hdev, "BCM: failed to write update baudrate (%d)", in bcm_set_baudrate()
312 static int bcm_request_irq(struct bcm_data *bcm) in bcm_request_irq() argument
314 struct bcm_device *bdev = bcm->dev; in bcm_request_irq()
371 struct bcm_data *bcm = hu->priv; in bcm_setup_sleep() local
375 sleep_params.host_wake_active = !bcm->dev->irq_active_low; in bcm_setup_sleep()
391 static inline int bcm_request_irq(struct bcm_data *bcm) { return 0; } in bcm_request_irq() argument
398 struct bcm_data *bcm = hu->priv; in bcm_set_diag() local
[all …]
Dbtbcm.c63 bt_dev_info(hdev, "BCM: Using EFI device address (%pMR)", &bdaddr); in btbcm_set_bdaddr_from_efi()
83 bt_dev_err(hdev, "BCM: Reading device address failed (%d)", err); in btbcm_check_bdaddr()
88 bt_dev_err(hdev, "BCM: Device address length mismatch"); in btbcm_check_bdaddr()
128 bt_dev_info(hdev, "BCM: Using default device address (%pMR)", in btbcm_check_bdaddr()
148 bt_dev_err(hdev, "BCM: Change address command failed (%d)", err); in btbcm_set_bdaddr()
166 bt_dev_err(hdev, "BCM: Read PCM int params failed (%d)", err); in btbcm_read_pcm_int_params()
171 bt_dev_err(hdev, "BCM: Read PCM int params length mismatch"); in btbcm_read_pcm_int_params()
194 bt_dev_err(hdev, "BCM: Write PCM int params failed (%d)", err); in btbcm_write_pcm_int_params()
216 bt_dev_err(hdev, "BCM: Download Minidrv command failed (%d)", in btbcm_patchram()
236 bt_dev_err(hdev, "BCM: Patch is corrupted"); in btbcm_patchram()
[all …]
/kernel/linux/linux-6.6/arch/mips/bcm63xx/
Dreset.c21 [BCM63XX_RESET_SPI] = BCM## __cpu ##_RESET_SPI, \
22 [BCM63XX_RESET_ENET] = BCM## __cpu ##_RESET_ENET, \
23 [BCM63XX_RESET_USBH] = BCM## __cpu ##_RESET_USBH, \
24 [BCM63XX_RESET_USBD] = BCM## __cpu ##_RESET_USBD, \
25 [BCM63XX_RESET_DSL] = BCM## __cpu ##_RESET_DSL, \
26 [BCM63XX_RESET_SAR] = BCM## __cpu ##_RESET_SAR, \
27 [BCM63XX_RESET_EPHY] = BCM## __cpu ##_RESET_EPHY, \
28 [BCM63XX_RESET_ENETSW] = BCM## __cpu ##_RESET_ENETSW, \
29 [BCM63XX_RESET_PCM] = BCM## __cpu ##_RESET_PCM, \
30 [BCM63XX_RESET_MPI] = BCM## __cpu ##_RESET_MPI, \
[all …]
/kernel/linux/linux-5.10/arch/mips/bcm63xx/
Dreset.c21 [BCM63XX_RESET_SPI] = BCM## __cpu ##_RESET_SPI, \
22 [BCM63XX_RESET_ENET] = BCM## __cpu ##_RESET_ENET, \
23 [BCM63XX_RESET_USBH] = BCM## __cpu ##_RESET_USBH, \
24 [BCM63XX_RESET_USBD] = BCM## __cpu ##_RESET_USBD, \
25 [BCM63XX_RESET_DSL] = BCM## __cpu ##_RESET_DSL, \
26 [BCM63XX_RESET_SAR] = BCM## __cpu ##_RESET_SAR, \
27 [BCM63XX_RESET_EPHY] = BCM## __cpu ##_RESET_EPHY, \
28 [BCM63XX_RESET_ENETSW] = BCM## __cpu ##_RESET_ENETSW, \
29 [BCM63XX_RESET_PCM] = BCM## __cpu ##_RESET_PCM, \
30 [BCM63XX_RESET_MPI] = BCM## __cpu ##_RESET_MPI, \
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interconnect/
Dqcom,rpmh.yaml15 RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
16 able to communicate with the BCM through the Resource State Coordinator (RSC)
74 qcom,bcm-voters:
77 List of phandles to qcom,bcm-voter nodes that are required by
80 qcom,bcm-voter-names:
83 Names for each of the qcom,bcm-voters specified.
89 - qcom,bcm-voters
101 qcom,bcm-voters = <&apps_bcm_voter>;
108 qcom,bcm-voter-names = "apps", "disp";
109 qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
Dqcom,bcm-voter.yaml4 $id: http://devicetree.org/schemas/interconnect/qcom,bcm-voter.yaml#
7 title: Qualcomm BCM-Voter Interconnect
13 The Bus Clock Manager (BCM) is a dedicated hardware accelerator that manages
22 - qcom,bcm-voter
52 compatible = "qcom,bcm-voter";
62 compatible = "qcom,bcm-voter";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interconnect/
Dqcom,bcm-voter.yaml4 $id: http://devicetree.org/schemas/interconnect/qcom,bcm-voter.yaml#
7 title: Qualcomm BCM-Voter Interconnect
13 The Bus Clock Manager (BCM) is a dedicated hardware accelerator that manages
22 - qcom,bcm-voter
51 apps_bcm_voter: bcm-voter {
52 compatible = "qcom,bcm-voter";
61 disp_bcm_voter: bcm-voter {
62 compatible = "qcom,bcm-voter";
Dqcom,rpmh-common.yaml15 RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
16 able to communicate with the BCM through the Resource State Coordinator (RSC)
25 qcom,bcm-voters:
31 List of phandles to qcom,bcm-voter nodes that are required by
34 qcom,bcm-voter-names:
37 Names for each of the qcom,bcm-voters specified.
41 - qcom,bcm-voters
Dqcom,qdu1000-rpmh.yaml15 RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
16 able to communicate with the BCM through the Resource State Coordinator (RSC)
63 qcom,bcm-voters = <&apps_bcm_voter>;
69 qcom,bcm-voters = <&apps_bcm_voter>;
Dqcom,rpmh.yaml15 RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
16 able to communicate with the BCM through the Resource State Coordinator (RSC)
132 qcom,bcm-voters = <&apps_bcm_voter>;
139 qcom,bcm-voter-names = "apps", "disp";
140 qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dbrcm,spi-bcm-qspi.txt26 "brcm,spi-brcmstb-qspi", "brcm,spi-bcm-qspi" : MSPI+BSPI on BRCMSTB SoCs
27 "brcm,spi-brcmstb-mspi", "brcm,spi-bcm-qspi" : Second Instance of MSPI
29 "brcm,spi-bcm7425-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
31 "brcm,spi-bcm7429-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
33 "brcm,spi-bcm7435-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
35 "brcm,spi-bcm7445-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
37 "brcm,spi-bcm7216-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
39 "brcm,spi-bcm7278-qspi", "brcm,spi-bcm-qspi", "brcm,spi-brcmstb-mspi" : Second Instance of MSPI
41 "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi" : MSPI+BSPI on Cygnus, NSP
42 "brcm,spi-ns2-qspi", "brcm,spi-bcm-qspi" : NS2 SoCs
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/
Dbrcm,spi-bcm-qspi.yaml4 $id: http://devicetree.org/schemas/spi/brcm,spi-bcm-qspi.yaml#
42 - const: brcm,spi-bcm-qspi
51 - const: brcm,spi-bcm-qspi
102 compatible = "brcm,spi-brcmstb-qspi", "brcm,spi-bcm-qspi";
131 compatible = "brcm,spi-brcmstb-mspi", "brcm,spi-bcm-qspi";
145 compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi";
174 compatible = "brcm,spi-ns2-qspi", "brcm,spi-bcm-qspi";
/kernel/linux/linux-6.6/net/can/
DMakefile13 obj-$(CONFIG_CAN_BCM) += can-bcm.o
14 can-bcm-y := bcm.o
/kernel/linux/linux-5.10/net/can/
DMakefile13 obj-$(CONFIG_CAN_BCM) += can-bcm.o
14 can-bcm-y := bcm.o
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mailbox/
Dbrcm,iproc-pdc-mbox.txt15 - brcm,use-bcm-hdr: present if a BCM header precedes each frame.
24 brcm,use-bcm-hdr;

12345678910>>...19