Replace #ifdef CONFIG_QPNP_REVID with #if
IS_ENABLED(CONFIG_QPNP_REVID). This fixes a function
redefinition error when compiling the qpnp-revid driver as
a module with CONFIG_QPNP_REVID=m in a defconfig file.
Change-Id: Ie1907010b8bbcd13fdc301f5647af9e081f6088a
Signed-off-by: David Collins <collinsd@codeaurora.org>
This change adds USB GSI function driver which provides USB RMNET/RNDIS/
ECM/MBIM/DPL related functionalities with GSI hardware accelerated path.
This snapshot is taken as of msm-4.19 commit 104eef6e1fe8 ("platform:
msm: Remove unused local count variable").
This change also includes some fixups to match the modified API in
dwc3-msm.h.
Change-Id: If849fdeab445e99dc914060eae98e1948a48e3d2
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Regmap debugfs write could be risky when accessing some essential
hardwares. Make REGMAP_ALLOW_WRITE_DEBUGFS configurable so that debugfs
write could be disabled if it's not desired.
Change-Id: I4a494e98e9556d694f45302bf294bb58bc2adba2
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
The current method of cat-ing register file dumps the entire
address space. One can use dd command to dump a subrange within
the address space. However one needs to know the string length
of each line which is derived from max address, the character
length of each register entry and the format.
Provide simple means to dump a range by allowing user to specify
the start address and the count of registers. When the data is read
convert the dump address to a starting position in the file. Similarly
if the file offset goes beyond the dump range return 0 to indicate
that the data is already dumped.
Also provide a means to write to a register address. Use
CONFIG_REGMAP_QTI_DEBUG to enable this new fine-grained
register read/write interface.
Change-Id: I3466ce89007d127151f6760328edad116d679db8
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: David Collins <collinsd@codeaurora.org>
LAN RX optimization, change LAN RX data path bottom half
to run in softirq using NAPI. Also added an API for other
clients to see if we are using NAPI.
Change-Id: Iecd47f7412975b58786d81a5df3460de9aeffa21
Acked-by: Tal Gelbard <tgelbard@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add the ability to filter VLAN ID from 802_1Q packets.
filter VLAN packets TPID 0x8100 and VLAN ID according to
parameter.
CRs-Fixed: 2524793
Change-Id: Id3bf910636e46c819dc2fb0f7f9bc938e6dd61dd
Signed-off-by: Amir Levy <alevy@codeaurora.org>