/linux-4.1.27/drivers/mtd/nand/ |
D | sunxi_nand.c | 268 struct sunxi_nfc *nfc = dev_id; in sunxi_nfc_interrupt() local 269 u32 st = readl(nfc->regs + NFC_REG_ST); in sunxi_nfc_interrupt() 270 u32 ien = readl(nfc->regs + NFC_REG_INT); in sunxi_nfc_interrupt() 276 complete(&nfc->complete); in sunxi_nfc_interrupt() 278 writel(st & NFC_INT_MASK, nfc->regs + NFC_REG_ST); in sunxi_nfc_interrupt() 279 writel(~st & ien & NFC_INT_MASK, nfc->regs + NFC_REG_INT); in sunxi_nfc_interrupt() 284 static int sunxi_nfc_wait_int(struct sunxi_nfc *nfc, u32 flags, in sunxi_nfc_wait_int() argument 287 init_completion(&nfc->complete); in sunxi_nfc_wait_int() 289 writel(flags, nfc->regs + NFC_REG_INT); in sunxi_nfc_wait_int() 294 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.1.27/drivers/nfc/ |
D | Kconfig | 45 This adds support to use an mei bus nfc device. Select this if you 71 source "drivers/nfc/pn544/Kconfig" 72 source "drivers/nfc/microread/Kconfig" 73 source "drivers/nfc/nfcmrvl/Kconfig" 74 source "drivers/nfc/st21nfca/Kconfig" 75 source "drivers/nfc/st21nfcb/Kconfig" 76 source "drivers/nfc/nxp-nci/Kconfig"
|
/linux-4.1.27/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.1.27/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.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_ethtool.c | 457 struct ethtool_rxnfc *nfc) in i40evf_set_rss_hash_opt() argument 467 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in i40evf_set_rss_hash_opt() 472 if (!(nfc->data & RXH_IP_SRC) || in i40evf_set_rss_hash_opt() 473 !(nfc->data & RXH_IP_DST)) in i40evf_set_rss_hash_opt() 476 switch (nfc->flow_type) { in i40evf_set_rss_hash_opt() 478 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40evf_set_rss_hash_opt() 490 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40evf_set_rss_hash_opt() 502 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40evf_set_rss_hash_opt() 516 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40evf_set_rss_hash_opt() 533 if ((nfc->data & RXH_L4_B_0_1) || in i40evf_set_rss_hash_opt() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/mtd/ |
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.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ethtool.c | 700 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt() argument 707 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in fm10k_set_rss_hash_opt() 711 switch (nfc->flow_type) { in fm10k_set_rss_hash_opt() 714 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt() 715 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt() 716 !(nfc->data & RXH_L4_B_0_1) || in fm10k_set_rss_hash_opt() 717 !(nfc->data & RXH_L4_B_2_3)) in fm10k_set_rss_hash_opt() 721 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt() 722 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt() 724 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in fm10k_set_rss_hash_opt() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/net/nfc/ |
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 | 27 nfc@0 {
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | clk-imx31.c | 37 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator 65 clk[nfc] = imx_clk_divider("nfc", "ahb", base + MXC_CCM_PDR0, 8, 3); in mx31_clocks_init() 136 clk_register_clkdev(clk[nfc], NULL, "imx27-nand.0"); in mx31_clocks_init()
|
/linux-4.1.27/drivers/misc/mei/ |
D | Makefile | 14 mei-objs += nfc.o
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1978 static int i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc) in i40e_set_rss_hash_opt() argument 1987 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in i40e_set_rss_hash_opt() 1992 if (!(nfc->data & RXH_IP_SRC) || in i40e_set_rss_hash_opt() 1993 !(nfc->data & RXH_IP_DST)) in i40e_set_rss_hash_opt() 1996 switch (nfc->flow_type) { in i40e_set_rss_hash_opt() 1998 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40e_set_rss_hash_opt() 2010 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40e_set_rss_hash_opt() 2022 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40e_set_rss_hash_opt() 2036 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in i40e_set_rss_hash_opt() 2053 if ((nfc->data & RXH_L4_B_0_1) || in i40e_set_rss_hash_opt() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 2477 struct ethtool_rxnfc *nfc) in igb_set_rss_hash_opt() argument 2484 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igb_set_rss_hash_opt() 2488 switch (nfc->flow_type) { in igb_set_rss_hash_opt() 2491 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt() 2492 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt() 2493 !(nfc->data & RXH_L4_B_0_1) || in igb_set_rss_hash_opt() 2494 !(nfc->data & RXH_L4_B_2_3)) in igb_set_rss_hash_opt() 2498 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt() 2499 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt() 2501 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igb_set_rss_hash_opt() [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
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 | imx27-apf27.dts | 84 &nfc {
|
D | imx25-karo-tx25.dts | 106 &nfc {
|
D | imx35-eukrea-cpuimx35.dtsi | 91 &nfc {
|
D | imx51-eukrea-cpuimx51.dtsi | 99 &nfc {
|
D | imx53-m53.dtsi | 134 &nfc {
|
D | imx27-pdk.dts | 100 &nfc {
|
D | ste-hrefv60plus.dtsi | 115 nfc {
|
D | imx53-voipac-dmm-668.dtsi | 259 &nfc {
|
D | imx27-eukrea-cpuimx27.dtsi | 54 &nfc {
|
D | armada-385-db-ap.dts | 160 nfc: flash@d0000 { label
|
D | imx27-phytec-phycore-som.dtsi | 301 &nfc {
|
D | imx25-pdk.dts | 264 &nfc {
|
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 | 553 nfc: nand@d8000000 { label
|
D | imx51.dtsi | 547 nfc: nand@83fdb000 { label
|
D | sama5d3.dtsi | 1476 nfc@70000000 { 1477 compatible = "atmel,sama5d3-nfc";
|
D | imx53.dtsi | 710 nfc: nand@63fdb000 { label
|
D | sama5d4.dtsi | 297 nfc@90000000 { 298 compatible = "atmel,sama5d3-nfc";
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2722 struct ethtool_rxnfc *nfc) in ixgbe_set_rss_hash_opt() argument 2730 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt() 2734 switch (nfc->flow_type) { in ixgbe_set_rss_hash_opt() 2737 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt() 2738 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt() 2739 !(nfc->data & RXH_L4_B_0_1) || in ixgbe_set_rss_hash_opt() 2740 !(nfc->data & RXH_L4_B_2_3)) in ixgbe_set_rss_hash_opt() 2744 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt() 2745 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 2747 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in ixgbe_set_rss_hash_opt() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/clock/ |
D | imx31-clock.txt | 24 nfc 9
|
/linux-4.1.27/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.1.27/net/ |
D | Makefile | 69 obj-$(CONFIG_NFC) += nfc/
|
D | Kconfig | 372 source "net/nfc/Kconfig"
|
/linux-4.1.27/drivers/ |
D | Makefile | 66 obj-y += base/ block/ misc/ mfd/ nfc/
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/sun/ |
D | niu.c | 7084 static int niu_get_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) in niu_get_hash_opts() argument 7088 nfc->data = 0; in niu_get_hash_opts() 7090 if (!niu_ethflow_to_class(nfc->flow_type, &class)) in niu_get_hash_opts() 7095 nfc->data = RXH_DISCARD; in niu_get_hash_opts() 7097 nfc->data = niu_flowkey_to_ethflow(np->parent->flow_key[class - in niu_get_hash_opts() 7179 struct ethtool_rxnfc *nfc) in niu_get_ethtool_tcam_entry() argument 7183 struct ethtool_rx_flow_spec *fsp = &nfc->fs; in niu_get_ethtool_tcam_entry() 7188 idx = tcam_get_index(np, (u16)nfc->fs.location); in niu_get_ethtool_tcam_entry() 7193 parent->index, (u16)nfc->fs.location, idx); in niu_get_ethtool_tcam_entry() 7252 nfc->data = tcam_get_size(np); in niu_get_ethtool_tcam_entry() [all …]
|
/linux-4.1.27/Documentation/networking/ |
D | 00-INDEX | 157 nfc.txt
|
/linux-4.1.27/include/uapi/linux/ |
D | Kbuild | 290 header-y += nfc.h
|
/linux-4.1.27/Documentation/ |
D | 00-INDEX | 336 nfc/
|
/linux-4.1.27/ |
D | MAINTAINERS | 6912 L: linux-nfc@lists.01.org (subscribers-only) 6914 F: net/nfc/ 6915 F: include/net/nfc/ 6916 F: include/uapi/linux/nfc.h 6917 F: drivers/nfc/ 6919 F: Documentation/devicetree/bindings/net/nfc/ 7018 L: linux-nfc@lists.01.org (moderated for non-subscribers) 7020 F: drivers/nfc/nxp-nci
|