| /drivers/media/platform/amphion/ |
| 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/ |
| D | siw_qp_tx.c | 123 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() 804 if (tx_type(wqe) == SIW_OP_READ_RESPONSE) in siw_qp_sq_proc_tx() 807 if (tx_type(wqe) != SIW_OP_READ && in siw_qp_sq_proc_tx() 808 tx_type(wqe) != SIW_OP_READ_LOCAL_INV) { in siw_qp_sq_proc_tx() 816 if (tx_type(wqe) == in siw_qp_sq_proc_tx() 855 tx_type(wqe), wqe->wr_status, wqe->bytes, wqe->processed, in siw_qp_sq_proc_tx() 863 enum siw_opcode tx_type = tx_type(wqe); in siw_qp_sq_proc_tx() local 878 if (!rv && tx_type != SIW_OP_READ && in siw_qp_sq_proc_tx() 879 tx_type != SIW_OP_READ_LOCAL_INV) in siw_qp_sq_proc_tx() [all …]
|
| D | siw_qp.c | 409 tx_type(tx_wqe(qp))); in siw_send_terminate() 1216 tx_type(wqe), wqe->wr_status); in siw_sq_flush() 1218 siw_wqe_put_mem(wqe, tx_type(wqe)); in siw_sq_flush() 1220 if (tx_type(wqe) != SIW_OP_READ_RESPONSE && in siw_sq_flush() 1221 ((tx_type(wqe) != SIW_OP_READ && in siw_sq_flush() 1222 tx_type(wqe) != SIW_OP_READ_LOCAL_INV) || in siw_sq_flush()
|
| /drivers/net/ethernet/qlogic/qede/ |
| 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/ |
| D | vudc.h | 59 enum tx_type { enum 66 enum tx_type type;
|
| /drivers/net/ethernet/mscc/ |
| D | ocelot_ptp.c | 500 static int ocelot_ptp_tx_type_to_cmd(int tx_type, int *ptp_cmd) in ocelot_ptp_tx_type_to_cmd() argument 502 switch (tx_type) { in ocelot_ptp_tx_type_to_cmd() 529 cfg.tx_type = HWTSTAMP_TX_ON; in ocelot_hwstamp_get() 532 cfg.tx_type = HWTSTAMP_TX_ONESTEP_SYNC; in ocelot_hwstamp_get() 535 cfg.tx_type = HWTSTAMP_TX_OFF; in ocelot_hwstamp_get() 558 err = ocelot_ptp_tx_type_to_cmd(cfg.tx_type, &ptp_cmd); in ocelot_hwstamp_set()
|
| /drivers/net/phy/mscc/ |
| D | mscc_ptp.c | 1007 vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init() 1009 ptp_l4 && vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init() 1011 vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init() 1014 if (vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF) in vsc85xx_ts_engine_init() 1061 switch (cfg->tx_type) { in vsc85xx_hwtstamp() 1074 vsc8531->ptp->tx_type = cfg->tx_type; in vsc85xx_hwtstamp() 1108 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_OFF) in vsc85xx_hwtstamp() 1169 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_OFF) in vsc85xx_txtstamp() 1172 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_ONESTEP_SYNC) in vsc85xx_txtstamp()
|
| /drivers/net/ethernet/engleder/ |
| 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/ |
| D | bcm-phy-ptp.c | 137 int tx_type; member 758 switch (priv->tx_type) { in bcm_ptp_txtstamp() 811 priv->tx_type = cfg->tx_type; in bcm_ptp_hwtstamp() 814 ctrl |= priv->tx_type != HWTSTAMP_TX_OFF ? SLICE_TX_EN : 0; in bcm_ptp_hwtstamp()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| D | lag.c | 508 if (tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) { in mlx5_modify_lag() 553 tracker->tx_type == NETDEV_LAG_TX_TYPE_HASH) { in mlx5_lag_set_port_sel_mode_offloads() 701 if (tracker && tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP && in mlx5_activate_lag() 986 if (tracker.tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP) { in mlx5_do_bond() 1103 tracker->tx_type = lag_upper_info->tx_type; in mlx5_handle_changeupper_event() 1116 mode_supported = tracker->tx_type == NETDEV_LAG_TX_TYPE_ACTIVEBACKUP || in mlx5_handle_changeupper_event() 1117 tracker->tx_type == NETDEV_LAG_TX_TYPE_HASH; in mlx5_handle_changeupper_event()
|
| D | lag.h | 46 enum netdev_lag_tx_type tx_type; member
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| 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() 1469 enum hwtstamp_tx_types tx_type = config->tx_type; in mlxsw_sp2_ptp_get_message_types() local 1507 switch (tx_type) { in mlxsw_sp2_ptp_get_message_types() 1631 new_config.tx_type = config->tx_type; in mlxsw_sp2_ptp_hwtstamp_set()
|
| /drivers/media/rc/ |
| 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/staging/vt6655/ |
| D | mac.c | 654 void vt6655_mac_set_curr_tx_desc_addr(int tx_type, struct vnt_private *priv, u32 curr_desc_addr) in vt6655_mac_set_curr_tx_desc_addr() argument 656 if (tx_type == TYPE_AC0DMA) in vt6655_mac_set_curr_tx_desc_addr() 658 else if (tx_type == TYPE_TXDMA0) in vt6655_mac_set_curr_tx_desc_addr()
|
| /drivers/net/ethernet/netronome/nfp/flower/ |
| 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/ |
| D | hclge_ptp.c | 274 switch (cfg->tx_type) { in hclge_ptp_set_tx_mode() 446 ptp->ts_cfg.tx_type = HWTSTAMP_TX_OFF; in hclge_ptp_create_clock() 542 ptp->ts_cfg.tx_type = HWTSTAMP_TX_OFF; in hclge_ptp_uninit()
|
| /drivers/net/ethernet/qlogic/qed/ |
| 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/dsa/hirschmann/ |
| 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/can/dev/ |
| D | dev.c | 363 if (hwts_cfg.tx_type == HWTSTAMP_TX_ON && in can_eth_ioctl_hwts() 369 hwts_cfg.tx_type = HWTSTAMP_TX_ON; in can_eth_ioctl_hwts()
|
| /drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-ptp.c | 259 pdata->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in xgbe_ptp_register()
|
| /drivers/net/dsa/microchip/ |
| D | ksz_ptp.c | 344 switch (config->tx_type) { in ksz_set_hwtstamp_config() 475 if (prt->tstamp_config.tx_type != HWTSTAMP_TX_ONESTEP_P2P) in ksz_port_rxtstamp() 526 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) in ksz_port_txtstamp() 532 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) { in ksz_port_txtstamp()
|
| /drivers/net/dsa/sja1105/ |
| D | sja1105_ptp.c | 69 switch (config.tx_type) { in sja1105_hwtstamp_set() 101 config.tx_type = HWTSTAMP_TX_ON; in sja1105_hwtstamp_get() 103 config.tx_type = HWTSTAMP_TX_OFF; in sja1105_hwtstamp_get()
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_ptp.c | 559 if (stmpconf.tx_type != HWTSTAMP_TX_ON && in bnxt_hwtstamp_set() 560 stmpconf.tx_type != HWTSTAMP_TX_OFF) in bnxt_hwtstamp_set() 599 if (stmpconf.tx_type == HWTSTAMP_TX_ON) in bnxt_hwtstamp_set() 630 stmpconf.tx_type = ptp->tx_tstamp_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in bnxt_hwtstamp_get()
|
| /drivers/net/ethernet/ti/ |
| D | cpsw_priv.c | 631 if (cfg.tx_type != HWTSTAMP_TX_OFF && cfg.tx_type != HWTSTAMP_TX_ON) in cpsw_hwtstamp_set() 660 priv->tx_ts_enabled = cfg.tx_type == HWTSTAMP_TX_ON; in cpsw_hwtstamp_set() 689 cfg.tx_type = priv->tx_ts_enabled ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in cpsw_hwtstamp_get()
|
| /drivers/net/can/peak_canfd/ |
| D | peak_canfd.c | 754 if (hwts_cfg.tx_type == HWTSTAMP_TX_OFF && in peak_eth_ioctl() 760 hwts_cfg.tx_type = HWTSTAMP_TX_OFF; in peak_eth_ioctl()
|