Home
last modified time | relevance | path

Searched refs:trsp (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dtorture.h77 unsigned long torture_random(struct torture_random_state *trsp);
78 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init() argument
80 trsp->trs_state = 0; in torture_random_init()
81 trsp->trs_count = 0; in torture_random_init()
86 struct torture_random_state *trsp);
87 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp);
88 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp);
89 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp);
90 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp);
/linux/kernel/locking/
H A Dlocktorture.c141 void (*write_delay)(struct torture_random_state *trsp);
142 void (*task_boost)(struct torture_random_state *trsp);
146 void (*read_delay)(struct torture_random_state *trsp);
175 static void torture_lock_busted_write_delay(struct torture_random_state *trsp) in torture_lock_busted_write_delay() argument
178 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold))) in torture_lock_busted_write_delay()
180 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()
189 static void __torture_rt_boost(struct torture_random_state *trsp) in __torture_rt_boost() argument
199 if (trsp && !(torture_random(trsp) % in __torture_rt_boost()
213 if (!trsp || !(torture_random(trsp) % in __torture_rt_boost()
221 static void torture_rt_boost(struct torture_random_state *trsp) in torture_rt_boost() argument
[all …]
/linux/kernel/
H A Dtorture.c92 struct torture_random_state *trsp) in torture_hrtimeout_ns() argument
96 if (trsp) in torture_hrtimeout_ns()
97 hto += torture_random(trsp) % fuzzt_ns; in torture_hrtimeout_ns()
107 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp) in torture_hrtimeout_us() argument
111 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, HRTIMER_MODE_REL, trsp); in torture_hrtimeout_us()
119 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp) in torture_hrtimeout_ms() argument
128 return torture_hrtimeout_ns(baset_ns, fuzzt_ns, HRTIMER_MODE_REL, trsp); in torture_hrtimeout_ms()
137 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp) in torture_hrtimeout_jiffies() argument
141 return torture_hrtimeout_ns(baset_ns, jiffies_to_nsecs(1), HRTIMER_MODE_REL, trsp); in torture_hrtimeout_jiffies()
149 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp) in torture_hrtimeout_s() argument
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e63m0-spi.c20 static int s6e63m0_spi_dcs_read(struct device *dev, void *trsp, in s6e63m0_spi_dcs_read() argument
23 struct mipi_dbi *dbi = trsp; in s6e63m0_spi_dcs_read()
33 static int s6e63m0_spi_dcs_write(struct device *dev, void *trsp, in s6e63m0_spi_dcs_write() argument
36 struct mipi_dbi *dbi = trsp; in s6e63m0_spi_dcs_write()
H A Dpanel-samsung-s6e63m0.h31 int s6e63m0_probe(struct device *dev, void *trsp,
32 int (*dcs_read)(struct device *dev, void *trsp,
34 int (*dcs_write)(struct device *dev, void *trsp,
H A Dpanel-samsung-s6e63m0.c262 int (*dcs_read)(struct device *dev, void *trsp, const u8 cmd, u8 *val);
263 int (*dcs_write)(struct device *dev, void *trsp, const u8 *data, size_t len);
669 int s6e63m0_probe(struct device *dev, void *trsp, in s6e63m0_probe() argument
670 int (*dcs_read)(struct device *dev, void *trsp, const u8 cmd, u8 *val), in s6e63m0_probe()
671 int (*dcs_write)(struct device *dev, void *trsp, const u8 *data, size_t len), in s6e63m0_probe()
682 ctx->transport_data = trsp; in s6e63m0_probe()
H A Dpanel-samsung-s6e63m0-dsi.c19 static int s6e63m0_dsi_dcs_read(struct device *dev, void *trsp, in s6e63m0_dsi_dcs_read() argument
36 static int s6e63m0_dsi_dcs_write(struct device *dev, void *trsp, in s6e63m0_dsi_dcs_write() argument
/linux/kernel/rcu/
H A Drcutorture.c1357 static void do_rtws_sync(struct torture_random_state *trsp, void (*sync)(void)) in do_rtws_sync() argument
1363 unsigned long r = torture_random(trsp); in do_rtws_sync()
1784 struct torture_random_state *trsp) in rcu_torture_reader_do_mbchk() argument
1803 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1805 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1848 struct torture_random_state *trsp, in rcutorture_one_extend() argument
1904 lockit = !cur_ops->no_pi_lock && !statesnew && !(torture_random(trsp) & 0xffff); in rcutorture_one_extend()
1916 cur_ops->read_delay(trsp, rtrsp); in rcutorture_one_extend()
1944 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp) in rcutorture_extend_mask() argument
1947 unsigned long randmask1 = torture_random(trsp); in rcutorture_extend_mask()
[all …]
/linux/drivers/scsi/elx/libefc_sli/
H A Dsli4.c1963 struct sli4_fcp_trsp64_wqe *trsp = buf; in sli_fcp_trsp64_wqe() local
1969 trsp->class_ag_byte |= SLI4_TRSP_WQE_AG; in sli_fcp_trsp64_wqe()
1975 trsp->qosd_xbl_hlm_dbde_wqes |= SLI4_TRSP_WQE_DBDE; in sli_fcp_trsp64_wqe()
1977 trsp->qosd_xbl_hlm_dbde_wqes |= SLI4_TRSP_WQE_XBL; in sli_fcp_trsp64_wqe()
1978 bptr = &trsp->bde; in sli_fcp_trsp64_wqe()
1987 trsp->fcp_response_length = cpu_to_le32(params->xmit_len); in sli_fcp_trsp64_wqe()
1991 trsp->eat_xc_ccpe |= SLI4_TRSP_WQE_XC; in sli_fcp_trsp64_wqe()
1993 trsp->xri_tag = cpu_to_le16(params->xri); in sli_fcp_trsp64_wqe()
1994 trsp->rpi = cpu_to_le16(params->rpi); in sli_fcp_trsp64_wqe()
1996 trsp->command = SLI4_WQE_FCP_TRSP64; in sli_fcp_trsp64_wqe()
[all …]
/linux/drivers/scsi/fnic/
H A Dfcpio.h470 struct fcpio_trsp trsp; member