/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3.h | 54 #define SSUSB_U3_CTRL(p) (U3D_SSUSB_U3_CTRL_0P + ((p) * 0x08)) argument 55 #define SSUSB_U2_CTRL(p) (U3D_SSUSB_U2_CTRL_0P + ((p) * 0x08)) argument
|
/openbmc/linux/include/linux/ |
H A D | ipv6.h | 7 #define ipv6_optlen(p) (((p)->hdrlen+1) << 3) argument 8 #define ipv6_authlen(p) (((p)->hdrlen+2) << 2) argument
|
/openbmc/linux/tools/testing/selftests/arm64/fp/ |
H A D | zt-ptrace.c | 57 void *p; in get_za() local 63 p = realloc(*buf, sz); in get_za() 64 if (!p) { in get_za() 69 *buf = p; in get_za()
|
/openbmc/linux/net/bluetooth/hidp/ |
H A D | sock.c | 155 u32 __user *p = argp; in hidp_sock_compat_ioctl() local 158 if (get_user(cl.cnum, p) || get_user(uci, p + 1)) in hidp_sock_compat_ioctl() 168 if (!err && put_user(cl.cnum, p)) in hidp_sock_compat_ioctl()
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | umid.c | 139 int fd, p, n, err; in is_umdir_used() local 170 p = strtoul(pid, &end, 0); in is_umdir_used() 177 if ((kill(p, 0) == 0) || (errno != ESRCH)) { in is_umdir_used() 179 umid, p); in is_umdir_used()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | apple-soc-cpufreq.c | 108 struct cpufreq_frequency_table *p; in apple_soc_cpufreq_get_rate() local 125 cpufreq_for_each_valid_entry(p, policy->freq_table) in apple_soc_cpufreq_get_rate() 126 if (p->driver_data == pstate) in apple_soc_cpufreq_get_rate() 127 return p->frequency; in apple_soc_cpufreq_get_rate()
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_cs_dsp_ctl.c | 54 char *p = ucontrol->value.bytes.data; in hda_cs_dsp_coeff_put() local 58 ret = cs_dsp_coeff_write_ctrl(cs_ctl, 0, p, cs_ctl->len); in hda_cs_dsp_coeff_put() 68 char *p = ucontrol->value.bytes.data; in hda_cs_dsp_coeff_get() local 72 ret = cs_dsp_coeff_read_ctrl(cs_ctl, 0, p, cs_ctl->len); in hda_cs_dsp_coeff_get()
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | image_verify.cpp | 67 for (const auto& p : in getAvailableKeyTypesFromSystem() local 70 if ((p.path().filename() == HASH_FILE_NAME) || in getAvailableKeyTypesFromSystem() 71 (p.path().filename() == PUBLICKEY_FILE_NAME)) in getAvailableKeyTypesFromSystem() 75 auto key = p.path().parent_path(); in getAvailableKeyTypesFromSystem()
|
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | method.aserver.callback.hpp.mako | 5 m_pmove = method.parameters_as_list(lambda p: f"std::move({p.camelCase})") 6 m_pargs = method.parameters_as_list(lambda p: method.parameter(interface, p))
|
/openbmc/linux/crypto/ |
H A D | md4.c | 188 char *p = (char *)mctx->block + offset; in md4_final() local 191 *p++ = 0x80; in md4_final() 193 memset(p, 0x00, padding + sizeof (u64)); in md4_final() 195 p = (char *)mctx->block; in md4_final() 199 memset(p, 0, padding); in md4_final()
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 192 u8 *p = data; in xgene_get_strings() local 198 memcpy(p, gstrings_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings() 199 p += ETH_GSTRING_LEN; in xgene_get_strings() 203 memcpy(p, gstrings_extd_stats[i].name, ETH_GSTRING_LEN); in xgene_get_strings() 204 p += ETH_GSTRING_LEN; in xgene_get_strings()
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_nsc.c | 127 u8 data, *p; in tpm_nsc_recv() local 147 for (p = buffer; p < &buffer[count]; p++) { in tpm_nsc_recv() 156 *p = inb(priv->base + NSC_DATA); in tpm_nsc_recv()
|
/openbmc/u-boot/drivers/dma/ |
H A D | apbh_dma.c | 457 struct list_head *p, *q; in mxs_dma_finish() local 474 list_for_each_safe(p, q, &pchan->active) { in mxs_dma_finish() 478 pdesc = list_entry(p, struct mxs_dma_desc, node); in mxs_dma_finish() 482 list_move_tail(p, head); in mxs_dma_finish() 484 list_move_tail(p, &pchan->done); in mxs_dma_finish()
|
/openbmc/linux/drivers/watchdog/ |
H A D | wdt_pci.c | 391 int __user *p = argp; in wdtpci_ioctl() local 417 return put_user(status, p); in wdtpci_ioctl() 419 return put_user(0, p); in wdtpci_ioctl() 424 if (get_user(new_heartbeat, p)) in wdtpci_ioctl() 431 return put_user(heartbeat, p); in wdtpci_ioctl()
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | recipe_sanity.bbclass | 79 def can_delete_others(p, cfgdata, d): 98 (p, cfgunexpanded, unexpanded, expanded)) 101 p = d.getVar("P") 102 p = "%s %s %s" % (d.getVar("PN"), d.getVar("PV"), d.getVar("PR")) 115 can_delete_others(p, cfgdata, d)
|
/openbmc/linux/security/integrity/evm/ |
H A D | evm_crypto.c | 190 char *asciihex, *p; in dump_security_xattr_l() local 192 p = asciihex = kmalloc(count * 2 + 1, GFP_KERNEL); in dump_security_xattr_l() 196 p = bin2hex(p, src, count); in dump_security_xattr_l() 197 *p = 0; in dump_security_xattr_l()
|
/openbmc/linux/drivers/net/hamradio/ |
H A D | bpqether.c | 396 struct list_head *p; in bpq_seq_next() local 402 p = rcu_dereference(list_next_rcu(&bpq_devices)); in bpq_seq_next() 404 p = rcu_dereference(list_next_rcu(&bpqdev->bpq_list)); in bpq_seq_next() 406 return (p == &bpq_devices) ? NULL in bpq_seq_next() 407 : list_entry(p, struct bpqdev, bpq_list); in bpq_seq_next()
|
/openbmc/linux/kernel/ |
H A D | kallsyms_selftest.c | 193 char *p; in match_cleanup_name() local 199 p = strstr(s, ".llvm."); in match_cleanup_name() 200 if (!p) in match_cleanup_name() 204 if (p - s != len) in match_cleanup_name() 431 static int test_entry(void *p) in test_entry() argument
|
/openbmc/linux/fs/afs/ |
H A D | vl_list.c | 228 struct afs_vlserver *p = previous->servers[i].server; in afs_extract_vlserver_list() local 230 if (p->name_len == bs.name_len && in afs_extract_vlserver_list() 231 p->port == bs.port && in afs_extract_vlserver_list() 232 strncasecmp(b, p->name, bs.name_len) == 0) { in afs_extract_vlserver_list() 233 server = afs_get_vlserver(p); in afs_extract_vlserver_list()
|
/openbmc/linux/drivers/misc/lkdtm/ |
H A D | bugs.c | 236 u32 *p; in lkdtm_UNALIGNED_LOAD_STORE_WRITE() local 239 p = (u32 *)(data + 1); in lkdtm_UNALIGNED_LOAD_STORE_WRITE() 240 if (*p == 0) in lkdtm_UNALIGNED_LOAD_STORE_WRITE() 242 *p = val; in lkdtm_UNALIGNED_LOAD_STORE_WRITE() 572 .p = 1, /* present */ in lkdtm_DOUBLE_FAULT()
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | reset.c | 266 const struct scmi_reset_issued_notify_payld *p = payld; in scmi_reset_fill_custom_report() local 269 if (evt_id != SCMI_EVENT_RESET_ISSUED || sizeof(*p) != payld_sz) in scmi_reset_fill_custom_report() 273 r->agent_id = le32_to_cpu(p->agent_id); in scmi_reset_fill_custom_report() 274 r->domain_id = le32_to_cpu(p->domain_id); in scmi_reset_fill_custom_report() 275 r->reset_state = le32_to_cpu(p->reset_state); in scmi_reset_fill_custom_report()
|
/openbmc/linux/fs/ |
H A D | fsopen.c | 31 char *p; in fscontext_read() local 45 p = log->buffer[index]; in fscontext_read() 53 n = strlen(p); in fscontext_read() 57 if (copy_to_user(_buf, p, n) != 0) in fscontext_read() 63 kfree(p); in fscontext_read()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_drv.c | 258 struct device *p = NULL, *d; in vc4_match_add_drivers() local 260 while ((d = platform_find_device_by_driver(p, drv))) { in vc4_match_add_drivers() 261 put_device(p); in vc4_match_add_drivers() 263 p = d; in vc4_match_add_drivers() 265 put_device(p); in vc4_match_add_drivers()
|
/openbmc/linux/drivers/scsi/device_handler/ |
H A D | scsi_dh_emc.c | 430 const char *p = params; in clariion_set_params() local 436 while (*p++) in clariion_set_params() 438 if ((sscanf(p, "%u", &st) != 1) || (st > 1)) in clariion_set_params() 441 while (*p++) in clariion_set_params() 443 if ((sscanf(p, "%u", &hr) != 1) || (hr > 1)) in clariion_set_params()
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_drv.c | 217 struct device *p = NULL, *d; in exynos_drm_match_add() local 222 while ((d = platform_find_device_by_driver(p, &info->driver->driver))) { in exynos_drm_match_add() 223 put_device(p); in exynos_drm_match_add() 228 p = d; in exynos_drm_match_add() 230 put_device(p); in exynos_drm_match_add()
|