Home
last modified time | relevance | path

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

12345

/linux/include/linux/
H A Dnet_tstamp.h41 int tx_type; member
52 kernel_cfg->tx_type = cfg->tx_type; in hwtstamp_config_to_kernel()
60 cfg->tx_type = kernel_cfg->tx_type; in hwtstamp_config_from_kernel()
68 a->tx_type != b->tx_type || in kernel_hwtstamp_config_changed()
H A Ddmaengine.h1415 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument
1417 set_bit(tx_type, dstp->bits); in __dma_cap_set()
1422 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument
1424 clear_bit(tx_type, dstp->bits); in __dma_cap_clear()
1435 __dma_has_cap(enum dma_transaction_type tx_type, dma_cap_mask_t *srcp) in __dma_has_cap() argument
1437 return test_bit(tx_type, srcp->bits); in __dma_has_cap()
1514 struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type);
1528 static inline struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type) in dma_find_channel() argument
H A Dasync_tx.h104 enum dma_transaction_type tx_type);
119 enum dma_transaction_type tx_type, struct page **dst, in async_tx_find_channel() argument
/linux/drivers/media/platform/amphion/
H A Dvpu_mbox.c58 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()
/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()
805 if (tx_type(wqe) == SIW_OP_READ_RESPONSE) in siw_qp_sq_proc_tx()
808 if (tx_type(wqe) != SIW_OP_READ && in siw_qp_sq_proc_tx()
809 tx_type(wqe) != SIW_OP_READ_LOCAL_INV) { in siw_qp_sq_proc_tx()
817 if (tx_type(wqe) == in siw_qp_sq_proc_tx()
856 tx_type(wqe), wqe->wr_status, wqe->bytes, wqe->processed, in siw_qp_sq_proc_tx()
864 enum siw_opcode tx_type = tx_type(wqe); in siw_qp_sq_proc_tx() local
879 if (!rv && tx_type != SIW_OP_READ && in siw_qp_sq_proc_tx()
880 tx_type != SIW_OP_READ_LOCAL_INV) in siw_qp_sq_proc_tx()
[all …]
H A Dsiw_qp.c409 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()
/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/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
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()
/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/usb/usbip/
H A Dvudc.h59 enum tx_type { enum
66 enum tx_type type;
/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c500 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()
/linux/arch/powerpc/include/asm/
H A Dasync_tx.h27 enum dma_transaction_type tx_type);
/linux/drivers/net/phy/mscc/
H A Dmscc_ptp.c1004 vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init()
1006 ptp_l4 && vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init()
1008 vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF); in vsc85xx_ts_engine_init()
1011 if (vsc8531->ptp->tx_type != HWTSTAMP_TX_OFF) in vsc85xx_ts_engine_init()
1058 switch (cfg->tx_type) { in vsc85xx_hwtstamp()
1070 vsc8531->ptp->tx_type = cfg->tx_type; in vsc85xx_hwtstamp()
1107 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_OFF) in vsc85xx_hwtstamp()
1168 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_OFF) { in vsc85xx_txtstamp()
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ptp.c34 switch (config.tx_type) { in tsnep_ptp_ioctl()
210 adapter->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in tsnep_ptp_init()
/linux/net/core/
H A Ddev_ioctl.c189 enum hwtstamp_tx_types tx_type; in net_hwtstamp_validate() local
197 tx_type = cfg->tx_type; in net_hwtstamp_validate()
200 switch (tx_type) { in net_hwtstamp_validate()
/linux/drivers/net/phy/
H A Dbcm-phy-ptp.c137 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()
/linux/include/uapi/linux/
H A Dnet_tstamp.h79 int tx_type; member
/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()
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()
/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/mellanox/mlx5/core/lag/
H A Dlag.h46 enum netdev_lag_tx_type tx_type; member
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c578 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()
/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/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c55 switch (config->tx_type) { in hellcreek_set_hwtstamp_config()
62 config->tx_type = HWTSTAMP_TX_ON; in hellcreek_set_hwtstamp_config()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c271 switch (cfg->tx_type) { in hclge_ptp_set_tx_mode()
453 ptp->ts_cfg.tx_type = HWTSTAMP_TX_OFF; in hclge_ptp_create_clock()
535 ptp->ts_cfg.tx_type = HWTSTAMP_TX_OFF; in hclge_ptp_uninit()

12345