Home
last modified time | relevance | path

Searched refs:tx_type (Results 1 – 44 of 44) sorted by relevance

/linux-4.4.14/Documentation/networking/timestamping/
Dhwtstamp_config.c99 config.tx_type = lookup_value(tx_types, N_TX_TYPES, argv[2]); in main()
101 if (config.tx_type < 0 || config.rx_filter < 0) { in main()
122 name = lookup_name(tx_types, N_TX_TYPES, config.tx_type); in main()
126 printf("tx_type = %d\n", config.tx_type); in main()
Dtimestamping.c380 hwconfig.tx_type = in main()
389 hwconfig_requested.tx_type == HWTSTAMP_TX_OFF && in main()
396 hwconfig_requested.tx_type, hwconfig.tx_type, in main()
/linux-4.4.14/crypto/async_tx/
Dasync_tx.c57 enum dma_transaction_type tx_type) in __async_tx_find_channel() argument
63 dma_has_cap(tx_type, depend_tx->chan->device->cap_mask)) in __async_tx_find_channel()
65 return async_dma_find_channel(tx_type); in __async_tx_find_channel()
/linux-4.4.14/include/linux/
Ddmaengine.h1039 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument
1041 set_bit(tx_type, dstp->bits); in __dma_cap_set()
1046 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument
1048 clear_bit(tx_type, dstp->bits); in __dma_cap_clear()
1059 __dma_has_cap(enum dma_transaction_type tx_type, dma_cap_mask_t *srcp) in __dma_has_cap() argument
1061 return test_bit(tx_type, srcp->bits); in __dma_has_cap()
1137 struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type);
1149 static inline struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type) in dma_find_channel() argument
Dasync_tx.h117 enum dma_transaction_type tx_type);
132 enum dma_transaction_type tx_type, struct page **dst, in async_tx_find_channel() argument
/linux-4.4.14/net/core/
Ddev_ioctl.c190 enum hwtstamp_tx_types tx_type; in net_hwtstamp_validate() local
201 tx_type = cfg.tx_type; in net_hwtstamp_validate()
204 switch (tx_type) { in net_hwtstamp_validate()
/linux-4.4.14/include/uapi/linux/
Dnet_tstamp.h49 int tx_type; member
/linux-4.4.14/arch/powerpc/include/asm/
Dasync_tx.h43 enum dma_transaction_type tx_type);
/linux-4.4.14/fs/ncpfs/
Dsock.c70 u_int16_t tx_type; member
434 if (req && (req->tx_type == NCP_ALLOC_SLOT_REQUEST || (server->sequence == reply.sequence && in ncpdgram_rcv_proc()
443 if (result >= 0 && server->sign_active && req->tx_type != NCP_DEALLOC_SLOT_REQUEST) { in ncpdgram_rcv_proc()
640 if (req->tx_type != NCP_ALLOC_SLOT_REQUEST) { in __ncptcp_rcv_proc()
653 if (server->sign_active && req->tx_type != NCP_DEALLOC_SLOT_REQUEST) { in __ncptcp_rcv_proc()
716 req->tx_type = *(u_int16_t*)server->packet; in do_ncp_rpc_call()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c271 pdata->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in xgbe_ptp_register()
Dxgbe-drv.c1034 switch (config.tx_type) { in xgbe_set_hwtstamp_settings()
1274 (pdata->tstamp_config.tx_type == HWTSTAMP_TX_ON)) in xgbe_packet_info()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c467 switch (config->tx_type) { in i40e_ptp_set_timestamp_mode()
629 pf->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in i40e_ptp_create_clock()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec_ptp.c488 switch (config.tx_type) { in fec_ptp_set()
522 config.tx_type = fep->hwts_tx_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in fec_ptp_get()
Dgianfar.c954 switch (config.tx_type) { in gfar_hwtstamp_set()
995 config.tx_type = priv->hwts_tx_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in gfar_hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/adi/
Dbfin_mac.c677 __func__, config.flags, config.tx_type, config.rx_filter); in bfin_mac_hwtstamp_set()
683 if ((config.tx_type != HWTSTAMP_TX_OFF) && in bfin_mac_hwtstamp_set()
684 (config.tx_type != HWTSTAMP_TX_ON)) in bfin_mac_hwtstamp_set()
795 if (config.tx_type == HWTSTAMP_TX_OFF && in bfin_mac_hwtstamp_set()
912 lp->stamp_cfg.tx_type = HWTSTAMP_TX_OFF; in bfin_mac_hwtstamp_init()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c145 if ((cq->is_tx && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
Den_netdev.c2145 switch (config.tx_type) { in mlx4_en_hwtstamp_set()
2178 config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_hwtstamp_set()
2932 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev()
3102 if (priv->hwtstamp_config.tx_type == ts_config.tx_type && in mlx4_en_reset_config()
3126 priv->hwtstamp_config.tx_type = ts_config.tx_type; in mlx4_en_reset_config()
Den_tx.c144 ring->hwtstamp_tx_type = priv->hwtstamp_config.tx_type; in mlx4_en_create_tx_ring()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c600 switch (config->tx_type) { in ixgbe_ptp_set_timestamp_mode()
914 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in ixgbe_ptp_create_clock()
/linux-4.4.14/drivers/net/ethernet/xscale/
Dixp4xx_eth.c388 if (cfg.tx_type != HWTSTAMP_TX_OFF && cfg.tx_type != HWTSTAMP_TX_ON) in hwtstamp_set()
407 port->hwts_tx_en = cfg.tx_type == HWTSTAMP_TX_ON; in hwtstamp_set()
422 cfg.tx_type = port->hwts_tx_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_ptp.c219 switch (ts_config.tx_type) { in fm10k_set_ts_config()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbna_enet.c819 enum bna_tx_type tx_type = \
826 bna_tx_mod_start(&(enet)->bna->tx_mod, tx_type); \
832 enum bna_tx_type tx_type = \
842 bna_tx_mod_stop(&(enet)->bna->tx_mod, tx_type); \
Dbna_types.h507 enum bna_tx_type tx_type; member
Dbna_tx_rx.c3396 tx = bna_tx_get(tx_mod, tx_cfg->tx_type); in bna_tx_create()
Dbnad.c1983 tx_config->tx_type = BNA_TX_T_REGULAR; in bnad_setup_tx()
/linux-4.4.14/drivers/dma/
Ddmaengine.c355 struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type) in dma_find_channel() argument
357 return this_cpu_read(channel_table[tx_type]->chan); in dma_find_channel()
/linux-4.4.14/drivers/net/phy/
Ddp83640.c1299 if (cfg.tx_type < 0 || cfg.tx_type > HWTSTAMP_TX_ONESTEP_SYNC) in dp83640_hwtstamp()
1302 dp83640->hwts_tx_en = cfg.tx_type; in dp83640_hwtstamp()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ptp.c848 switch (config->tx_type) { in igb_ptp_set_timestamp_mode()
1112 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in igb_ptp_init()
/linux-4.4.14/Documentation/networking/
Dtimestamping.txt350 int tx_type; /* HWTSTAMP_TX_* */
356 ifr_data points to a struct hwtstamp_config. The tx_type and
383 /* possible values for hwtstamp_config->tx_type */
/linux-4.4.14/drivers/net/ethernet/sfc/
Dptp.c1246 ptp->config.tx_type = HWTSTAMP_TX_OFF; in efx_ptp_probe()
1528 if ((init->tx_type != HWTSTAMP_TX_OFF) && in efx_ptp_ts_init()
1529 (init->tx_type != HWTSTAMP_TX_ON)) in efx_ptp_ts_init()
Dsiena.c142 init->tx_type != HWTSTAMP_TX_OFF, in siena_ptp_set_ts_config()
Def10.c4637 init->tx_type != HWTSTAMP_TX_OFF, 0); in efx_ef10_ptp_set_ts_config()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c452 __func__, config.flags, config.tx_type, config.rx_filter); in stmmac_hwtstamp_ioctl()
458 if (config.tx_type != HWTSTAMP_TX_OFF && in stmmac_hwtstamp_ioctl()
459 config.tx_type != HWTSTAMP_TX_ON) in stmmac_hwtstamp_ioctl()
592 priv->hwts_tx_en = config.tx_type == HWTSTAMP_TX_ON; in stmmac_hwtstamp_ioctl()
/linux-4.4.14/drivers/net/ethernet/ti/
Dcpsw.c1508 if (cfg.tx_type != HWTSTAMP_TX_OFF && cfg.tx_type != HWTSTAMP_TX_ON) in cpsw_hwtstamp_set()
1536 cpts->tx_enable = cfg.tx_type == HWTSTAMP_TX_ON; in cpsw_hwtstamp_set()
1565 cfg.tx_type = cpts->tx_enable ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in cpsw_hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c243 if (cfg.tx_type != HWTSTAMP_TX_OFF && cfg.tx_type != HWTSTAMP_TX_ON) in hwtstamp_ioctl()
274 adapter->hwts_tx_en = cfg.tx_type == HWTSTAMP_TX_ON; in hwtstamp_ioctl()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilegx.c487 switch (config.tx_type) { in tile_hwtstamp_set()
906 priv->stamp_cfg.tx_type = HWTSTAMP_TX_OFF; in init_ptp_dev()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_main.c1520 config.tx_type = priv->tstamp_tx_ctrl ? HWTSTAMP_TX_ON : in ravb_hwtstamp_get()
1548 switch (config.tx_type) { in ravb_hwtstamp_set()
/linux-4.4.14/drivers/net/ethernet/octeon/
Docteon_mgmt.c740 switch (config.tx_type) { in octeon_mgmt_ioctl_hwtstamp()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c3207 switch (config.tx_type) { in vxge_hwtstamp_set()
3260 config.tx_type = HWTSTAMP_TX_OFF; in vxge_hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1941 u16 tx_type; member
Dbnx2x_main.c15213 switch (bp->tx_type) { in bnx2x_configure_ptp_filters()
15299 config.tx_type, config.rx_filter); in bnx2x_hwtstamp_ioctl()
15307 bp->tx_type = config.tx_type; in bnx2x_hwtstamp_ioctl()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c2444 switch (conf.tx_type) { in hwtstamp_ioctl()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dtg3.c13798 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in tg3_hwtstamp_set()
13799 stmpconf.tx_type != HWTSTAMP_TX_OFF) in tg3_hwtstamp_set()
13862 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in tg3_hwtstamp_set()
13880 stmpconf.tx_type = (tg3_flag(tp, TX_TSTAMP_EN) ? in tg3_hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3605 switch (config->tx_type) { in e1000e_config_hwtstamp()