Searched defs:nfc (Results 1 - 8 of 8) sorted by relevance

/drivers/net/ethernet/intel/i40evf/
H A Di40evf_ethtool.c454 struct ethtool_rxnfc *nfc)
464 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST |
469 if (!(nfc->data & RXH_IP_SRC) ||
470 !(nfc->data & RXH_IP_DST))
473 switch (nfc->flow_type) {
475 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) {
487 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) {
499 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) {
513 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) {
530 if ((nfc
453 i40evf_set_rss_hash_opt(struct i40evf_adapter *adapter, struct ethtool_rxnfc *nfc) argument
[all...]
/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-lib.c330 struct timing_threshod *nfc = &timing_default_threshold; local
371 nfc->clock_frequency_in_hz = clk_get_rate(r->clock[0]);
372 clock_frequency_in_hz = nfc->clock_frequency_in_hz;
450 if (clock_period_in_ns > (nfc->max_dll_clock_period_in_ns >> 1)) {
463 if (clock_period_in_ns > nfc->max_dll_clock_period_in_ns)
471 (nfc->max_sample_delay_factor * clock_period_in_ns) >>
478 if (max_sample_delay_in_ns > nfc->max_dll_delay_in_ns)
479 max_sample_delay_in_ns = nfc->max_dll_delay_in_ns;
492 nfc->internal_data_setup_in_ns;
505 (data_setup_in_cycles < nfc
[all...]
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c671 struct ethtool_rxnfc *nfc)
678 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST |
682 switch (nfc->flow_type) {
685 if (!(nfc->data & RXH_IP_SRC) ||
686 !(nfc->data & RXH_IP_DST) ||
687 !(nfc->data & RXH_L4_B_0_1) ||
688 !(nfc->data & RXH_L4_B_2_3))
692 if (!(nfc->data & RXH_IP_SRC) ||
693 !(nfc->data & RXH_IP_DST))
695 switch (nfc
670 fm10k_set_rss_hash_opt(struct fm10k_intfc *interface, struct ethtool_rxnfc *nfc) argument
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c1778 static int i40e_set_rss_hash_opt(struct i40e_pf *pf, struct ethtool_rxnfc *nfc) argument
1787 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST |
1792 if (!(nfc->data & RXH_IP_SRC) ||
1793 !(nfc->data & RXH_IP_DST))
1796 switch (nfc->flow_type) {
1798 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) {
1810 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) {
1822 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) {
1836 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) {
1853 if ((nfc
[all...]
/drivers/mtd/nand/
H A Datmel_nand.c125 struct atmel_nfc *nfc; member in struct:atmel_nand_host
287 if (host->nfc && host->nfc->use_nfc_sram && host->nfc->data_in_sram) {
288 memcpy32_fromio(buf, host->nfc->data_in_sram, len);
289 host->nfc->data_in_sram += len;
300 if (host->nfc && host->nfc->use_nfc_sram && host->nfc->data_in_sram) {
301 memcpy32_fromio(buf, host->nfc
374 struct atmel_nfc *nfc = host->nfc; local
2247 struct atmel_nfc *nfc = &nand_nfc; local
2298 struct atmel_nfc *nfc = &nand_nfc; local
[all...]
/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2477 struct ethtool_rxnfc *nfc)
2484 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST |
2488 switch (nfc->flow_type) {
2491 if (!(nfc->data & RXH_IP_SRC) ||
2492 !(nfc->data & RXH_IP_DST) ||
2493 !(nfc->data & RXH_L4_B_0_1) ||
2494 !(nfc->data & RXH_L4_B_2_3))
2498 if (!(nfc->data & RXH_IP_SRC) ||
2499 !(nfc->data & RXH_IP_DST))
2501 switch (nfc
2476 igb_set_rss_hash_opt(struct igb_adapter *adapter, struct ethtool_rxnfc *nfc) argument
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2707 struct ethtool_rxnfc *nfc)
2715 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST |
2719 switch (nfc->flow_type) {
2722 if (!(nfc->data & RXH_IP_SRC) ||
2723 !(nfc->data & RXH_IP_DST) ||
2724 !(nfc->data & RXH_L4_B_0_1) ||
2725 !(nfc->data & RXH_L4_B_2_3))
2729 if (!(nfc->data & RXH_IP_SRC) ||
2730 !(nfc->data & RXH_IP_DST))
2732 switch (nfc
2706 ixgbe_set_rss_hash_opt(struct ixgbe_adapter *adapter, struct ethtool_rxnfc *nfc) argument
[all...]
/drivers/net/ethernet/sun/
H A Dniu.c7090 static int niu_get_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) argument
7094 nfc->data = 0;
7096 if (!niu_ethflow_to_class(nfc->flow_type, &class))
7101 nfc->data = RXH_DISCARD;
7103 nfc->data = niu_flowkey_to_ethflow(np->parent->flow_key[class -
7185 struct ethtool_rxnfc *nfc)
7189 struct ethtool_rx_flow_spec *fsp = &nfc->fs;
7194 idx = tcam_get_index(np, (u16)nfc->fs.location);
7199 parent->index, (u16)nfc->fs.location, idx);
7260 nfc
7184 niu_get_ethtool_tcam_entry(struct niu *np, struct ethtool_rxnfc *nfc) argument
7265 niu_get_ethtool_tcam_all(struct niu *np, struct ethtool_rxnfc *nfc, u32 *rule_locs) argument
7328 niu_set_hash_opts(struct niu *np, struct ethtool_rxnfc *nfc) argument
7445 niu_add_ethtool_tcam_entry(struct niu *np, struct ethtool_rxnfc *nfc) argument
[all...]

Completed in 628 milliseconds