Home
last modified time | relevance | path

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

12345

/linux-6.15/include/linux/
H A Dnet_tstamp.h69 int tx_type; member
81 kernel_cfg->tx_type = cfg->tx_type; in hwtstamp_config_to_kernel()
89 cfg->tx_type = kernel_cfg->tx_type; in hwtstamp_config_from_kernel()
97 a->tx_type != b->tx_type || in kernel_hwtstamp_config_changed()
H A Ddmaengine.h1418 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument
1420 set_bit(tx_type, dstp->bits); in __dma_cap_set()
1425 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument
1427 clear_bit(tx_type, dstp->bits); in __dma_cap_clear()
1438 __dma_has_cap(enum dma_transaction_type tx_type, dma_cap_mask_t *srcp) in __dma_has_cap() argument
1440 return test_bit(tx_type, srcp->bits); in __dma_has_cap()
1517 struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type);
1531 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-6.15/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-6.15/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c123 switch (tx_type(wqe)) { in siw_qp_prepare_tx()
811 if (tx_type(wqe) == in siw_qp_sq_proc_tx()
858 enum siw_opcode tx_type = tx_type(wqe); in siw_qp_sq_proc_tx() local
973 switch (tx_type(wqe)) { in siw_qp_sq_proc_local()
1017 enum siw_opcode tx_type; in siw_qp_sq_process() local
1031 tx_type = tx_type(wqe); in siw_qp_sq_process()
1042 switch (tx_type) { in siw_qp_sq_process()
1046 siw_wqe_put_mem(wqe, tx_type); in siw_qp_sq_process()
1106 tx_type(wqe), rv); in siw_qp_sq_process()
1112 if ((tx_type == SIW_OP_READ || in siw_qp_sq_process()
[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-6.15/net/ethtool/
H A Dtsconfig.c20 u32 tx_type; member
55 data->hwtst_config.tx_type = BIT(cfg.tx_type); in tsconfig_prepare_data()
105 if (data->hwtst_config.tx_type) { in tsconfig_reply_size()
106 ret = ethnl_bitset32_size(&data->hwtst_config.tx_type, in tsconfig_reply_size()
147 if (data->hwtst_config.tx_type) { in tsconfig_fill_reply()
149 &data->hwtst_config.tx_type, NULL, in tsconfig_fill_reply()
349 req_tx_type = BIT(hwtst_config.tx_type); in ethnl_set_tsconfig()
364 hwtst_config.tx_type = ffs(req_tx_type) - 1; in ethnl_set_tsconfig()
/linux-6.15/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-6.15/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-6.15/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-6.15/drivers/usb/usbip/
H A Dvudc.h59 enum tx_type { enum
66 enum tx_type type;
/linux-6.15/arch/powerpc/include/asm/
H A Dasync_tx.h27 enum dma_transaction_type tx_type);
/linux-6.15/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-6.15/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-6.15/drivers/net/phy/mscc/
H A Dmscc_ptp.c1007 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()
1073 vsc8531->ptp->tx_type = cfg->tx_type; in vsc85xx_hwtstamp()
1110 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_OFF) in vsc85xx_hwtstamp()
1171 if (vsc8531->ptp->tx_type == HWTSTAMP_TX_OFF) { in vsc85xx_txtstamp()
/linux-6.15/net/core/
H A Ddev_ioctl.c191 enum hwtstamp_tx_types tx_type; in net_hwtstamp_validate() local
199 tx_type = cfg->tx_type; in net_hwtstamp_validate()
202 switch (tx_type) { in net_hwtstamp_validate()
/linux-6.15/include/uapi/linux/
H A Dnet_tstamp.h92 int tx_type; member
/linux-6.15/drivers/net/phy/
H A Dbcm-phy-ptp.c137 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()
/linux-6.15/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-6.15/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()
1473 enum hwtstamp_tx_types tx_type = config->tx_type; in mlxsw_sp2_ptp_get_message_types() local
1511 switch (tx_type) { in mlxsw_sp2_ptp_get_message_types()
1635 new_config.tx_type = config->tx_type; in mlxsw_sp2_ptp_hwtstamp_set()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c571 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()
/linux-6.15/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-6.15/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-6.15/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()

12345