| /drivers/media/platform/amphion/ |
| A D | vpu_mbox.c | 58 scnprintf(core->tx_type.name, sizeof(core->tx_type.name) - 1, "tx0"); in vpu_mbox_init() 59 core->tx_type.block = true; in vpu_mbox_init() 74 ret = vpu_mbox_request_channel(core->dev, &core->tx_type); in vpu_mbox_request() 93 mbox_free_channel(core->tx_type.ch); in vpu_mbox_free() 96 core->tx_type.ch = NULL; in vpu_mbox_free() 104 mbox_send_message(core->tx_type.ch, &type); in vpu_mbox_send_type() 110 mbox_send_message(core->tx_type.ch, &type); in vpu_mbox_send_msg()
|
| /drivers/infiniband/sw/siw/ |
| A D | siw_qp_tx.c | 123 switch (tx_type(wqe)) { in siw_qp_prepare_tx() 820 if (tx_type(wqe) == in siw_qp_sq_proc_tx() 867 enum siw_opcode tx_type = tx_type(wqe); in siw_qp_sq_proc_tx() local 982 switch (tx_type(wqe)) { in siw_qp_sq_proc_local() 1026 enum siw_opcode tx_type; in siw_qp_sq_process() local 1040 tx_type = tx_type(wqe); in siw_qp_sq_process() 1051 switch (tx_type) { in siw_qp_sq_process() 1055 siw_wqe_put_mem(wqe, tx_type); in siw_qp_sq_process() 1115 tx_type(wqe), rv); in siw_qp_sq_process() 1121 if ((tx_type == SIW_OP_READ || in siw_qp_sq_process() [all …]
|
| A D | siw_qp.c | 382 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()
|
| /drivers/net/ethernet/qlogic/qede/ |
| A D | qede_ptp.c | 26 u16 tx_type; member 204 enum qed_ptp_hwtstamp_tx_type tx_type = QED_PTP_HWTSTAMP_TX_ON; in qede_ptp_cfg_filters() local 216 switch (ptp->tx_type) { in qede_ptp_cfg_filters() 219 tx_type = QED_PTP_HWTSTAMP_TX_ON; in qede_ptp_cfg_filters() 224 tx_type = QED_PTP_HWTSTAMP_TX_OFF; in qede_ptp_cfg_filters() 286 ptp->ops->cfg_filters(edev->cdev, rx_filter, tx_type); in qede_ptp_cfg_filters() 308 config.tx_type, config.rx_filter); in qede_ptp_hw_ts() 311 ptp->tx_type = config.tx_type; in qede_ptp_hw_ts()
|
| /drivers/usb/usbip/ |
| A D | vudc.h | 59 enum tx_type { enum 66 enum tx_type type;
|
| /drivers/net/phy/mscc/ |
| A D | mscc_ptp.c | 1010 vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init() 1012 ptp_l4 && vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init() 1014 vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init() 1017 if (vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF) in vsc85xx_ts_engine_init() 1064 switch (cfg->tx_type) { in vsc85xx_hwtstamp() 1076 vsc8531->ptp->tx_type = cfg->tx_type; in vsc85xx_hwtstamp() 1113 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_OFF) in vsc85xx_hwtstamp() 1174 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_OFF) in vsc85xx_txtstamp() 1177 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_ONESTEP_SYNC) in vsc85xx_txtstamp()
|
| /drivers/net/ethernet/mscc/ |
| A D | ocelot_ptp.c | 495 static int ocelot_ptp_tx_type_to_cmd(int tx_type, int *ptp_cmd) in ocelot_ptp_tx_type_to_cmd() argument 497 switch (tx_type) { in ocelot_ptp_tx_type_to_cmd() 524 cfg->tx_type = HWTSTAMP_TX_ON; in ocelot_hwstamp_get() 527 cfg->tx_type = HWTSTAMP_TX_ONESTEP_SYNC; in ocelot_hwstamp_get() 530 cfg->tx_type = HWTSTAMP_TX_OFF; in ocelot_hwstamp_get() 548 err = ocelot_ptp_tx_type_to_cmd(cfg->tx_type, &ptp_cmd); in ocelot_hwstamp_set()
|
| /drivers/net/ethernet/engleder/ |
| A D | tsnep_ptp.c | 34 switch (config.tx_type) { in tsnep_ptp_ioctl() 210 adapter->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in tsnep_ptp_init()
|
| /drivers/net/phy/ |
| A D | bcm-phy-ptp.c | 137 int tx_type; member 759 switch (priv->tx_type) { in bcm_ptp_txtstamp() 812 priv->tx_type = cfg->tx_type; in bcm_ptp_hwtstamp() 815 ctrl |= priv->tx_type != HWTSTAMP_TX_OFF ? SLICE_TX_EN : 0; in bcm_ptp_hwtstamp()
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_ptp.c | 1098 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()
|
| /drivers/media/rc/ |
| A D | lirc_dev.c | 720 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()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| A D | lag.c | 571 if (tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) { in mlx5_modify_lag() 767 if (tracker && tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP && in mlx5_activate_lag() 1070 if (tracker.tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) { in mlx5_do_bond() 1189 tracker->tx_type = lag_upper_info->tx_type; in mlx5_handle_changeupper_event() 1202 mode_supported = tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP || in mlx5_handle_changeupper_event() 1203 tracker->tx_type == NETDEV_LAG_TX_TYPE_HASH; in mlx5_handle_changeupper_event()
|
| A D | lag.h | 46 enum netdev_lag_tx_type tx_type; member
|
| /drivers/net/dsa/hirschmann/ |
| A D | hellcreek_hwtstamp.c | 55 switch (config->tx_type) { in hellcreek_set_hwtstamp_config() 62 config->tx_type = HWTSTAMP_TX_ON; in hellcreek_set_hwtstamp_config()
|
| /drivers/net/ethernet/netronome/nfp/flower/ |
| A D | lag_conf.c | 578 lag_upper_info->tx_type != NETDEV_LAG_TX_TYPE_ACTIVEBACKUP && in nfp_fl_lag_changeupper_event() 579 (lag_upper_info->tx_type != NETDEV_LAG_TX_TYPE_HASH || in nfp_fl_lag_changeupper_event() 586 lag_upper_info->tx_type, in nfp_fl_lag_changeupper_event()
|
| /drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_ptp.c | 275 switch (cfg->tx_type) { in hclge_ptp_set_tx_mode() 447 ptp->ts_cfg.tx_type = HWTSTAMP_TX_OFF; in hclge_ptp_create_clock() 543 ptp->ts_cfg.tx_type = HWTSTAMP_TX_OFF; in hclge_ptp_uninit()
|
| /drivers/net/ethernet/intel/idpf/ |
| A D | idpf_ptp.c | 724 switch (config->tx_type) { in idpf_ptp_set_timestamp_mode() 735 vport->tstamp_config.tx_type = config->tx_type; in idpf_ptp_set_timestamp_mode()
|
| /drivers/net/ethernet/qlogic/qed/ |
| A D | qed_ptp.c | 172 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()
|
| /drivers/net/can/dev/ |
| A D | dev.c | 361 if (hwts_cfg.tx_type == HWTSTAMP_TX_ON && in can_eth_ioctl_hwts() 367 hwts_cfg.tx_type = HWTSTAMP_TX_ON; in can_eth_ioctl_hwts()
|
| /drivers/net/ethernet/amd/xgbe/ |
| A D | xgbe-ptp.c | 137 pdata->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in xgbe_ptp_register()
|
| /drivers/net/dsa/microchip/ |
| A D | ksz_ptp.c | 343 switch (config->tx_type) { in ksz_set_hwtstamp_config() 469 if (prt->tstamp_config.tx_type != HWTSTAMP_TX_ONESTEP_P2P) in ksz_port_rxtstamp() 520 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) in ksz_port_txtstamp() 526 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) { in ksz_port_txtstamp()
|
| /drivers/net/dsa/sja1105/ |
| A D | sja1105_ptp.c | 71 switch (config->tx_type) { in sja1105_hwtstamp_set() 106 config->tx_type = HWTSTAMP_TX_ON; in sja1105_hwtstamp_get() 108 config->tx_type = HWTSTAMP_TX_OFF; in sja1105_hwtstamp_get()
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_ptp.c | 579 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set() 580 stmpconf.tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set() 619 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set() 650 stmpconf.tx_type = ptp->tx_tstamp_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in bnxt_hwtstamp_get()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | usb.c | 370 tx_req->tx_type == RTW89_CORE_TX_TYPE_FWCMD) && in rtw89_usb_ops_tx_write() 372 tx_req->tx_type != RTW89_CORE_TX_TYPE_FWCMD)) { in rtw89_usb_ops_tx_write() 374 desc_info->ch_dma, tx_req->tx_type); in rtw89_usb_ops_tx_write()
|
| /drivers/net/ethernet/microchip/ |
| A D | lan743x_ptp.c | 1746 config->tx_type = HWTSTAMP_TX_ONESTEP_SYNC; in lan743x_ptp_hwtstamp_get() 1748 config->tx_type = HWTSTAMP_TX_ON; in lan743x_ptp_hwtstamp_get() 1750 config->tx_type = HWTSTAMP_TX_OFF; in lan743x_ptp_hwtstamp_get() 1764 switch (config->tx_type) { in lan743x_ptp_hwtstamp_set() 1791 " tx_type = %d, UNKNOWN\n", config->tx_type); in lan743x_ptp_hwtstamp_set()
|