Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 200 of 306) sorted by relevance

12

/linux-4.4.14/drivers/md/
Ddm-snap-persistent.c167 static int alloc_area(struct pstore *ps) in alloc_area() argument
172 len = ps->store->chunk_size << SECTOR_SHIFT; in alloc_area()
178 ps->area = vmalloc(len); in alloc_area()
179 if (!ps->area) in alloc_area()
182 ps->zero_area = vzalloc(len); in alloc_area()
183 if (!ps->zero_area) in alloc_area()
186 ps->header_area = vmalloc(len); in alloc_area()
187 if (!ps->header_area) in alloc_area()
193 vfree(ps->zero_area); in alloc_area()
196 vfree(ps->area); in alloc_area()
[all …]
Ddm-path-selector.h40 int (*create) (struct path_selector *ps, unsigned argc, char **argv);
41 void (*destroy) (struct path_selector *ps);
47 int (*add_path) (struct path_selector *ps, struct dm_path *path,
58 struct dm_path *(*select_path) (struct path_selector *ps,
65 void (*fail_path) (struct path_selector *ps, struct dm_path *p);
70 int (*reinstate_path) (struct path_selector *ps, struct dm_path *p);
76 int (*status) (struct path_selector *ps, struct dm_path *path,
79 int (*start_io) (struct path_selector *ps, struct dm_path *path,
81 int (*end_io) (struct path_selector *ps, struct dm_path *path,
Ddm-queue-length.c53 static int ql_create(struct path_selector *ps, unsigned argc, char **argv) in ql_create() argument
60 ps->context = s; in ql_create()
74 static void ql_destroy(struct path_selector *ps) in ql_destroy() argument
76 struct selector *s = ps->context; in ql_destroy()
81 ps->context = NULL; in ql_destroy()
84 static int ql_status(struct path_selector *ps, struct dm_path *path, in ql_status() argument
109 static int ql_add_path(struct path_selector *ps, struct dm_path *path, in ql_add_path() argument
112 struct selector *s = ps->context; in ql_add_path()
150 static void ql_fail_path(struct path_selector *ps, struct dm_path *path) in ql_fail_path() argument
152 struct selector *s = ps->context; in ql_fail_path()
[all …]
Ddm-round-robin.c63 static int rr_create(struct path_selector *ps, unsigned argc, char **argv) in rr_create() argument
71 ps->context = s; in rr_create()
75 static void rr_destroy(struct path_selector *ps) in rr_destroy() argument
77 struct selector *s = (struct selector *) ps->context; in rr_destroy()
82 ps->context = NULL; in rr_destroy()
85 static int rr_status(struct path_selector *ps, struct dm_path *path, in rr_status() argument
111 static int rr_add_path(struct path_selector *ps, struct dm_path *path, in rr_add_path() argument
114 struct selector *s = (struct selector *) ps->context; in rr_add_path()
147 static void rr_fail_path(struct path_selector *ps, struct dm_path *p) in rr_fail_path() argument
149 struct selector *s = (struct selector *) ps->context; in rr_fail_path()
[all …]
Ddm-service-time.c49 static int st_create(struct path_selector *ps, unsigned argc, char **argv) in st_create() argument
56 ps->context = s; in st_create()
70 static void st_destroy(struct path_selector *ps) in st_destroy() argument
72 struct selector *s = ps->context; in st_destroy()
77 ps->context = NULL; in st_destroy()
80 static int st_status(struct path_selector *ps, struct dm_path *path, in st_status() argument
106 static int st_add_path(struct path_selector *ps, struct dm_path *path, in st_add_path() argument
109 struct selector *s = ps->context; in st_add_path()
163 static void st_fail_path(struct path_selector *ps, struct dm_path *path) in st_fail_path() argument
165 struct selector *s = ps->context; in st_fail_path()
[all …]
Ddm-mpath.c53 struct path_selector ps; member
173 struct path_selector *ps = &pg->ps; in free_priority_group() local
175 if (ps->type) { in free_priority_group()
176 ps->type->destroy(ps); in free_priority_group()
177 dm_put_path_selector(ps->type); in free_priority_group()
301 path = pg->ps.type->select_path(&pg->ps, &m->repeat_count, nr_bytes); in __choose_path_in_pg()
439 if (pgpath->pg->ps.type->start_io) in __multipath_map()
440 pgpath->pg->ps.type->start_io(&pgpath->pg->ps, in __multipath_map()
537 r = pst->create(&pg->ps, ps_argc, as->argv); in parse_path_selector()
544 pg->ps.type = pst; in parse_path_selector()
[all …]
/linux-4.4.14/drivers/usb/core/
Ddevio.c84 struct usb_dev_state *ps; member
154 static int connected(struct usb_dev_state *ps) in connected() argument
156 return (!list_empty(&ps->list) && in connected()
157 ps->dev->state != USB_STATE_NOTATTACHED); in connected()
187 struct usb_dev_state *ps = file->private_data; in usbdev_read() local
188 struct usb_device *dev = ps->dev; in usbdev_read()
196 if (!connected(ps)) { in usbdev_read()
310 struct usb_dev_state *ps = as->ps; in async_newpending() local
313 spin_lock_irqsave(&ps->lock, flags); in async_newpending()
314 list_add_tail(&as->asynclist, &ps->async_pending); in async_newpending()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dmicrel-ksz90x1.txt14 value is 0, the maximum value is 3000, and it is incremented by 200ps
19 - rxc-skew-ps : Skew control of RXC pad
20 - rxdv-skew-ps : Skew control of RX CTL pad
21 - txc-skew-ps : Skew control of TXC pad
22 - txen-skew-ps : Skew control of TX CTL pad
23 - rxd0-skew-ps : Skew control of RX data 0 pad
24 - rxd1-skew-ps : Skew control of RX data 1 pad
25 - rxd2-skew-ps : Skew control of RX data 2 pad
26 - rxd3-skew-ps : Skew control of RX data 3 pad
27 - txd0-skew-ps : Skew control of TX data 0 pad
[all …]
Drenesas,ravb.txt87 rxc-skew-ps = <900>;
88 rxdv-skew-ps = <0>;
89 rxd0-skew-ps = <0>;
90 rxd1-skew-ps = <0>;
91 rxd2-skew-ps = <0>;
92 rxd3-skew-ps = <0>;
93 txc-skew-ps = <900>;
94 txen-skew-ps = <0>;
95 txd0-skew-ps = <0>;
96 txd1-skew-ps = <0>;
[all …]
Dapm-xgene-enet.txt42 417, 717, 1020, 1321, 1611, 1913, 2215, 2514 ps
43 Default value is 4, which corresponds to 1611 ps
46 273, 589, 899, 1222, 1480, 1806, 2147, 2464 ps
47 Default value is 2, which corresponds to 899 ps
/linux-4.4.14/drivers/net/wireless/ath/
Ddfs_pri_detector.c102 struct pri_sequence *ps, *ps0; in pool_deregister_ref() local
110 list_for_each_entry_safe(ps, ps0, &pseq_pool, head) { in pool_deregister_ref()
111 list_del(&ps->head); in pool_deregister_ref()
113 kfree(ps); in pool_deregister_ref()
230 struct pri_sequence ps, *new_ps; in pseq_handler_create_sequences() local
245 ps.count = 2; in pseq_handler_create_sequences()
246 ps.count_falses = 0; in pseq_handler_create_sequences()
247 ps.first_ts = p->ts; in pseq_handler_create_sequences()
248 ps.last_ts = ts; in pseq_handler_create_sequences()
249 ps.pri = GET_PRI_TO_USE(pde->rs->pri_min, in pseq_handler_create_sequences()
[all …]
Ddfs_pattern_detector.c295 struct pri_sequence *ps = pd->add_pulse(pd, event); in dpd_add_pulse() local
296 if (ps != NULL) { in dpd_add_pulse()
301 ps->pri, ps->count, ps->count_falses); in dpd_add_pulse()
/linux-4.4.14/arch/arm/boot/dts/
Dsocfpga_cyclone5_de0_sockit.dts59 txd0-skew-ps = <0>; /* -420ps */
60 txd1-skew-ps = <0>; /* -420ps */
61 txd2-skew-ps = <0>; /* -420ps */
62 txd3-skew-ps = <0>; /* -420ps */
63 rxd0-skew-ps = <420>; /* 0ps */
64 rxd1-skew-ps = <420>; /* 0ps */
65 rxd2-skew-ps = <420>; /* 0ps */
66 rxd3-skew-ps = <420>; /* 0ps */
67 txen-skew-ps = <0>; /* -420ps */
68 txc-skew-ps = <1860>; /* 960ps */
[all …]
Dsocfpga_arria10_socdk.dtsi50 * These skews assume the user's FPGA design is adding 600ps of delay
57 txd0-skew-ps = <0>; /* -420ps */
58 txd1-skew-ps = <0>; /* -420ps */
59 txd2-skew-ps = <0>; /* -420ps */
60 txd3-skew-ps = <0>; /* -420ps */
61 rxd0-skew-ps = <420>; /* 0ps */
62 rxd1-skew-ps = <420>; /* 0ps */
63 rxd2-skew-ps = <420>; /* 0ps */
64 rxd3-skew-ps = <420>; /* 0ps */
65 txen-skew-ps = <0>; /* -420ps */
[all …]
Dsama5d3xcm.dtsi47 txen-skew-ps = <800>;
48 txc-skew-ps = <3000>;
49 rxdv-skew-ps = <400>;
50 rxc-skew-ps = <3000>;
51 rxd0-skew-ps = <400>;
52 rxd1-skew-ps = <400>;
53 rxd2-skew-ps = <400>;
54 rxd3-skew-ps = <400>;
61 txen-skew-ps = <800>;
62 txc-skew-ps = <3000>;
[all …]
Dorion5x-rd88f5182-nas.dts52 devbus,turn-off-ps = <90000>;
53 devbus,badr-skew-ps = <0>;
54 devbus,acc-first-ps = <186000>;
55 devbus,acc-next-ps = <186000>;
58 devbus,wr-high-ps = <90000>;
59 devbus,wr-low-ps = <90000>;
60 devbus,ale-wr-ps = <90000>;
74 devbus,turn-off-ps = <90000>;
75 devbus,badr-skew-ps = <0>;
76 devbus,acc-first-ps = <186000>;
[all …]
Dsocfpga_cyclone5_sockit.dts54 rxd0-skew-ps = <0>;
55 rxd1-skew-ps = <0>;
56 rxd2-skew-ps = <0>;
57 rxd3-skew-ps = <0>;
58 txen-skew-ps = <0>;
59 txc-skew-ps = <2600>;
60 rxdv-skew-ps = <0>;
61 rxc-skew-ps = <2000>;
Dsocfpga_arria5_socdk.dts54 rxd0-skew-ps = <0>;
55 rxd1-skew-ps = <0>;
56 rxd2-skew-ps = <0>;
57 rxd3-skew-ps = <0>;
58 txen-skew-ps = <0>;
59 txc-skew-ps = <2600>;
60 rxdv-skew-ps = <0>;
61 rxc-skew-ps = <2000>;
Dsocfpga_cyclone5_socdk.dts54 rxd0-skew-ps = <0>;
55 rxd1-skew-ps = <0>;
56 rxd2-skew-ps = <0>;
57 rxd3-skew-ps = <0>;
58 txen-skew-ps = <0>;
59 txc-skew-ps = <2600>;
60 rxdv-skew-ps = <0>;
61 rxc-skew-ps = <2000>;
Dorion5x-lacie-ethernet-disk-mini-v2.dts72 devbus,turn-off-ps = <90000>;
73 devbus,badr-skew-ps = <0>;
74 devbus,acc-first-ps = <186000>;
75 devbus,acc-next-ps = <186000>;
78 devbus,wr-high-ps = <90000>;
79 devbus,wr-low-ps = <90000>;
80 devbus,ale-wr-ps = <90000>;
Darmada-xp-openblocks-ax3-4.dts79 devbus,turn-off-ps = <60000>;
80 devbus,badr-skew-ps = <0>;
81 devbus,acc-first-ps = <124000>;
82 devbus,acc-next-ps = <248000>;
83 devbus,rd-setup-ps = <0>;
84 devbus,rd-hold-ps = <0>;
88 devbus,wr-high-ps = <60000>;
89 devbus,wr-low-ps = <60000>;
90 devbus,ale-wr-ps = <60000>;
Darmada-xp-db.dts89 devbus,turn-off-ps = <60000>;
90 devbus,badr-skew-ps = <0>;
91 devbus,acc-first-ps = <124000>;
92 devbus,acc-next-ps = <248000>;
93 devbus,rd-setup-ps = <0>;
94 devbus,rd-hold-ps = <0>;
98 devbus,wr-high-ps = <60000>;
99 devbus,wr-low-ps = <60000>;
100 devbus,ale-wr-ps = <60000>;
Darmada-xp-gp.dts108 devbus,turn-off-ps = <60000>;
109 devbus,badr-skew-ps = <0>;
110 devbus,acc-first-ps = <124000>;
111 devbus,acc-next-ps = <248000>;
112 devbus,rd-setup-ps = <0>;
113 devbus,rd-hold-ps = <0>;
117 devbus,wr-high-ps = <60000>;
118 devbus,wr-low-ps = <60000>;
119 devbus,ale-wr-ps = <60000>;
Dimx6qdl-sabrelite.dtsi262 txen-skew-ps = <0>;
263 txc-skew-ps = <3000>;
264 rxdv-skew-ps = <0>;
265 rxc-skew-ps = <3000>;
266 rxd0-skew-ps = <0>;
267 rxd1-skew-ps = <0>;
268 rxd2-skew-ps = <0>;
269 rxd3-skew-ps = <0>;
270 txd0-skew-ps = <0>;
271 txd1-skew-ps = <0>;
[all …]
Dimx6qdl-nit6xlite.dtsi239 txen-skew-ps = <0>;
240 txc-skew-ps = <3000>;
241 rxdv-skew-ps = <0>;
242 rxc-skew-ps = <3000>;
243 rxd0-skew-ps = <0>;
244 rxd1-skew-ps = <0>;
245 rxd2-skew-ps = <0>;
246 rxd3-skew-ps = <0>;
247 txd0-skew-ps = <0>;
248 txd1-skew-ps = <0>;
[all …]
Dimx6qdl-nitrogen6x.dtsi276 txen-skew-ps = <0>;
277 txc-skew-ps = <3000>;
278 rxdv-skew-ps = <0>;
279 rxc-skew-ps = <3000>;
280 rxd0-skew-ps = <0>;
281 rxd1-skew-ps = <0>;
282 rxd2-skew-ps = <0>;
283 rxd3-skew-ps = <0>;
284 txd0-skew-ps = <0>;
285 txd1-skew-ps = <0>;
[all …]
Dimx6qdl-nitrogen6_max.dtsi374 txen-skew-ps = <0>;
375 txc-skew-ps = <3000>;
376 rxdv-skew-ps = <0>;
377 rxc-skew-ps = <3000>;
378 rxd0-skew-ps = <0>;
379 rxd1-skew-ps = <0>;
380 rxd2-skew-ps = <0>;
381 rxd3-skew-ps = <0>;
382 txd0-skew-ps = <0>;
383 txd1-skew-ps = <0>;
[all …]
Dzynq-zybo.dts39 ps-clk-frequency = <50000000>;
Dzynq-zed.dts43 ps-clk-frequency = <33333333>;
Dimx6qdl-aristainetos2.dtsi327 txd0-skew-ps = <0>;
328 txd1-skew-ps = <0>;
329 txd2-skew-ps = <0>;
330 txd3-skew-ps = <0>;
Domap2430-sdp.dts46 gpmc,sync-clk-ps = <0>;
Dzynq-parallella.dts44 ps-clk-frequency = <33333333>;
Domap2420-n8x0-common.dtsi76 gpmc,sync-clk-ps = <27000>;
/linux-4.4.14/kernel/trace/
Dtrace_events_filter.c622 static void parse_error(struct filter_parse_state *ps, int err, int pos) in parse_error() argument
624 ps->lasterr = err; in parse_error()
625 ps->lasterr_pos = pos; in parse_error()
668 static void append_filter_err(struct filter_parse_state *ps, in append_filter_err() argument
671 int pos = ps->lasterr_pos; in append_filter_err()
685 sprintf(pbuf, "\nparse_error: %s\n", err_text[ps->lasterr]); in append_filter_err()
932 static int filter_add_pred(struct filter_parse_state *ps, in filter_add_pred() argument
940 parse_error(ps, FILT_ERR_TOO_MANY_PREDS, 0); in filter_add_pred()
1030 static int init_pred(struct filter_parse_state *ps, in init_pred() argument
1042 parse_error(ps, FILT_ERR_ILLEGAL_FIELD_OP, 0); in init_pred()
[all …]
/linux-4.4.14/include/uapi/linux/
Dcoff.h25 #define COFF_SHORT_L(ps) ((short)(((unsigned short)((unsigned char)ps[1])<<8)|\ argument
26 ((unsigned short)((unsigned char)ps[0]))))
29 #define COFF_LONG_L(ps) (((long)(((unsigned long)((unsigned char)ps[3])<<24) |\ argument
30 ((unsigned long)((unsigned char)ps[2])<<16) |\
31 ((unsigned long)((unsigned char)ps[1])<<8) |\
32 ((unsigned long)((unsigned char)ps[0])))))
35 #define COFF_SHORT_H(ps) ((short)(((unsigned short)((unsigned char)ps[0])<<8)|\ argument
36 ((unsigned short)((unsigned char)ps[1]))))
39 #define COFF_LONG_H(ps) (((long)(((unsigned long)((unsigned char)ps[0])<<24) |\ argument
40 ((unsigned long)((unsigned char)ps[1])<<16) |\
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dbtc_dpm.c2098 struct rv7xx_ps *ps = rv770_get_ps(rps); in btc_apply_state_adjust_rules() local
2116 if (ps->high.mclk > max_limits->mclk) in btc_apply_state_adjust_rules()
2117 ps->high.mclk = max_limits->mclk; in btc_apply_state_adjust_rules()
2118 if (ps->high.sclk > max_limits->sclk) in btc_apply_state_adjust_rules()
2119 ps->high.sclk = max_limits->sclk; in btc_apply_state_adjust_rules()
2120 if (ps->high.vddc > max_limits->vddc) in btc_apply_state_adjust_rules()
2121 ps->high.vddc = max_limits->vddc; in btc_apply_state_adjust_rules()
2122 if (ps->high.vddci > max_limits->vddci) in btc_apply_state_adjust_rules()
2123 ps->high.vddci = max_limits->vddci; in btc_apply_state_adjust_rules()
2125 if (ps->medium.mclk > max_limits->mclk) in btc_apply_state_adjust_rules()
[all …]
Dsumo_dpm.c77 struct sumo_ps *ps = rps->ps_priv; in sumo_get_ps() local
79 return ps; in sumo_get_ps()
346 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_program_bsp() local
348 u32 highest_engine_clock = ps->levels[ps->num_levels - 1].sclk; in sumo_program_bsp()
350 if (ps->flags & SUMO_POWERSTATE_FLAGS_BOOST_STATE) in sumo_program_bsp()
355 for (i = 0; i < ps->num_levels - 1; i++) in sumo_program_bsp()
360 if (ps->flags & SUMO_POWERSTATE_FLAGS_BOOST_STATE) in sumo_program_bsp()
389 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_program_at() local
409 for (i = 0; i < ps->num_levels; i++) { in sumo_program_at()
410 asi = (i == ps->num_levels - 1) ? pi->pasi : pi->asi; in sumo_program_at()
[all …]
Dtrinity_dpm.c349 struct trinity_ps *ps = rps->ps_priv; in trinity_get_ps() local
351 return ps; in trinity_get_ps()
871 struct trinity_ps *ps = trinity_get_ps(rps); in trinity_setup_uvd_clock_table() local
872 u32 uvdstates = (ps->vclk_low_divider | in trinity_setup_uvd_clock_table()
873 ps->vclk_high_divider << 8 | in trinity_setup_uvd_clock_table()
874 ps->dclk_low_divider << 16 | in trinity_setup_uvd_clock_table()
875 ps->dclk_high_divider << 24); in trinity_setup_uvd_clock_table()
1205 struct trinity_ps *ps = trinity_get_ps(rps); in trinity_dpm_force_performance_level() local
1208 if (ps->num_levels <= 1) in trinity_dpm_force_performance_level()
1215 ret = trinity_dpm_n_levels_disabled(rdev, ps->num_levels - 1); in trinity_dpm_force_performance_level()
[all …]
Drs780_dpm.c36 struct igp_ps *ps = rps->ps_priv; in rs780_get_ps() local
38 return ps; in rs780_get_ps()
751 struct igp_ps *ps = rs780_get_ps(rps); in rs780_parse_pplib_clock_info() local
756 ps->sclk_low = sclk; in rs780_parse_pplib_clock_info()
759 ps->sclk_high = sclk; in rs780_parse_pplib_clock_info()
763 ps->min_voltage = RS780_VDDC_LEVEL_UNKNOWN; in rs780_parse_pplib_clock_info()
764 ps->max_voltage = RS780_VDDC_LEVEL_UNKNOWN; in rs780_parse_pplib_clock_info()
767 ps->min_voltage = RS780_VDDC_LEVEL_LOW; in rs780_parse_pplib_clock_info()
768 ps->max_voltage = RS780_VDDC_LEVEL_LOW; in rs780_parse_pplib_clock_info()
771 ps->min_voltage = RS780_VDDC_LEVEL_HIGH; in rs780_parse_pplib_clock_info()
[all …]
Dni_dpm.c735 struct ni_ps *ps = rps->ps_priv; in ni_get_ps() local
737 return ps; in ni_get_ps()
788 struct ni_ps *ps = ni_get_ps(rps); in ni_apply_state_adjust_rules() local
807 for (i = 0; i < ps->performance_level_count; i++) { in ni_apply_state_adjust_rules()
808 if (ps->performance_levels[i].mclk > max_limits->mclk) in ni_apply_state_adjust_rules()
809 ps->performance_levels[i].mclk = max_limits->mclk; in ni_apply_state_adjust_rules()
810 if (ps->performance_levels[i].sclk > max_limits->sclk) in ni_apply_state_adjust_rules()
811 ps->performance_levels[i].sclk = max_limits->sclk; in ni_apply_state_adjust_rules()
812 if (ps->performance_levels[i].vddc > max_limits->vddc) in ni_apply_state_adjust_rules()
813 ps->performance_levels[i].vddc = max_limits->vddc; in ni_apply_state_adjust_rules()
[all …]
Dsi_dpm.c2991 struct ni_ps *ps = ni_get_ps(rps); in si_apply_state_adjust_rules() local
3043 for (i = ps->performance_level_count - 2; i >= 0; i--) { in si_apply_state_adjust_rules()
3044 if (ps->performance_levels[i].vddc > ps->performance_levels[i+1].vddc) in si_apply_state_adjust_rules()
3045 ps->performance_levels[i].vddc = ps->performance_levels[i+1].vddc; in si_apply_state_adjust_rules()
3048 for (i = 0; i < ps->performance_level_count; i++) { in si_apply_state_adjust_rules()
3049 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
3050 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
3051 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
3052 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
3053 if (ps->performance_levels[i].vddc > max_limits->vddc) in si_apply_state_adjust_rules()
[all …]
Dradeon_pm.c865 struct radeon_ps *ps; in radeon_dpm_pick_power_state() local
881 ps = &rdev->pm.dpm.ps[i]; in radeon_dpm_pick_power_state()
882 ui_class = ps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK; in radeon_dpm_pick_power_state()
887 if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) { in radeon_dpm_pick_power_state()
889 return ps; in radeon_dpm_pick_power_state()
891 return ps; in radeon_dpm_pick_power_state()
896 if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) { in radeon_dpm_pick_power_state()
898 return ps; in radeon_dpm_pick_power_state()
900 return ps; in radeon_dpm_pick_power_state()
905 if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) { in radeon_dpm_pick_power_state()
[all …]
Dkv_dpm.c244 struct kv_ps *ps = rps->ps_priv; in kv_get_ps() local
246 return ps; in kv_get_ps()
2141 struct kv_ps *ps = kv_get_ps(new_rps); in kv_apply_state_adjust_rules() local
2185 ps->need_dfs_bypass = true; in kv_apply_state_adjust_rules()
2187 for (i = 0; i < ps->num_levels; i++) { in kv_apply_state_adjust_rules()
2188 if (ps->levels[i].sclk < sclk) in kv_apply_state_adjust_rules()
2189 ps->levels[i].sclk = sclk; in kv_apply_state_adjust_rules()
2193 for (i = 0; i < ps->num_levels; i++) { in kv_apply_state_adjust_rules()
2196 kv_convert_8bit_index_to_voltage(rdev, ps->levels[i].vddc_index))) { in kv_apply_state_adjust_rules()
2198 ps->levels[i].sclk = table->entries[limit].clk; in kv_apply_state_adjust_rules()
[all …]
Drv6xx_dpm.c39 struct rv6xx_ps *ps = rps->ps_priv; in rv6xx_get_ps() local
41 return ps; in rv6xx_get_ps()
1821 struct rv6xx_ps *ps = rv6xx_get_ps(rps); in rv6xx_parse_pplib_clock_info() local
1828 pl = &ps->low; in rv6xx_parse_pplib_clock_info()
1831 pl = &ps->medium; in rv6xx_parse_pplib_clock_info()
1835 pl = &ps->high; in rv6xx_parse_pplib_clock_info()
1884 struct rv6xx_ps *ps; in rv6xx_parse_power_table() local
1891 rdev->pm.dpm.ps = kzalloc(sizeof(struct radeon_ps) * in rv6xx_parse_power_table()
1893 if (!rdev->pm.dpm.ps) in rv6xx_parse_power_table()
1908 ps = kzalloc(sizeof(struct rv6xx_ps), GFP_KERNEL); in rv6xx_parse_power_table()
[all …]
Drv770_dpm.c50 struct rv7xx_ps *ps = rps->ps_priv; in rv770_get_ps() local
52 return ps; in rv770_get_ps()
2180 struct rv7xx_ps *ps = rv770_get_ps(rps); in rv7xx_parse_pplib_clock_info() local
2186 pl = &ps->low; in rv7xx_parse_pplib_clock_info()
2189 pl = &ps->medium; in rv7xx_parse_pplib_clock_info()
2193 pl = &ps->high; in rv7xx_parse_pplib_clock_info()
2229 if (ps->low.flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) in rv7xx_parse_pplib_clock_info()
2278 struct rv7xx_ps *ps; in rv7xx_parse_power_table() local
2285 rdev->pm.dpm.ps = kzalloc(sizeof(struct radeon_ps) * in rv7xx_parse_power_table()
2287 if (!rdev->pm.dpm.ps) in rv7xx_parse_power_table()
[all …]
Datom.c57 uint32_t *ps, *ws; member
225 val = get_unaligned_le32((u32 *)&ctx->ps[idx]); in atom_get_src_int()
501 ctx->ps[idx] = cpu_to_le32(val); in atom_put_dst()
630 r = atom_execute_table_locked(ctx->ctx, idx, ctx->ps + ctx->ps_shift); in atom_op_calltable()
1162 int len, ws, ps, ptr; in atom_execute_table_locked() local
1172 ps = CU8(base + ATOM_CT_PS_PTR) & ATOM_CT_PS_MASK; in atom_execute_table_locked()
1175 SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps); in atom_execute_table_locked()
1178 ectx.ps_shift = ps / 4; in atom_execute_table_locked()
1180 ectx.ps = params; in atom_execute_table_locked()
1197 base, len, ws, ps, ptr - 1); in atom_execute_table_locked()
[all …]
Drs600.c218 struct radeon_power_state *ps = &rdev->pm.power_state[requested_index]; in rs600_pm_misc() local
219 struct radeon_voltage *voltage = &ps->clock_info[0].voltage; in rs600_pm_misc()
224 if (ps->misc & ATOM_PM_MISCINFO_VOLTAGE_DROP_SUPPORT) { in rs600_pm_misc()
249 if (ps->misc & ATOM_PM_MISCINFO_ASIC_REDUCED_SPEED_SCLK_EN) { in rs600_pm_misc()
250 if (ps->misc & ATOM_PM_MISCINFO_DYNAMIC_CLOCK_DIVIDER_BY_2) { in rs600_pm_misc()
253 } else if (ps->misc & ATOM_PM_MISCINFO_DYNAMIC_CLOCK_DIVIDER_BY_4) { in rs600_pm_misc()
264 if (ps->misc & ATOM_PM_MISCINFO_ASIC_DYNAMIC_VOLTAGE_EN) { in rs600_pm_misc()
276 if (ps->misc & ATOM_PM_MISCINFO_DYNAMIC_HDP_BLOCK_EN) in rs600_pm_misc()
284 if (ps->misc & ATOM_PM_MISCINFO_DYNAMIC_MC_HOST_BLOCK_EN) in rs600_pm_misc()
291 if (ps->misc & ATOM_PM_MISCINFO2_DYNAMIC_BACK_BIAS_EN) in rs600_pm_misc()
[all …]
Dci_dpm.c202 struct ci_ps *ps = rps->ps_priv; in ci_get_ps() local
204 return ps; in ci_get_ps()
789 struct ci_ps *ps = ci_get_ps(rps); in ci_apply_state_adjust_rules() local
821 for (i = 0; i < ps->performance_level_count; i++) { in ci_apply_state_adjust_rules()
822 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
823 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
824 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
825 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
832 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in ci_apply_state_adjust_rules()
833 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
[all …]
Dradeon_asic.h433 struct radeon_ps *ps);
451 struct radeon_ps *ps);
491 struct radeon_ps *ps);
591 struct radeon_ps *ps);
668 struct radeon_ps *ps);
689 struct radeon_ps *ps);
886 struct radeon_ps *ps);
916 struct radeon_ps *ps);
Dr600_blit.c162 u32 *vs, *ps; in set_shaders() local
169 ps = (u32 *) ((char *)dev->agp_buffer_map->handle + dev_priv->blit_vb->offset + 256); in set_shaders()
174 ps[i] = cpu_to_le32(r6xx_ps[i]); in set_shaders()
/linux-4.4.14/drivers/usb/host/
Dehci-sched.c207 struct ehci_per_sched *ps) in bandwidth_dbg() argument
209 dev_dbg(&ps->udev->dev, in bandwidth_dbg()
211 ps->ep->desc.bEndpointAddress, in bandwidth_dbg()
213 (ps->bw_phase << 3) + ps->phase_uf, ps->bw_uperiod, in bandwidth_dbg()
214 ps->phase, ps->phase_uf, ps->period, in bandwidth_dbg()
215 ps->usecs, ps->c_usecs, ps->cs_mask); in bandwidth_dbg()
223 int usecs = qh->ps.usecs; in reserve_release_intr_bandwidth()
224 int c_usecs = qh->ps.c_usecs; in reserve_release_intr_bandwidth()
225 int tt_usecs = qh->ps.tt_usecs; in reserve_release_intr_bandwidth()
228 if (qh->ps.phase == NO_FRAME) /* Bandwidth wasn't reserved */ in reserve_release_intr_bandwidth()
[all …]
Dehci-q.c108 if (unlikely(!usb_gettoggle(qh->ps.udev, epnum, is_out))) { in qh_update()
110 usb_settoggle(qh->ps.udev, epnum, is_out, 1); in qh_update()
802 qh->ps.usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, in qh_make()
805 qh->ps.phase = NO_FRAME; in qh_make()
808 qh->ps.c_usecs = 0; in qh_make()
820 qh->ps.period = urb->interval >> 3; in qh_make()
827 qh->ps.bw_uperiod = min_t(unsigned, tmp, urb->interval); in qh_make()
828 qh->ps.bw_period = qh->ps.bw_uperiod >> 3; in qh_make()
838 qh->ps.c_usecs = qh->ps.usecs + HS_USECS(0); in qh_make()
839 qh->ps.usecs = HS_USECS(1); in qh_make()
[all …]
Dehci-dbg.c540 struct ehci_per_sched *ps; in fill_bandwidth_buffer() local
602 list_for_each_entry(ps, &tt->ps_list, ps_list) { in fill_bandwidth_buffer()
605 dev_name(&ps->udev->dev), in fill_bandwidth_buffer()
606 ps->ep->desc.bEndpointAddress, in fill_bandwidth_buffer()
607 ps->tt_usecs, in fill_bandwidth_buffer()
608 ps->bw_phase, ps->phase_uf, in fill_bandwidth_buffer()
609 ps->bw_period, ps->cs_mask); in fill_bandwidth_buffer()
666 p.qh->ps.period, in fill_periodic_buffer()
713 p.qh->ps.usecs, in fill_periodic_buffer()
714 p.qh->ps.c_usecs, in fill_periodic_buffer()
[all …]
Dehci.h421 struct ehci_per_sched ps; /* scheduling info */ member
481 struct ehci_per_sched ps; /* scheduling info */ member
/linux-4.4.14/drivers/net/dsa/
Dmv88e6xxx.c29 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in assert_smi_lock() local
31 if (unlikely(!mutex_is_locked(&ps->smi_mutex))) { in assert_smi_lock()
116 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_reg_read() local
119 mutex_lock(&ps->smi_mutex); in mv88e6xxx_reg_read()
121 mutex_unlock(&ps->smi_mutex); in mv88e6xxx_reg_read()
176 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_reg_write() local
179 mutex_lock(&ps->smi_mutex); in mv88e6xxx_reg_write()
181 mutex_unlock(&ps->smi_mutex); in mv88e6xxx_reg_write()
279 struct mv88e6xxx_priv_state *ps; in mv88e6xxx_ppu_reenable_work() local
281 ps = container_of(ugly, struct mv88e6xxx_priv_state, ppu_work); in mv88e6xxx_ppu_reenable_work()
[all …]
Dmv88e6131.c91 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6131_setup() local
100 switch (ps->id) { in mv88e6131_setup()
103 ps->num_ports = 10; in mv88e6131_setup()
106 ps->num_ports = 11; in mv88e6131_setup()
110 ps->num_ports = 8; in mv88e6131_setup()
129 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6131_port_to_phy_addr() local
131 if (port >= 0 && port < ps->num_ports) in mv88e6131_port_to_phy_addr()
Dmv88e6352.c80 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_setup() local
87 ps->num_ports = 7; in mv88e6352_setup()
89 mutex_init(&ps->eeprom_mutex); in mv88e6352_setup()
104 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_read_eeprom_word() local
107 mutex_lock(&ps->eeprom_mutex); in mv88e6352_read_eeprom_word()
121 mutex_unlock(&ps->eeprom_mutex); in mv88e6352_read_eeprom_word()
205 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_write_eeprom_word() local
208 mutex_lock(&ps->eeprom_mutex); in mv88e6352_write_eeprom_word()
222 mutex_unlock(&ps->eeprom_mutex); in mv88e6352_write_eeprom_word()
Dmv88e6123_61_65.c73 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6123_61_65_setup() local
80 switch (ps->id) { in mv88e6123_61_65_setup()
82 ps->num_ports = 3; in mv88e6123_61_65_setup()
86 ps->num_ports = 6; in mv88e6123_61_65_setup()
Dmv88e6171.c69 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6171_setup() local
76 ps->num_ports = 7; in mv88e6171_setup()
/linux-4.4.14/arch/sparc/lib/
DPeeCeeI.c120 u16 *ps = dst; in insw() local
123 if (((unsigned long)ps) & 0x2) { in insw()
124 *ps++ = __raw_readw(addr); in insw()
127 pi = (u32 *)ps; in insw()
136 ps = (u16 *)pi; in insw()
138 *ps = __raw_readw(addr); in insw()
154 u16 *ps; in insl() local
159 ps = dst; in insl()
162 *ps++ = l; in insl()
163 pi = (u32 *)ps; in insl()
[all …]
/linux-4.4.14/arch/sparc/include/asm/
Dide.h40 u16 *ps = dst; in __ide_insw() local
43 if(((unsigned long)ps) & 0x2) { in __ide_insw()
44 *ps++ = __raw_readw(port); in __ide_insw()
47 pi = (u32 *)ps; in __ide_insw()
56 ps = (u16 *)pi; in __ide_insw()
58 *ps++ = __raw_readw(port); in __ide_insw()
70 const u16 *ps = src; in __ide_outsw() local
74 __raw_writew(*ps++, port); in __ide_outsw()
77 pi = (const u32 *)ps; in __ide_outsw()
86 ps = (const u16 *)pi; in __ide_outsw()
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_smp.c142 struct mdp5_client_smp_state *ps = &smp->client_state[cid]; in smp_request_block() local
164 cur_nblks = bitmap_weight(ps->pending, cnt); in smp_request_block()
169 set_bit(blk, ps->pending); in smp_request_block()
175 int blk = find_first_bit(ps->pending, cnt); in smp_request_block()
176 clear_bit(blk, ps->pending); in smp_request_block()
181 if (!test_bit(blk, ps->configured)) in smp_request_block()
280 struct mdp5_client_smp_state *ps = &smp->client_state[cid]; in mdp5_smp_release() local
285 bitmap_or(assigned, ps->inuse, ps->configured, cnt); in mdp5_smp_release()
289 bitmap_andnot(smp->state, smp->state, ps->pending, cnt); in mdp5_smp_release()
293 bitmap_zero(ps->pending, cnt); in mdp5_smp_release()
[all …]
/linux-4.4.14/drivers/media/platform/omap/
Domap_vout_vrfb.c300 int vr_ps = 1, ps = 2, temp_ps = 2; in omap_vout_calculate_vrfb_offset() local
314 ps = 4; in omap_vout_calculate_vrfb_offset()
317 ps = 2; /* otherwise the pixel size is 2 byte */ in omap_vout_calculate_vrfb_offset()
320 ps = 4; in omap_vout_calculate_vrfb_offset()
322 ps = 3; in omap_vout_calculate_vrfb_offset()
324 vout->ps = ps; in omap_vout_calculate_vrfb_offset()
339 temp_ps = ps / vr_ps; in omap_vout_calculate_vrfb_offset()
346 ((crop->width / (vr_ps)) - 1) * ps); in omap_vout_calculate_vrfb_offset()
355 *cropped_offset = offset + (line_length * ps * ctop) + in omap_vout_calculate_vrfb_offset()
356 (cleft / vr_ps) * ps; in omap_vout_calculate_vrfb_offset()
[all …]
Domap_voutdef.h170 int ps, vr_ps, line_length, first_int, field_id; member
Domap_vout.c282 int ps = 2, line_length = 0; in omap_vout_calculate_offset() local
293 ps = 2; in omap_vout_calculate_offset()
295 ps = 4; in omap_vout_calculate_offset()
297 ps = 3; in omap_vout_calculate_offset()
299 vout->ps = ps; in omap_vout_calculate_offset()
301 *cropped_offset = (line_length * ps) * in omap_vout_calculate_offset()
302 crop->top + crop->left * ps; in omap_vout_calculate_offset()
/linux-4.4.14/arch/x86/kvm/
Di8254.c111 struct kvm_kpit_state *ps = &kvm->arch.vpit->pit_state; in __kpit_elapsed() local
113 if (!ps->period) in __kpit_elapsed()
125 remaining = hrtimer_get_remaining(&ps->timer); in __kpit_elapsed()
126 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed()
237 struct kvm_kpit_state *ps = container_of(kian, struct kvm_kpit_state, in kvm_pit_ack_irq() local
241 spin_lock(&ps->inject_lock); in kvm_pit_ack_irq()
242 value = atomic_dec_return(&ps->pending); in kvm_pit_ack_irq()
247 atomic_inc(&ps->pending); in kvm_pit_ack_irq()
248 else if (value > 0 && ps->reinject) in kvm_pit_ack_irq()
252 queue_kthread_work(&ps->pit->worker, &ps->pit->expired); in kvm_pit_ack_irq()
[all …]
/linux-4.4.14/tools/testing/selftests/vm/
Dthuge-gen.c92 void show(unsigned long ps) in show() argument
95 if (ps == getpagesize()) in show()
97 printf("%luMB: ", ps >> 20); in show()
101 ps >> 10); in show()
132 unsigned long read_free(unsigned long ps) in read_free() argument
134 return read_sysfs(ps != getpagesize(), in read_free()
136 ps >> 10); in read_free()
233 unsigned long ps = page_sizes[i]; in main() local
234 int arg = ilog2(ps) << MAP_HUGE_SHIFT; in main()
235 printf("Testing %luMB mmap with shift %x\n", ps >> 20, arg); in main()
[all …]
/linux-4.4.14/scripts/coccinelle/misc/
Ddoubleinit.cocci35 ps << s.p;
39 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
41 cocci.print_secs("s",ps)
47 ps << s.p;
51 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
52 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Dmvebu-devbus.txt37 - devbus,turn-off-ps: Defines the time during which the controller does not
46 - devbus,badr-skew-ps: Defines the time delay from from A[2:0] toggle,
52 - devbus,acc-first-ps: Defines the time delay from the negation of
57 - devbus,acc-next-ps: Defines the time delay between the cycle that
62 - devbus,rd-setup-ps: Defines the time delay between DEV_CSn assertion to
65 This parameter has no affect on <acc-first-ps> parameter
66 (no affect on first data sample). Set <rd-setup-ps>
67 to a value smaller than <acc-first-ps>.
71 - devbus,rd-hold-ps: Defines the time between the last data sample to the
78 affect on <turn-off-ps> parameter.
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pm.c385 struct amdgpu_ps *ps; in amdgpu_dpm_pick_power_state() local
408 ps = &adev->pm.dpm.ps[i]; in amdgpu_dpm_pick_power_state()
409 ui_class = ps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK; in amdgpu_dpm_pick_power_state()
414 if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) { in amdgpu_dpm_pick_power_state()
416 return ps; in amdgpu_dpm_pick_power_state()
418 return ps; in amdgpu_dpm_pick_power_state()
423 if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) { in amdgpu_dpm_pick_power_state()
425 return ps; in amdgpu_dpm_pick_power_state()
427 return ps; in amdgpu_dpm_pick_power_state()
432 if (ps->caps & ATOM_PPLIB_SINGLE_DISPLAY_ONLY) { in amdgpu_dpm_pick_power_state()
[all …]
Dcz_dpm.c50 struct cz_ps *ps = rps->ps_priv; in cz_get_ps() local
52 return ps; in cz_get_ps()
222 struct cz_ps *ps) in cz_patch_boot_state() argument
226 ps->num_levels = 1; in cz_patch_boot_state()
227 ps->levels[0] = pi->boot_pl; in cz_patch_boot_state()
241 struct cz_ps *ps = cz_get_ps(rps); in cz_parse_pplib_clock_info() local
242 struct cz_pl *pl = &ps->levels[index]; in cz_parse_pplib_clock_info()
249 ps->num_levels = index + 1; in cz_parse_pplib_clock_info()
263 struct cz_ps *ps = cz_get_ps(rps); in cz_parse_pplib_non_clock_info() local
279 cz_patch_boot_state(adev, ps); in cz_parse_pplib_non_clock_info()
[all …]
Dkv_dpm.c377 struct kv_ps *ps = rps->ps_priv; in kv_get_ps() local
379 return ps; in kv_get_ps()
2235 struct kv_ps *ps = kv_get_ps(new_rps); in kv_apply_state_adjust_rules() local
2279 ps->need_dfs_bypass = true; in kv_apply_state_adjust_rules()
2281 for (i = 0; i < ps->num_levels; i++) { in kv_apply_state_adjust_rules()
2282 if (ps->levels[i].sclk < sclk) in kv_apply_state_adjust_rules()
2283 ps->levels[i].sclk = sclk; in kv_apply_state_adjust_rules()
2287 for (i = 0; i < ps->num_levels; i++) { in kv_apply_state_adjust_rules()
2290 kv_convert_8bit_index_to_voltage(adev, ps->levels[i].vddc_index))) { in kv_apply_state_adjust_rules()
2292 ps->levels[i].sclk = table->entries[limit].clk; in kv_apply_state_adjust_rules()
[all …]
Datom.c57 uint32_t *ps, *ws; member
222 val = get_unaligned_le32((u32 *)&ctx->ps[idx]); in atom_get_src_int()
498 ctx->ps[idx] = cpu_to_le32(val); in atom_put_dst()
627 r = amdgpu_atom_execute_table_locked(ctx->ctx, idx, ctx->ps + ctx->ps_shift); in atom_op_calltable()
1208 int len, ws, ps, ptr; in amdgpu_atom_execute_table_locked() local
1218 ps = CU8(base + ATOM_CT_PS_PTR) & ATOM_CT_PS_MASK; in amdgpu_atom_execute_table_locked()
1221 SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps); in amdgpu_atom_execute_table_locked()
1224 ectx.ps_shift = ps / 4; in amdgpu_atom_execute_table_locked()
1226 ectx.ps = params; in amdgpu_atom_execute_table_locked()
1243 base, len, ws, ps, ptr - 1); in amdgpu_atom_execute_table_locked()
[all …]
Dci_dpm.c320 struct ci_ps *ps = rps->ps_priv; in ci_get_ps() local
322 return ps; in ci_get_ps()
906 struct ci_ps *ps = ci_get_ps(rps); in ci_apply_state_adjust_rules() local
938 for (i = 0; i < ps->performance_level_count; i++) { in ci_apply_state_adjust_rules()
939 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
940 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
941 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
942 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
949 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in ci_apply_state_adjust_rules()
950 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
[all …]
/linux-4.4.14/drivers/tty/vt/
Dselection.c164 int i, ps, pe, multiplier; in set_selection() local
184 ps = ys * vc->vc_size_row + (xs << 1); in set_selection()
199 if (ps > pe) /* make sel_start <= sel_end */ in set_selection()
201 int tmp = ps; in set_selection()
202 ps = pe; in set_selection()
219 new_sel_start = ps; in set_selection()
223 spc = isspace(sel_pos(ps)); in set_selection()
224 for (new_sel_start = ps; ; ps -= 2) in set_selection()
226 if ((spc && !isspace(sel_pos(ps))) || in set_selection()
227 (!spc && !inword(sel_pos(ps)))) in set_selection()
[all …]
/linux-4.4.14/arch/tile/mm/
Dhugetlbpage.c248 static __init int __setup_hugepagesz(unsigned long ps) in __setup_hugepagesz() argument
250 int log_ps = __builtin_ctzl(ps); in __setup_hugepagesz()
253 if ((1UL << log_ps) != ps || (log_ps & 1) != 0) { in __setup_hugepagesz()
255 ps); in __setup_hugepagesz()
259 if (ps > 64*1024*1024*1024UL) { in __setup_hugepagesz()
261 ps >> 20); in __setup_hugepagesz()
263 } else if (ps >= PUD_SIZE) { in __setup_hugepagesz()
274 } else if (ps >= PMD_SIZE) { in __setup_hugepagesz()
277 } else if (ps > PAGE_SIZE) { in __setup_hugepagesz()
281 pr_err("hugepagesz: huge page size %ld too small\n", ps); in __setup_hugepagesz()
[all …]
/linux-4.4.14/net/l2tp/
Dl2tp_ppp.c221 struct pppol2tp_session *ps = l2tp_session_priv(session); in pppol2tp_recv() local
227 sk = ps->sock; in pppol2tp_recv()
275 struct pppol2tp_session *ps = l2tp_session_priv(session); in pppol2tp_session_sock_hold() local
277 if (ps->sock) in pppol2tp_session_sock_hold()
278 sock_hold(ps->sock); in pppol2tp_session_sock_hold()
283 struct pppol2tp_session *ps = l2tp_session_priv(session); in pppol2tp_session_sock_put() local
285 if (ps->sock) in pppol2tp_session_sock_put()
286 sock_put(ps->sock); in pppol2tp_session_sock_put()
306 struct pppol2tp_session *ps; in pppol2tp_sendmsg() local
319 ps = l2tp_session_priv(session); in pppol2tp_sendmsg()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Ddebugfs.c110 WL12XX_DEBUGFS_FWSTATS_FILE(ps, pspoll_timeouts, "%u");
111 WL12XX_DEBUGFS_FWSTATS_FILE(ps, upsd_timeouts, "%u");
112 WL12XX_DEBUGFS_FWSTATS_FILE(ps, upsd_max_sptime, "%u");
113 WL12XX_DEBUGFS_FWSTATS_FILE(ps, upsd_max_apturn, "%u");
114 WL12XX_DEBUGFS_FWSTATS_FILE(ps, pspoll_max_apturn, "%u");
115 WL12XX_DEBUGFS_FWSTATS_FILE(ps, pspoll_utilization, "%u");
116 WL12XX_DEBUGFS_FWSTATS_FILE(ps, upsd_utilization, "%u");
220 DEBUGFS_FWSTATS_ADD(ps, pspoll_timeouts); in wl12xx_debugfs_add_files()
221 DEBUGFS_FWSTATS_ADD(ps, upsd_timeouts); in wl12xx_debugfs_add_files()
222 DEBUGFS_FWSTATS_ADD(ps, upsd_max_sptime); in wl12xx_debugfs_add_files()
[all …]
Dacx.h267 struct wl12xx_acx_ps_statistics ps; member
/linux-4.4.14/fs/pstore/
Dinode.c68 struct pstore_private *ps = s->private; in pstore_ftrace_seq_start() local
75 data->off = ps->size % REC_SIZE; in pstore_ftrace_seq_start()
77 if (data->off + REC_SIZE > ps->size) { in pstore_ftrace_seq_start()
93 struct pstore_private *ps = s->private; in pstore_ftrace_seq_next() local
97 if (data->off + REC_SIZE > ps->size) in pstore_ftrace_seq_next()
106 struct pstore_private *ps = s->private; in pstore_ftrace_seq_show() local
108 struct pstore_ftrace_record *rec = (void *)(ps->data + data->off); in pstore_ftrace_seq_show()
124 static int pstore_check_syslog_permissions(struct pstore_private *ps) in pstore_check_syslog_permissions() argument
126 switch (ps->type) { in pstore_check_syslog_permissions()
140 struct pstore_private *ps = sf->private; in pstore_file_read() local
[all …]
/linux-4.4.14/arch/microblaze/boot/dts/
Dsystem.dts152 xlnx,mch-plb-clk-period-ps = <0x1f40>;
181 xlnx,tavdv-ps-mem-0 = <0x1adb0>;
182 xlnx,tavdv-ps-mem-1 = <0x3a98>;
183 xlnx,tavdv-ps-mem-2 = <0x3a98>;
184 xlnx,tavdv-ps-mem-3 = <0x3a98>;
185 xlnx,tcedv-ps-mem-0 = <0x1adb0>;
186 xlnx,tcedv-ps-mem-1 = <0x3a98>;
187 xlnx,tcedv-ps-mem-2 = <0x3a98>;
188 xlnx,tcedv-ps-mem-3 = <0x3a98>;
189 xlnx,thzce-ps-mem-0 = <0x88b8>;
[all …]
/linux-4.4.14/arch/powerpc/boot/dts/
Dvirtex440-ml507.dts189 xlnx,mch-plb-clk-period-ps = <0x2710>;
218 xlnx,tavdv-ps-mem-0 = <0x1adb0>;
219 xlnx,tavdv-ps-mem-1 = <0x3a98>;
220 xlnx,tavdv-ps-mem-2 = <0x3a98>;
221 xlnx,tavdv-ps-mem-3 = <0x3a98>;
222 xlnx,tcedv-ps-mem-0 = <0x1adb0>;
223 xlnx,tcedv-ps-mem-1 = <0x3a98>;
224 xlnx,tcedv-ps-mem-2 = <0x3a98>;
225 xlnx,tcedv-ps-mem-3 = <0x3a98>;
226 xlnx,thzce-ps-mem-0 = <0x88b8>;
[all …]
Dvirtex440-ml510.dts160 xlnx,mch-plb-clk-period-ps = <0x2710>;
189 xlnx,tavdv-ps-mem-0 = <0x1adb0>;
190 xlnx,tavdv-ps-mem-1 = <0x3a98>;
191 xlnx,tavdv-ps-mem-2 = <0x3a98>;
192 xlnx,tavdv-ps-mem-3 = <0x3a98>;
193 xlnx,tcedv-ps-mem-0 = <0x1adb0>;
194 xlnx,tcedv-ps-mem-1 = <0x3a98>;
195 xlnx,tcedv-ps-mem-2 = <0x3a98>;
196 xlnx,tcedv-ps-mem-3 = <0x3a98>;
197 xlnx,thzce-ps-mem-0 = <0x88b8>;
[all …]
/linux-4.4.14/arch/arm64/mm/
Dhugetlbpage.c46 unsigned long ps = memparse(opt, &opt); in setup_hugepagesz() local
47 if (ps == PMD_SIZE) { in setup_hugepagesz()
49 } else if (ps == PUD_SIZE) { in setup_hugepagesz()
52 pr_err("hugepagesz: Unsupported page size %lu M\n", ps >> 20); in setup_hugepagesz()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Ddebugfs.c197 DEBUGFS_FWSTATS_FILE(ps, pspoll_timeouts, 20, "%u");
198 DEBUGFS_FWSTATS_FILE(ps, upsd_timeouts, 20, "%u");
199 DEBUGFS_FWSTATS_FILE(ps, upsd_max_sptime, 20, "%u");
200 DEBUGFS_FWSTATS_FILE(ps, upsd_max_apturn, 20, "%u");
201 DEBUGFS_FWSTATS_FILE(ps, pspoll_max_apturn, 20, "%u");
202 DEBUGFS_FWSTATS_FILE(ps, pspoll_utilization, 20, "%u");
203 DEBUGFS_FWSTATS_FILE(ps, upsd_utilization, 20, "%u");
337 DEBUGFS_FWSTATS_DEL(ps, pspoll_timeouts); in wl1251_debugfs_delete_files()
338 DEBUGFS_FWSTATS_DEL(ps, upsd_timeouts); in wl1251_debugfs_delete_files()
339 DEBUGFS_FWSTATS_DEL(ps, upsd_max_sptime); in wl1251_debugfs_delete_files()
[all …]
DMakefile1 wl1251-objs = main.o event.o tx.o rx.o ps.o cmd.o \
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dopa_compat.h76 static inline u8 port_states_to_logical_state(struct opa_port_states *ps) in port_states_to_logical_state() argument
78 return ps->portphysstate_portstate & OPA_PI_MASK_PORT_STATE; in port_states_to_logical_state()
81 static inline u8 port_states_to_phys_state(struct opa_port_states *ps) in port_states_to_phys_state() argument
83 return ((ps->portphysstate_portstate & in port_states_to_phys_state()
Dmr.c440 u32 ps; in hfi1_map_phys_fmr() local
455 ps = 1 << fmr->mr.page_shift; in hfi1_map_phys_fmr()
456 fmr->mr.length = list_len * ps; in hfi1_map_phys_fmr()
461 fmr->mr.map[m]->segs[n].length = ps; in hfi1_map_phys_fmr()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c1605 static void kiblnd_init_pool(kib_poolset_t *ps, kib_pool_t *pool, int size) in kiblnd_init_pool() argument
1607 CDEBUG(D_NET, "Initialize %s pool\n", ps->ps_name); in kiblnd_init_pool()
1612 pool->po_owner = ps; in kiblnd_init_pool()
1629 static void kiblnd_fail_poolset(kib_poolset_t *ps, struct list_head *zombies) in kiblnd_fail_poolset() argument
1631 if (ps->ps_net == NULL) /* intialized? */ in kiblnd_fail_poolset()
1634 spin_lock(&ps->ps_lock); in kiblnd_fail_poolset()
1635 while (!list_empty(&ps->ps_pool_list)) { in kiblnd_fail_poolset()
1636 kib_pool_t *po = list_entry(ps->ps_pool_list.next, in kiblnd_fail_poolset()
1643 list_add(&po->po_list, &ps->ps_failed_pool_list); in kiblnd_fail_poolset()
1645 spin_unlock(&ps->ps_lock); in kiblnd_fail_poolset()
[all …]
Do2iblnd.h126 #define kiblnd_rdma_create_id(cb, dev, ps, qpt) rdma_create_id(&init_net, \ argument
128 ps, qpt)
232 typedef int (*kib_ps_pool_create_t)(struct kib_poolset *ps,
916 struct list_head *kiblnd_pool_alloc_node(kib_poolset_t *ps);
/linux-4.4.14/arch/ia64/include/asm/sn/
Dpcibr_provider.h20 #define IS_PCIX(ps) ((ps)->pbi_bridge_mode & BUSTYPE_MASK) argument
23 #define IS_PIC_SOFT(ps) (ps->pbi_bridge_type == PCIBR_BRIDGETYPE_PIC) argument
24 #define IS_TIOCP_SOFT(ps) (ps->pbi_bridge_type == PCIBR_BRIDGETYPE_TIOCP) argument
/linux-4.4.14/drivers/clocksource/
Dfsl_ftm_timer.c41 unsigned long ps; member
70 val |= priv->ps | FTM_SC_CLK(1); in ftm_counter_enable()
220 freq / (1 << priv->ps), in ftm_clockevent_init()
237 sched_clock_register(ftm_read_sched_clock, 16, freq / (1 << priv->ps)); in ftm_clocksource_init()
239 freq / (1 << priv->ps), 300, 16, in ftm_clocksource_init()
299 priv->ps = 0; in ftm_calc_closest_round_cyc()
307 HZ * (1 << priv->ps++)); in ftm_calc_closest_round_cyc()
310 if (priv->ps > FTM_PS_MAX) { in ftm_calc_closest_round_cyc()
312 priv->ps, FTM_PS_MAX); in ftm_calc_closest_round_cyc()
/linux-4.4.14/arch/xtensa/kernel/
Dptrace.c63 __put_user(regs->ps & ~(1 << PS_EXCM_BIT), &gregset->ps); in ptrace_getregs()
83 unsigned long ps; in ptrace_setregs() local
90 __get_user(ps, &gregset->ps); in ptrace_setregs()
98 regs->ps = (regs->ps & ~ps_mask) | (ps & ps_mask) | (1 << PS_EXCM_BIT); in ptrace_setregs()
203 tmp = (regs->ps & ~(1 << PS_EXCM_BIT)); in ptrace_peekusr()
Dsignal.c143 COPY(ps); in setup_sigcontext()
179 unsigned long ps; in restore_sigcontext() local
201 err |= __get_user(ps, &sc->sc_ps); in restore_sigcontext()
202 regs->ps = (regs->ps & ~PS_CALLINC_MASK) | (ps & PS_CALLINC_MASK); in restore_sigcontext()
Dhead.S80 wsr a1, ps
197 wsr a2, ps # (enable reg-windows; progmode stack)
350 wsr a1, ps
Dvectors.S219 rsr a2, ps
259 rsr a0, ps
425 rsr a0, ps
513 rsr a0, ps
692 wsr a0, ps
Dmxhead.S47 wsr a1, ps
Dentry.S81 rsr \flags, ps
88 rsr \flags, ps
90 xsr \flags, ps
571 wsr a3, ps /* disable interrupts */
793 wsr a2, ps
863 wsr a1, ps
924 rsr a2, ps
933 wsr a2, ps
1711 rsr a2, ps
1808 rsr a2, ps
[all …]
Dprocess.c340 elfregs->ps = (regs->ps & ~(1 << PS_EXCM_BIT)); in xtensa_elf_core_copy_regs()
Dtraps.c216 if ((regs->ps & PS_INTLEVEL_MASK) < LOCKLEVEL) in do_nmi()
439 regs->pc, regs->ps, regs->depc, regs->excvaddr); in show_regs()
Dasm-offsets.c32 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main()
/linux-4.4.14/drivers/staging/speakup/
Dselection.c56 int i, ps, pe; in speakup_set_selection() local
63 ps = spk_ys * vc->vc_size_row + (spk_xs << 1); in speakup_set_selection()
66 if (ps > pe) { in speakup_set_selection()
68 int tmp = ps; in speakup_set_selection()
70 ps = pe; in speakup_set_selection()
82 new_sel_start = ps; in speakup_set_selection()
/linux-4.4.14/arch/powerpc/boot/
Daddnote.c122 unsigned long ph, ps, np; in main() local
156 ps = GET_16(E_PHENTSIZE); in main()
158 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main()
160 if (ph + (np + 2) * ps + nnote + nnote2 > n) in main()
169 ph += ps; in main()
173 for (i = 0; i < 2 * ps + nnote + nnote2; ++i) in main()
178 ns = ph + 2 * ps; in main()
201 ph += ps; in main()
/linux-4.4.14/Documentation/cdrom/
DMakefile8 `dvips -q -t letter -o $(LATEXFILE).ps $(LATEXFILE).dvi` ;\
9 `gv -antialias -media letter -nocenter $(LATEXFILE).ps` ;\
16 rm -f $(LATEXFILE).ps $(LATEXFILE).dvi $(LATEXFILE).aux $(LATEXFILE).log
/linux-4.4.14/tools/perf/util/
Dstat.c70 struct perf_stat_evsel *ps = evsel->priv; in __perf_evsel_stat__is() local
72 return ps->id == id; in __perf_evsel_stat__is()
87 struct perf_stat_evsel *ps = evsel->priv; in perf_stat_evsel_id_init() local
94 ps->id = i; in perf_stat_evsel_id_init()
103 struct perf_stat_evsel *ps = evsel->priv; in perf_evsel__reset_stat_priv() local
106 init_stats(&ps->res_stats[i]); in perf_evsel__reset_stat_priv()
308 struct perf_stat_evsel *ps = counter->priv; in perf_stat_process_counter() local
329 update_stats(&ps->res_stats[i], count[i]); in perf_stat_process_counter()
/linux-4.4.14/drivers/scsi/
Dosst.h136 unsigned ps :1; member
142 unsigned ps :1;
179 unsigned ps :1; member
185 unsigned ps :1;
305 unsigned ps :1; member
311 unsigned ps :1;
343 unsigned ps :1; member
349 unsigned ps :1;
564 struct st_partstat ps[ST_NBR_PARTITIONS]; member
Dosst.c618 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_verify_frame()
911 STp->ps[STp->partition].rw = OS_WRITING_COMPLETE; in osst_flush_drive_buffer()
924 if (minlast >= 0 && STp->ps[STp->partition].rw != ST_READING) in osst_wait_frame()
1103 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_initiate_read()
1141 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_get_logical_frame()
1269 struct st_partstat * STps = &(STp->ps[STp->partition]); in osst_seek_logical_blk()
1385 STp->ps[STp->partition].drv_file, STp->ps[STp->partition].drv_block, in osst_get_sector()
1386 STp->ps[STp->partition].rw == ST_WRITING?'w':'r', in osst_get_sector()
1387 STp->ps[STp->partition].rw == ST_WRITING?STp->buffer->buffer_bytes: in osst_get_sector()
1388 STp->buffer->read_pointer, STp->ps[STp->partition].eof); in osst_get_sector()
[all …]
Dst.c688 STps = &(STp->ps[STp->partition]); in write_behind_check()
792 STps = &(STp->ps[STp->partition]); in st_flush_write_buffer()
844 STps = &(STp->ps[STp->partition]); in flush_buffer()
940 STps = &(STp->ps[i]); in reset_state()
1076 STps = &(STp->ps[i]); in check_tape()
1098 STp->ps[0].drv_file = STp->ps[0].drv_block = (-1); in check_tape()
1305 STps = &(STp->ps[i]); in st_open()
1347 struct st_partstat *STps = &(STp->ps[STp->partition]); in st_flush()
1420 STps = &(STp->ps[STp->partition]); in st_flush()
1651 STps = &(STp->ps[STp->partition]); in st_write()
[all …]
Dst.h161 struct st_partstat ps[ST_NBR_PARTITIONS]; member
/linux-4.4.14/arch/mips/math-emu/
Dme-debugfs.c19 struct mips_fpu_emulator_stats *ps; in fpuemu_stat_get() local
22 ps = &per_cpu(fpuemustats, cpu); in fpuemu_stat_get()
23 pv = (void *)ps + (unsigned long)data; in fpuemu_stat_get()
/linux-4.4.14/arch/ia64/sn/pci/
Dtioce_provider.c165 #define ATE_PAGESHIFT(ps) (__ffs(ps)) argument
166 #define ATE_PAGEMASK(ps) ((ps)-1) argument
168 #define ATE_PAGE(x, ps) ((x) >> ATE_PAGESHIFT(ps)) argument
173 #define ATE_MAKE(addr, ps, msi) \ argument
174 (((addr) & ~ATE_PAGEMASK(ps)) | (1UL << 63) | ((msi)?(1UL << 62):0))
704 int ate_index, last_ate, ps; in tioce_reserve_m32() local
708 ps = ce_kern->ce_ate3240_pagesize; in tioce_reserve_m32()
709 ate_index = ATE_PAGE(base, ps); in tioce_reserve_m32()
710 last_ate = ate_index + ATE_NPAGES(base, limit-base+1, ps) - 1; in tioce_reserve_m32()
721 ate = ATE_MAKE(0xdeadbeef, ps, 0); in tioce_reserve_m32()
[all …]
Dtioca_provider.c375 int ps, ps_shift, entry, entries, mapsize; in tioca_dma_mapped() local
407 ps = tioca_kern->ca_ap_pagesize; /* will be power of 2 */ in tioca_dma_mapped()
408 ps_shift = ffs(ps) - 1; in tioca_dma_mapped()
424 bus_addr = tioca_kern->ca_pciap_base + (entry * ps); in tioca_dma_mapped()
431 if (xio_addr % ps) { in tioca_dma_mapped()
433 bus_addr += xio_addr & (ps - 1); in tioca_dma_mapped()
434 xio_addr &= ~(ps - 1); in tioca_dma_mapped()
435 xio_addr += ps; in tioca_dma_mapped()
441 xio_addr += ps; in tioca_dma_mapped()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_mid.c147 unsigned short ps = 16; in mid8250_set_termios() local
148 unsigned long fuart = baud * ps; in mid8250_set_termios()
155 ps = mid->board->freq / baud; /* baud rate too high */ in mid8250_set_termios()
157 ps = 1; /* PLL case */ in mid8250_set_termios()
158 fuart = baud * ps; in mid8250_set_termios()
165 p->uartclk = fuart * 16 / ps; /* core uses ps = 16 always */ in mid8250_set_termios()
167 writel(ps, p->membase + INTEL_MID_UART_PS); /* set PS */ in mid8250_set_termios()
/linux-4.4.14/arch/x86/mm/
Dhugetlbpage.c162 unsigned long ps = memparse(opt, &opt); in setup_hugepagesz() local
163 if (ps == PMD_SIZE) { in setup_hugepagesz()
165 } else if (ps == PUD_SIZE && cpu_has_gbpages) { in setup_hugepagesz()
169 ps >> 20); in setup_hugepagesz()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Drx.c78 u32 ps; in carl9170_handle_ps() local
81 ps = le32_to_cpu(rsp->psm.state); in carl9170_handle_ps()
83 new_ps = (ps & CARL9170_PSM_COUNTER) != CARL9170_PSM_WAKE; in carl9170_handle_ps()
84 if (ar->ps.state != new_ps) { in carl9170_handle_ps()
86 ar->ps.sleep_ms = jiffies_to_msecs(jiffies - in carl9170_handle_ps()
87 ar->ps.last_action); in carl9170_handle_ps()
90 ar->ps.last_action = jiffies; in carl9170_handle_ps()
92 ar->ps.state = new_ps; in carl9170_handle_ps()
539 ar->ps.last_beacon = jiffies; in carl9170_ps_beacon()
552 ar->ps.dtim_counter = (tim_ie->dtim_count - 1) % in carl9170_ps_beacon()
[all …]
Dmain.c357 ar->ps.last_action = jiffies; in carl9170_op_start()
358 ar->ps.last_slept = jiffies; in carl9170_op_start()
756 ar->ps.off_override |= PS_OFF_VIF; in carl9170_op_add_interface()
818 ar->ps.off_override &= ~PS_OFF_VIF; in carl9170_op_remove_interface()
834 bool ps = false; in carl9170_ps_update() local
837 if (!ar->ps.off_override) in carl9170_ps_update()
838 ps = (ar->hw->conf.flags & IEEE80211_CONF_PS); in carl9170_ps_update()
840 if (ps != ar->ps.state) { in carl9170_ps_update()
841 err = carl9170_powersave(ar, ps); in carl9170_ps_update()
845 if (ar->ps.state && !ps) { in carl9170_ps_update()
[all …]
Dcmd.c202 int carl9170_powersave(struct ar9170 *ar, const bool ps) in carl9170_powersave() argument
212 if (ps) { in carl9170_powersave()
Ddebug.c383 ADD(buf, *len, bufsize, "psm state: %s\n", (ar->ps.off_override ? in carl9170_debugfs_sta_psm_read()
384 "FORCE CAM" : (ar->ps.state ? "PSM" : "CAM"))); in carl9170_debugfs_sta_psm_read()
386 ADD(buf, *len, bufsize, "sleep duration: %d ms.\n", ar->ps.sleep_ms); in carl9170_debugfs_sta_psm_read()
388 jiffies_to_msecs(jiffies - ar->ps.last_action)); in carl9170_debugfs_sta_psm_read()
390 jiffies_to_msecs(jiffies - ar->ps.last_slept)); in carl9170_debugfs_sta_psm_read()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddispc.c1807 static s32 pixinc(int pixels, u8 ps) in pixinc() argument
1812 return 1 + (pixels - 1) * ps; in pixinc()
1814 return 1 - (-pixels + 1) * ps; in pixinc()
1828 u8 ps; in calc_vrfb_rotation_offset() local
1840 ps = 4; in calc_vrfb_rotation_offset()
1843 ps = color_mode_to_bpp(color_mode) / 8; in calc_vrfb_rotation_offset()
1868 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1874 (fieldmode ? screen_width : 0), ps); in calc_vrfb_rotation_offset()
1875 *pix_inc = pixinc(x_predecim, ps); in calc_vrfb_rotation_offset()
1890 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
[all …]
/linux-4.4.14/mm/
Dmemory-failure.c847 static int page_action(struct page_state *ps, struct page *p, in page_action() argument
853 result = ps->action(p, pfn); in page_action()
856 if (ps->action == me_swapcache_dirty && result == MF_DELAYED) in page_action()
861 pfn, action_page_types[ps->type], count); in page_action()
864 action_result(pfn, ps->type, result); in page_action()
1070 struct page_state *ps; in memory_failure() local
1289 for (ps = error_states;; ps++) in memory_failure()
1290 if ((p->flags & ps->mask) == ps->res) in memory_failure()
1295 if (!ps->mask) in memory_failure()
1296 for (ps = error_states;; ps++) in memory_failure()
[all …]
/linux-4.4.14/drivers/net/ethernet/amd/
Dau1000_eth.c804 struct net_device_stats *ps = &dev->stats; in au1000_update_rx_stats() local
806 ps->rx_packets++; in au1000_update_rx_stats()
808 ps->multicast++; in au1000_update_rx_stats()
811 ps->rx_errors++; in au1000_update_rx_stats()
813 ps->rx_missed_errors++; in au1000_update_rx_stats()
815 ps->rx_length_errors++; in au1000_update_rx_stats()
817 ps->rx_crc_errors++; in au1000_update_rx_stats()
819 ps->collisions++; in au1000_update_rx_stats()
821 ps->rx_bytes += status & RX_FRAME_LEN_MASK; in au1000_update_rx_stats()
899 struct net_device_stats *ps = &dev->stats; in au1000_update_tx_stats() local
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/power_supply/
Dmsm-poweroff.txt3 A power supply hold (ps-hold) bit is set to power the msm chipsets.
10 -reg: Specifies the physical address of the ps-hold register
/linux-4.4.14/arch/xtensa/include/asm/
Dptrace.h26 unsigned long ps; /* 8 */ member
60 # define user_mode(regs) (((regs)->ps & 0x00000020)!=0)
Delf.h80 elf_greg_t ps; member
Dprocessor.h184 regs->ps = USER_PS_VALUE; \
/linux-4.4.14/drivers/pci/
Dats.c38 int pci_enable_ats(struct pci_dev *dev, int ps) in pci_enable_ats() argument
49 if (ps < PCI_ATS_MIN_STU) in pci_enable_ats()
59 if (pdev->ats_stu != ps) in pci_enable_ats()
64 dev->ats_stu = ps; in pci_enable_ats()
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Drtl_ps.c230 priv->rtllib->ps = rtPsMode; in _rtl92e_ps_set_mode()
257 pPSC->bLeisurePs, priv->rtllib->ps, pPSC->LpsIdleCount, in rtl92e_leisure_ps_enter()
269 if (priv->rtllib->ps == RTLLIB_PS_DISABLED) { in rtl92e_leisure_ps_enter()
296 pPSC->bLeisurePs, priv->rtllib->ps); in rtl92e_leisure_ps_leave()
299 if (priv->rtllib->ps != RTLLIB_PS_DISABLED) { in rtl92e_leisure_ps_leave()
/linux-4.4.14/fs/fat/
Dnamei_vfat.c585 struct msdos_dir_slot *ps; in vfat_build_slots() local
624 for (ps = slots, i = *nr_slots; i > 0; i--, ps++) { in vfat_build_slots()
625 ps->id = i; in vfat_build_slots()
626 ps->attr = ATTR_EXT; in vfat_build_slots()
627 ps->reserved = 0; in vfat_build_slots()
628 ps->alias_checksum = cksum; in vfat_build_slots()
629 ps->start = 0; in vfat_build_slots()
631 fatwchar_to16(ps->name0_4, uname + offset, 5); in vfat_build_slots()
632 fatwchar_to16(ps->name5_10, uname + offset + 5, 6); in vfat_build_slots()
633 fatwchar_to16(ps->name11_12, uname + offset + 11, 2); in vfat_build_slots()
[all …]
/linux-4.4.14/drivers/net/irda/
Dau1k_ir.c388 struct net_device_stats *ps = &dev->stats; in update_rx_stats() local
390 ps->rx_packets++; in update_rx_stats()
393 ps->rx_errors++; in update_rx_stats()
395 ps->rx_missed_errors++; in update_rx_stats()
397 ps->rx_length_errors++; in update_rx_stats()
399 ps->rx_crc_errors++; in update_rx_stats()
401 ps->rx_bytes += count; in update_rx_stats()
406 struct net_device_stats *ps = &dev->stats; in update_tx_stats() local
408 ps->tx_packets++; in update_tx_stats()
409 ps->tx_bytes += pkt_len; in update_tx_stats()
[all …]
/linux-4.4.14/net/mac80211/
Dtx.c356 struct ps_data *ps; in purge_old_ps_buffers() local
359 ps = &sdata->u.ap.ps; in purge_old_ps_buffers()
361 ps = &sdata->u.mesh.ps; in purge_old_ps_buffers()
365 skb = skb_dequeue(&ps->bc_buf); in purge_old_ps_buffers()
370 total += skb_queue_len(&ps->bc_buf); in purge_old_ps_buffers()
400 struct ps_data *ps; in ieee80211_tx_h_multicast_ps_buf() local
416 ps = &tx->sdata->bss->ps; in ieee80211_tx_h_multicast_ps_buf()
418 ps = &tx->sdata->u.mesh.ps; in ieee80211_tx_h_multicast_ps_buf()
435 if (!atomic_read(&ps->num_sta_ps)) in ieee80211_tx_h_multicast_ps_buf()
448 if (skb_queue_len(&ps->bc_buf) >= AP_MAX_BC_BUFFER) { in ieee80211_tx_h_multicast_ps_buf()
[all …]
Dsta_info.c91 struct ps_data *ps; in __cleanup_single_sta() local
98 ps = &sdata->bss->ps; in __cleanup_single_sta()
100 ps = &sdata->u.mesh.ps; in __cleanup_single_sta()
108 atomic_dec(&ps->num_sta_ps); in __cleanup_single_sta()
640 struct ps_data *ps; in __sta_info_recalc_tim() local
651 ps = &sta->sdata->bss->ps; in __sta_info_recalc_tim()
654 ps = &sta->sdata->u.mesh.ps; in __sta_info_recalc_tim()
701 if (indicate_tim == __bss_tim_get(ps->tim, id)) in __sta_info_recalc_tim()
705 __bss_tim_set(ps->tim, id); in __sta_info_recalc_tim()
707 __bss_tim_clear(ps->tim, id); in __sta_info_recalc_tim()
[all …]
Diface.c786 struct ps_data *ps; in ieee80211_do_stop() local
901 ps = &sdata->bss->ps; in ieee80211_do_stop()
903 spin_lock_irqsave(&ps->bc_buf.lock, flags); in ieee80211_do_stop()
904 skb_queue_walk_safe(&ps->bc_buf, skb, tmp) { in ieee80211_do_stop()
906 __skb_unlink(skb, &ps->bc_buf); in ieee80211_do_stop()
911 spin_unlock_irqrestore(&ps->bc_buf.lock, flags); in ieee80211_do_stop()
1401 skb_queue_head_init(&sdata->u.ap.ps.bc_buf); in ieee80211_setup_sdata()
Ddebugfs_netdev.c478 IEEE80211_IF_FILE(num_sta_ps, u.ap.ps.num_sta_ps, ATOMIC);
479 IEEE80211_IF_FILE(dtim_count, u.ap.ps.dtim_count, DEC);
485 skb_queue_len(&sdata->u.ap.ps.bc_buf)); in ieee80211_if_fmt_num_buffered_multicast()
/linux-4.4.14/drivers/infiniband/core/
Dcma.c129 static struct idr *cma_pernet_idr(struct net *net, enum rdma_port_space ps) in cma_pernet_idr() argument
133 switch (ps) { in cma_pernet_idr()
156 enum rdma_port_space ps; member
161 static int cma_ps_alloc(struct net *net, enum rdma_port_space ps, in cma_ps_alloc() argument
164 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_alloc()
170 enum rdma_port_space ps, int snum) in cma_ps_find() argument
172 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_find()
177 static void cma_ps_remove(struct net *net, enum rdma_port_space ps, int snum) in cma_ps_remove() argument
179 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_remove()
403 switch (id_priv->id.ps) { in cma_set_qkey()
[all …]
/linux-4.4.14/sound/soc/codecs/
Dak4642.c456 int ps, fs; in ak4642_set_mcko() local
458 for (ps = 0; ps < ARRAY_SIZE(ps_list); ps++) { in ak4642_set_mcko()
460 if (frequency == ps_list[ps] * fs_list[fs]) { in ak4642_set_mcko()
462 PSs(ps) | FSs(fs)); in ak4642_set_mcko()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_mr.c354 u32 ps; in ipath_map_phys_fmr() local
365 ps = 1 << fmr->page_shift; in ipath_map_phys_fmr()
366 fmr->mr.length = list_len * ps; in ipath_map_phys_fmr()
369 ps = 1 << fmr->page_shift; in ipath_map_phys_fmr()
372 fmr->mr.map[m]->segs[n].length = ps; in ipath_map_phys_fmr()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c520 ieee->ps = IEEE80211_PS_DISABLED; in ieee80211_wx_set_power()
537 ieee->ps = IEEE80211_PS_UNICAST; in ieee80211_wx_set_power()
540 ieee->ps = IEEE80211_PS_MBCAST; in ieee80211_wx_set_power()
543 ieee->ps = IEEE80211_PS_UNICAST | IEEE80211_PS_MBCAST; in ieee80211_wx_set_power()
569 if (ieee->ps == IEEE80211_PS_DISABLED) { in ieee80211_wx_get_power()
587 …if ((ieee->ps & (IEEE80211_PS_MBCAST | IEEE80211_PS_UNICAST)) == (IEEE80211_PS_MBCAST | IEEE80211_… in ieee80211_wx_get_power()
589 else if (ieee->ps & IEEE80211_PS_MBCAST) in ieee80211_wx_get_power()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c582 ieee->ps = RTLLIB_PS_DISABLED; in rtllib_wx_set_power()
596 ieee->ps = RTLLIB_PS_UNICAST; in rtllib_wx_set_power()
599 ieee->ps = RTLLIB_PS_MBCAST; in rtllib_wx_set_power()
602 ieee->ps = RTLLIB_PS_UNICAST | RTLLIB_PS_MBCAST; in rtllib_wx_set_power()
627 if (ieee->ps == RTLLIB_PS_DISABLED) { in rtllib_wx_get_power()
642 if ((ieee->ps & (RTLLIB_PS_MBCAST | RTLLIB_PS_UNICAST)) == in rtllib_wx_get_power()
645 else if (ieee->ps & RTLLIB_PS_MBCAST) in rtllib_wx_get_power()
/linux-4.4.14/arch/metag/mm/
Dhugetlbpage.c238 unsigned long ps = memparse(opt, &opt); in setup_hugepagesz() local
239 if (ps == (1 << HPAGE_SHIFT)) { in setup_hugepagesz()
243 ps >> 20); in setup_hugepagesz()
/linux-4.4.14/scripts/coccinelle/api/
Dsimple_open.cocci67 ps << has_openr.p;
70 …int_report(pf[0],"WARNING opportunity for simple_open, see also structure on line %s"%(ps[0].line))
/linux-4.4.14/drivers/mtd/ubi/
Ddebug.h38 #define ubi_dbg_print_hex_dump(l, ps, pt, r, g, b, len, a) \ argument
39 print_hex_dump(l, ps, pt, r, g, b, len, a)
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dptlrpcd.c345 struct ptlrpc_request_set *ps; in ptlrpcd_check() local
356 ps = partner->pc_set; in ptlrpcd_check()
357 if (ps == NULL) { in ptlrpcd_check()
362 ptlrpc_reqset_get(ps); in ptlrpcd_check()
365 if (atomic_read(&ps->set_new_count)) { in ptlrpcd_check()
366 rc = ptlrpcd_steal_rqset(set, ps); in ptlrpcd_check()
372 ptlrpc_reqset_put(ps); in ptlrpcd_check()
/linux-4.4.14/Documentation/devicetree/bindings/display/bridge/
Dadi,adv7511.txt40 - adi,clock-delay: Video data clock delay relative to the pixel clock, in ps
41 (-1200 ps .. 1600 ps). Defaults to no delay.
/linux-4.4.14/drivers/pwm/
Dpwm-sti.c86 unsigned int ps; in sti_pwm_get_prescale() local
97 ps = period / val - 1; in sti_pwm_get_prescale()
98 if (ps > cdata->max_prescale) in sti_pwm_get_prescale()
101 *prescale = ps; in sti_pwm_get_prescale()
/linux-4.4.14/arch/powerpc/mm/
Dtlb_nohash.c527 unsigned int ps, sps; in setup_page_sizes() local
531 ps = eptcfg & 0x1f; in setup_page_sizes()
533 if (!ps || !sps) in setup_page_sizes()
538 if (ps == (def->shift - 10)) in setup_page_sizes()
541 def->ind = ps + 10; in setup_page_sizes()
/linux-4.4.14/Documentation/DocBook/
DMakefile45 PS := $(patsubst %.xml, %.ps, $(BOOKS))
130 cmd_db2ps = $(subst TYPE,ps, $($(PS_METHOD)template))
131 %.ps : %.xml
D.gitignore2 *.ps
D80211.xml.db156 API-ieee80211-sta-ps-transition
157 API-ieee80211-sta-ps-transition-ni
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_keys.c352 size_t ps; in qib_reg_mr() local
367 ps = mr->ibmr.page_size; in qib_reg_mr()
368 if (mr->ibmr.length > ps * mr->npages) in qib_reg_mr()
381 mrg->map[m]->segs[n].length = ps; in qib_reg_mr()
Dqib_mr.c450 u32 ps; in qib_map_phys_fmr() local
465 ps = 1 << fmr->mr.page_shift; in qib_map_phys_fmr()
466 fmr->mr.length = list_len * ps; in qib_map_phys_fmr()
471 fmr->mr.map[m]->segs[n].length = ps; in qib_map_phys_fmr()
/linux-4.4.14/include/rdma/
Drdma_cm.h155 enum rdma_port_space ps; member
174 void *context, enum rdma_port_space ps,
/linux-4.4.14/drivers/clk/bcm/
Dclk-nsp.c26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
27 .pwr_shift = ps, .iso_shift = is }
Dclk-ns2.c26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
27 .pwr_shift = ps, .iso_shift = is }
Dclk-cygnus.c28 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
29 .pwr_shift = ps, .iso_shift = is }
/linux-4.4.14/drivers/media/radio/wl128x/
Dfmdrv.h91 u8 ps[2]; member
96 u8 ps[2]; member
/linux-4.4.14/arch/tile/include/arch/
Dmpipe_shm.h299 uint_reg_t ps : 1; member
318 uint_reg_t ps : 1;
/linux-4.4.14/arch/alpha/include/asm/
Dptrace.h8 #define user_mode(regs) (((regs)->ps & 8) != 0)
Da.out-core.h70 dump->regs[EF_PS] = pt->ps; in aout_dump_thread()
/linux-4.4.14/arch/alpha/kernel/
Dtraps.c67 regs->pc, regs->r26, regs->ps, print_tainted()); in dik_show_regs()
172 if (regs->ps & 8) in die_if_kernel()
235 if ((regs->ps & ~IPL_MAX) == 0) { in do_entIF()
447 unsigned long ps, pc, gp, a0, a1, a2; member
658 pc, una_reg(26), regs->ps); in do_entUna()
Dirq_alpha.c89 printk(KERN_CRIT "PC = %016lx PS=%04lx\n", regs->pc, regs->ps); in do_entInt()
/linux-4.4.14/arch/mips/include/asm/mach-jz4740/
Djz4740_fb.h59 uint32_t ps; member
/linux-4.4.14/arch/alpha/include/uapi/asm/
Dptrace.h45 unsigned long ps; member
/linux-4.4.14/drivers/acpi/
Dscan.c457 struct acpi_device_power_state *ps = &device->power.states[i]; in acpi_free_power_resources_lists() local
458 acpi_power_resources_list_free(&ps->resources); in acpi_free_power_resources_lists()
896 struct acpi_device_power_state *ps = &device->power.states[state]; in acpi_bus_init_power_state() local
901 INIT_LIST_HEAD(&ps->resources); in acpi_bus_init_power_state()
912 &ps->resources); in acpi_bus_init_power_state()
922 ps->flags.explicit_set = 1; in acpi_bus_init_power_state()
925 if (!list_empty(&ps->resources) || ps->flags.explicit_set) in acpi_bus_init_power_state()
926 ps->flags.valid = 1; in acpi_bus_init_power_state()
928 ps->power = -1; /* Unknown - driver assigned */ in acpi_bus_init_power_state()
929 ps->latency = -1; /* Unknown - driver assigned */ in acpi_bus_init_power_state()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
DMakefile1 wlcore-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \
/linux-4.4.14/Documentation/arm/SA1100/
DGraphicsMaster26 - ps/2 keyboard
32 and example user space code. ps/2 keybd is multiplexed through this driver
DGraphicsClient69 - ps/2 keyboard
75 and example user space code. ps/2 keybd is multiplexed through this driver
/linux-4.4.14/arch/xtensa/boot/boot-elf/
Dbootstrap.S58 wsr a0, ps
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dzynq-7000.txt18 - ps-clk-frequency : Frequency of the oscillator providing ps_clk in HZ
94 ps-clk-frequency = <33333333>;
/linux-4.4.14/kernel/
Dfutex.c893 struct futex_pi_state **ps) in attach_to_pi_state() argument
955 *ps = pi_state; in attach_to_pi_state()
964 struct futex_pi_state **ps) in attach_to_pi_owner() argument
1026 *ps = pi_state; in attach_to_pi_owner()
1032 union futex_key *key, struct futex_pi_state **ps) in lookup_pi_state() argument
1041 return attach_to_pi_state(uval, match->pi_state, ps); in lookup_pi_state()
1047 return attach_to_pi_owner(uval, key, ps); in lookup_pi_state()
1084 struct futex_pi_state **ps, in futex_lock_pi_atomic() argument
1116 return attach_to_pi_state(uval, match->pi_state, ps); in futex_lock_pi_atomic()
1155 return attach_to_pi_owner(uval, key, ps); in futex_lock_pi_atomic()
[all …]
/linux-4.4.14/arch/x86/kernel/
Damd_gart_64.c392 struct scatterlist *s, *ps, *start_sg, *sgmap; in gart_map_sg() local
410 ps = NULL; /* shut up gcc */ in gart_map_sg()
429 (ps->offset + ps->length) % PAGE_SIZE) { in gart_map_sg()
446 ps = s; in gart_map_sg()
/linux-4.4.14/drivers/misc/sgi-gru/
Dgrufault.c267 int ret, ps; in gru_vtop() local
278 ret = atomic_pte_lookup(vma, vaddr, write, &paddr, &ps); in gru_vtop()
282 if (non_atomic_pte_lookup(vma, vaddr, write, &paddr, &ps)) in gru_vtop()
287 paddr = paddr & ~((1UL << ps) - 1); in gru_vtop()
289 *pageshift = ps; in gru_vtop()
/linux-4.4.14/drivers/s390/cio/
Ddevice_pgid.c313 if (pgid->inf.ps.state2 == SNID_STATE2_RESVD_ELSE) in pgid_analyze()
346 if (pgid->inf.ps.state1 != SNID_STATE1_GROUPED) in pgid_to_donepm()
349 if (pgid->inf.ps.state1 != SNID_STATE1_UNGROUPED) in pgid_to_donepm()
353 if (pgid->inf.ps.state3 != SNID_STATE3_MULTI_PATH) in pgid_to_donepm()
356 if (pgid->inf.ps.state3 != SNID_STATE3_SINGLE_PATH) in pgid_to_donepm()
Dcss.h51 struct path_state ps; /* SNID path state */ member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
DMakefile8 ps.o \
Dps.c697 bool ps = false; in rtl_swlps_wq_callback() local
699 ps = (hw->conf.flags & IEEE80211_CONF_PS); in rtl_swlps_wq_callback()
705 if (rtlpriv->psc.state && !ps) { in rtl_swlps_wq_callback()
710 if (ps) in rtl_swlps_wq_callback()
714 rtlpriv->psc.state = ps; in rtl_swlps_wq_callback()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_sds.c938 struct asd_ctrla_phy_settings *ps) in asd_process_ctrla_phy_settings() argument
941 for (i = 0; i < ps->num_phys; i++) { in asd_process_ctrla_phy_settings()
942 struct asd_ctrla_phy_entry *pe = &ps->phy_ent[i]; in asd_process_ctrla_phy_settings()
987 struct asd_ctrla_phy_settings *ps; in asd_process_ctrl_a_user() local
1006 ps = &dflt_ps; in asd_process_ctrl_a_user()
1027 ps = asd_find_ll_by_id(el, 'h', 0xFF); in asd_process_ctrl_a_user()
1028 if (!ps) { in asd_process_ctrl_a_user()
1033 err = asd_process_ctrla_phy_settings(asd_ha, ps); in asd_process_ctrl_a_user()
/linux-4.4.14/scripts/
Dver_linux136 ps --version 2>&1 |
/linux-4.4.14/arch/xtensa/boot/boot-redboot/
Dbootstrap.S54 wsr a4, ps
64 wsr a4, ps
/linux-4.4.14/tools/perf/
Dbuiltin-stat.c442 struct perf_stat_evsel *ps; in print_noise() local
447 ps = evsel->priv; in print_noise()
448 print_noise_pct(stddev_stats(&ps->res_stats[0]), avg); in print_noise()
670 struct perf_stat_evsel *ps = counter->priv; in print_counter_aggr() local
671 double avg = avg_stats(&ps->res_stats[0]); in print_counter_aggr()
676 avg_enabled = avg_stats(&ps->res_stats[1]); in print_counter_aggr()
677 avg_running = avg_stats(&ps->res_stats[2]); in print_counter_aggr()
/linux-4.4.14/drivers/of/
Dfdt.c303 const char *p1 = pathp, *ps = pathp, *pa = NULL; in unflatten_dt_node() local
310 ps = p1 + 1; in unflatten_dt_node()
313 if (pa < ps) in unflatten_dt_node()
315 sz = (pa - ps) + 1; in unflatten_dt_node()
324 memcpy(pp->value, ps, sz - 1); in unflatten_dt_node()
/linux-4.4.14/kernel/debug/kdb/
Dkdb_cmds15 -ps
/linux-4.4.14/drivers/input/
Dinput-mt.c208 struct input_mt_slot *ps = &mt->slots[i]; in input_mt_report_pointer_emulation() local
209 int id = input_mt_get_value(ps, ABS_MT_TRACKING_ID); in input_mt_report_pointer_emulation()
214 oldest = ps; in input_mt_report_pointer_emulation()
/linux-4.4.14/Documentation/
DSAK.txt59 # ps aux|grep 579
60 root 579 0.0 0.1 1088 436 ? S 00:43 0:00 gpm -t ps/2
/linux-4.4.14/include/linux/
Dcdrom.h179 __u8 ps : 1; member
197 __u8 ps : 1;
/linux-4.4.14/net/wireless/
Dwext-compat.c1125 bool ps = wdev->ps; in cfg80211_wext_siwpower() local
1136 ps = false; in cfg80211_wext_siwpower()
1142 ps = true; in cfg80211_wext_siwpower()
1155 err = rdev_set_power_mgmt(rdev, dev, ps, timeout); in cfg80211_wext_siwpower()
1159 wdev->ps = ps; in cfg80211_wext_siwpower()
1172 wrq->disabled = !wdev->ps; in cfg80211_wext_giwpower()
Dcore.c1024 wdev->ps = true; in cfg80211_netdev_notifier_call()
1026 wdev->ps = false; in cfg80211_netdev_notifier_call()
1097 if (rdev_set_power_mgmt(rdev, dev, wdev->ps, in cfg80211_netdev_notifier_call()
1100 wdev->ps = false; in cfg80211_netdev_notifier_call()
/linux-4.4.14/Documentation/devicetree/bindings/lpddr2/
Dlpddr2-timings.txt12 of type <u32> and the default unit is ps (pico seconds). Parameters with
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c513 } ps; member
640 struct ieee80211_vif *vif, int ps) in hwsim_send_nullfunc() argument
651 __func__, vp->bssid, ps); in hwsim_send_nullfunc()
659 (ps ? IEEE80211_FCTL_PM : 0)); in hwsim_send_nullfunc()
689 *val = data->ps; in hwsim_fops_ps_read()
702 old_ps = data->ps; in hwsim_fops_ps_write()
703 data->ps = val; in hwsim_fops_ps_write()
928 switch (data->ps) { in hwsim_ps_rx_ok()
964 if (data->ps != PS_DISABLED) in mac80211_hwsim_tx_frame_nl()
1151 if (data->ps != PS_DISABLED) in mac80211_hwsim_tx_frame_no_nl()
[all …]
/linux-4.4.14/arch/arm/mach-omap2/
Dpowerdomain.c326 int pwrdm_register_pwrdms(struct powerdomain **ps) in pwrdm_register_pwrdms() argument
333 if (!ps) in pwrdm_register_pwrdms()
336 for (p = ps; *p; p++) in pwrdm_register_pwrdms()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c630 enum mlx5_port_status ps; in mlx5e_set_settings() local
664 mlx5_query_port_admin_status(mdev, &ps); in mlx5e_set_settings()
665 if (ps == MLX5_PORT_UP) in mlx5e_set_settings()
668 if (ps == MLX5_PORT_UP) in mlx5e_set_settings()
/linux-4.4.14/sound/soc/fsl/
Dfsl_asrc.c179 u32 ps; in fsl_asrc_cal_asrck_divisor() local
182 for (ps = 0; div > 8; ps++) in fsl_asrc_cal_asrck_divisor()
185 return ((div - 1) << ASRCDRi_AxCPi_WIDTH) | ps; in fsl_asrc_cal_asrck_divisor()
/linux-4.4.14/drivers/mtd/nand/
Dmpc5121_nfc.c547 uint romloc, ps; in mpc5121_nfc_read_hw_config() local
570 ps = (rcwh >> 7) & 0x1; in mpc5121_nfc_read_hw_config()
576 switch ((ps << 2) | romloc) { in mpc5121_nfc_read_hw_config()
/linux-4.4.14/drivers/misc/
Dbh1770glc.c207 int ps) in bh1770_prox_interrupt_control() argument
209 chip->int_mode_prox = ps; in bh1770_prox_interrupt_control()
212 (chip->int_mode_lux << 1) | (ps << 0)); in bh1770_prox_interrupt_control()
270 static inline u8 bh1770_psadjusted_to_raw(struct bh1770_chip *chip, u8 ps) in bh1770_psadjusted_to_raw() argument
274 raw = (((u32)ps * BH1770_COEF_SCALER) / chip->prox_coef); in bh1770_psadjusted_to_raw()
/linux-4.4.14/arch/ia64/kernel/
Dpalinfo.c726 unsigned long ps:6; in tr_info() member
777 pgm = -1 << (itir_reg->ps - 12); in tr_info()
790 bitvector_process(m, 1<< itir_reg->ps); in tr_info()
/linux-4.4.14/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh196 echo "ps -fp $killpid" >> $resdir/Warnings 2>&1
/linux-4.4.14/drivers/power/
Daxp288_fuel_gauge.c587 static int fuel_gauge_get_property(struct power_supply *ps, in fuel_gauge_get_property() argument
591 struct axp288_fg_info *info = power_supply_get_drvdata(ps); in fuel_gauge_get_property()
713 static int fuel_gauge_set_property(struct power_supply *ps, in fuel_gauge_set_property() argument
717 struct axp288_fg_info *info = power_supply_get_drvdata(ps); in fuel_gauge_set_property()
/linux-4.4.14/include/uapi/rdma/
Drdma_user_cm.h84 __u16 ps; member
/linux-4.4.14/arch/ia64/include/asm/
Dprocessor.h170 __u64 ps : 6; /* 2-7 */ member
181 __u64 ps : 6; /* log page size */ member
/linux-4.4.14/Documentation/video4linux/
Dsi4713.txt121 rds_ps_name - Sets the RDS ps name field for transmission.
174 Example for setting rds ps name:
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_display.c825 struct nouveau_page_flip_state *ps) in nouveau_finish_page_flip() argument
858 if (ps) in nouveau_finish_page_flip()
859 *ps = *s; in nouveau_finish_page_flip()

12