/openbmc/linux/drivers/media/platform/aspeed/ |
H A D | aspeed-video.c | 564 static void update_perf(struct aspeed_video_perf *p) in update_perf() argument 566 struct aspeed_video *v = container_of(p, struct aspeed_video, in update_perf() 569 p->duration = in update_perf() 570 ktime_to_ms(ktime_sub(ktime_get(), p->last_sample)); in update_perf() 571 p->totaltime += p->duration; in update_perf() 573 p->duration_max = max(p->duration, p->duration_max); in update_perf() 574 p->duration_min = min(p->duration, p->duration_min); in update_perf() 576 p->duration); in update_perf()
|
/openbmc/linux/net/ipv6/ |
H A D | addrconf.c | 884 old = *p; in addrconf_fixup_forwarding() 885 *p = newf; in addrconf_fixup_forwarding() 952 old = *p; in addrconf_fixup_linkdown() 953 *p = newf; in addrconf_fixup_linkdown() 2884 p.iph.version = 4; in addrconf_set_sit_dstaddr() 2885 p.iph.ihl = 5; in addrconf_set_sit_dstaddr() 2887 p.iph.ttl = 64; in addrconf_set_sit_dstaddr() 4361 int p = 0; in if6_get_first() local 4374 p++; in if6_get_first() 4382 p = 0; in if6_get_first() [all …]
|
/openbmc/ipmitool/src/plugins/serial/ |
H A D | serial_basic.c | 203 char *p; in serial_bm_open() local 214 if ((p = strchr(intf->devfile, ':'))) { in serial_bm_open() 218 *p++ = '\0'; in serial_bm_open() 221 if ((pp = strchr(p, ':'))) { in serial_bm_open() 231 if (str2uint(p, &rate)) { in serial_bm_open()
|
/openbmc/linux/net/dccp/ccids/ |
H A D | ccid3.c | 675 u32 x_recv, p; in ccid3_first_li() local 699 p = tfrc_calc_x_reverse_lookup(fval); in ccid3_first_li() 702 "loss rate=%u\n", dccp_role(sk), sk, x_recv, p); in ccid3_first_li() 704 return p == 0 ? ~0U : scaled_div(1, p); in ccid3_first_li()
|
/openbmc/qemu/crypto/ |
H A D | akcipher-nettle.c.inc | 99 nettle_mpz_init_set_str_256_u(rsa->priv.p, rsa_key->p.len, rsa_key->p.data); 113 * Since in the kernel's unit test, the p, q, a, b, c of some 116 if (rsa_key->p.len > 1 &&
|
/openbmc/qemu/tests/fp/ |
H A D | fp-test.c | 790 const char *p; in set_init_flags() local 792 for (p = flags; *p != '\0'; p++) { in set_init_flags() 793 switch (*p) { in set_init_flags()
|
/openbmc/btbridge/ |
H A D | btbridged.c | 83 static void (*bt_vlog)(int p, const char *fmt, va_list args); 91 static void bt_log_console(int p, const char *fmt, va_list args) in bt_log_console() argument 94 FILE *s = (p < LOG_WARNING) ? stdout : stderr; in bt_log_console() 104 static void bt_log(int p, const char *fmt, ...) in bt_log() argument 109 bt_vlog(p, fmt, args); in bt_log()
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | package_ipk.bbclass | 62 for p in ['CONTROL', 'DEBIAN']: 63 p = os.path.join(root, p) 64 if os.path.exists(p): 65 bb.utils.prunedir(p)
|
/openbmc/linux/arch/arc/mm/ |
H A D | cache.c | 456 #define __dc_line_op_k(p, sz, op) __dc_line_op(p, p, sz, op) argument 510 #define __ic_line_inv_vaddr(p, v, s) __ic_line_inv_vaddr_local(p, v, s) argument
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | usbip_common.c | 58 static void usbip_dump_pipe(unsigned int p) in usbip_dump_pipe() argument 60 unsigned char type = usb_pipetype(p); in usbip_dump_pipe() 61 unsigned char ep = usb_pipeendpoint(p); in usbip_dump_pipe() 62 unsigned char dev = usb_pipedevice(p); in usbip_dump_pipe() 63 unsigned char dir = usb_pipein(p); in usbip_dump_pipe()
|
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | bioscfg.c | 193 char *p; in hp_enforce_single_line_input() local 195 p = memchr(buf, '\n', count); in hp_enforce_single_line_input() 197 if (p == buf + count - 1) in hp_enforce_single_line_input() 198 *p = '\0'; /* strip trailing newline */ in hp_enforce_single_line_input() 199 else if (p) in hp_enforce_single_line_input()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateless.c | 439 if (!hdr_ctrl || !hdr_ctrl->p_new.p) in mtk_vdec_s_ctrl() 444 h264 = (struct v4l2_ctrl_h264_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl() 457 h265 = (struct v4l2_ctrl_hevc_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl() 470 frame = (struct v4l2_ctrl_vp9_frame *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl() 480 seq = (struct v4l2_ctrl_av1_sequence *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | atp.c | 805 static void read_block(long ioaddr, int length, unsigned char *p, int data_mode) in read_block() argument 812 do { *p++ = read_byte_mode0(ioaddr); } while (--length > 0); in read_block() 814 do { *p++ = read_byte_mode2(ioaddr); } while (--length > 0); in read_block() 817 do { *p++ = read_byte_mode4(ioaddr); } while (--length > 0); in read_block() 819 do { *p++ = read_byte_mode6(ioaddr); } while (--length > 0); in read_block()
|
/openbmc/linux/drivers/power/supply/ |
H A D | surface_battery.c | 819 const struct spwr_psy_properties *p; in surface_battery_probe() local 822 p = ssam_device_get_match_data(sdev); in surface_battery_probe() 823 if (!p) in surface_battery_probe() 830 spwr_battery_init(bat, sdev, p->registry, p->name); in surface_battery_probe()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | smu_cmn.c | 1048 struct pci_dev *p = NULL; in smu_cmn_is_audio_func_enabled() local 1055 p = pci_get_domain_bus_and_slot(pci_domain_nr(adev->pdev->bus), in smu_cmn_is_audio_func_enabled() 1057 if (!p) in smu_cmn_is_audio_func_enabled() 1060 snd_driver_loaded = pci_is_enabled(p) ? true : false; in smu_cmn_is_audio_func_enabled() 1062 pci_dev_put(p); in smu_cmn_is_audio_func_enabled()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | device_pgid.c | 281 static int pgid_is_reset(struct pgid *p) in pgid_is_reset() argument 285 for (c = (char *)p + 1; c < (char *)(p + 1); c++) { in pgid_is_reset() 301 static void pgid_analyze(struct ccw_device *cdev, struct pgid **p, in pgid_analyze() argument 330 *p = first; in pgid_analyze()
|
/openbmc/linux/Documentation/usb/ |
H A D | usbip_protocol.rst | 98 | USBIP_CMD_SUBMIT(seqnum = p) | 102 | (seqnum = p+1, unlink_seqnum = p) | 106 | (seqnum = p+1, status = -ECONNRESET) | 109 | Note: No USBIP_RET_SUBMIT(seqnum = p) |
|
/openbmc/linux/drivers/firmware/ |
H A D | qemu_fw_cfg.c | 498 char *name_copy, *p, *tok; in fw_cfg_build_symlink() local 504 name_copy = p = kstrdup(name, GFP_KERNEL); in fw_cfg_build_symlink() 509 while ((tok = strsep(&p, "/")) && *tok) { in fw_cfg_build_symlink() 512 if (!p || !*p) { in fw_cfg_build_symlink()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_console.c | 583 char *p; in octeon_get_uboot_version() local 640 p = strstr(uboot_ver, "mips"); in octeon_get_uboot_version() 641 if (p) { in octeon_get_uboot_version() 642 p--; in octeon_get_uboot_version() 643 *p = '\0'; in octeon_get_uboot_version()
|
/openbmc/linux/drivers/firewire/ |
H A D | nosy.c | 534 u32 p, end; in add_card() local 594 p = lynx->rcv_buffer_bus + 2048; in add_card() 596 for (i = 1; p < end; i++, p += 2048) { in add_card() 599 lynx->rcv_pcl->buffer[i].pointer = cpu_to_le32(p); in add_card()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_bridge.c | 1405 struct drm_printer p = drm_seq_file_printer(m); in drm_bridge_chains_info() local 1413 drm_printf(&p, "encoder[%u]\n", encoder->base.id); in drm_bridge_chains_info() 1416 drm_printf(&p, "\tbridge[%u] type: %u, ops: %#x", in drm_bridge_chains_info() 1421 drm_printf(&p, ", OF: %pOFfc", bridge->of_node); in drm_bridge_chains_info() 1424 drm_printf(&p, "\n"); in drm_bridge_chains_info()
|
/openbmc/linux/include/media/ |
H A D | v4l2-subdev.h | 55 u8 *p; member 1231 static inline void v4l2_set_subdevdata(struct v4l2_subdev *sd, void *p) in v4l2_set_subdevdata() argument 1233 sd->dev_priv = p; in v4l2_set_subdevdata() 1254 static inline void v4l2_set_subdev_hostdata(struct v4l2_subdev *sd, void *p) in v4l2_set_subdev_hostdata() argument 1256 sd->host_priv = p; in v4l2_set_subdev_hostdata()
|
/openbmc/qemu/migration/ |
H A D | dirtyrate.c | 362 const uint64_t *p = ptr; in compute_page_hash() local 369 v1 = XXH64_round(v1, p[i + 0]); in compute_page_hash() 370 v2 = XXH64_round(v2, p[i + 1]); in compute_page_hash() 371 v3 = XXH64_round(v3, p[i + 2]); in compute_page_hash() 372 v4 = XXH64_round(v4, p[i + 3]); in compute_page_hash()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | ser.c | 85 static void ser_cd_ ## _name ## _init(struct ser_cd_ ## _name *p) \ 87 p->type = _type; \ 88 p->type_size = sizeof(p->data); \ 89 p->padding = 0x0123456789abcdef; \
|
/openbmc/telemetry/tests/src/ |
H A D | test_trigger.cpp | 131 ChangePropertyParams<T> p) in changeProperty() argument 133 ASSERT_THAT(getProperty<T>(path, property), p.valueBefore); in changeProperty() 134 ASSERT_THAT(setProperty<T>(path, property, p.newValue), p.ec); in changeProperty() 135 EXPECT_THAT(getProperty<T>(path, property), p.valueAfter); in changeProperty()
|