Home
last modified time | relevance | path

Searched refs:p (Results 576 – 600 of 9049) sorted by relevance

1...<<21222324252627282930>>...362

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_kptr_fail.c178 p = v->unref_ptr; in correct_btf_id_check_size()
179 if (!p) in correct_btf_id_check_size()
246 p = v->ref_ptr; in reject_untrusted_store_to_ref()
247 if (!p) in reject_untrusted_store_to_ref()
266 p = v->ref_ptr; in reject_untrusted_xchg()
267 if (!p) in reject_untrusted_xchg()
328 int write_func(int *p) in write_func() argument
330 return p ? *p = 42 : 0; in write_func()
360 if (!p) in kptr_xchg_ref_state()
381 p = bpf_kptr_xchg(&v->ref_ptr, p); in kptr_xchg_possibly_null()
[all …]
/openbmc/linux/lib/
H A Dearlycpio.c64 const char *p, *dptr, *nptr; in find_cpio_data() local
70 p = data; in find_cpio_data()
73 if (!*p) { in find_cpio_data()
75 p += 4; in find_cpio_data()
86 c = *p++; in find_cpio_data()
111 dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); in find_cpio_data()
114 if (nptr > p + len || dptr < p || nptr < dptr) in find_cpio_data()
119 !memcmp(p, path, mypathsize)) { in find_cpio_data()
127 p, MAX_CPIO_FILE_NAME); in find_cpio_data()
135 len -= (nptr - p); in find_cpio_data()
[all …]
/openbmc/qemu/hw/mips/
H A Dmalta.c680 bl_gen_jump_kernel(p, in bl_setup_gt64120_jump_kernel()
696 uint16_t *p; in write_bootloader_nanomips() local
701 stw_p(p++, 0x2800); stw_p(p++, 0x001c); in write_bootloader_nanomips()
703 stw_p(p++, 0x8000); stw_p(p++, 0xc000); in write_bootloader_nanomips()
705 stw_p(p++, 0x8000); stw_p(p++, 0xc000); in write_bootloader_nanomips()
707 stw_p(p++, 0x8000); stw_p(p++, 0xc000); in write_bootloader_nanomips()
709 stw_p(p++, 0x8000); stw_p(p++, 0xc000); in write_bootloader_nanomips()
711 stw_p(p++, 0x8000); stw_p(p++, 0xc000); in write_bootloader_nanomips()
713 stw_p(p++, 0x8000); stw_p(p++, 0xc000); in write_bootloader_nanomips()
715 stw_p(p++, 0x8000); stw_p(p++, 0xc000); in write_bootloader_nanomips()
[all …]
/openbmc/linux/drivers/media/i2c/cx25840/
H A Dcx25840-ir.c657 for (p = (union cx25840_ir_fifo_rec *) buf, i = 0; i < n; p++, i++) { in cx25840_ir_rx_read()
737 if (p->shutdown) in cx25840_ir_rx_s_parameters()
751 o->mode = p->mode; in cx25840_ir_rx_s_parameters()
763 if (p->modulation) { in cx25840_ir_rx_s_parameters()
764 p->carrier_freq = rxclk_rx_s_carrier(c, p->carrier_freq, in cx25840_ir_rx_s_parameters()
805 if (p->enable) { in cx25840_ir_rx_s_parameters()
925 if (p->shutdown) in cx25840_ir_tx_s_parameters()
938 o->mode = p->mode; in cx25840_ir_tx_s_parameters()
951 p->carrier_freq = txclk_tx_s_carrier(c, p->carrier_freq, in cx25840_ir_tx_s_parameters()
955 p->duty_cycle = cduty_tx_s_duty_cycle(c, p->duty_cycle); in cx25840_ir_tx_s_parameters()
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Desi.c52 char *p; in esi_init() local
65 p = (char *) (systab + 1); in esi_init()
71 switch (*p) { in esi_init()
80 p += ESI_DESC_SIZE(*p); in esi_init()
96 char *p; in ia64_esi_call() local
101 p = (char *) (esi_systab + 1); in ia64_esi_call()
103 if (*p == ESI_DESC_ENTRY_POINT) { in ia64_esi_call()
134 p += ESI_DESC_SIZE(*p); in ia64_esi_call()
147 char *p; in ia64_esi_call_phys() local
153 p = (char *) (esi_systab + 1); in ia64_esi_call_phys()
[all …]
/openbmc/linux/include/linux/
H A Dflex_proportions.h37 int fprop_global_init(struct fprop_global *p, gfp_t gfp);
38 void fprop_global_destroy(struct fprop_global *p);
39 bool fprop_new_period(struct fprop_global *p, int periods);
58 void __fprop_inc_single(struct fprop_global *p, struct fprop_local_single *pl);
59 void fprop_fraction_single(struct fprop_global *p,
64 void fprop_inc_single(struct fprop_global *p, struct fprop_local_single *pl) in fprop_inc_single() argument
69 __fprop_inc_single(p, pl); in fprop_inc_single()
88 void __fprop_add_percpu_max(struct fprop_global *p,
90 void fprop_fraction_percpu(struct fprop_global *p,
95 void fprop_inc_percpu(struct fprop_global *p, struct fprop_local_percpu *pl) in fprop_inc_percpu() argument
[all …]
/openbmc/u-boot/lib/libfdt/
H A Dfdt_ro.c22 if (!p) in _fdt_nodename_eq()
176 p = fdt_get_alias_namelen(fdt, p, q - p); in fdt_path_offset_namelen()
177 if (!p) in fdt_path_offset_namelen()
181 p = q; in fdt_path_offset_namelen()
184 while (*p && (p < end)) { in fdt_path_offset_namelen()
188 p++; in fdt_path_offset_namelen()
190 if (*p == '\0' || *p == ':') in fdt_path_offset_namelen()
193 q = fdt_path_next_separator(p, end - p); in fdt_path_offset_namelen()
201 p = q; in fdt_path_offset_namelen()
384 p--; in fdt_get_path()
[all …]
/openbmc/phosphor-pid-control/test/
H A Dpid_fancontroller_unittest.cpp38 EXPECT_FALSE(p == nullptr); in TEST()
52 EXPECT_TRUE(p == nullptr); in TEST()
66 EXPECT_FALSE(p == nullptr); in TEST()
84 EXPECT_FALSE(p == nullptr); in TEST()
103 EXPECT_FALSE(p == nullptr); in TEST()
126 EXPECT_FALSE(p == nullptr); in TEST()
165 EXPECT_FALSE(p == nullptr); in TEST()
190 p->outputProc(50.0); in TEST()
226 p->outputProc(50.0); in TEST()
270 p->outputProc(percent); in TEST()
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-seiko-43wvf1g.c129 if (!p->enabled) in seiko_panel_disable()
132 p->enabled = false; in seiko_panel_disable()
141 if (!p->prepared) in seiko_panel_unprepare()
146 regulator_disable(p->avdd); in seiko_panel_unprepare()
151 regulator_disable(p->dvdd); in seiko_panel_unprepare()
153 p->prepared = false; in seiko_panel_unprepare()
163 if (p->prepared) in seiko_panel_prepare()
183 p->prepared = true; in seiko_panel_prepare()
188 regulator_disable(p->dvdd); in seiko_panel_prepare()
196 if (p->enabled) in seiko_panel_enable()
[all …]
H A Dpanel-edp.c437 return !p->no_hpd && (p->hpd_gpio || (p->aux && p->aux->wait_hpd_asserted)); in panel_edp_can_read_hpd()
448 panel_edp_wait(p->unprepared_time, p->desc->delay.unprepare); in panel_edp_prepare_once()
460 if (p->no_hpd) in panel_edp_prepare_once()
478 err = p->aux->wait_hpd_asserted(p->aux, hpd_wait_us); in panel_edp_prepare_once()
553 if (p->enabled) in panel_edp_enable()
576 !panel_edp_can_read_hpd(p) && !p->no_hpd) in panel_edp_enable()
599 if (p->ddc) { in panel_edp_get_modes()
602 if (!p->edid) in panel_edp_get_modes()
603 p->edid = drm_get_edid(connector, p->ddc); in panel_edp_get_modes()
604 if (p->edid) { in panel_edp_get_modes()
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dprocess.c158 p->thread.sched_cfa = 0; in copy_thread()
159 p->thread.csr_euen = 0; in copy_thread()
165 p->thread.reg03 = childksp; in copy_thread()
171 childregs->csr_euen = p->thread.csr_euen; in copy_thread()
172 childregs->csr_crmd = p->thread.csr_crmd; in copy_thread()
173 childregs->csr_prmd = p->thread.csr_prmd; in copy_thread()
174 childregs->csr_ecfg = p->thread.csr_ecfg; in copy_thread()
198 ptrace_hw_copy_thread(p); in copy_thread()
199 clear_tsk_thread_flag(p, TIF_USEDFPU); in copy_thread()
200 clear_tsk_thread_flag(p, TIF_USEDSIMD); in copy_thread()
[all …]
/openbmc/linux/crypto/
H A Dalgboss.c78 const char *p; in cryptomgr_schedule_probe() local
89 for (p = name; isalnum(*p) || *p == '-' || *p == '_'; p++) in cryptomgr_schedule_probe()
92 len = p - name; in cryptomgr_schedule_probe()
100 name = ++p; in cryptomgr_schedule_probe()
102 for (; isalnum(*p) || *p == '-' || *p == '_'; p++) in cryptomgr_schedule_probe()
105 if (*p == '(') { in cryptomgr_schedule_probe()
109 if (!*++p) in cryptomgr_schedule_probe()
117 p++; in cryptomgr_schedule_probe()
120 len = p - name; in cryptomgr_schedule_probe()
134 if (*p == ')') in cryptomgr_schedule_probe()
[all …]
/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dpipe.h101 #define usbhs_pipe_to_priv(p) ((p)->priv) argument
102 #define usbhs_pipe_number(p) (int)((p) - (p)->priv->pipe_info.pipe) argument
103 #define usbhs_pipe_is_dcp(p) ((p)->priv->pipe_info.pipe == (p)) argument
104 #define usbhs_pipe_to_fifo(p) ((p)->fifo) argument
105 #define usbhs_pipe_is_busy(p) usbhs_pipe_to_fifo(p) argument
107 #define usbhs_pipe_type(p) ((p)->pipe_type) argument
108 #define usbhs_pipe_type_is(p, t) ((p)->pipe_type == t) argument
/openbmc/qemu/bsd-user/freebsd/
H A Dtarget_os_stack.h54 abi_ulong destp, argvp, envp, p; in setup_initial_stack() local
58 stack_hi_addr = p = target_stkbas + target_stksiz; in setup_initial_stack()
61 p -= sizeof(struct target_ps_strings); in setup_initial_stack()
64 p -= TARGET_SZSIGCODE; in setup_initial_stack()
72 p -= roundup(execpath_len, sizeof(abi_ulong)); in setup_initial_stack()
80 p -= roundup(sizeof(canary), sizeof(abi_ulong)); in setup_initial_stack()
81 if (memcpy_to_target(p, canary, sizeof(canary))) { in setup_initial_stack()
86 p -= sizeof(abi_ulong); in setup_initial_stack()
87 if (put_user_ual(TARGET_PAGE_SIZE, p)) { in setup_initial_stack()
98 p = rounddown(p, TARGET_PAGE_SIZE); in setup_initial_stack()
[all …]
/openbmc/linux/drivers/media/common/siano/
H A Dsmsdvb-main.c264 client->fe_status = sms_to_status(p->is_demod_locked, p->is_rf_locked); in smsdvb_update_per_slices()
274 if (!p->is_demod_locked) in smsdvb_update_per_slices()
282 c->block_count.stat[0].uvalue += p->ets_packets + p->ts_packets; in smsdvb_update_per_slices()
292 if (p->ts_packets + p->ets_packets) in smsdvb_update_per_slices()
293 do_div(tmp, p->ts_packets + p->ets_packets); in smsdvb_update_per_slices()
306 client->fe_status = sms_to_status(p->is_demod_locked, p->is_rf_locked); in smsdvb_update_dvb_stats()
329 if (!p->is_demod_locked) in smsdvb_update_dvb_stats()
360 client->fe_status = sms_to_status(p->is_demod_locked, p->is_rf_locked); in smsdvb_update_isdbt_stats()
396 if (!p->is_demod_locked) in smsdvb_update_isdbt_stats()
412 lr = &p->layer_info[i]; in smsdvb_update_isdbt_stats()
[all …]
/openbmc/u-boot/board/varisys/common/
H A Dsys_eeprom.c104 u8 *p = e.mac[i]; in show_eeprom() local
107 p[0], p[1], p[2], p[3], p[4], p[5]); in show_eeprom()
188 void *p; in prog_eeprom() local
209 for (i = 0, p = &e; i < sizeof(e); i += 8, p += 8) { in prog_eeprom()
247 if ((p >= '0') && (p <= '9')) in h2i()
248 return p - '0'; in h2i()
250 if ((p >= 'A') && (p <= 'F')) in h2i()
253 if ((p >= 'a') && (p <= 'f')) in h2i()
299 e.mac[index][i] = simple_strtoul(p, &p, 16); in set_mac_address()
300 if (*p == ':') in set_mac_address()
[all …]
/openbmc/linux/scripts/kconfig/
H A Dpreprocess.c143 FILE *p; in do_shell() local
152 if (!p) { in do_shell()
386 *p = 0; in eval_clause()
397 p++; in eval_clause()
472 p++; in expand_dollar_with_args()
473 q = p; in expand_dollar_with_args()
490 return eval_clause(p, q - p, argc, argv); in expand_dollar_with_args()
514 p++; in __expand_string()
521 in = p; in __expand_string()
528 p++; in __expand_string()
[all …]
/openbmc/u-boot/board/freescale/common/
H A Dpfuze.c12 int pfuze_mode_init(struct pmic *p, u32 mode) in pfuze_mode_init() argument
18 pmic_reg_read(p, PFUZE100_DEVICEID, &id); in pfuze_mode_init()
52 struct pmic *p; in pfuze_common_init() local
60 p = pmic_get("PFUZE100"); in pfuze_common_init()
61 ret = pmic_probe(p); in pfuze_common_init()
65 pmic_reg_read(p, PFUZE100_DEVICEID, &reg); in pfuze_common_init()
69 pmic_reg_read(p, PFUZE100_SW1ABSTBY, &reg); in pfuze_common_init()
81 pmic_reg_read(p, PFUZE100_SW1CSTBY, &reg); in pfuze_common_init()
84 pmic_reg_write(p, PFUZE100_SW1CSTBY, reg); in pfuze_common_init()
87 pmic_reg_read(p, PFUZE100_SW1CCONF, &reg); in pfuze_common_init()
[all …]
/openbmc/linux/scripts/coccinelle/tests/
H A Dodd_ptr_err.cocci19 position p;
24 PTR_ERR@p(x)
30 position p;
36 PTR_ERR@p(\(e1 ? e2 : x\|e1 ? x : e2\))
38 PTR_ERR@p(x)
45 position p != {ok1.p,ok2.p};
54 PTR_ERR@p(
65 position p != {ok1.p,ok2.p};
76 PTR_ERR@j1@p(
84 position p != {ok1.p,ok2.p};
[all …]
H A Ddoublebitand.cocci22 position p;
26 * E@p
29 * E@p
32 * E@p
35 * E@p
38 * !E@p
41 * !E@p
46 p << r.p;
49 cocci.print_main("duplicated argument to & or |",p)
52 p << r.p;
[all …]
/openbmc/linux/kernel/sched/
H A Dfair.c2425 .p = p, in task_numa_migrate()
2466 sched_setnuma(p, task_node(p)); in task_numa_migrate()
2571 if (task_node(p) == p->numa_preferred_nid) in numa_migrate_preferred()
2688 task_scan_min(p), task_scan_max(p)); in update_task_scan_period()
3491 p->numa_work.next = &p->numa_work; in init_numa_balancing()
3562 if (!p->mm || !p->numa_faults || (p->flags & PF_EXITING)) in update_scan_period()
3585 p->numa_scan_period = task_scan_start(p); in update_scan_period()
5084 if (!p || p->nr_cpus_allowed == 1) { in update_misfit_status()
7718 else if (p && unlikely(task_on_rq_queued(p) || current == p)) in cpu_util()
8800 (&p->se == cfs_rq_of(&p->se)->next)) in task_hot()
[all …]
/openbmc/linux/scripts/coccinelle/free/
H A Difnulldev_put.cocci37 position p;
41 * \(__dev_put@p\|dev_put@p\|dev_put_track@p\|__dev_hold@p\|dev_hold@p\|
42 * dev_hold_track@p\)(E, ...);
45 p << r.p;
48 cocci.print_main("NULL check before dev_{put, hold} functions is not needed", p)
51 p << r.p;
55 coccilib.report.print_report(p[0], msg)
/openbmc/qemu/tests/tcg/hexagon/
H A Dmisc.c83 :: "r"(pred), "r"(p) in S4_storeirbt_io()
91 :: "r"(pred), "r"(p) in S4_storeirbf_io()
101 :: "r"(pred), "r"(p) in S4_storeirbtnew_io()
111 :: "r"(pred), "r"(p) in S4_storeirbfnew_io()
119 :: "r"(pred), "r"(p) in S4_storeirht_io()
127 :: "r"(pred), "r"(p) in S4_storeirhf_io()
137 :: "r"(pred), "r"(p) in S4_storeirhtnew_io()
147 :: "r"(pred), "r"(p) in S4_storeirhfnew_io()
155 :: "r"(pred), "r"(p) in S4_storeirit_io()
163 :: "r"(pred), "r"(p) in S4_storeirif_io()
[all …]
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dinterface.server.hpp.mako74 % for p in interface.properties:
75 /** Get value of ${p.name} */
76 virtual ${p.cppTypeParam(interface.name)} ${p.camelCase}() const;
79 ${p.camelCase}(${p.cppTypeParam(interface.name)} value,
83 ${p.camelCase}(${p.cppTypeParam(interface.name)} value);
127 % for p in interface.properties:
132 % if 'const' not in p.flags and 'readonly' not in p.flags:
146 ${p.cppTypeParam(interface.name)} _${p.camelCase} = \
147 % if p.is_enum():
150 ${p.defaultValue};
[all …]
/openbmc/linux/sound/firewire/digi00x/
H A Damdtp-dot.c116 struct amdtp_dot *p = s->protocol; in amdtp_dot_set_parameters() local
132 p->pcm_channels = pcm_channels; in amdtp_dot_set_parameters()
149 struct amdtp_dot *p = s->protocol; in write_pcm_s32() local
214 channels = p->pcm_channels; in write_pcm_silence()
229 used = p->midi_fifo_used[port]; in midi_ratelimit_per_packet()
235 p->midi_fifo_used[port] = used; in midi_ratelimit_per_packet()
237 return used < p->midi_fifo_limit; in midi_ratelimit_per_packet()
263 p->midi[port] != NULL) in write_midi_messages()
409 p->state.carry = 0x00; in amdtp_dot_reset()
410 p->state.idx = 0x00; in amdtp_dot_reset()
[all …]

1...<<21222324252627282930>>...362