/openbmc/linux/net/netfilter/ |
H A D | nf_log_syslog.c | 804 const unsigned char *p = skb_mac_header(skb); in dump_mac_header() local 808 p -= ETH_HLEN; in dump_mac_header() 810 if (p < skb->head) in dump_mac_header() 811 p = NULL; in dump_mac_header() 814 if (p) { in dump_mac_header() 815 nf_log_buf_add(m, "%02x", *p++); in dump_mac_header() 817 nf_log_buf_add(m, ":%02x", *p++); in dump_mac_header()
|
/openbmc/linux/include/trace/events/ |
H A D | libata.h | 161 #define __parse_status(s) libata_trace_parse_status(p, s) 164 #define __parse_host_stat(s) libata_trace_parse_host_stat(p, s) 167 #define __parse_eh_action(a) libata_trace_parse_eh_action(p, a) 170 #define __parse_eh_err_mask(m) libata_trace_parse_eh_err_mask(p, m) 173 #define __parse_qc_flags(f) libata_trace_parse_qc_flags(p, f) 176 #define __parse_tf_flags(f) libata_trace_parse_tf_flags(p, f) 180 #define __parse_subcmd(c,f,h) libata_trace_parse_subcmd(p, c, f, h)
|
/openbmc/linux/drivers/staging/most/dim2/ |
H A D | dim2.c | 117 #define PACKET_IS_NET_INFO(p) \ argument 118 (((p)[1] == 0x18) && ((p)[2] == 0x05) && ((p)[3] == 0x0C) && \ 119 ((p)[13] == 0x3C) && ((p)[14] == 0x00) && ((p)[15] == 0x0A))
|
/openbmc/linux/lib/zlib_deflate/ |
H A D | deflate.c | 749 register Pos *p; in fill_window() local 784 p = &s->head[n]; in fill_window() 786 m = *--p; in fill_window() 787 *p = (Pos)(m >= wsize ? m-wsize : NIL); in fill_window() 791 p = &s->prev[n]; in fill_window() 793 m = *--p; in fill_window() 794 *p = (Pos)(m >= wsize ? m-wsize : NIL); in fill_window()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | writeback.c | 912 struct bkey *k, *p; in bch_dirty_init_thread() local 915 k = p = NULL; in bch_dirty_init_thread() 922 p = k; in bch_dirty_init_thread() 937 p = k; in bch_dirty_init_thread() 947 if (p) { in bch_dirty_init_thread() 948 if (bch_root_node_dirty_init(c, state->d, p) < 0) in bch_dirty_init_thread() 952 p = NULL; in bch_dirty_init_thread()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_mman.c | 675 struct rb_node *rb, **p; in insert_mmo() local 679 p = &obj->mmo.offsets.rb_node; in insert_mmo() 680 while (*p) { in insert_mmo() 683 rb = *p; in insert_mmo() 695 p = &rb->rb_right; in insert_mmo() 697 p = &rb->rb_left; in insert_mmo() 699 rb_link_node(&mmo->offset, rb, p); in insert_mmo()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | dynptr_fail.c | 950 __u8 *p; in dynptr_invalidate_slice_reinit() local 954 p = bpf_dynptr_data(&ptr, 0, 1); in dynptr_invalidate_slice_reinit() 955 if (!p) in dynptr_invalidate_slice_reinit() 960 return *p; in dynptr_invalidate_slice_reinit() 971 __u8 *p; in dynptr_invalidate_slice_or_null() local 976 p = bpf_dynptr_data(&ptr, 0, 1); in dynptr_invalidate_slice_or_null() 979 bpf_this_cpu_ptr(p); in dynptr_invalidate_slice_or_null()
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 374 (p, procout) = exec_cmd(args, pm, 'execute', tidx['dependsOn']) 375 if p: 376 if (p.returncode != 0): 393 (p, procout) = exec_cmd(args, pm, 'execute', tidx["cmdUnderTest"]) 394 if p: 395 exit_code = p.returncode 411 (p, procout) = exec_cmd(args, pm, 'verify', tidx["verifyCmd"])
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | prodigy_hifi.c | 296 .tlv = { .p = ak4396_db_scale }, 753 .tlv = { .p = db_scale_wm_dac } 763 .tlv = { .p = db_scale_wm_dac }, 774 .tlv = { .p = db_scale_wm_dac }, 785 .tlv = { .p = db_scale_wm_dac } 796 .tlv = { .p = db_scale_wm_dac } 807 .tlv = { .p = db_scale_wm_dac }, 817 .tlv = { .p = db_scale_wm_dac },
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | icecc.bbclass | 266 p, hist = bb.utils.which(':'.join(paths), tool, history=True) 267 if not p or os.path.basename(icecc_get_tool_link(p, d)) != 'ccache': 268 return p 283 for p in ice_dir.split(':'): 284 tool_bin = os.path.join(p, "%s-%s" % (target_sys, tool)) 375 mkdir -p $ICE_PATH/symlinks 404 mkdir -p "$(dirname "${ICECC_VERSION}")"
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | signal_32.c | 88 #define to_user_ptr(p) ptr_to_compat(p) argument 89 #define from_user_ptr(p) compat_ptr(p) argument 142 #define to_user_ptr(p) ((unsigned long)(p)) argument 143 #define from_user_ptr(p) ((void __user *)(p)) argument
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-dbgcap.c | 921 const char *p; in dbc_show() local 930 p = "disabled"; in dbc_show() 933 p = "initialized"; in dbc_show() 936 p = "enabled"; in dbc_show() 939 p = "connected"; in dbc_show() 942 p = "configured"; in dbc_show() 945 p = "stalled"; in dbc_show() 948 p = "unknown"; in dbc_show() 951 return sprintf(buf, "%s\n", p); in dbc_show()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | mxl692.c | 947 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in mxl692_set_frontend() local 960 switch (p->modulation) { in mxl692_set_frontend() 974 if (dev->current_frequency == p->frequency && dev->demod_type == demod_type) { in mxl692_set_frontend() 1032 if (p->modulation == QAM_64) in mxl692_set_frontend() 1054 tuner_params.freq_hz = p->frequency; in mxl692_set_frontend() 1092 dev->current_frequency = p->frequency; in mxl692_set_frontend() 1101 struct dtv_frontend_properties *p) in mxl692_get_frontend() argument 1105 p->modulation = c->modulation; in mxl692_get_frontend() 1106 p->frequency = c->frequency; in mxl692_get_frontend()
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdchar.c | 544 struct blkpg_partition p; in mtdchar_blkpg_ioctl() local 549 if (copy_from_user(&p, arg->data, sizeof(p))) in mtdchar_blkpg_ioctl() 560 p.devname[BLKPG_DEVNAMELTH - 1] = '\0'; in mtdchar_blkpg_ioctl() 562 return mtd_add_partition(mtd, p.devname, p.start, p.length); in mtdchar_blkpg_ioctl() 566 if (p.pno < 0) in mtdchar_blkpg_ioctl() 569 return mtd_del_partition(mtd, p.pno); in mtdchar_blkpg_ioctl()
|
/openbmc/linux/drivers/of/ |
H A D | base.c | 791 const char *p = separator; in of_find_node_opts_by_path() local 793 if (!p) in of_find_node_opts_by_path() 794 p = strchrnul(path, '/'); in of_find_node_opts_by_path() 795 len = p - path; in of_find_node_opts_by_path() 809 path = p; in of_find_node_opts_by_path() 1043 const char *compatible, *p; in of_alias_from_compatible() local 1049 p = strchr(compatible, ','); in of_alias_from_compatible() 1050 strscpy(alias, p ? p + 1 : compatible, len); in of_alias_from_compatible()
|
/openbmc/linux/drivers/isdn/capi/ |
H A D | capi.c | 165 struct ackqueue_entry *p, *tmp; in capiminor_del_ack() local 168 list_for_each_entry_safe(p, tmp, &mp->ackqueue, list) { in capiminor_del_ack() 169 if (p->datahandle == datahandle) { in capiminor_del_ack() 170 list_del(&p->list); in capiminor_del_ack() 173 kfree(p); in capiminor_del_ack() 183 struct ackqueue_entry *p, *tmp; in capiminor_del_all_ack() local 185 list_for_each_entry_safe(p, tmp, &mp->ackqueue, list) { in capiminor_del_all_ack() 186 list_del(&p->list); in capiminor_del_all_ack() 187 kfree(p); in capiminor_del_all_ack()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_device.c | 169 struct radeon_px_quirk *p = radeon_px_quirk_list; in radeon_device_handle_px_quirks() local 172 while (p && p->chip_device != 0) { in radeon_device_handle_px_quirks() 173 if (rdev->pdev->vendor == p->chip_vendor && in radeon_device_handle_px_quirks() 174 rdev->pdev->device == p->chip_device && in radeon_device_handle_px_quirks() 175 rdev->pdev->subsystem_vendor == p->subsys_vendor && in radeon_device_handle_px_quirks() 176 rdev->pdev->subsystem_device == p->subsys_device) { in radeon_device_handle_px_quirks() 177 rdev->px_quirk_flags = p->px_quirk_flags; in radeon_device_handle_px_quirks() 180 ++p; in radeon_device_handle_px_quirks()
|
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.c | 1819 p = strchr(p, ' '); in speed_scan_store() 1820 if (!p) in speed_scan_store() 1822 while (*p == ' ' || *p == '\t') in speed_scan_store() 1823 p++; in speed_scan_store() 9560 char *p = extra; in ipw_wx_get_powermode() local 9566 p += scnprintf(p, MAX_WX_STRING - (p - extra), "(AC)"); in ipw_wx_get_powermode() 9569 p += scnprintf(p, MAX_WX_STRING - (p - extra), "(BATTERY)"); in ipw_wx_get_powermode() 9572 p += scnprintf(p, MAX_WX_STRING - (p - extra), in ipw_wx_get_powermode() 9579 p += scnprintf(p, MAX_WX_STRING - (p - extra), " OFF"); in ipw_wx_get_powermode() 10433 ipw_write8(p, i + IPW_EEPROM_DATA, p->eeprom[i]); in ipw_ethtool_set_eeprom() [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | atmel_nand.c | 1026 uint8_t *p = buf; in atmel_nand_read_page() local 1032 chip->read_buf(mtd, p, eccsize); in atmel_nand_read_page() 1051 stat = chip->ecc.correct(mtd, p, oob, NULL); in atmel_nand_read_page() 1316 uint8_t *p = dst; in nand_read_page() local 1319 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page() 1322 this->read_buf(mtd, p, eccsize); in nand_read_page() 1323 this->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page() 1331 p = dst; in nand_read_page() 1333 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page() 1334 this->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page()
|
/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2600.c | 149 unsigned int p : 4; /* bit[22:19] */ member 174 .cfg.reg.b.p = 1, 181 .cfg.reg.b.p = 15, 188 .cfg.reg.b.p = 9, 195 .cfg.reg.b.p = 0, 202 .cfg.reg.b.p = 15, 265 div = (reg.b.p + 1); in ast2600_get_pll_rate() 288 u32 p = (apll_reg >> 19) & 0xf; in ast2600_get_apll_rate() local 291 div = (n + 1) * (p + 1); in ast2600_get_apll_rate() 1132 pll.cfg.reg.b.m, pll.cfg.reg.b.n, pll.cfg.reg.b.p); in ast2600_init_mac_pll()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 238 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_ethtool_stats() local 241 fec_corr_blks = p->brfec_corr_blks; in otx2_get_ethtool_stats() 242 fec_uncorr_blks = p->brfec_uncorr_blks; in otx2_get_ethtool_stats() 244 fec_corr_blks = p->rsfec_corr_cws; in otx2_get_ethtool_stats() 245 fec_uncorr_blks = p->rsfec_uncorr_cws; in otx2_get_ethtool_stats() 1306 struct fec_stats_s *p = &rsp->fwdata.phy.fec_stats; in otx2_get_fec_stats() local 1309 fec_stats->corrected_blocks.total = p->brfec_corr_blks; in otx2_get_fec_stats() 1310 fec_stats->uncorrectable_blocks.total = p->brfec_uncorr_blks; in otx2_get_fec_stats() 1312 fec_stats->corrected_blocks.total = p->rsfec_corr_cws; in otx2_get_fec_stats() 1313 fec_stats->uncorrectable_blocks.total = p->rsfec_uncorr_cws; in otx2_get_fec_stats()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-lmk04832.c | 379 unsigned int pll2_n, p, pll2_r; in lmk04832_vco_recalc_rate() local 389 p = FIELD_GET(LMK04832_BIT_PLL2_MISC_P, pll2_misc); in lmk04832_vco_recalc_rate() 407 pll2_misc)) * pll2_n * pll2_p[p] / pll2_r; in lmk04832_vco_recalc_rate() 461 unsigned int *n, unsigned int *p, in lmk04832_calc_pll2_params() argument 488 *p = pll2_p; in lmk04832_calc_pll2_params() 498 unsigned int n, p, r; in lmk04832_vco_round_rate() local 506 vco_rate = lmk04832_calc_pll2_params(*prate, rate, &n, &p, &r); in lmk04832_vco_round_rate() 522 unsigned int n, p, r; in lmk04832_vco_set_rate() local 537 vco_rate = lmk04832_calc_pll2_params(prate, rate, &n, &p, &r); in lmk04832_vco_set_rate() 556 FIELD_PREP(LMK04832_BIT_PLL2_MISC_P, p)); in lmk04832_vco_set_rate()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | fcloop.c | 62 char *options, *o, *p; in fcloop_parse_options() local 70 while ((p = strsep(&o, ",\n")) != NULL) { in fcloop_parse_options() 71 if (!*p) in fcloop_parse_options() 74 token = match_token(p, opt_tokens, args); in fcloop_parse_options() 124 pr_warn("unknown parameter or missing value '%s'\n", p); in fcloop_parse_options() 141 char *options, *o, *p; in fcloop_parse_nm_options() local 152 while ((p = strsep(&o, ",\n")) != NULL) { in fcloop_parse_nm_options() 153 if (!*p) in fcloop_parse_nm_options() 156 token = match_token(p, opt_tokens, args); in fcloop_parse_nm_options() 175 pr_warn("unknown parameter or missing value '%s'\n", p); in fcloop_parse_nm_options()
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0012-do-not-disable-buffer-in-writing-files.patch | 102 - return write_string_file(p, value, WRITE_STRING_FILE_DISABLE_BUFFER); 103 + return write_string_file(p, value, 0); 152 log_debug("Setting '%s' to '%s'", p, value); 154 - return write_string_file(p, value, WRITE_STRING_FILE_VERIFY_ON_FAILURE | WRITE_STRING_FILE… 155 + return write_string_file(p, value, WRITE_STRING_FILE_VERIFY_ON_FAILURE | WRITE_STRING_FILE… 286 if (streq(p, "4294967295")) 339 … return log_debug_errno(errno, "Failed to open cgroup.subtree_control file of %s: %m", p); 346 … FLAGS_SET(mask, bit) ? "enable" : "disable", n, p, fs); 398 p = procfs_file_alloca(pid, "attr/current"); 399 - r = write_string_file(p, label, WRITE_STRING_FILE_DISABLE_BUFFER); [all …]
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | rcar_jpu.c | 538 static void put_qtbl(u8 *p, const u8 *qtbl) in put_qtbl() argument 543 p[i] = *(qtbl + zigzag[i]); in put_qtbl() 546 static void put_htbl(u8 *p, const u8 *htbl, unsigned int len) in put_htbl() argument 552 p[i + j] = htbl[i + 3 - j]; in put_htbl() 555 static void jpu_generate_hdr(unsigned short quality, unsigned char *p) in jpu_generate_hdr() argument 557 put_qtbl(p + JPU_JPEG_QTBL_LUM_OFFSET, (const u8 *)qtbl_lum[quality]); in jpu_generate_hdr() 558 put_qtbl(p + JPU_JPEG_QTBL_CHR_OFFSET, (const u8 *)qtbl_chr[quality]); in jpu_generate_hdr() 560 put_htbl(p + JPU_JPEG_HDCTBL_LUM_OFFSET, (const u8 *)hdctbl_lum, in jpu_generate_hdr() 562 put_htbl(p + JPU_JPEG_HACTBL_LUM_OFFSET, (const u8 *)hactbl_lum, in jpu_generate_hdr() 565 put_htbl(p + JPU_JPEG_HDCTBL_CHR_OFFSET, (const u8 *)hdctbl_chr, in jpu_generate_hdr() [all …]
|