Home
last modified time | relevance | path

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

1234

/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c123 switch (tx_type(wqe)) { in siw_qp_prepare_tx()
219 siw_dbg_qp(tx_qp(c_tx), "stale wqe type %d\n", tx_type(wqe)); in siw_qp_prepare_tx()
808 if (tx_type(wqe) == SIW_OP_READ_RESPONSE) in siw_qp_sq_proc_tx()
811 if (tx_type(wqe) != SIW_OP_READ && in siw_qp_sq_proc_tx()
812 tx_type(wqe) != SIW_OP_READ_LOCAL_INV) { in siw_qp_sq_proc_tx()
820 if (tx_type(wqe) == in siw_qp_sq_proc_tx()
859 tx_type(wqe), wqe->wr_status, wqe->bytes, wqe->processed, in siw_qp_sq_proc_tx()
867 enum siw_opcode tx_type = tx_type(wqe); in siw_qp_sq_proc_tx() local
882 if (!rv && tx_type != SIW_OP_READ && in siw_qp_sq_proc_tx()
883 tx_type != SIW_OP_READ_LOCAL_INV) in siw_qp_sq_proc_tx()
[all …]
H A Dsiw_qp.c382 tx_type(tx_wqe(qp))); in siw_send_terminate()
1184 tx_type(wqe), wqe->wr_status); in siw_sq_flush()
1186 siw_wqe_put_mem(wqe, tx_type(wqe)); in siw_sq_flush()
1188 if (tx_type(wqe) != SIW_OP_READ_RESPONSE && in siw_sq_flush()
1189 ((tx_type(wqe) != SIW_OP_READ && in siw_sq_flush()
1190 tx_type(wqe) != SIW_OP_READ_LOCAL_INV) || in siw_sq_flush()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c26 u16 tx_type; member
204 enum qed_ptp_hwtstamp_tx_type tx_type = QED_PTP_HWTSTAMP_TX_ON; in qede_ptp_cfg_filters() local
213 switch (ptp->tx_type) { in qede_ptp_cfg_filters()
216 tx_type = QED_PTP_HWTSTAMP_TX_ON; in qede_ptp_cfg_filters()
221 tx_type = QED_PTP_HWTSTAMP_TX_OFF; in qede_ptp_cfg_filters()
278 ptp->ops->cfg_filters(edev->cdev, rx_filter, tx_type); in qede_ptp_cfg_filters()
303 config->tx_type, config->rx_filter); in qede_hwtstamp_set()
305 switch (config->tx_type) { in qede_hwtstamp_set()
316 ptp->tx_type = config->tx_type; in qede_hwtstamp_set()
336 config->tx_type = ptp->tx_type; in qede_hwtstamp_get()
/linux/tools/testing/selftests/net/
H A Dhwtstamp_config.c102 config.tx_type = lookup_value(tx_types, N_TX_TYPES, argv[2]); in main()
104 if (config.tx_type < 0 || config.rx_filter < 0) { in main()
125 name = lookup_name(tx_types, N_TX_TYPES, config.tx_type); in main()
129 printf("tx_type = %d\n", config.tx_type); in main()
H A Dtimestamping.c396 hwconfig.tx_type = in main()
406 hwconfig_requested.tx_type == HWTSTAMP_TX_OFF && in main()
413 hwconfig_requested.tx_type, hwconfig.tx_type, in main()
/linux/crypto/async_tx/
H A Dasync_tx.c44 enum dma_transaction_type tx_type) in __async_tx_find_channel() argument
50 dma_has_cap(tx_type, depend_tx->chan->device->cap_mask)) in __async_tx_find_channel()
52 return async_dma_find_channel(tx_type); in __async_tx_find_channel()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_bond.c86 if (bond_grp->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) { in hns_roce_set_bond_netdev()
113 if (bond_grp->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) { in hns_roce_set_bond_netdev()
150 active = (bond_grp->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) ? in hns_roce_bond_get_active_slave()
663 if (bond_info->tx_type != NETDEV_LAG_TX_TYPE_ACTIVEBACKUP && in is_bond_setting_supported()
664 bond_info->tx_type != NETDEV_LAG_TX_TYPE_HASH) in is_bond_setting_supported()
667 if (bond_info->tx_type == NETDEV_LAG_TX_TYPE_HASH && in is_bond_setting_supported()
684 bond_grp->tx_type = bond_upper_info->tx_type; in upper_event_setting()
H A Dhns_roce_bond.h71 enum netdev_lag_tx_type tx_type; member
/linux/drivers/usb/usbip/
H A Dvudc.h59 enum tx_type { enum
66 enum tx_type type;
/linux/arch/powerpc/include/asm/
H A Dasync_tx.h27 enum dma_transaction_type tx_type);
/linux/Documentation/translations/zh_CN/networking/
H A Dtimestamping.rst439 int tx_type; /* HWTSTAMP_TX_* */
467 ifr_data指向 struct hwtstamp_config。tx_type 和 rx_filter 是驱动
474 /* 可能的 hwtstamp_config->tx_type 值 */
/linux/include/uapi/linux/
H A Dnet_tstamp.h81 * @tx_type: one of HWTSTAMP_TX_*
92 int tx_type; member
111 /* possible values for hwtstamp_config->tx_type */
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1098 enum hwtstamp_tx_types tx_type = config->tx_type; in mlxsw_sp1_ptp_get_message_types() local
1102 switch (tx_type) { in mlxsw_sp1_ptp_get_message_types()
1474 enum hwtstamp_tx_types tx_type = config->tx_type; in mlxsw_sp2_ptp_get_message_types() local
1512 switch (tx_type) { in mlxsw_sp2_ptp_get_message_types()
1637 new_config.tx_type = config->tx_type; in mlxsw_sp2_ptp_hwtstamp_set()
/linux/drivers/media/rc/
H A Dlirc_dev.c720 const char *rx_type, *tx_type; in lirc_register() local
758 tx_type = "raw IR"; in lirc_register()
760 tx_type = "no"; in lirc_register()
763 dev->driver_name, minor, rx_type, tx_type); in lirc_register()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c577 lag_upper_info->tx_type != NETDEV_LAG_TX_TYPE_ACTIVEBACKUP && in nfp_fl_lag_changeupper_event()
578 (lag_upper_info->tx_type != NETDEV_LAG_TX_TYPE_HASH || in nfp_fl_lag_changeupper_event()
585 lag_upper_info->tx_type, in nfp_fl_lag_changeupper_event()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_ptp.c172 enum qed_ptp_hwtstamp_tx_type tx_type) in qed_ptp_hw_cfg_filters() argument
229 if (tx_type == QED_PTP_HWTSTAMP_TX_OFF) { in qed_ptp_hw_cfg_filters()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ptp.c732 switch (config->tx_type) { in idpf_ptp_set_timestamp_mode()
743 vport->tstamp_config.tx_type = config->tx_type; in idpf_ptp_set_timestamp_mode()
/linux/drivers/ptp/
H A Dptp_ines.c344 cfg->tx_type = (port_conf & CM_ONE_STEP) ? HWTSTAMP_TX_ONESTEP_P2P in ines_hwtstamp_get()
347 cfg->tx_type = HWTSTAMP_TX_OFF; in ines_hwtstamp_get()
361 switch (cfg->tx_type) { in ines_hwtstamp_set()
/linux/drivers/net/can/dev/
H A Ddev.c432 cfg->tx_type = HWTSTAMP_TX_ON; in can_hwtstamp_get()
446 if (cfg->tx_type == HWTSTAMP_TX_ON && in can_hwtstamp_set()
/linux/drivers/net/phy/
H A Dmicrochip_rds_ptp.c485 config->tx_type = clock->hwts_tx_type; in mchp_rds_ptp_hwtstamp_get()
530 switch (config->tx_type) { in mchp_rds_ptp_hwtstamp_set()
574 if (config->tx_type == HWTSTAMP_TX_ONESTEP_SYNC) in mchp_rds_ptp_hwtstamp_set()
611 clock->hwts_tx_type = config->tx_type; in mchp_rds_ptp_hwtstamp_set()
/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c345 switch (config->tx_type) { in ksz_set_hwtstamp_config()
471 if (prt->tstamp_config.tx_type != HWTSTAMP_TX_ONESTEP_P2P) in ksz_port_rxtstamp()
522 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) in ksz_port_txtstamp()
528 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) { in ksz_port_txtstamp()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c747 if (tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) { in mlx5_modify_lag()
952 if (tracker && tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP && in mlx5_activate_lag()
1439 if (tracker.tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) { in mlx5_do_bond()
1718 tracker->tx_type = lag_upper_info->tx_type; in mlx5_handle_changeupper_event()
1731 mode_supported = tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP || in mlx5_handle_changeupper_event()
1732 tracker->tx_type == NETDEV_LAG_TX_TYPE_HASH; in mlx5_handle_changeupper_event()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c558 if (stmpconf->tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set()
559 stmpconf->tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set()
598 if (stmpconf->tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set()
628 stmpconf->tx_type = ptp->tx_tstamp_en ? HWTSTAMP_TX_ON in bnxt_hwtstamp_get()
/linux/net/core/
H A Dfailover.c75 lag_upper_info.tx_type = NETDEV_LAG_TX_TYPE_ACTIVEBACKUP; in failover_slave_register()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ptp.c53 switch (config->tx_type) { in iavf_ptp_set_timestamp_mode()

1234