Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/include/linux/
Ddmaengine.h932 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument
934 set_bit(tx_type, dstp->bits); in __dma_cap_set()
939 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument
941 clear_bit(tx_type, dstp->bits); in __dma_cap_clear()
952 __dma_has_cap(enum dma_transaction_type tx_type, dma_cap_mask_t *srcp) in __dma_has_cap() argument
954 return test_bit(tx_type, srcp->bits); in __dma_has_cap()
1030 struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type);
1042 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.1.27/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.1.27/include/uapi/linux/
Dnet_tstamp.h49 int tx_type; member
/linux-4.1.27/arch/powerpc/include/asm/
Dasync_tx.h43 enum dma_transaction_type tx_type);
/linux-4.1.27/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.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c271 pdata->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in xgbe_ptp_register()
Dxgbe-drv.c1102 switch (config.tx_type) { in xgbe_set_hwtstamp_settings()
1342 (pdata->tstamp_config.tx_type == HWTSTAMP_TX_ON)) in xgbe_packet_info()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c468 switch (config->tx_type) { in i40e_ptp_set_timestamp_mode()
631 pf->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in i40e_ptp_create_clock()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_ptp.c489 switch (config.tx_type) { in fec_ptp_set()
529 config.tx_type = fep->hwts_tx_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in fec_ptp_get()
Dgianfar.c991 switch (config.tx_type) { in gfar_hwtstamp_set()
1032 config.tx_type = priv->hwts_tx_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in gfar_hwtstamp_get()
/linux-4.1.27/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.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c154 if ((cq->is_tx && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
Den_netdev.c2126 switch (config.tx_type) { in mlx4_en_hwtstamp_set()
2159 config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_hwtstamp_set()
2873 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev()
3019 if (priv->hwtstamp_config.tx_type == ts_config.tx_type && in mlx4_en_reset_config()
3043 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.1.27/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.1.27/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.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_ptp.c218 switch (ts_config.tx_type) { in fm10k_set_ts_config()
/linux-4.1.27/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.h520 enum bna_tx_type tx_type; member
Dbnad.c1981 tx_config->tx_type = BNA_TX_T_REGULAR; in bnad_setup_tx()
Dbna_tx_rx.c3709 tx = bna_tx_get(tx_mod, tx_cfg->tx_type); in bna_tx_create()
/linux-4.1.27/drivers/dma/
Ddmaengine.c348 struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type) in dma_find_channel() argument
350 return this_cpu_read(channel_table[tx_type]->chan); in dma_find_channel()
/linux-4.1.27/Documentation/networking/
Dtimestamping.txt350 int tx_type; /* HWTSTAMP_TX_* */
356 ifr_data points to a struct hwtstamp_config. The tx_type and
376 /* possible values for hwtstamp_config->tx_type */
/linux-4.1.27/drivers/net/phy/
Ddp83640.c1287 if (cfg.tx_type < 0 || cfg.tx_type > HWTSTAMP_TX_ONESTEP_SYNC) in dp83640_hwtstamp()
1290 dp83640->hwts_tx_en = cfg.tx_type; in dp83640_hwtstamp()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_ptp.c816 switch (config->tx_type) { in igb_ptp_set_timestamp_mode()
1080 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in igb_ptp_init()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dptp.c1236 ptp->config.tx_type = HWTSTAMP_TX_OFF; in efx_ptp_probe()
1518 if ((init->tx_type != HWTSTAMP_TX_OFF) && in efx_ptp_ts_init()
1519 (init->tx_type != HWTSTAMP_TX_ON)) in efx_ptp_ts_init()
Dsiena.c141 init->tx_type != HWTSTAMP_TX_OFF, in siena_ptp_set_ts_config()
Def10.c3586 init->tx_type != HWTSTAMP_TX_OFF, 0); in efx_ef10_ptp_set_ts_config()
/linux-4.1.27/drivers/net/ethernet/ti/
Dcpsw.c1497 if (cfg.tx_type != HWTSTAMP_TX_OFF && cfg.tx_type != HWTSTAMP_TX_ON) in cpsw_hwtstamp_set()
1525 cpts->tx_enable = cfg.tx_type == HWTSTAMP_TX_ON; in cpsw_hwtstamp_set()
1554 cfg.tx_type = cpts->tx_enable ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in cpsw_hwtstamp_get()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c451 __func__, config.flags, config.tx_type, config.rx_filter); in stmmac_hwtstamp_ioctl()
457 if (config.tx_type != HWTSTAMP_TX_OFF && in stmmac_hwtstamp_ioctl()
458 config.tx_type != HWTSTAMP_TX_ON) in stmmac_hwtstamp_ioctl()
591 priv->hwts_tx_en = config.tx_type == HWTSTAMP_TX_ON; in stmmac_hwtstamp_ioctl()
/linux-4.1.27/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.1.27/drivers/net/ethernet/tile/
Dtilegx.c486 switch (config.tx_type) { in tile_hwtstamp_set()
905 priv->stamp_cfg.tx_type = HWTSTAMP_TX_OFF; in init_ptp_dev()
/linux-4.1.27/drivers/net/ethernet/octeon/
Docteon_mgmt.c740 switch (config.tx_type) { in octeon_mgmt_ioctl_hwtstamp()
/linux-4.1.27/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.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1914 u16 tx_type; member
Dbnx2x_main.c14705 switch (bp->tx_type) { in bnx2x_configure_ptp_filters()
14791 config.tx_type, config.rx_filter); in bnx2x_hwtstamp_ioctl()
14799 bp->tx_type = config.tx_type; in bnx2x_hwtstamp_ioctl()
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3597 switch (config->tx_type) { in e1000e_config_hwtstamp()