Home
last modified time | relevance | path

Searched full:qca (Results 1 – 25 of 84) sorted by relevance

1234

/Linux-v5.15/drivers/net/ethernet/qualcomm/
Dqca_spi.c82 start_spi_intr_handling(struct qcaspi *qca, u16 *intr_cause) in start_spi_intr_handling() argument
86 qcaspi_write_register(qca, SPI_REG_INTR_ENABLE, 0, wr_verify); in start_spi_intr_handling()
87 qcaspi_read_register(qca, SPI_REG_INTR_CAUSE, intr_cause); in start_spi_intr_handling()
88 netdev_dbg(qca->net_dev, "interrupts: 0x%04x\n", *intr_cause); in start_spi_intr_handling()
92 end_spi_intr_handling(struct qcaspi *qca, u16 intr_cause) in end_spi_intr_handling() argument
99 qcaspi_write_register(qca, SPI_REG_INTR_CAUSE, intr_cause, 0); in end_spi_intr_handling()
100 qcaspi_write_register(qca, SPI_REG_INTR_ENABLE, intr_enable, wr_verify); in end_spi_intr_handling()
101 netdev_dbg(qca->net_dev, "acking int: 0x%04x\n", intr_cause); in end_spi_intr_handling()
105 qcaspi_write_burst(struct qcaspi *qca, u8 *src, u32 len) in qcaspi_write_burst() argument
123 ret = spi_sync(qca->spi_dev, &msg); in qcaspi_write_burst()
[all …]
Dqca_uart.c66 struct qcauart *qca = serdev_device_get_drvdata(serdev); in qca_tty_receive() local
67 struct net_device *netdev = qca->net_dev; in qca_tty_receive()
71 if (!qca->rx_skb) { in qca_tty_receive()
72 qca->rx_skb = netdev_alloc_skb_ip_align(netdev, in qca_tty_receive()
75 if (!qca->rx_skb) { in qca_tty_receive()
85 retcode = qcafrm_fsm_decode(&qca->frm_handle, in qca_tty_receive()
86 qca->rx_skb->data, in qca_tty_receive()
87 skb_tailroom(qca->rx_skb), in qca_tty_receive()
107 skb_put(qca->rx_skb, retcode); in qca_tty_receive()
108 qca->rx_skb->protocol = eth_type_trans( in qca_tty_receive()
[all …]
Dqca_debug.c73 struct qcaspi *qca = s->private; in qcaspi_info_show() local
76 (unsigned long)qca->buffer_size); in qcaspi_info_show()
80 if (qca->txr.skb[qca->txr.head] == NULL) in qcaspi_info_show()
82 else if (qca->txr.skb[qca->txr.tail]) in qcaspi_info_show()
90 qca->txr.size); in qcaspi_info_show()
93 (unsigned int)qca->sync); in qcaspi_info_show()
94 switch (qca->sync) { in qcaspi_info_show()
111 qca->spi_dev->irq); in qcaspi_info_show()
113 qca->intr_req); in qcaspi_info_show()
115 qca->intr_svc); in qcaspi_info_show()
[all …]
Dqca_7k.c33 qcaspi_spi_error(struct qcaspi *qca) in qcaspi_spi_error() argument
35 if (qca->sync != QCASPI_SYNC_READY) in qcaspi_spi_error()
38 netdev_err(qca->net_dev, "spi error\n"); in qcaspi_spi_error()
39 qca->sync = QCASPI_SYNC_UNKNOWN; in qcaspi_spi_error()
40 qca->stats.spi_err++; in qcaspi_spi_error()
44 qcaspi_read_register(struct qcaspi *qca, u16 reg, u16 *result) in qcaspi_read_register() argument
66 if (qca->legacy_mode) { in qcaspi_read_register()
67 spi_sync(qca->spi_dev, &msg); in qcaspi_read_register()
71 ret = spi_sync(qca->spi_dev, &msg); in qcaspi_read_register()
77 qcaspi_spi_error(qca); in qcaspi_read_register()
[all …]
/Linux-v5.15/drivers/bluetooth/
Dhci_qca.c194 * QCA Bluetooth chipset
209 * Platform data for the QCA Bluetooth power driver.
281 struct qca_data *qca = hu->priv; in serial_clock_vote() local
284 bool old_vote = (qca->tx_vote | qca->rx_vote); in serial_clock_vote()
289 diff = jiffies_to_msecs(jiffies - qca->vote_last_jif); in serial_clock_vote()
292 qca->vote_off_ms += diff; in serial_clock_vote()
294 qca->vote_on_ms += diff; in serial_clock_vote()
298 qca->tx_vote = true; in serial_clock_vote()
299 qca->tx_votes_on++; in serial_clock_vote()
303 qca->rx_vote = true; in serial_clock_vote()
[all …]
Dbtqca.c28 bt_dev_dbg(hdev, "QCA Version Request"); in qca_read_soc_version()
45 bt_dev_err(hdev, "Reading QCA version information failed (%d)", in qca_read_soc_version()
51 bt_dev_err(hdev, "QCA Version size mismatch len %d", skb->len); in qca_read_soc_version()
58 bt_dev_err(hdev, "QCA TLV with no header"); in qca_read_soc_version()
65 bt_dev_err(hdev, "QCA Wrong packet received %d %d", edl->cresp, in qca_read_soc_version()
76 bt_dev_info(hdev, "QCA Product ID :0x%08x", in qca_read_soc_version()
78 bt_dev_info(hdev, "QCA SOC Version :0x%08x", in qca_read_soc_version()
80 bt_dev_info(hdev, "QCA ROM Version :0x%08x", in qca_read_soc_version()
82 bt_dev_info(hdev, "QCA Patch Version:0x%08x", in qca_read_soc_version()
91 bt_dev_err(hdev, "QCA Failed to get version (%d)", err); in qca_read_soc_version()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/mips/
Dath79-soc.txt7 - qca,ar7130
8 - qca,ar7141
9 - qca,ar7161
10 - qca,ar7240
11 - qca,ar7241
12 - qca,ar7242
13 - qca,ar9130
14 - qca,ar9132
15 - qca,ar9330
16 - qca,ar9331
[all …]
/Linux-v5.15/arch/mips/boot/dts/qca/
Dar9132.dtsi5 compatible = "qca,ar9132";
23 compatible = "qca,ar9132-cpu-intc", "qca,ar7100-cpu-intc";
28 qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
29 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
52 compatible = "qca,ar9132-ddr-controller",
53 "qca,ar7240-ddr-controller";
56 #qca,ddr-wb-channel-cells = <1>;
75 compatible = "qca,ar9132-gpio",
76 "qca,ar7100-gpio";
90 compatible = "qca,ar9132-pll",
[all …]
Dar9331.dtsi5 compatible = "qca,ar9331";
23 compatible = "qca,ar7100-cpu-intc";
28 qca,ddr-wb-channel-interrupts = <2>, <3>;
29 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>;
56 compatible = "qca,ar7240-ddr-controller";
59 #qca,ddr-wb-channel-cells = <1>;
63 compatible = "qca,ar9330-uart";
75 compatible = "qca,ar7100-gpio";
91 compatible = "qca,ar9330-pll";
101 compatible = "qca,ar7240-misc-intc";
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/interrupt-controller/
Dqca,ath79-cpu-intc.txt5 qca,ddr-wb-channels and qca,ddr-wb-channel-interrupts properties.
9 - compatible: has to be "qca,<soctype>-cpu-intc", "qca,ar7100-cpu-intc"
20 - qca,ddr-wb-channel-interrupts: List of the interrupts needing a write
22 - qca,ddr-wb-channels: List of phandles to the write buffer channels for
23 each interrupt. If qca,ddr-wb-channel-interrupts is not present the interrupt
29 compatible = "qca,ar9132-cpu-intc", "qca,ar7100-cpu-intc";
34 qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
35 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
43 #qca,ddr-wb-channel-cells = <1>;
Dqca,ath79-misc-intc.txt7 - compatible: has to be "qca,<soctype>-cpu-intc", "qca,ar7100-misc-intc" or
8 "qca,<soctype>-cpu-intc", "qca,ar7240-misc-intc"
24 compatible = "qca,ar9132-misc-intc", "qca,ar7100-misc-intc";
37 compatible = "qca,ar9331-misc-intc", qca,ar7240-misc-intc";
/Linux-v5.15/Documentation/devicetree/bindings/memory-controllers/
Dqca,ath79-ddr-controller.yaml4 $id: http://devicetree.org/schemas/memory-controllers/qca,ath79-ddr-controller.yaml#
22 - const: qca,ar9132-ddr-controller
23 - const: qca,ar7240-ddr-controller
26 - qca,ar7100-ddr-controller
27 - qca,ar7240-ddr-controller
29 "#qca,ddr-wb-channel-cells":
41 - "#qca,ddr-wb-channel-cells"
49 compatible = "qca,ar9132-ddr-controller",
50 "qca,ar7240-ddr-controller";
53 #qca,ddr-wb-channel-cells = <1>;
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/net/
Dqca,ar71xx.yaml4 $id: http://devicetree.org/schemas/net/qca,ar71xx.yaml#
7 title: QCA AR71XX MAC
20 - qca,ar7100-eth # Atheros AR7100
21 - qca,ar7240-eth # Atheros AR7240
22 - qca,ar7241-eth # Atheros AR7241
23 - qca,ar7242-eth # Atheros AR7242
24 - qca,ar9130-eth # Atheros AR9130
25 - qca,ar9330-eth # Atheros AR9330
26 - qca,ar9340-eth # Atheros AR9340
27 - qca,qca9530-eth # Qualcomm Atheros QCA9530
[all …]
Dqca,ar803x.yaml4 $id: http://devicetree.org/schemas/net/qca,ar803x.yaml#
21 qca,clk-out-frequency:
26 qca,clk-out-strength:
31 qca,disable-smarteee:
35 qca,keep-pll-enabled:
43 qca,smarteee-tw-us-100m:
49 qca,smarteee-tw-us-1g:
82 #include <dt-bindings/net/qca-ar803x.h>
93 qca,clk-out-frequency = <125000000>;
94 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
[all …]
Dqca,qca7000.txt13 - compatible : Should be "qca,qca7000"
26 - qca,legacy-mode : Set the SPI data transfer of the QCA7000 to legacy mode.
47 compatible = "qca,qca7000";
66 - compatible : Should be "qca,qca7000"
83 compatible = "qca,qca7000";
/Linux-v5.15/Documentation/devicetree/bindings/clock/
Dqca,ath79-pll.txt6 - compatible: has to be "qca,<soctype>-pll" and one of the following
8 - "qca,ar7100-pll"
9 - "qca,ar7240-pll"
10 - "qca,ar9130-pll"
11 - "qca,ar9330-pll"
12 - "qca,ar9340-pll"
13 - "qca,qca9550-pll"
25 compatible = "qca,ar9132-pll", "qca,ar9130-pll";
/Linux-v5.15/Documentation/devicetree/bindings/gpio/
Dgpio-ath79.txt4 - compatible: has to be "qca,<soctype>-gpio" and one of the following
6 - "qca,ar7100-gpio"
7 - "qca,ar9340-gpio"
26 compatible = "qca,ar9132-gpio", "qca,ar7100-gpio";
/Linux-v5.15/drivers/irqchip/
Dirq-ath79-cpu.c63 node, "qca,ddr-wb-channels", "#qca,ddr-wb-channel-cells"); in ar79_cpu_intc_of_init()
70 node, "qca,ddr-wb-channel-interrupts", i, &irq); in ar79_cpu_intc_of_init()
75 node, "qca,ddr-wb-channels", in ar79_cpu_intc_of_init()
76 "#qca,ddr-wb-channel-cells", in ar79_cpu_intc_of_init()
86 IRQCHIP_DECLARE(ar79_cpu_intc, "qca,ar7100-cpu-intc",
/Linux-v5.15/Documentation/devicetree/bindings/reset/
Dath79-reset.txt7 - compatible: has to be "qca,<soctype>-reset", "qca,ar7100-reset"
16 compatible = "qca,ar9132-reset", "qca,ar7100-reset";
/Linux-v5.15/Documentation/devicetree/bindings/spi/
Dspi-ath79.txt4 - compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback.
16 compatible = "qca,ar9132-spi", "qca,ar7100-spi";
Dqca,ar934x-spi.yaml4 $id: http://devicetree.org/schemas/spi/qca,ar934x-spi.yaml#
17 const: qca,ar934x-spi
38 compatible = "qca,ar934x-spi";
/Linux-v5.15/arch/mips/ath79/
Dclock.c633 if (of_device_is_compatible(np, "qca,ar7100-pll")) in ath79_clocks_init_dt()
635 else if (of_device_is_compatible(np, "qca,ar7240-pll") || in ath79_clocks_init_dt()
636 of_device_is_compatible(np, "qca,ar9130-pll")) in ath79_clocks_init_dt()
638 else if (of_device_is_compatible(np, "qca,ar9330-pll")) in ath79_clocks_init_dt()
640 else if (of_device_is_compatible(np, "qca,ar9340-pll")) in ath79_clocks_init_dt()
642 else if (of_device_is_compatible(np, "qca,qca9530-pll")) in ath79_clocks_init_dt()
644 else if (of_device_is_compatible(np, "qca,qca9550-pll")) in ath79_clocks_init_dt()
646 else if (of_device_is_compatible(np, "qca,qca9560-pll")) in ath79_clocks_init_dt()
666 CLK_OF_DECLARE(ar7100_clk, "qca,ar7100-pll", ath79_clocks_init_dt);
667 CLK_OF_DECLARE(ar7240_clk, "qca,ar7240-pll", ath79_clocks_init_dt);
[all …]
/Linux-v5.15/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a-kontron-sl28-var4.dts14 #include <dt-bindings/net/qca-ar803x.h>
34 qca,clk-out-frequency = <125000000>;
35 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
36 qca,keep-pll-enabled;
Dfsl-ls1028a-kontron-sl28-var1.dts17 #include <dt-bindings/net/qca-ar803x.h>
47 qca,clk-out-frequency = <125000000>;
48 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
49 qca,keep-pll-enabled;
/Linux-v5.15/Documentation/devicetree/bindings/watchdog/
Dqca-ar7130-wdt.txt4 - compatible: must be "qca,ar7130-wdt"
11 compatible = "qca,ar9330-wdt", "qca,ar7130-wdt";

1234