/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb.h | 145 int ice_get_dcb_cfg(struct ice_port_info *pi); 146 int ice_set_dcb_cfg(struct ice_port_info *pi); 147 void ice_get_dcb_cfg_from_mib_change(struct ice_port_info *pi, 151 ice_query_port_ets(struct ice_port_info *pi,
|
H A D | ice_dcb_nl.c | 208 struct ice_port_info *pi = pf->hw.port_info; local 214 perm_addr[i] = pi->mac.perm_addr[i]; 217 perm_addr[i] = pi->mac.perm_addr[j]; 241 struct ice_port_info *pi = pf->hw.port_info; local 245 dcbxcfg = &pi->qos_cfg.local_dcbx_cfg; 309 struct ice_port_info *pi = pf->hw.port_info; local 318 *setting = (pi->qos_cfg.local_dcbx_cfg.pfc.pfcena >> prio) & 0x1; 320 prio, *setting, pi->qos_cfg.local_dcbx_cfg.pfc.pfcena); 365 struct ice_port_info *pi = pf->hw.port_info; local 368 if (pi 439 struct ice_port_info *pi = pf->hw.port_info; local 505 struct ice_port_info *pi = pf->hw.port_info; local 564 struct ice_port_info *pi = pf->hw.port_info; local 1042 struct ice_port_info *pi; local [all...] |
H A D | ice_lib.h | 16 * @pi: pointer to the port_info instance for the VSI 25 struct ice_port_info *pi; member in struct:ice_vsi_cfg_params 43 params.pi = vsi->port_info; 135 bool ice_is_dflt_vsi_in_use(struct ice_port_info *pi);
|
/linux-master/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 309 int arch_kexec_apply_relocations_add(struct purgatory_info *pi, argument 321 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; 322 strtab = (char *)pi->ehdr + sechdrs[symtab->sh_link].sh_offset; 323 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; 325 relas = (void *)pi->ehdr + relsec->sh_offset; 333 sym = (void *)pi->ehdr + symtab->sh_offset; 351 if (sym->st_shndx >= pi->ehdr->e_shnum && 358 loc = pi [all...] |
/linux-master/arch/x86/kernel/ |
H A D | machine_kexec_64.c | 377 * @pi: Purgatory to be relocated. 384 int arch_kexec_apply_relocations_add(struct purgatory_info *pi, argument 397 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; 398 strtab = (char *)pi->ehdr + sechdrs[symtabsec->sh_link].sh_offset; 399 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; 401 rel = (void *)pi->ehdr + relsec->sh_offset; 418 location = pi->purgatory_buf; 431 sym = (void *)pi [all...] |
/linux-master/arch/riscv/kernel/ |
H A D | elf_kexec.c | 371 int arch_kexec_apply_relocations_add(struct purgatory_info *pi, argument 382 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff; 383 strtab = (char *)pi->ehdr + sechdrs[symtab->sh_link].sh_offset; 384 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; 386 relas = (void *)pi->ehdr + relsec->sh_offset; 395 sym = (void *)pi->ehdr + symtab->sh_offset; 403 loc = pi->purgatory_buf; 409 else if (sym->st_shndx >= pi [all...] |
H A D | vmlinux.lds.S | 89 .init.pi : { 90 KEEP(*(.init.pi*))
|
/linux-master/arch/x86/kvm/svm/ |
H A D | avic.c | 776 static void svm_ir_list_del(struct vcpu_svm *svm, struct amd_iommu_pi_data *pi) argument 783 if (cur->data != pi->ir_data) 792 static int svm_ir_list_add(struct vcpu_svm *svm, struct amd_iommu_pi_data *pi) argument 804 if (pi->ir_data && (pi->prev_ga_tag != 0)) { 806 u32 vcpu_id = AVIC_GATAG_TO_VCPUID(pi->prev_ga_tag); 816 svm_ir_list_del(prev_svm, pi); 828 ir->data = pi->ir_data; 841 true, pi->ir_data); 934 struct amd_iommu_pi_data pi; local 956 struct amd_iommu_pi_data pi; local 979 svm_ir_list_del(to_svm(vcpu), &pi); local [all...] |
/linux-master/tools/perf/bench/ |
H A D | futex-requeue.c | 9 * requeues without waking up any tasks (in the non-pi case) -- thus 59 OPT_BOOLEAN( 'p', "pi", ¶ms.pi, "Use PI-aware variants of FUTEX_CMP_REQUEUE"), 94 if (!params.pi) { 210 params.pi ? "PI ": "", &futex2, params.nrequeue); 240 * For the regular non-pi case, do not wakeup any tasks 245 if (!params.pi) { 270 if (!params.pi) 286 if (!params.pi) {
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | hw_queue.c | 13 * hl_queue_add_ptr - add to pi or ci and checks if it wraps around 15 * @ptr: the current pi/ci value 33 int delta = (q->pi - queue_ci_get(&q->ci, queue_len)); 78 * function to set the pi (and doorbell) 91 bd += hl_pi_2_offset(q->pi); 99 ((hl_pi_2_offset(q->pi) * sizeof(struct hl_bd)) + (i * sizeof(u64))); 104 q->pi = hl_queue_inc_ptr(q->pi); 106 hdev->asic_funcs->ring_doorbell(hdev, q->hw_queue_id, q->pi); 295 ctl = ((q->pi << BD_CTL_SHADOW_INDEX_SHIF 349 __le64 *pi; local [all...] |
/linux-master/kernel/futex/ |
H A D | core.c | 660 bool pi, bool pending_op) 698 * 3) Regular futex: @pi == false 712 if (pending_op && !pi && !owner) { 766 if (!pi && (uval & FUTEX_WAITERS)) { 779 unsigned int *pi) 787 *pi = uentry & 1; 802 unsigned int limit = ROBUST_LIST_LIMIT, pi, pip; local 811 if (fetch_robust_entry(&entry, &head->list.next, &pi)) 838 curr, pi, HANDLE_DEATH_LIST)) 844 pi 659 handle_futex_death(u32 __user *uaddr, struct task_struct *curr, bool pi, bool pending_op) argument 777 fetch_robust_entry(struct robust_list __user **entry, struct robust_list __user * __user *head, unsigned int *pi) argument 874 compat_fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry, compat_uptr_t __user *head, unsigned int *pi) argument 896 unsigned int limit = ROBUST_LIST_LIMIT, pi, pip; local [all...] |
/linux-master/sound/usb/line6/ |
H A D | playback.c | 72 short *pi = (short *)line6pcm->prev_fbuf; local 76 po[0] = pi[0]; 78 pi += 2; 83 unsigned char *pi = line6pcm->prev_fbuf; local 88 po[j] = pi[j]; 93 pi += bytes_per_frame; 115 __le16 *pi, *po, *buf_end; local 117 pi = (__le16 *)signal; 121 for (; po < buf_end; ++pi, ++po) { 123 short piv = le16_to_cpu(*pi); [all...] |
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 420 struct port_info *pi; local 428 pi = netdev_priv(dev); 429 adap = pi->adapter; 431 q = &adap->sge.ethtxq[qidx + pi->first_qset]; 471 struct port_info *pi; local 476 pi = netdev_priv(dev); 477 adap = pi->adapter; 479 q = &adap->sge.ethtxq[qidx + pi->first_qset]; 488 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | 516 struct port_info *pi; local 561 struct port_info *pi = netdev_priv(dev); local 719 struct port_info *pi; local [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 762 struct opa_port_info *pi = (struct opa_port_info *)data; local 772 if (num_ports != 1 || smp_length_check(sizeof(*pi), max_len)) { 782 if (ppd->vls_supported / 2 > ARRAY_SIZE(pi->neigh_mtu.pvlx_to_mtu) || 788 pi->lid = cpu_to_be32(ppd->lid); 794 pi->mkey = ibp->rvp.mkey; 796 pi->subnet_prefix = ibp->rvp.gid_prefix; 797 pi->sm_lid = cpu_to_be32(ibp->rvp.sm_lid); 798 pi->ib_cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); 799 pi->mkey_lease_period = cpu_to_be16(ibp->rvp.mkey_lease_period); 800 pi 1313 struct opa_port_info *pi = (struct opa_port_info *)data; local [all...] |
/linux-master/drivers/firmware/efi/libstub/ |
H A D | gop.c | 198 efi_pixel_bitmask_t pi; local 206 pi = info->pixel_information; 212 (!cmdline.res.depth || cmdline.res.depth == pixel_bpp(pf, pi))) 227 pi = info->pixel_information; 237 (!cmdline.res.depth || cmdline.res.depth == pixel_bpp(pf, pi))) 257 efi_pixel_bitmask_t pi; local 269 pi = info->pixel_information; 275 depth = pixel_bpp(pf, pi); 287 pi = info->pixel_information; 298 d = pixel_bpp(pf, pi); 319 efi_pixel_bitmask_t pi; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 354 u16 pi; local 359 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); 360 wi = &sq->db.wqe_info[pi]; 425 struct mlx5e_tx_wqe *wqe, u16 pi, bool xmit_more) 439 wi = &sq->db.wqe_info[pi]; 524 u16 pi; local 526 pi = mlx5e_txqsq_get_next_pi(sq, sq->max_sq_mpw_wqebbs); 527 wqe = MLX5E_TX_FETCH_WQE(sq, pi); 572 u16 pi; local 578 pi 423 mlx5e_sq_xmit_wqe(struct mlx5e_txqsq *sq, struct sk_buff *skb, const struct mlx5e_tx_attr *attr, const struct mlx5e_tx_wqe_attr *wqe_attr, struct mlx5e_tx_wqe *wqe, u16 pi, bool xmit_more) argument 680 u16 pi; local 987 u16 pi; local [all...] |
/linux-master/net/ceph/ |
H A D | debugfs.c | 70 struct ceph_pg_pool_info *pi = local 74 pi->id, pi->name, pi->type, pi->size, pi->min_size, 75 pi->pg_num, pi->pg_num_mask, pi->flags, 76 pi [all...] |
/linux-master/drivers/net/wan/ |
H A D | farsync.c | 829 int pi; local 833 pi = port->index; 837 FST_WRB(card, rxDescrRing[pi][rxp].bits, DMA_OWN); 976 int pi; local 981 pi = port->index; 985 offset = BUF_OFFSET(rxBuffer[pi][i][0]); 987 FST_WRW(card, rxDescrRing[pi][i].ladr, (u16)offset); 988 FST_WRB(card, rxDescrRing[pi][i].hadr, (u8)(offset >> 16)); 989 FST_WRW(card, rxDescrRing[pi][i].bcnt, cnv_bcnt(LEN_RX_BUFFER)); 990 FST_WRW(card, rxDescrRing[pi][ 1003 int pi; local 1132 int pi; local 1167 int pi; local 1281 int pi; local 1381 int pi; local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 498 struct port_info *pi = adap2pinfo(adapter, pidx); local 533 vi_cmd.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(pi->viid)); 538 BUG_ON(pi->port_id != FW_VI_CMD_PORTID_G(vi_rpl.portid_pkd)); 539 pi->rss_size = FW_VI_CMD_RSSSIZE_G(be16_to_cpu(vi_rpl.rsssize_pkd)); 553 FW_PORT_CMD_PORTID_V(pi->port_id)); 585 pi->port_type = port_type; 586 pi->mdio_addr = mdio_addr; 587 pi->mod_type = FW_PORT_MOD_TYPE_NA; 589 init_link_config(&pi->link_cfg, pcaps, acaps); 1414 * @pi 1423 t4vf_enable_pi(struct adapter *adapter, struct port_info *pi, bool rx_en, bool tx_en) argument 1767 struct port_info *pi = adap2pinfo(adapter, pidx); local 1913 t4vf_handle_get_port_info(struct port_info *pi, const struct fw_port_cmd *cmd) argument 2067 t4vf_update_port_info(struct port_info *pi) argument 2124 struct port_info *pi = adap2pinfo(adapter, pidx); local [all...] |
/linux-master/drivers/ata/ |
H A D | pata_ftide010.c | 350 struct ata_port_info *pi, 375 pi->flags |= ATA_FLAG_SATA; 379 pi->mwdma_mask = 0; 380 pi->udma_mask = 0; 443 struct ata_port_info *pi, 455 struct ata_port_info pi = ftide010_port_info; local 456 const struct ata_port_info *ppi[] = { &pi, NULL }; 495 &pi, 349 pata_ftide010_gemini_init(struct ftide010 *ftide, struct ata_port_info *pi, bool is_ata1) argument 442 pata_ftide010_gemini_init(struct ftide010 *ftide, struct ata_port_info *pi, bool is_ata1) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | tx.c | 49 u16 pi = mlx5_wq_cyc_ctr2ix(&sq->wq, sq->pc); local 50 struct mlx5e_xdp_wqe_info *wi = &sq->db.wqe_info[pi];
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.h | 117 #define MLX5I_SQ_FETCH_WQE(sq, pi) \ 118 ((struct mlx5i_tx_wqe *)mlx5e_fetch_wqe(&(sq)->wq, pi, sizeof(struct mlx5i_tx_wqe)))
|
/linux-master/drivers/cxl/core/ |
H A D | mbox.c | 328 struct cxl_mbox_set_partition_info *pi = payload_in; local 330 if (pi->flags & CXL_SET_PARTITION_IMMEDIATE_FLAG) 1037 struct cxl_mbox_get_partition_info pi; local 1043 .size_out = sizeof(pi), 1044 .payload_out = &pi, 1051 le64_to_cpu(pi.active_volatile_cap) * CXL_CAPACITY_MULTIPLIER; 1053 le64_to_cpu(pi.active_persistent_cap) * CXL_CAPACITY_MULTIPLIER; 1055 le64_to_cpu(pi.next_volatile_cap) * CXL_CAPACITY_MULTIPLIER; 1057 le64_to_cpu(pi.next_volatile_cap) * CXL_CAPACITY_MULTIPLIER; 1268 struct cxl_mbox_set_timestamp_in pi; local 1296 struct cxl_mbox_poison_in pi; local [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | btc_dpm.c | 1306 struct rv7xx_power_info *pi = rv770_get_pi(rdev); local 1313 if (!pi->boot_in_gen2) { 1332 if (!pi->boot_in_gen2) { 1600 struct rv7xx_power_info *pi = rv770_get_pi(rdev); local 1602 RV770_SMC_STATETABLE *table = &pi->smc_statetable; 1631 if (pi->mem_gddr5) 1655 pi->state_table_start, 1658 pi->sram_end); 1664 struct rv7xx_power_info *pi = rv770_get_pi(rdev); local 1672 pi 1889 struct rv7xx_power_info *pi = rv770_get_pi(rdev); local 2038 struct rv7xx_power_info *pi = rv770_get_pi(rdev); local 2054 struct rv7xx_power_info *pi = rv770_get_pi(rdev); local 2348 struct rv7xx_power_info *pi = rv770_get_pi(rdev); local 2465 struct rv7xx_power_info *pi = rv770_get_pi(rdev); local 2524 struct rv7xx_power_info *pi; local [all...] |
/linux-master/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 354 p->eqcr.pi = eqcr_pi & p->eqcr.pi_ci_mask; 674 eqcr_pi = s->eqcr.pi; 691 eqcr_pi = s->eqcr.pi; 707 eqcr_pi = s->eqcr.pi; 710 s->eqcr.pi = eqcr_pi & full_mask; 756 eqcr_pi = s->eqcr.pi; 771 eqcr_pi = s->eqcr.pi; 785 s->eqcr.pi = eqcr_pi & full_mask; 789 (QB_RT_BIT)|(s->eqcr.pi)|s->eqcr.pi_vb); 828 eqcr_pi = s->eqcr.pi; 1193 u8 pi = qbman_read_register(s, QBMAN_CINH_SWP_DQPI) & local 1285 u8 pi = qbman_read_register(s, QBMAN_CINH_SWP_DQPI) & local [all...] |