/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/ |
D | qca_spi.c | 82 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 …]
|
D | qca_uart.c | 66 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 …]
|
D | qca_debug.c | 72 struct qcaspi *qca = s->private; in qcaspi_info_show() local 75 (unsigned long)qca->buffer_size); in qcaspi_info_show() 79 if (qca->txr.skb[qca->txr.head] == NULL) in qcaspi_info_show() 81 else if (qca->txr.skb[qca->txr.tail]) in qcaspi_info_show() 89 qca->txr.size); in qcaspi_info_show() 92 (unsigned int)qca->sync); in qcaspi_info_show() 93 switch (qca->sync) { in qcaspi_info_show() 110 qca->spi_dev->irq); in qcaspi_info_show() 112 qca->intr_req); in qcaspi_info_show() 114 qca->intr_svc); in qcaspi_info_show() [all …]
|
D | qca_7k.c | 33 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 …]
|
D | qca_7k.h | 67 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);
|
D | qca_debug.h | 28 void qcaspi_init_device_debugfs(struct qcaspi *qca); 30 void qcaspi_remove_device_debugfs(struct qcaspi *qca);
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | hci_qca.c | 280 struct qca_data *qca = hu->priv; in serial_clock_vote() local 283 bool old_vote = (qca->tx_vote | qca->rx_vote); in serial_clock_vote() 288 diff = jiffies_to_msecs(jiffies - qca->vote_last_jif); in serial_clock_vote() 291 qca->vote_off_ms += diff; in serial_clock_vote() 293 qca->vote_on_ms += diff; in serial_clock_vote() 297 qca->tx_vote = true; in serial_clock_vote() 298 qca->tx_votes_on++; in serial_clock_vote() 302 qca->rx_vote = true; in serial_clock_vote() 303 qca->rx_votes_on++; in serial_clock_vote() 307 qca->tx_vote = false; in serial_clock_vote() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mips/ |
D | ath79-soc.txt | 7 - 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 …]
|
/kernel/linux/linux-5.10/arch/mips/boot/dts/qca/ |
D | ar9132.dtsi | 5 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 …]
|
D | ar9331.dtsi | 5 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 …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
D | qca,ath79-cpu-intc.txt | 5 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>;
|
D | qca,ath79-misc-intc.txt | 7 - 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";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ |
D | ath79-ddr-controller.txt | 10 - compatible: has to be "qca,<soc-type>-ddr-controller", 11 "qca,[ar7100|ar7240]-ddr-controller" as fallback. 12 On SoC with PCI support "qca,ar7100-ddr-controller" should be used as 13 fallback, otherwise "qca,ar7240-ddr-controller" should be used. 15 - #qca,ddr-wb-channel-cells: Specifies the number of cells needed to encode 21 compatible = "qca,ar9132-ddr-controller", 22 "qca,ar7240-ddr-controller"; 25 #qca,ddr-wb-channel-cells = <1>; 32 qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>; 33 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
D | qca,ath79-pll.txt | 6 - 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";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/reset/ |
D | ath79-reset.txt | 7 - compatible: has to be "qca,<soctype>-reset", "qca,ar7100-reset" 16 compatible = "qca,ar9132-reset", "qca,ar7100-reset";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
D | gpio-ath79.txt | 4 - 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";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
D | spi-ath79.txt | 4 - compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback. 16 compatible = "qca,ar9132-spi", "qca,ar7100-spi";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/watchdog/ |
D | qca-ar7130-wdt.txt | 4 - compatible: must be "qca,ar7130-wdt" 11 compatible = "qca,ar9330-wdt", "qca,ar7130-wdt";
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
D | fsl-ls1028a-kontron-sl28-var4.dts | 14 #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;
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
D | qca,qca7000.txt | 13 - 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";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/ |
D | phy-ath79-usb.txt | 4 - compatible: "qca,ar7100-usb-phy" 12 compatible = "qca,ar7100-usb-phy";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/ |
D | ar9331.txt | 9 - compatible: should be: "qca,ar9331-switch" 25 compatible = "qca,ar9330-eth"; 39 compatible = "qca,ar9330-eth"; 62 compatible = "qca,ar9331-switch";
|
D | qca8k.txt | 6 "qca,qca8334" 7 "qca,qca8337" 69 compatible = "qca,qca8337"; 127 compatible = "qca,qca8337";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/wireless/ |
D | qca,ath9k.txt | 33 - qca,no-eeprom: Indicates that there is no physical EEPROM connected to the 46 qca,no-eeprom;
|
/kernel/linux/linux-5.10/arch/mips/boot/dts/ |
D | Makefile | 15 subdir-$(CONFIG_ATH79) += qca
|