/linux-4.4.14/drivers/mtd/nand/ |
D | vf610_nfc.c | 204 static inline u32 vf610_nfc_read(struct vf610_nfc *nfc, uint reg) in vf610_nfc_read() argument 206 return readl(nfc->regs + reg); in vf610_nfc_read() 209 static inline void vf610_nfc_write(struct vf610_nfc *nfc, uint reg, u32 val) in vf610_nfc_write() argument 211 writel(val, nfc->regs + reg); in vf610_nfc_write() 214 static inline void vf610_nfc_set(struct vf610_nfc *nfc, uint reg, u32 bits) in vf610_nfc_set() argument 216 vf610_nfc_write(nfc, reg, vf610_nfc_read(nfc, reg) | bits); in vf610_nfc_set() 219 static inline void vf610_nfc_clear(struct vf610_nfc *nfc, uint reg, u32 bits) in vf610_nfc_clear() argument 221 vf610_nfc_write(nfc, reg, vf610_nfc_read(nfc, reg) & ~bits); in vf610_nfc_clear() 224 static inline void vf610_nfc_set_field(struct vf610_nfc *nfc, u32 reg, in vf610_nfc_set_field() argument 227 vf610_nfc_write(nfc, reg, in vf610_nfc_set_field() [all …]
|
D | sunxi_nand.c | 285 struct sunxi_nfc *nfc = dev_id; in sunxi_nfc_interrupt() local 286 u32 st = readl(nfc->regs + NFC_REG_ST); in sunxi_nfc_interrupt() 287 u32 ien = readl(nfc->regs + NFC_REG_INT); in sunxi_nfc_interrupt() 293 complete(&nfc->complete); in sunxi_nfc_interrupt() 295 writel(st & NFC_INT_MASK, nfc->regs + NFC_REG_ST); in sunxi_nfc_interrupt() 296 writel(~st & ien & NFC_INT_MASK, nfc->regs + NFC_REG_INT); in sunxi_nfc_interrupt() 301 static int sunxi_nfc_wait_int(struct sunxi_nfc *nfc, u32 flags, in sunxi_nfc_wait_int() argument 304 init_completion(&nfc->complete); in sunxi_nfc_wait_int() 306 writel(flags, nfc->regs + NFC_REG_INT); in sunxi_nfc_wait_int() 311 if (!wait_for_completion_timeout(&nfc->complete, in sunxi_nfc_wait_int() [all …]
|
D | atmel_nand.c | 129 struct atmel_nfc *nfc; member 273 if (host->nfc && host->nfc->use_nfc_sram && host->nfc->data_in_sram) { in atmel_read_buf8() 274 memcpy(buf, host->nfc->data_in_sram, len); in atmel_read_buf8() 275 host->nfc->data_in_sram += len; in atmel_read_buf8() 286 if (host->nfc && host->nfc->use_nfc_sram && host->nfc->data_in_sram) { in atmel_read_buf16() 287 memcpy(buf, host->nfc->data_in_sram, len); in atmel_read_buf16() 288 host->nfc->data_in_sram += len; in atmel_read_buf16() 323 nfc_writel(host->nfc->hsmc_regs, BANK, ATMEL_HSMC_NFC_BANK1); in nfc_set_sram_bank() 325 nfc_writel(host->nfc->hsmc_regs, BANK, ATMEL_HSMC_NFC_BANK0); in nfc_set_sram_bank() 333 if (nfc_readl(host->nfc->hsmc_regs, BANK) & ATMEL_HSMC_NFC_BANK1) in nfc_get_sram_off() [all …]
|
/linux-4.4.14/drivers/nfc/ |
D | Kconfig | 45 This adds support to use an mei bus nfc device. Select this if you 71 source "drivers/nfc/fdp/Kconfig" 72 source "drivers/nfc/pn544/Kconfig" 73 source "drivers/nfc/microread/Kconfig" 74 source "drivers/nfc/nfcmrvl/Kconfig" 75 source "drivers/nfc/st21nfca/Kconfig" 76 source "drivers/nfc/st-nci/Kconfig" 77 source "drivers/nfc/nxp-nci/Kconfig" 78 source "drivers/nfc/s3fwrn5/Kconfig"
|
/linux-4.4.14/Documentation/devicetree/bindings/net/nfc/ |
D | nfcmrvl.txt | 5 - "marvell,nfc-uart" or "mrvl,nfc-uart" for UART devices 6 - "marvell,nfc-i2c" for I2C devices 7 - "marvell,nfc-spi" for SPI devices 31 compatible = "marvell,nfc-uart"; 48 compatible = "marvell,nfc-i2c"; 70 compatible = "marvell,nfc-spi";
|
D | st-nci-spi.txt | 13 - ese-present: Specifies that an ese is physically connected to the nfc 16 connected to the nfc controller.
|
D | st-nci-i2c.txt | 14 - ese-present: Specifies that an ese is physically connected to the nfc 17 connected to the nfc controller.
|
D | st21nfca.txt | 14 - ese-present: Specifies that an ese is physically connected to the nfc 17 connected to the nfc controller.
|
D | trf7970a.txt | 30 nfc@0 {
|
/linux-4.4.14/net/nfc/ |
D | Kconfig | 15 be called nfc. 31 source "net/nfc/nci/Kconfig" 32 source "net/nfc/hci/Kconfig" 34 source "drivers/nfc/Kconfig"
|
D | Makefile | 5 obj-$(CONFIG_NFC) += nfc.o 10 nfc-objs := core.o netlink.o af_nfc.o rawsock.o llcp_core.o llcp_commands.o \
|
/linux-4.4.14/Documentation/devicetree/bindings/mtd/ |
D | vf610-nfc.txt | 7 - compatible: Should be set to "fsl,vf610-nfc". 27 - compatible: Should be set to "fsl,vf610-nfc-cs". 39 nfc: nand@400e0000 { 40 compatible = "fsl,vf610-nfc"; 46 clock-names = "nfc"; 51 compatible = "fsl,vf610-nfc-nandcs";
|
D | hisi504-nand.txt | 5 - compatible: Should be "hisilicon,504-nfc". 9 - interrupts: Interrupt number for nfc. 30 compatible = "hisilicon,504-nfc";
|
D | atmel-nand.txt | 37 - compatible : "atmel,sama5d3-nfc". 100 nfc@70000000 { 101 compatible = "atmel,sama5d3-nfc";
|
D | mxc-nand.txt | 5 - reg: address range of the nfc block
|
D | sunxi-nand.txt | 28 nfc: nand@01c03000 {
|
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-lib.c | 330 struct timing_threshod *nfc = &timing_default_threshold; in gpmi_nfc_compute_hardware_timing() local 371 nfc->clock_frequency_in_hz = clk_get_rate(r->clock[0]); in gpmi_nfc_compute_hardware_timing() 372 clock_frequency_in_hz = nfc->clock_frequency_in_hz; in gpmi_nfc_compute_hardware_timing() 450 if (clock_period_in_ns > (nfc->max_dll_clock_period_in_ns >> 1)) { in gpmi_nfc_compute_hardware_timing() 463 if (clock_period_in_ns > nfc->max_dll_clock_period_in_ns) in gpmi_nfc_compute_hardware_timing() 471 (nfc->max_sample_delay_factor * clock_period_in_ns) >> in gpmi_nfc_compute_hardware_timing() 478 if (max_sample_delay_in_ns > nfc->max_dll_delay_in_ns) in gpmi_nfc_compute_hardware_timing() 479 max_sample_delay_in_ns = nfc->max_dll_delay_in_ns; in gpmi_nfc_compute_hardware_timing() 492 nfc->internal_data_setup_in_ns; in gpmi_nfc_compute_hardware_timing() 505 (data_setup_in_cycles < nfc->max_data_setup_cycles)) { in gpmi_nfc_compute_hardware_timing() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_ethtool.c | 459 struct ethtool_rxnfc *nfc) in i40evf_set_rss_hash_opt() argument 469 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in i40evf_set_rss_hash_opt() 474 if (!(nfc->data & RXH_IP_SRC) || in i40evf_set_rss_hash_opt() 475 !(nfc->data & RXH_IP_DST)) in i40evf_set_rss_hash_opt() 478 switch (nfc->flow_type) { in i40evf_set_rss_hash_opt() 480 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40evf_set_rss_hash_opt() 492 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40evf_set_rss_hash_opt() 504 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40evf_set_rss_hash_opt() 518 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40evf_set_rss_hash_opt() 535 if ((nfc->data & RXH_L4_B_0_1) || in i40evf_set_rss_hash_opt() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ethtool.c | 814 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt() argument 821 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in fm10k_set_rss_hash_opt() 825 switch (nfc->flow_type) { in fm10k_set_rss_hash_opt() 828 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt() 829 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt() 830 !(nfc->data & RXH_L4_B_0_1) || in fm10k_set_rss_hash_opt() 831 !(nfc->data & RXH_L4_B_2_3)) in fm10k_set_rss_hash_opt() 835 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt() 836 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt() 838 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in fm10k_set_rss_hash_opt() [all …]
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | vf-colibri.dtsi | 55 &nfc { 63 compatible = "fsl,vf610-nfc-nandcs";
|
D | imx28-m28cu3.dts | 33 label = "gpmi-nfc-0-boot"; 39 label = "gpmi-nfc-general-use";
|
D | imx35-pdk.dts | 56 &nfc {
|
D | imx25-eukrea-cpuimx25.dtsi | 68 &nfc {
|
D | imx51-apf51.dts | 78 &nfc {
|
D | imx27-phytec-phycard-s-som.dtsi | 96 &nfc {
|
D | vf610-twr.dts | 304 &nfc { 312 compatible = "fsl,vf610-nfc-nandcs";
|
D | imx25-karo-tx25.dts | 106 &nfc {
|
D | imx27-apf27.dts | 84 &nfc {
|
D | imx35-eukrea-cpuimx35.dtsi | 91 &nfc {
|
D | imx51-eukrea-cpuimx51.dtsi | 99 &nfc {
|
D | imx53-m53.dtsi | 134 &nfc {
|
D | vfxxx.dtsi | 569 nfc: nand@400e0000 { label 572 compatible = "fsl,vf610-nfc"; 576 clock-names = "nfc";
|
D | imx27-pdk.dts | 100 &nfc {
|
D | imx27-eukrea-cpuimx27.dtsi | 54 &nfc {
|
D | imx53-voipac-dmm-668.dtsi | 259 &nfc {
|
D | ste-hrefv60plus.dtsi | 126 nfc {
|
D | imx27-phytec-phycore-som.dtsi | 301 &nfc {
|
D | imx25-pdk.dts | 264 &nfc {
|
D | armada-385-db-ap.dts | 162 nfc: flash@d0000 { label
|
D | imx51-digi-connectcore-som.dtsi | 192 &nfc {
|
D | imx35.dtsi | 341 nfc: nand@bb000000 { label
|
D | imx53-tx53.dtsi | 485 &nfc {
|
D | imx25.dtsi | 541 nfc: nand@bb000000 { label
|
D | imx27.dtsi | 562 nfc: nand@d8000000 { label
|
D | imx51.dtsi | 547 nfc: nand@83fdb000 { label
|
D | sama5d3.dtsi | 1480 nfc@70000000 { 1481 compatible = "atmel,sama5d3-nfc";
|
D | imx53.dtsi | 711 nfc: nand@63fdb000 { label
|
D | sama5d4.dtsi | 300 nfc@90000000 { 301 compatible = "atmel,sama5d3-nfc";
|
/linux-4.4.14/drivers/clk/imx/ |
D | clk-imx31.c | 51 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator 92 clk[nfc] = imx_clk_divider("nfc", "ahb", base + MXC_CCM_PDR0, 8, 3); in _mx31_clocks_init() 177 clk_register_clkdev(clk[nfc], NULL, "imx27-nand.0"); in mx31_clocks_init()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 2490 struct ethtool_rxnfc *nfc) in igb_set_rss_hash_opt() argument 2497 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igb_set_rss_hash_opt() 2501 switch (nfc->flow_type) { in igb_set_rss_hash_opt() 2504 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt() 2505 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt() 2506 !(nfc->data & RXH_L4_B_0_1) || in igb_set_rss_hash_opt() 2507 !(nfc->data & RXH_L4_B_2_3)) in igb_set_rss_hash_opt() 2511 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt() 2512 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt() 2514 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igb_set_rss_hash_opt() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2741 struct ethtool_rxnfc *nfc) in ixgbe_set_rss_hash_opt() argument 2749 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt() 2753 switch (nfc->flow_type) { in ixgbe_set_rss_hash_opt() 2756 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt() 2757 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt() 2758 !(nfc->data & RXH_L4_B_0_1) || in ixgbe_set_rss_hash_opt() 2759 !(nfc->data & RXH_L4_B_2_3)) in ixgbe_set_rss_hash_opt() 2763 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt() 2764 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 2766 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in ixgbe_set_rss_hash_opt() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 2145 static int i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc) in i40e_set_rss_hash_opt() argument 2154 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in i40e_set_rss_hash_opt() 2159 if (!(nfc->data & RXH_IP_SRC) || in i40e_set_rss_hash_opt() 2160 !(nfc->data & RXH_IP_DST)) in i40e_set_rss_hash_opt() 2163 switch (nfc->flow_type) { in i40e_set_rss_hash_opt() 2165 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40e_set_rss_hash_opt() 2177 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40e_set_rss_hash_opt() 2189 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40e_set_rss_hash_opt() 2203 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40e_set_rss_hash_opt() 2220 if ((nfc->data & RXH_L4_B_0_1) || in i40e_set_rss_hash_opt() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | imx31-clock.txt | 24 nfc 9
|
/linux-4.4.14/Documentation/nfc/ |
D | nfc-pn544.txt | 8 communication. The driver goes under drives/nfc/ and is compiled as a
|
D | nfc-hci.txt | 11 backend, implementing an abstract nfc device and translating NFC Core API 17 HCI registers as an nfc device with NFC Core. Requests coming from userspace are 97 to nfc core. 99 - target_from_gate() is an optional entrypoint to return the nfc protocols 169 The llc must be registered with nfc before it can be used. Do that by
|
/linux-4.4.14/net/ |
D | Makefile | 69 obj-$(CONFIG_NFC) += nfc/
|
D | Kconfig | 376 source "net/nfc/Kconfig"
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | pdm360ng.dts | 30 nfc@40000000 {
|
D | mpc5121ads.dts | 18 nfc@40000000 {
|
D | mpc5121.dtsi | 65 nfc@40000000 { 66 compatible = "fsl,mpc5121-nfc";
|
D | ac14xx.dts | 40 nfc@40000000 {
|
/linux-4.4.14/drivers/ |
D | Makefile | 67 obj-y += base/ block/ misc/ mfd/ nfc/
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | niu.c | 7082 static int niu_get_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) in niu_get_hash_opts() argument 7086 nfc->data = 0; in niu_get_hash_opts() 7088 if (!niu_ethflow_to_class(nfc->flow_type, &class)) in niu_get_hash_opts() 7093 nfc->data = RXH_DISCARD; in niu_get_hash_opts() 7095 nfc->data = niu_flowkey_to_ethflow(np->parent->flow_key[class - in niu_get_hash_opts() 7177 struct ethtool_rxnfc *nfc) in niu_get_ethtool_tcam_entry() argument 7181 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in niu_get_ethtool_tcam_entry() 7186 idx = tcam_get_index(np, (u16)nfc->fs.location); in niu_get_ethtool_tcam_entry() 7191 parent->index, (u16)nfc->fs.location, idx); in niu_get_ethtool_tcam_entry() 7250 nfc->data = tcam_get_size(np); in niu_get_ethtool_tcam_entry() [all …]
|
/linux-4.4.14/Documentation/networking/ |
D | 00-INDEX | 157 nfc.txt
|
/linux-4.4.14/include/uapi/linux/ |
D | Kbuild | 297 header-y += nfc.h
|
/linux-4.4.14/Documentation/ |
D | 00-INDEX | 336 nfc/
|
/linux-4.4.14/ |
D | MAINTAINERS | 7497 L: linux-nfc@lists.01.org (subscribers-only) 7499 F: net/nfc/ 7500 F: include/net/nfc/ 7501 F: include/uapi/linux/nfc.h 7502 F: drivers/nfc/ 7504 F: Documentation/devicetree/bindings/net/nfc/ 7627 L: linux-nfc@lists.01.org (moderated for non-subscribers) 7629 F: drivers/nfc/nxp-nci 9279 L: linux-nfc@lists.01.org (moderated for non-subscribers) 9281 F: drivers/nfc/s3fwrn5
|