Home
last modified time | relevance | path

Searched refs:qca (Results 1 – 25 of 49) sorted by relevance

12

/Linux-v6.1/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 …]
Dqca_7k.h67 void qcaspi_spi_error(struct qcaspi *qca);
68 int qcaspi_read_register(struct qcaspi *qca, u16 reg, u16 *result);
69 int qcaspi_write_register(struct qcaspi *qca, u16 reg, u16 value, int retry);
Dqca_debug.h28 void qcaspi_init_device_debugfs(struct qcaspi *qca);
30 void qcaspi_remove_device_debugfs(struct qcaspi *qca);
/Linux-v6.1/drivers/bluetooth/
Dhci_qca.c281 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()
304 qca->rx_votes_on++; in serial_clock_vote()
308 qca->tx_vote = false; in serial_clock_vote()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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";
/Linux-v6.1/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a-kontron-sl28-var4.dts14 #include <dt-bindings/net/qca-ar803x.h>
26 qca,clk-out-frequency = <125000000>;
27 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
28 qca,keep-pll-enabled;
Dfsl-ls1028a-kontron-sl28-var1.dts17 #include <dt-bindings/net/qca-ar803x.h>
32 qca,clk-out-frequency = <125000000>;
33 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
34 qca,keep-pll-enabled;
/Linux-v6.1/Documentation/devicetree/bindings/watchdog/
Dqca-ar7130-wdt.txt4 - compatible: must be "qca,ar7130-wdt"
11 compatible = "qca,ar9330-wdt", "qca,ar7130-wdt";
/Linux-v6.1/arch/arm/boot/dts/
Dbcm958625-meraki-alamo.dtsi109 compatible = "qca,qca8337";
120 qca,sgmii-enable-pll;
121 qca,sgmii-txclk-falling-edge;
187 compatible = "qca,qca8337";
198 qca,sgmii-enable-pll;
199 qca,sgmii-txclk-falling-edge;
Dimx6qdl-sr-som.dtsi77 qca,clk-out-frequency = <125000000>;
78 qca,smarteee-tw-us-1g = <24>;
83 qca,clk-out-frequency = <125000000>;
84 qca,smarteee-tw-us-1g = <24>;
/Linux-v6.1/Documentation/devicetree/bindings/net/
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-v6.1/Documentation/devicetree/bindings/net/dsa/
Dar9331.txt9 - compatible: should be: "qca,ar9331-switch"
25 compatible = "qca,ar9330-eth";
39 compatible = "qca,ar9330-eth";
62 compatible = "qca,ar9331-switch";
/Linux-v6.1/Documentation/devicetree/bindings/phy/
Dphy-ath79-usb.txt4 - compatible: "qca,ar7100-usb-phy"
12 compatible = "qca,ar7100-usb-phy";
/Linux-v6.1/arch/mips/boot/dts/
DMakefile14 subdir-$(CONFIG_ATH79) += qca
/Linux-v6.1/drivers/net/dsa/
DMakefile23 obj-y += qca/

12