/openbmc/linux/drivers/staging/media/av7110/ |
H A D | av7110_ipack.c | 58 p->buf[3] = p->cid; in send_ipack() 81 p->func(p->buf, p->count, p->data); in send_ipack() 100 p->buf[3] = p->cid; in send_ipack() 103 p->func(p->buf, p->count, p->data); in send_ipack() 116 p->plength = p->found - 6; in av7110_ipack_flush() 206 p->plength = (p->plen[0] << 8) | p->plen[1]; in av7110_ipack_instant_repack() 217 p->plength = (p->plen[0] << 8) | p->plen[1]; in av7110_ipack_instant_repack() 259 if (p->done || ((p->mpeg == 2 && p->found >= 9) || in av7110_ipack_instant_repack() 289 p->check = p->flag1; in av7110_ipack_instant_repack() 338 p->pts[0] = p->check; in av7110_ipack_instant_repack() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/ |
H A D | pyshyacc.py | 137 p[0] = p[1] + [p[2]] 155 p[0] = p[1] + [p[3]] 164 p[0] = ('and_or', AndOr(p[2], p[1], p[4])) 184 p[0] = p[1] + [p[4]] 216 p[0] = p[1] 246 p[0] = p[1] + [p[3]] 274 p[0] = p[1] 286 p[0] = p[1] + [('TOKEN', p[2])] 310 p[0] = p[1] + [p[2]] 400 p[0] = p[1] [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-caps.h | 5 #define HC_LENGTH(p) XHCI_HC_LENGTH(p) argument 7 #define HC_VERSION(p) (((p) >> 16) & 0xffff) argument 11 #define HCS_MAX_SLOTS(p) (((p) >> 0) & 0xff) argument 14 #define HCS_MAX_INTRS(p) (((p) >> 8) & 0x7ff) argument 21 #define HCS_IST(p) (((p) >> 0) & 0xf) argument 45 #define HCC_PPC(p) ((p) & (1 << 3)) argument 51 #define HCC_LTC(p) ((p) & (1 << 6)) argument 53 #define HCC_NSS(p) ((p) & (1 << 7)) argument 55 #define HCC_SPC(p) ((p) & (1 << 9)) argument 57 #define HCC_CFC(p) ((p) & (1 << 11)) argument [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | libata-trace.c | 18 trace_seq_printf(p, "{ "); in libata_trace_parse_status() 35 trace_seq_putc(p, '}'); in libata_trace_parse_status() 36 trace_seq_putc(p, 0); in libata_trace_parse_status() 53 trace_seq_putc(p, '}'); in libata_trace_parse_host_stat() 54 trace_seq_putc(p, 0); in libata_trace_parse_host_stat() 79 trace_seq_putc(p, '}'); in libata_trace_parse_eh_action() 81 trace_seq_putc(p, 0); in libata_trace_parse_eh_action() 118 trace_seq_putc(p, 0); in libata_trace_parse_eh_err_mask() 153 trace_seq_putc(p, 0); in libata_trace_parse_qc_flags() 182 trace_seq_putc(p, 0); in libata_trace_parse_tf_flags() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | iTCO_wdt.c | 71 #define TCOBASE(p) ((p)->tco_res->start) argument 73 #define SMI_EN(p) ((p)->smi_res->start) argument 264 p->no_reboot_priv = p; in iTCO_wdt_no_reboot_bit_setup() 277 if (p->update_no_reboot_bit(p->no_reboot_priv, false)) { in iTCO_wdt_start() 318 p->update_no_reboot_bit(p->no_reboot_priv, true); in iTCO_wdt_stop() 475 p = devm_kzalloc(dev, sizeof(*p), GFP_KERNEL); in iTCO_wdt_probe() 476 if (!p) in iTCO_wdt_probe() 510 if (p->iTCO_version >= 2 && p->iTCO_version < 6 && in iTCO_wdt_probe() 518 if (p->update_no_reboot_bit(p->no_reboot_priv, false) && in iTCO_wdt_probe() 573 watchdog_set_drvdata(&p->wddev, p); in iTCO_wdt_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_syncmap.c | 160 if (!p) in i915_syncmap_is_later() 168 p = p->parent; in i915_syncmap_is_later() 169 if (!p) in i915_syncmap_is_later() 172 if (__sync_branch_prefix(p, id) == p->prefix) in i915_syncmap_is_later() 181 p = __sync_child(p)[__sync_branch_idx(p, id)]; in i915_syncmap_is_later() 185 if (__sync_branch_prefix(p, id) != p->prefix) in i915_syncmap_is_later() 210 p->prefix = __sync_leaf_prefix(p, id); in __sync_alloc_leaf() 251 p = p->parent; in __sync_set() 253 if (__sync_branch_prefix(p, id) == p->prefix) in __sync_set() 361 if (likely(p && __sync_leaf_prefix(p, id) == p->prefix)) { in i915_syncmap_set() [all …]
|
/openbmc/linux/drivers/pnp/pnpbios/ |
H A D | rsparser.c | 172 io = p[2] + p[3] * 256; in pnpbios_parse_allocated_resource_data() 190 p = p + 2; in pnpbios_parse_allocated_resource_data() 240 min = (p[7] << 24) | (p[6] << 16) | (p[5] << 8) | p[4]; in pnpbios_parse_mem32_option() 241 max = (p[11] << 24) | (p[10] << 16) | (p[9] << 8) | p[8]; in pnpbios_parse_mem32_option() 242 align = (p[15] << 24) | (p[14] << 16) | (p[13] << 8) | p[12]; in pnpbios_parse_mem32_option() 243 len = (p[19] << 24) | (p[18] << 16) | (p[17] << 8) | p[16]; in pnpbios_parse_mem32_option() 256 base = (p[7] << 24) | (p[6] << 16) | (p[5] << 8) | p[4]; in pnpbios_parse_fixed_mem32_option() 257 len = (p[11] << 24) | (p[10] << 16) | (p[9] << 8) | p[8]; in pnpbios_parse_fixed_mem32_option() 466 eisa_id = p[1] | p[2] << 8 | p[3] << 16 | p[4] << 24; in pnpbios_parse_compatible_ids() 474 p = p + 2; in pnpbios_parse_compatible_ids() [all …]
|
/openbmc/linux/arch/mips/kvm/ |
H A D | entry.c | 271 p = kvm_mips_build_enter_guest(p); in kvm_mips_build_vcpu_run() 273 return p; in kvm_mips_build_vcpu_run() 421 return p; in kvm_mips_build_enter_guest() 508 return p; in kvm_mips_build_tlb_refill_exception() 549 return p; in kvm_mips_build_exception() 776 p = kvm_mips_build_ret_from_exit(p); in kvm_mips_build_exit() 778 return p; in kvm_mips_build_exit() 822 p = kvm_mips_build_ret_to_guest(p); in kvm_mips_build_ret_from_exit() 825 p = kvm_mips_build_ret_to_host(p); in kvm_mips_build_ret_from_exit() 829 return p; in kvm_mips_build_ret_from_exit() [all …]
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb16_csp.c | 119 p = kzalloc(sizeof(*p), GFP_KERNEL); in snd_sb_csp_new() 120 if (!p) { in snd_sb_csp_new() 160 if (p) { in snd_sb_csp_free() 165 kfree(p); in snd_sb_csp_free() 272 p->used++; in snd_sb_csp_use() 285 p->used--; in snd_sb_csp_unuse() 424 p->acc_format = p->acc_width = p->acc_rates = 0; in snd_sb_csp_riff_load() 462 p->acc_channels = p->acc_width = p->acc_rates = 0; in snd_sb_csp_unload() 599 if (p->version < 0x10 || p->version > 0x1f) { in snd_sb_csp_check_version() 770 p->acc_channels = p->acc_width = p->acc_rates = 0; in snd_sb_csp_autoload() [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | payload.cpp | 40 p.pack(i); in TEST() 42 p.pack(i); in TEST() 43 p.pack(i); in TEST() 51 p.pack(i); in TEST() 52 p.resize(16); in TEST() 60 p.pack(i); in TEST() 78 p.pack(b); in TEST() 101 p.drain(); in TEST() 113 p.drain(); in TEST() 126 p.drain(); in TEST() [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | unaligned.h | 87 return p[0] << 16 | p[1] << 8 | p[2]; in __get_unaligned_be24() 97 return p[0] | p[1] << 8 | p[2] << 16; in __get_unaligned_le24() 107 *p++ = (val >> 16) & 0xff; in __put_unaligned_be24() 108 *p++ = (val >> 8) & 0xff; in __put_unaligned_be24() 109 *p++ = val & 0xff; in __put_unaligned_be24() 119 *p++ = val & 0xff; in __put_unaligned_le24() 120 *p++ = (val >> 8) & 0xff; in __put_unaligned_le24() 135 *p++ = (val >> 8) & 0xff; in __put_unaligned_be48() 136 *p++ = val & 0xff; in __put_unaligned_be48() 146 return (u64)p[0] << 40 | (u64)p[1] << 32 | (u64)p[2] << 24 | in __get_unaligned_be48() [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | tlbex.c | 411 u32 *p; in build_r3000_tlb_refill_handler() local 509 tlbw(p); in build_tlb_write_entry() 525 tlbw(p); in build_tlb_write_entry() 534 tlbw(p); in build_tlb_write_entry() 542 tlbw(p); in build_tlb_write_entry() 1902 memset(p, 0, handle_tlbl_end - (char *)p); in build_r3000_tlb_load_handler() 1932 memset(p, 0, handle_tlbs_end - (char *)p); in build_r3000_tlb_store_handler() 1962 memset(p, 0, handle_tlbm_end - (char *)p); in build_r3000_tlb_modify_handler() 2079 memset(p, 0, handle_tlbl_end - (char *)p); in build_r4000_tlb_load_handler() 2261 memset(p, 0, handle_tlbs_end - (char *)p); in build_r4000_tlb_store_handler() [all …]
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.h | 175 #define IS_USE_ALL(p) ((p)->use & USE_ALL) argument 189 #define IS_SENDER_TARGET(p) ((p)->sender & SENDER_TARGET) argument 190 #define IS_SENDER_BOTH(p) ((p)->sender & SENDER_BOTH) argument 209 #define IS_PHASE_SECURITY(p) ((p)->phase & PHASE_SECURITY) argument 212 #define IS_PHASE_FFP0(p) ((p)->phase & PHASE_FFP0) argument 224 #define IS_TYPE_BOOL_AND(p) ((p)->type & TYPE_BOOL_AND) argument 225 #define IS_TYPE_BOOL_OR(p) ((p)->type & TYPE_BOOL_OR) argument 226 #define IS_TYPE_NUMBER(p) ((p)->type & TYPE_NUMBER) argument 228 #define IS_TYPE_STRING(p) ((p)->type & TYPE_STRING) argument 260 #define IS_TYPERANGE_SESSIONTYPE(p) ((p)->type_range & \ argument [all …]
|
/openbmc/qemu/migration/ |
H A D | multifd.c | 171 p->iov[p->iovs_num].iov_len = p->page_size; in multifd_send_prepare_iovs() 290 p->iov[i].iov_base = p->host + p->normal[i]; in nocomp_recv() 291 p->iov[i].iov_len = p->page_size; in nocomp_recv() 294 return qio_channel_readv_all(p->c, p->iov, p->normal_num, errp); in nocomp_recv() 502 p->total_zero_pages += p->zero_num; in multifd_recv_unfill_packet() 504 trace_multifd_recv(p->id, p->packet_num, p->normal_num, p->zero_num, in multifd_recv_unfill_packet() 520 p->host = p->block->host; in multifd_recv_unfill_packet() 955 ret = file_write_ramblock_iov(p->c, p->iov, p->iovs_num, in multifd_send_thread() 1069 args->p = p; in multifd_tls_channel_connect() 1087 qemu_thread_create(&p->thread, p->name, multifd_send_thread, p, in multifd_channel_connect() [all …]
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtmips.c | 153 p->gpio[p->func[func]->pins[i]] = 0; in mtmips_pmx_group_enable() 206 p->group_names = devm_kcalloc(p->dev, p->group_count, in mtmips_pinctrl_index() 212 p->group_names[i] = p->groups[i].name; in mtmips_pinctrl_index() 220 p->func = devm_kcalloc(p->dev, p->func_count, in mtmips_pinctrl_index() 238 p->func[c] = &p->groups[i].func[j]; in mtmips_pinctrl_index() 280 p->gpio = devm_kcalloc(p->dev, p->max_pins, sizeof(u8), GFP_KERNEL); in mtmips_pinctrl_pins() 282 p->pads = devm_kcalloc(p->dev, p->max_pins, in mtmips_pinctrl_pins() 284 if (!p->pads || !p->gpio) in mtmips_pinctrl_pins() 293 p->gpio[p->func[i]->pins[j]] = 0; in mtmips_pinctrl_pins() 310 p->desc->pins = p->pads; in mtmips_pinctrl_pins() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci.h | 92 #define HC_LENGTH(p) XHCI_HC_LENGTH(p) argument 110 #define HCS_IST(p) (((p) >> 0) & 0xf) argument 116 #define HCS_MAX_SCRATCHPAD(p) ((((p) >> 16) & 0x3e0) | (((p) >> 27) & 0x1f)) argument 134 #define HCC_PPC(p) ((p) & (1 << 3)) argument 140 #define HCC_LTC(p) ((p) & (1 << 6)) argument 142 #define HCC_NSS(p) ((p) & (1 << 7)) argument 253 #define MAX_DEVS(p) ((p) & 0xff) argument 528 #define LAST_CTX(p) ((p) << 27) argument 639 #define EP_TYPE(p) ((p) << 3) argument 880 #define TRB_TX_TYPE(p) ((p) << 16) argument [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | bitops.h | 44 *p |= mask; in ____atomic_set_bit() 56 *p &= ~mask; in ____atomic_clear_bit() 68 *p ^= mask; in ____atomic_change_bit() 82 res = *p; in ____atomic_test_and_set_bit() 99 res = *p; in ____atomic_test_and_clear_bit() 116 res = *p; in ____atomic_test_and_change_bit() 185 #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) argument 191 #define set_bit(nr,p) ATOMIC_BITOP(set_bit,nr,p) argument 192 #define clear_bit(nr,p) ATOMIC_BITOP(clear_bit,nr,p) argument 204 #define find_first_bit(p,sz) _find_first_bit_le(p,sz) argument [all …]
|
/openbmc/linux/include/linux/ceph/ |
H A D | decode.h | 22 *p += sizeof(u64); in ceph_decode_64() 39 u8 v = *(u8 *)*p; in ceph_decode_8() 40 (*p)++; in ceph_decode_8() 46 *p += n; in ceph_decode_copy() 54 return end >= *p && n <= end - *p; in ceph_has_room() 111 void *sp = *p; in ceph_extract_encoded_string() 126 *p = (char *) *p + sizeof (u32) + len; in ceph_extract_encoded_string() 271 (*p)++; in ceph_encode_8() 276 *p += len; in ceph_encode_copy() 292 *p += len; in ceph_encode_filepath() [all …]
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdns3-gadget.h | 204 #define USB_STS_OV(p) ((p) & USB_STS_OV_MASK) argument 419 #define USB_ITPN(p) ((p) & USB_ITPN_MASK) argument 541 #define EP_TRADDR_TRADDR(p) ((p)) argument 616 #define EP_STS_STALL(p) ((p) & BIT(1)) argument 634 #define EP_STS_BUFFEMPTY(p) ((p) & BIT(10)) argument 636 #define EP_STS_CCS(p) ((p) & BIT(11)) argument 646 #define EP_STS_HOSTPP(p) ((p) & BIT(16)) argument 844 #define DEV_U2PHY_ULPI(p) ((p) & BIT(25)) argument 1022 #define TRB_TYPE(p) ((p) << 10) argument 1064 #define TRB_STREAM_ID(p) ((p) << 16) argument [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-bq4802.c | 59 val = p->read(p, 0x0e); in bq4802_read_time() 69 century = p->read(p, 0x0f); in bq4802_read_time() 71 p->write(p, 0x0e, val); in bq4802_read_time() 119 val = p->read(p, 0x0e); in bq4802_set_time() 122 p->write(p, 0x00, sec); in bq4802_set_time() 123 p->write(p, 0x02, min); in bq4802_set_time() 124 p->write(p, 0x04, hrs); in bq4802_set_time() 125 p->write(p, 0x06, day); in bq4802_set_time() 126 p->write(p, 0x09, mon); in bq4802_set_time() 127 p->write(p, 0x0a, yrs); in bq4802_set_time() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | rc80211_minstrel_ht_debugfs.c | 86 p += sprintf(p, "OFDM "); in minstrel_ht_stats_dump() 87 p += sprintf(p, "1 "); in minstrel_ht_stats_dump() 89 p += sprintf(p, "CCK "); in minstrel_ht_stats_dump() 91 p += sprintf(p, "1 "); in minstrel_ht_stats_dump() 159 p += sprintf(p, "\n"); in minstrel_ht_stats_open() 160 p += sprintf(p, in minstrel_ht_stats_open() 162 p += sprintf(p, in minstrel_ht_stats_open() 232 p += sprintf(p, "OFDM,,1,"); in minstrel_ht_stats_csv_dump() 234 p += sprintf(p, "CCK,"); in minstrel_ht_stats_csv_dump() 236 p += sprintf(p, "1,"); in minstrel_ht_stats_csv_dump() [all …]
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_sgmac.c | 231 xgene_sgmii_reset(p); in xgene_sgmac_set_speed() 248 switch (p->phy_speed) { in xgene_sgmac_set_speed() 321 p->mac_ops->enable_tx_pause(p, enable); in xgene_sgmac_flowctl_tx() 337 if (!(p->enet_id == XGENE_ENET2 && p->mdio_driver)) in xgene_sgmac_init() 338 xgene_sgmac_reset(p); in xgene_sgmac_init() 408 xgene_sgmac_flowctl_tx(p, p->tx_pause); in xgene_sgmac_init() 409 xgene_sgmac_flowctl_rx(p, p->rx_pause); in xgene_sgmac_init() 444 if (p->mdio_driver && p->enet_id == XGENE_ENET2) { in xgene_enet_reset() 474 if (!p->port_id) { in xgene_enet_reset() 529 if (!IS_ERR(p->clk)) in xgene_enet_shutdown() [all …]
|
/openbmc/linux/arch/parisc/lib/ |
H A D | io.c | 138 p++; in insb() 149 p += 4; in insb() 155 p++; in insb() 195 p += 2; in insw() 218 p++; in insw() 280 p++; in insl() 297 p++; in insl() 327 p++; in outsb() 385 p++; in outsw() 449 p++; in outsl() [all …]
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_desc.c | 79 memset(p, 0, sizeof(*p)); in sxgbe_release_tx_desc() 117 p->ctxt_bit = 1; in sxgbe_tx_ctxt_desc_set_ctxt() 123 p->own_bit = 1; in sxgbe_tx_ctxt_desc_set_owner() 129 return p->own_bit; in sxgbe_tx_ctxt_desc_get_owner() 147 p->tcmssv = 1; in sxgbe_tx_ctxt_desc_set_tcmssv() 153 p->ostc = 0; in sxgbe_tx_ctxt_desc_reset_ostc() 187 return p->vlan_tag; in sxgbe_tx_ctxt_desc_get_vlantag() 203 p->own_bit = 1; in sxgbe_tx_ctxt_desc_close() 407 return p->own_bit; in sxgbe_get_rx_ctxt_owner() 413 p->own_bit = 1; in sxgbe_set_ctxt_rx_owner() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_stp.c | 50 p->port_no, netdev_name(p->dev)); in br_set_state() 55 (unsigned int) p->port_no, p->dev->name); in br_set_state() 58 (unsigned int) p->port_no, p->dev->name, in br_set_state() 80 if (!p) in br_port_get_stp_state() 128 if (p->designated_cost + p->path_cost < in br_should_become_root_port() 131 else if (p->designated_cost + p->path_cost > in br_should_become_root_port() 157 (unsigned int) p->port_no, p->dev->name); in br_root_port_block() 280 if (p) in br_transmit_tcn() 311 if (p->port_id < p->designated_port) in br_should_become_designated_port() 426 p->designated_port = p->port_id; in br_become_designated_port() [all …]
|