Home
last modified time | relevance | path

Searched full:tsa (Results 1 – 25 of 102) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/soc/fsl/qe/
Dtsa.c3 * TSA driver
10 #include "tsa.h"
11 #include <dt-bindings/soc/cpm1-fsl,tsa.h>
21 /* TSA SI RAM routing tables entry */
118 struct tsa { struct
132 static inline struct tsa *tsa_serial_get_tsa(struct tsa_serial *tsa_serial) in tsa_serial_get_tsa() argument
135 return container_of(tsa_serial, struct tsa, serials[tsa_serial->id]); in tsa_serial_get_tsa()
165 struct tsa *tsa = tsa_serial_get_tsa(tsa_serial); in tsa_serial_connect() local
184 dev_err(tsa->dev, "Unsupported serial id %u\n", tsa_serial->id); in tsa_serial_connect()
188 spin_lock_irqsave(&tsa->lock, flags); in tsa_serial_connect()
[all …]
Dtsa.h3 * TSA management
25 /* Connect and disconnect the TSA serial */
DKconfig37 tristate "CPM TSA support"
41 Freescale CPM Time Slot Assigner (TSA)
Dqmc.c22 #include "tsa.h"
77 /* TSA entry (16bit entry in TSATRX and TSATTX) */
261 /* Retrieve info from the TSA related serial */ in qmc_chan_get_info()
750 /* Retrieve info from the TSA related serial */ in qmc_check_chans()
756 dev_err(qmc->dev, "Number of TSA Tx/Rx TS assigned not supported\n"); in qmc_check_chans()
766 dev_err(qmc->dev, "Number of TSA Tx/Rx TS assigned are not equal\n"); in qmc_check_chans()
777 dev_err(qmc->dev, "chan %u uses TSA unassigned Tx TS\n", chan->id); in qmc_check_chans()
786 dev_err(qmc->dev, "chan %u uses TSA unassigned Rx TS\n", chan->id); in qmc_check_chans()
1001 /* Retrieve info from the TSA related serial */ in qmc_setup_tsa()
1022 /* Retrieve info from the TSA related serial */ in qmc_setup_chan_trnsync()
[all …]
Ducc_slow.c297 /* Set Tsa or NMSI mode. */ in ucc_slow_init()
298 ucc_set_qe_mux_tsa(us_info->ucc_num, us_info->tsa); in ucc_slow_init()
299 /* If NMSI (not Tsa), set Tx and Rx clock. */ in ucc_slow_init()
300 if (!us_info->tsa) { in ucc_slow_init()
Ducc_fast.c307 /* Set Tsa or NMSI mode. */ in ucc_fast_init()
308 ucc_set_qe_mux_tsa(uf_info->ucc_num, uf_info->tsa); in ucc_fast_init()
309 /* If NMSI (not Tsa), set Tx and Rx clock. */ in ucc_fast_init()
310 if (!uf_info->tsa) { in ucc_fast_init()
DMakefile7 obj-$(CONFIG_CPM_TSA) += tsa.o
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,cpm1-scc-qmc.yaml14 serial controller using the same TDM physical interface routed from TSA.
40 fsl,tsa-serial:
44 - description: phandle to TSA node
47 TSA serial interface (dt-bindings/soc/cpm1-fsl,tsa.h defines these
53 Should be a phandle/number pair. The phandle to TSA node and the TSA
95 TSA to this cell.
101 TSA to this cell.
113 - fsl,tsa-serial
121 #include <dt-bindings/soc/cpm1-fsl,tsa.h>
135 fsl,tsa-serial = <&tsa FSL_CPM_TSA_SCC4>;
[all …]
Dfsl,cpm1-tsa.yaml4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml#
7 title: PowerQUICC CPM Time-slot assigner (TSA) controller
13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC.
21 - fsl,mpc885-tsa
22 - fsl,mpc866-tsa
23 - const: fsl,cpm1-tsa
128 (dt-bindings/soc/cpm1-fsl,tsa.h defines these values)
174 #include <dt-bindings/soc/cpm1-fsl,tsa.h>
176 tsa@ae0 {
177 compatible = "fsl,mpc885-tsa", "fsl,cpm1-tsa";
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c349 struct tx_sa tsa; in ixgbevf_ipsec_add_sa() local
359 memset(&tsa, 0, sizeof(tsa)); in ixgbevf_ipsec_add_sa()
360 tsa.used = true; in ixgbevf_ipsec_add_sa()
361 tsa.xs = xs; in ixgbevf_ipsec_add_sa()
364 tsa.encrypt = xs->ealg || xs->aead; in ixgbevf_ipsec_add_sa()
366 ret = ixgbevf_ipsec_parse_proto_keys(xs, tsa.key, &tsa.salt); in ixgbevf_ipsec_add_sa()
369 memset(&tsa, 0, sizeof(tsa)); in ixgbevf_ipsec_add_sa()
376 tsa.pfsa = ret; in ixgbevf_ipsec_add_sa()
379 memcpy(&ipsec->tx_tbl[sa_idx], &tsa, sizeof(tsa)); in ixgbevf_ipsec_add_sa()
471 struct tx_sa *tsa; in ixgbevf_ipsec_tx() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c343 struct tx_sa tsa; in ixgbevf_ipsec_add_sa() local
353 memset(&tsa, 0, sizeof(tsa)); in ixgbevf_ipsec_add_sa()
354 tsa.used = true; in ixgbevf_ipsec_add_sa()
355 tsa.xs = xs; in ixgbevf_ipsec_add_sa()
358 tsa.encrypt = xs->ealg || xs->aead; in ixgbevf_ipsec_add_sa()
360 ret = ixgbevf_ipsec_parse_proto_keys(xs, tsa.key, &tsa.salt); in ixgbevf_ipsec_add_sa()
363 memset(&tsa, 0, sizeof(tsa)); in ixgbevf_ipsec_add_sa()
370 tsa.pfsa = ret; in ixgbevf_ipsec_add_sa()
373 memcpy(&ipsec->tx_tbl[sa_idx], &tsa, sizeof(tsa)); in ixgbevf_ipsec_add_sa()
465 struct tx_sa *tsa; in ixgbevf_ipsec_tx() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c700 struct tx_sa tsa; in ixgbe_ipsec_add_sa() local
714 memset(&tsa, 0, sizeof(tsa)); in ixgbe_ipsec_add_sa()
715 tsa.used = true; in ixgbe_ipsec_add_sa()
716 tsa.xs = xs; in ixgbe_ipsec_add_sa()
719 tsa.encrypt = xs->ealg || xs->aead; in ixgbe_ipsec_add_sa()
721 ret = ixgbe_ipsec_parse_proto_keys(xs, tsa.key, &tsa.salt); in ixgbe_ipsec_add_sa()
724 memset(&tsa, 0, sizeof(tsa)); in ixgbe_ipsec_add_sa()
729 memcpy(&ipsec->tx_tbl[sa_idx], &tsa, sizeof(tsa)); in ixgbe_ipsec_add_sa()
731 ixgbe_ipsec_set_tx_sa(hw, sa_idx, tsa.key, tsa.salt); in ixgbe_ipsec_add_sa()
1030 struct tx_sa *tsa; in ixgbe_ipsec_vf_del_sa() local
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c706 struct tx_sa tsa; in ixgbe_ipsec_add_sa() local
720 memset(&tsa, 0, sizeof(tsa)); in ixgbe_ipsec_add_sa()
721 tsa.used = true; in ixgbe_ipsec_add_sa()
722 tsa.xs = xs; in ixgbe_ipsec_add_sa()
725 tsa.encrypt = xs->ealg || xs->aead; in ixgbe_ipsec_add_sa()
727 ret = ixgbe_ipsec_parse_proto_keys(xs, tsa.key, &tsa.salt); in ixgbe_ipsec_add_sa()
730 memset(&tsa, 0, sizeof(tsa)); in ixgbe_ipsec_add_sa()
735 memcpy(&ipsec->tx_tbl[sa_idx], &tsa, sizeof(tsa)); in ixgbe_ipsec_add_sa()
737 ixgbe_ipsec_set_tx_sa(hw, sa_idx, tsa.key, tsa.salt); in ixgbe_ipsec_add_sa()
1035 struct tx_sa *tsa; in ixgbe_ipsec_vf_del_sa() local
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dfcx.h80 * struct tsa_iostat - I/O-Status Transport-Status Area (IO-Stat TSA)
98 * struct tsa_ddpcs - Device-Detected-Program-Check Transport-Status Area (DDPC TSA)
115 * struct tsa_intrg - Interrogate Transport-Status Area (Intrg. TSA)
159 * @tsa: Transport-Status-Area
171 } __attribute__ ((packed)) tsa; member
/kernel/linux/linux-6.6/arch/s390/include/asm/
Dfcx.h80 * struct tsa_iostat - I/O-Status Transport-Status Area (IO-Stat TSA)
98 * struct tsa_ddpcs - Device-Detected-Program-Check Transport-Status Area (DDPC TSA)
115 * struct tsa_intrg - Interrogate Transport-Status Area (Intrg. TSA)
159 * @tsa: Transport-Status-Area
171 } __attribute__ ((packed)) tsa; member
/kernel/linux/linux-6.6/drivers/net/wan/
Dfsl_ucc_hdlc.c41 .tsa = 0,
96 if (priv->tsa) { in uhdlc_init()
97 uf_info->tsa = 1; in uhdlc_init()
139 if (priv->tsa) in uhdlc_init()
729 if (priv->tsa) in uhdlc_open()
823 if (priv->tsa) in uhdlc_close()
973 if (priv->tsa) in uhdlc_resume()
1030 if (priv->tsa) in uhdlc_resume()
1188 uhdlc_priv->tsa = of_property_read_bool(np, "fsl,tdm-interface"); in ucc_hdlc_probe()
1192 if (uhdlc_priv->tsa == 1) { in ucc_hdlc_probe()
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dfsl_ucc_hdlc.c41 .tsa = 0,
96 if (priv->tsa) { in uhdlc_init()
97 uf_info->tsa = 1; in uhdlc_init()
139 if (priv->tsa) in uhdlc_init()
729 if (priv->tsa) in uhdlc_open()
823 if (priv->tsa) in uhdlc_close()
973 if (priv->tsa) in uhdlc_resume()
1031 if (priv->tsa) in uhdlc_resume()
1191 uhdlc_priv->tsa = 1; in ucc_hdlc_probe()
1199 if (uhdlc_priv->tsa == 1) { in ucc_hdlc_probe()
[all …]
/kernel/linux/linux-5.10/drivers/soc/fsl/qe/
Ducc_slow.c297 /* Set Tsa or NMSI mode. */ in ucc_slow_init()
298 ucc_set_qe_mux_tsa(us_info->ucc_num, us_info->tsa); in ucc_slow_init()
299 /* If NMSI (not Tsa), set Tx and Rx clock. */ in ucc_slow_init()
300 if (!us_info->tsa) { in ucc_slow_init()
Ducc_fast.c307 /* Set Tsa or NMSI mode. */ in ucc_fast_init()
308 ucc_set_qe_mux_tsa(uf_info->ucc_num, uf_info->tsa); in ucc_fast_init()
309 /* If NMSI (not Tsa), set Tx and Rx clock. */ in ucc_fast_init()
310 if (!uf_info->tsa) { in ucc_fast_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.h112 u8 tsa[8]; /* TSA Algorithm[0..7] */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.h112 u8 tsa[8]; /* TSA Algorithm[0..7] */ member
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dipsec.c233 struct nsim_sa *tsa; in nsim_ipsec_tx() local
259 tsa = &ipsec->sa[sa_idx]; in nsim_ipsec_tx()
260 if (unlikely(!tsa->used)) { in nsim_ipsec_tx()
/kernel/linux/linux-6.6/drivers/net/netdevsim/
Dipsec.c241 struct nsim_sa *tsa; in nsim_ipsec_tx() local
267 tsa = &ipsec->sa[sa_idx]; in nsim_ipsec_tx()
268 if (unlikely(!tsa->used)) { in nsim_ipsec_tx()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/
DIt_posix_pthread.c89 long tsa, tss, tps; in ScenarInit() local
93 tsa = sysconf(_SC_THREAD_ATTR_STACKADDR); in ScenarInit()
164 if ((tss > 0) && (tsa > 0)) { in ScenarInit()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.h30 u8 tsa; member

12345