Searched refs:ps (Results 26 - 50 of 309) sorted by relevance

1234567891011>>

/linux-master/drivers/md/
H A Ddm-ps-historical-service-time.c147 static u64 hst_weight(struct path_selector *ps, u64 delta) argument
149 struct selector *s = ps->context;
162 static void hst_set_weights(struct path_selector *ps, unsigned int base) argument
164 struct selector *s = ps->context;
175 static int hst_create(struct path_selector *ps, unsigned int argc, char **argv) argument
210 ps->context = s;
212 hst_set_weights(ps, base_weight);
227 static void hst_destroy(struct path_selector *ps) argument
229 struct selector *s = ps->context;
234 ps
237 hst_status(struct path_selector *ps, struct dm_path *path, status_type_t type, char *result, unsigned int maxlen) argument
267 hst_add_path(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error) argument
319 hst_fail_path(struct path_selector *ps, struct dm_path *path) argument
331 hst_reinstate_path(struct path_selector *ps, struct dm_path *path) argument
367 hst_compare(struct path_info *pi1, struct path_info *pi2, u64 time_now, struct path_selector *ps) argument
430 hst_select_path(struct path_selector *ps, size_t nr_bytes) argument
461 hst_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument
492 hst_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) argument
[all...]
H A Ddm-ps-io-affinity.c43 static int ioa_add_path(struct path_selector *ps, struct dm_path *path, argument
46 struct selector *s = ps->context;
52 *error = "io-affinity ps: invalid number of arguments";
58 *error = "io-affinity ps: Error allocating path context";
67 *error = "io-affinity ps: Error allocating cpumask context";
74 *error = "io-affinity ps: invalid cpumask";
97 *error = "io-affinity ps: No new/valid CPU mapping found";
111 static int ioa_create(struct path_selector *ps, unsigned int argc, char **argv) argument
128 ps->context = s;
138 static void ioa_destroy(struct path_selector *ps) argument
153 ioa_status(struct path_selector *ps, struct dm_path *path, status_type_t type, char *result, unsigned int maxlen) argument
181 ioa_fail_path(struct path_selector *ps, struct dm_path *p) argument
188 ioa_reinstate_path(struct path_selector *ps, struct dm_path *p) argument
196 ioa_select_path(struct path_selector *ps, size_t nr_bytes) argument
[all...]
H A Ddm-mpath.c63 struct path_selector ps; member in struct:priority_group
199 struct path_selector *ps = &pg->ps; local
201 if (ps->type) {
202 ps->type->destroy(ps);
203 dm_put_path_selector(ps->type);
385 path = pg->ps.type->select_path(&pg->ps, nr_bytes);
563 if (pgpath->pg->ps
934 parse_path(struct dm_arg_set *as, struct path_selector *ps, struct dm_target *ti) argument
1680 struct path_selector *ps = &pgpath->pg->ps; local
1724 struct path_selector *ps = &pgpath->pg->ps; local
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dthuge-gen.c59 void show(unsigned long ps) argument
63 if (ps == getpagesize())
66 ksft_print_msg("%luMB: ", ps >> 20);
71 ps >> 10);
102 unsigned long read_free(unsigned long ps) argument
104 return read_sysfs(ps != getpagesize(),
106 ps >> 10);
220 unsigned long ps = page_sizes[i]; local
221 int arg = ilog2(ps) << MAP_HUGE_SHIFT;
223 ksft_print_msg("Testing %luMB mmap with shift %x\n", ps >> 2
234 unsigned long ps = page_sizes[i]; local
[all...]
/linux-master/tools/perf/util/
H A Dstat.c82 struct perf_stat_evsel *ps = evsel->stats; local
83 struct perf_stat_aggr *aggr = ps->aggr;
86 memset(aggr, 0, sizeof(*aggr) * ps->nr_aggr);
91 struct perf_stat_evsel *ps = evsel->stats; local
93 init_stats(&ps->res_stats);
99 struct perf_stat_evsel *ps = evsel->stats; local
101 if (ps == NULL)
104 ps->nr_aggr = nr_aggr;
105 ps->aggr = calloc(nr_aggr, sizeof(*ps
125 struct perf_stat_evsel *ps; local
145 struct perf_stat_evsel *ps = evsel->stats; local
269 struct perf_stat_evsel *ps = evsel->stats; local
390 struct perf_stat_evsel *ps = evsel->stats; local
482 struct perf_stat_evsel *ps = counter->stats; local
604 struct perf_stat_evsel *ps = evsel->stats; local
642 struct perf_stat_evsel *ps = evsel->stats; local
[all...]
/linux-master/drivers/media/platform/ti/omap/
H A Domap_vout_vrfb.c325 int vr_ps = 1, ps = 2, temp_ps = 2; local
334 * ps - Actual pixel size for YUYV/UYVY for
339 ps = 4;
342 ps = 2; /* otherwise the pixel size is 2 byte */
345 ps = 4;
347 ps = 3;
349 vout->ps = ps;
364 temp_ps = ps / vr_ps;
371 ((crop->width / (vr_ps)) - 1) * ps);
[all...]
/linux-master/drivers/net/wireless/ti/wl12xx/
H A Ddebugfs.c96 WL12XX_DEBUGFS_FWSTATS_FILE(ps, pspoll_timeouts, "%u");
97 WL12XX_DEBUGFS_FWSTATS_FILE(ps, upsd_timeouts, "%u");
98 WL12XX_DEBUGFS_FWSTATS_FILE(ps, upsd_max_sptime, "%u");
99 WL12XX_DEBUGFS_FWSTATS_FILE(ps, upsd_max_apturn, "%u");
100 WL12XX_DEBUGFS_FWSTATS_FILE(ps, pspoll_max_apturn, "%u");
101 WL12XX_DEBUGFS_FWSTATS_FILE(ps, pspoll_utilization, "%u");
102 WL12XX_DEBUGFS_FWSTATS_FILE(ps, upsd_utilization, "%u");
196 DEBUGFS_FWSTATS_ADD(ps, pspoll_timeouts);
197 DEBUGFS_FWSTATS_ADD(ps, upsd_timeouts);
198 DEBUGFS_FWSTATS_ADD(ps, upsd_max_sptim
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_eeprom.c186 u16 ps; /* Partial size */ local
213 buf_size -= ps, eeprom_addr += ps, eeprom_buf += ps) {
214 ps = min(limit, buf_size);
217 eeprom_buf, ps, read);
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocesspptables.h44 struct pp_power_state *ps,
/linux-master/arch/alpha/include/asm/
H A Dptrace.h9 #define user_mode(regs) (((regs)->ps & 8) != 0)
/linux-master/sound/soc/sof/intel/
H A Dtelemetry.h25 u32 ps; member in struct:xtensa_arch_block
/linux-master/drivers/gpu/drm/radeon/
H A Drs780_dpm.c37 struct igp_ps *ps = rps->ps_priv; local
39 return ps;
751 struct igp_ps *ps = rs780_get_ps(rps); local
756 ps->sclk_low = sclk;
759 ps->sclk_high = sclk;
763 ps->min_voltage = RS780_VDDC_LEVEL_UNKNOWN;
764 ps->max_voltage = RS780_VDDC_LEVEL_UNKNOWN;
767 ps->min_voltage = RS780_VDDC_LEVEL_LOW;
768 ps->max_voltage = RS780_VDDC_LEVEL_LOW;
771 ps
800 struct igp_ps *ps; local
941 struct igp_ps *ps = rs780_get_ps(rps); local
985 struct igp_ps *ps = rs780_get_ps(rps); local
1032 struct igp_ps *ps = rs780_get_ps(rps); local
[all...]
H A Dsumo_dpm.c74 struct sumo_ps *ps = rps->ps_priv; local
76 return ps;
343 struct sumo_ps *ps = sumo_get_ps(rps); local
345 u32 highest_engine_clock = ps->levels[ps->num_levels - 1].sclk;
347 if (ps->flags & SUMO_POWERSTATE_FLAGS_BOOST_STATE)
352 for (i = 0; i < ps->num_levels - 1; i++)
357 if (ps->flags & SUMO_POWERSTATE_FLAGS_BOOST_STATE)
386 struct sumo_ps *ps = sumo_get_ps(rps); local
406 for (i = 0; i < ps
1040 sumo_patch_thermal_state(struct radeon_device *rdev, struct sumo_ps *ps, struct sumo_ps *current_ps) argument
1088 struct sumo_ps *ps = sumo_get_ps(new_rps); local
1390 sumo_patch_boot_state(struct radeon_device *rdev, struct sumo_ps *ps) argument
1405 struct sumo_ps *ps = sumo_get_ps(rps); local
1432 struct sumo_ps *ps = sumo_get_ps(rps); local
1465 struct sumo_ps *ps; local
1798 struct sumo_ps *ps = sumo_get_ps(rps); local
1817 struct sumo_ps *ps = sumo_get_ps(rps); local
1844 struct sumo_ps *ps = sumo_get_ps(rps); local
1872 struct sumo_ps *ps = sumo_get_ps(rps); local
1924 struct sumo_ps *ps = sumo_get_ps(rps); local
[all...]
H A Dtrinity_dpm.c302 struct trinity_ps *ps = rps->ps_priv; local
304 return ps;
824 struct trinity_ps *ps = trinity_get_ps(rps); local
825 u32 uvdstates = (ps->vclk_low_divider |
826 ps->vclk_high_divider << 8 |
827 ps->dclk_low_divider << 16 |
828 ps->dclk_high_divider << 24);
1158 struct trinity_ps *ps = trinity_get_ps(rps); local
1161 if (ps->num_levels <= 1)
1168 ret = trinity_dpm_n_levels_disabled(rdev, ps
1275 trinity_patch_boot_state(struct radeon_device *rdev, struct trinity_ps *ps) argument
1350 trinity_patch_thermal_state(struct radeon_device *rdev, struct trinity_ps *ps, struct trinity_ps *current_ps) argument
1383 trinity_calculate_display_wm(struct radeon_device *rdev, struct trinity_ps *ps, u32 index) argument
1425 struct trinity_ps *ps = trinity_get_ps(rps); local
1490 struct trinity_ps *ps = trinity_get_ps(new_rps); local
1637 struct trinity_ps *ps = trinity_get_ps(rps); local
1664 struct trinity_ps *ps = trinity_get_ps(rps); local
1696 struct sumo_ps *ps; local
1969 struct trinity_ps *ps = trinity_get_ps(rps); local
1988 struct trinity_ps *ps = trinity_get_ps(rps); local
2009 struct trinity_ps *ps = trinity_get_ps(rps); local
[all...]
H A Dbtc_dpm.c2068 struct rv7xx_ps *ps = rv770_get_ps(rps); local
2086 if (ps->high.mclk > max_limits->mclk)
2087 ps->high.mclk = max_limits->mclk;
2088 if (ps->high.sclk > max_limits->sclk)
2089 ps->high.sclk = max_limits->sclk;
2090 if (ps->high.vddc > max_limits->vddc)
2091 ps->high.vddc = max_limits->vddc;
2092 if (ps->high.vddci > max_limits->vddci)
2093 ps->high.vddci = max_limits->vddci;
2095 if (ps
2710 struct rv7xx_ps *ps = rv770_get_ps(rps); local
2735 struct rv7xx_ps *ps = rv770_get_ps(rps); local
2758 struct rv7xx_ps *ps = rv770_get_ps(rps); local
[all...]
/linux-master/drivers/tty/vt/
H A Dselection.c239 static int vc_do_selection(struct vc_data *vc, unsigned short mode, int ps, argument
247 new_sel_start = ps;
251 spc = is_space_on_vt(sel_pos(ps, unicode));
252 for (new_sel_start = ps; ; ps -= 2) {
253 if ((spc && !is_space_on_vt(sel_pos(ps, unicode))) ||
254 (!spc && !inword(sel_pos(ps, unicode))))
256 new_sel_start = ps;
257 if (!(ps % vc->vc_size_row))
272 new_sel_start = rounddown(ps, v
329 int ps, pe; local
[all...]
/linux-master/include/linux/
H A Denergy_model.h194 struct em_perf_state *ps; local
198 ps = &table[i];
199 if (ps->performance >= max_util) {
201 ps->flags & EM_PERF_STATE_INEFFICIENT)
231 struct em_perf_state *ps; local
258 ps = &em_table->state[i];
262 * state (ps) can be computed as:
264 * ps->freq * scale_cpu
265 * ps->performance = -------------------- (1)
272 * ps
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dud.c261 void hfi1_make_ud_req_9B(struct rvt_qp *qp, struct hfi1_pkt_state *ps, argument
282 ps->s_txreq->hdr_dwords = 7;
284 ps->s_txreq->hdr_dwords++;
287 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh;
288 ps->s_txreq->hdr_dwords +=
290 ps->s_txreq->hdr_dwords - LRH_9B_DWORDS,
293 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth;
296 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth;
324 len = ps->s_txreq->hdr_dwords + nwords;
327 ps
332 hfi1_make_ud_req_16B(struct rvt_qp *qp, struct hfi1_pkt_state *ps, struct rvt_swqe *wqe) argument
435 hfi1_make_ud_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps) argument
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A DMakefile2 wlcore-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \
/linux-master/drivers/net/wireless/ti/wl1251/
H A DMakefile2 wl1251-objs = main.o event.o tx.o rx.o ps.o cmd.o \
H A Ddebugfs.c15 #include "ps.h"
178 DEBUGFS_FWSTATS_FILE(ps, pspoll_timeouts, 20, "%u");
179 DEBUGFS_FWSTATS_FILE(ps, upsd_timeouts, 20, "%u");
180 DEBUGFS_FWSTATS_FILE(ps, upsd_max_sptime, 20, "%u");
181 DEBUGFS_FWSTATS_FILE(ps, upsd_max_apturn, 20, "%u");
182 DEBUGFS_FWSTATS_FILE(ps, pspoll_max_apturn, 20, "%u");
183 DEBUGFS_FWSTATS_FILE(ps, pspoll_utilization, 20, "%u");
184 DEBUGFS_FWSTATS_FILE(ps, upsd_utilization, 20, "%u");
318 DEBUGFS_FWSTATS_DEL(ps, pspoll_timeouts);
319 DEBUGFS_FWSTATS_DEL(ps, upsd_timeout
[all...]
/linux-master/arch/x86/kernel/
H A Dirq_32.c113 struct page *ph, *ps; local
121 ps = alloc_pages_node(node, THREADINFO_GFP, THREAD_SIZE_ORDER);
122 if (!ps) {
128 per_cpu(pcpu_hot.softirq_stack_ptr, cpu) = page_address(ps);
/linux-master/arch/alpha/include/uapi/asm/
H A Dptrace.h46 unsigned long ps; member in struct:pt_regs
/linux-master/drivers/clocksource/
H A Dtimer-fsl-ftm.c26 unsigned long ps; member in struct:ftm_clock_device
55 val |= priv->ps | FTM_SC_CLK(1);
199 freq / (1 << priv->ps),
216 sched_clock_register(ftm_read_sched_clock, 16, freq / (1 << priv->ps));
218 freq / (1 << priv->ps), 300, 16,
278 priv->ps = 0;
286 HZ * (1 << priv->ps++));
289 if (priv->ps > FTM_PS_MAX) {
291 priv->ps, FTM_PS_MAX);
/linux-master/arch/powerpc/boot/
H A Daddnote.c118 unsigned long ph, ps, np; local
152 ps = GET_16(E_PHENTSIZE);
154 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1)
156 if (ph + (np + 2) * ps + nnote + nnote2 > n)
165 ph += ps;
169 for (i = 0; i < 2 * ps + nnote + nnote2; ++i)
174 ns = ph + 2 * ps;
197 ph += ps;

Completed in 423 milliseconds

1234567891011>>