/openbmc/qemu/target/hexagon/imported/mmvec/ |
H A D | encode_ext.def | 32 DEF_CLASS32(ICLASS_NCJ" 1--- -------- PP------ --------",COPROC_VMEM) 39 DEF_CLASS32(ICLASS_NCJ" 1001 0-0xxxxx PP---iii ---ddddd",PostImm_VMEM_Loads) 40 DEF_CLASS32(ICLASS_NCJ" 1001 1-0xxxxx PP-vviii ---ddddd",PostImm_if_Pv_VMEM_Loads) 41 DEF_CLASS32(ICLASS_NCJ" 1001 0-1xxxxx PP---iii --------",PostImm_VMEM_Stores1) 42 DEF_CLASS32(ICLASS_NCJ" 1001 1-0xxxxx PP---iii 00------",PostImm_VMEM_Stores2) 43 DEF_CLASS32(ICLASS_NCJ" 1001 1-1xxxxx PP-vviii --------",PostImm_if_Pv_VMEM_Stores) 51 DEF_CLASS32(ICLASS_NCJ" 110- 0------- PP------ --------",Z_Load) 52 DEF_CLASS32(ICLASS_NCJ" 110- 1------- PP------ --------",Z_Load_if_Pv) 61 DEF_FIELD32(ICLASS_NCJ" 1--- -!------ PP------ --------",NT,"NonTemporal") 65 DEF_FIELDROW_DESC32( ICLASS_NCJ" 1 000 --- ----- PP i --iii ----- ---","[#0] vmem(Rt… [all …]
|
/openbmc/linux/drivers/ntb/test/ |
H A D | ntb_pingpong.c | 116 static int pp_find_next_peer(struct pp_ctx *pp) in pp_find_next_peer() argument 121 link = ntb_link_is_up(pp->ntb, NULL, NULL); in pp_find_next_peer() 124 if (link & pp->nmask) in pp_find_next_peer() 125 pidx = __ffs64(link & pp->nmask); in pp_find_next_peer() 126 else if (link & pp->pmask) in pp_find_next_peer() 127 pidx = __ffs64(link & pp->pmask); in pp_find_next_peer() 131 out_db = BIT_ULL(ntb_peer_port_number(pp->ntb, pidx)); in pp_find_next_peer() 133 spin_lock(&pp->lock); in pp_find_next_peer() 134 pp->out_pidx = pidx; in pp_find_next_peer() 135 pp->out_db = out_db; in pp_find_next_peer() [all …]
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware-host.c | 57 irqreturn_t dw_handle_msi_irq(struct dw_pcie_rp *pp) in dw_handle_msi_irq() argument 63 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dw_handle_msi_irq() 65 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dw_handle_msi_irq() 78 generic_handle_domain_irq(pp->irq_domain, in dw_handle_msi_irq() 92 struct dw_pcie_rp *pp; in dw_chained_msi_isr() local 96 pp = irq_desc_get_handler_data(desc); in dw_chained_msi_isr() 97 dw_handle_msi_irq(pp); in dw_chained_msi_isr() 104 struct dw_pcie_rp *pp = irq_data_get_irq_chip_data(d); in dw_pci_setup_msi_msg() local 105 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in dw_pci_setup_msi_msg() 108 msi_target = (u64)pp->msi_data; in dw_pci_setup_msi_msg() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 484 struct mvneta_port *pp; member 762 static void mvreg_write(struct mvneta_port *pp, u32 offset, u32 data) in mvreg_write() argument 764 writel(data, pp->base + offset); in mvreg_write() 768 static u32 mvreg_read(struct mvneta_port *pp, u32 offset) in mvreg_read() argument 770 return readl(pp->base + offset); in mvreg_read() 791 static void mvneta_mib_counters_clear(struct mvneta_port *pp) in mvneta_mib_counters_clear() argument 797 mvreg_read(pp, (MVNETA_MIB_COUNTERS_BASE + i)); in mvneta_mib_counters_clear() 798 mvreg_read(pp, MVNETA_RX_DISCARD_FRAME_COUNT); in mvneta_mib_counters_clear() 799 mvreg_read(pp, MVNETA_OVERRUN_FRAME_COUNT); in mvneta_mib_counters_clear() 807 struct mvneta_port *pp = netdev_priv(dev); in mvneta_get_stats64() local [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | mvneta.c | 419 static void mvreg_write(struct mvneta_port *pp, u32 offset, u32 data) in mvreg_write() argument 421 writel(data, pp->base + offset); in mvreg_write() 425 static u32 mvreg_read(struct mvneta_port *pp, u32 offset) in mvreg_read() argument 427 return readl(pp->base + offset); in mvreg_read() 431 static void mvneta_mib_counters_clear(struct mvneta_port *pp) in mvneta_mib_counters_clear() argument 437 mvreg_read(pp, (MVNETA_MIB_COUNTERS_BASE + i)); in mvneta_mib_counters_clear() 454 static void mvneta_rxq_non_occup_desc_add(struct mvneta_port *pp, in mvneta_rxq_non_occup_desc_add() argument 462 mvreg_write(pp, MVNETA_RXQ_STATUS_UPDATE_REG(rxq->id), in mvneta_rxq_non_occup_desc_add() 468 mvreg_write(pp, MVNETA_RXQ_STATUS_UPDATE_REG(rxq->id), in mvneta_rxq_non_occup_desc_add() 473 static int mvneta_rxq_busy_desc_num_get(struct mvneta_port *pp, in mvneta_rxq_busy_desc_num_get() argument [all …]
|
/openbmc/linux/drivers/char/ |
H A D | ppdev.c | 108 static inline void pp_enable_irq(struct pp_struct *pp) in pp_enable_irq() argument 110 struct parport *port = pp->pdev->port; in pp_enable_irq() 119 struct pp_struct *pp = file->private_data; in pp_read() local 125 if (!(pp->flags & PP_CLAIMED)) { in pp_read() 138 pport = pp->pdev->port; in pp_read() 141 parport_set_timeout(pp->pdev, in pp_read() 144 pp->default_inactivity); in pp_read() 154 if (pp->flags & PP_W91284PIC) in pp_read() 156 if (pp->flags & PP_FASTREAD) in pp_read() 183 parport_set_timeout(pp->pdev, pp->default_inactivity); in pp_read() [all …]
|
/openbmc/linux/arch/arm/mach-mv78xx0/ |
H A D | pcie.c | 75 struct pcie_port *pp = pcie_port + i; in mv78xx0_pcie_preinit() local 77 snprintf(pp->mem_space_name, sizeof(pp->mem_space_name), in mv78xx0_pcie_preinit() 78 "PCIe %d.%d MEM", pp->maj, pp->min); in mv78xx0_pcie_preinit() 79 pp->mem_space_name[sizeof(pp->mem_space_name) - 1] = 0; in mv78xx0_pcie_preinit() 80 pp->res.name = pp->mem_space_name; in mv78xx0_pcie_preinit() 81 pp->res.flags = IORESOURCE_MEM; in mv78xx0_pcie_preinit() 82 pp->res.start = start; in mv78xx0_pcie_preinit() 83 pp->res.end = start + size_each - 1; in mv78xx0_pcie_preinit() 86 if (request_resource(&iomem_resource, &pp->res)) in mv78xx0_pcie_preinit() 89 mvebu_mbus_add_window_by_id(MV78XX0_MBUS_PCIE_MEM_TARGET(pp->maj, pp->min), in mv78xx0_pcie_preinit() [all …]
|
/openbmc/linux/arch/arm/mach-dove/ |
H A D | pcie.c | 37 struct pcie_port *pp; in dove_pcie_setup() local 43 pp = &pcie_port[nr]; in dove_pcie_setup() 44 sys->private_data = pp; in dove_pcie_setup() 45 pp->root_bus_nr = sys->busnr; in dove_pcie_setup() 50 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in dove_pcie_setup() 52 orion_pcie_setup(pp->base); in dove_pcie_setup() 56 pci_remap_iospace(&realio, pp->index == 0 ? DOVE_PCIE0_IO_PHYS_BASE : in dove_pcie_setup() 62 snprintf(pp->mem_space_name, sizeof(pp->mem_space_name), in dove_pcie_setup() 63 "PCIe %d MEM", pp->index); in dove_pcie_setup() 64 pp->mem_space_name[sizeof(pp->mem_space_name) - 1] = 0; in dove_pcie_setup() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-lm70llp.c | 96 static inline void deassertCS(struct spi_lm70llp *pp) in deassertCS() argument 98 u8 data = parport_read_data(pp->port); in deassertCS() 101 parport_write_data(pp->port, data | nCS); in deassertCS() 104 static inline void assertCS(struct spi_lm70llp *pp) in assertCS() argument 106 u8 data = parport_read_data(pp->port); in assertCS() 109 parport_write_data(pp->port, data & ~nCS); in assertCS() 112 static inline void clkHigh(struct spi_lm70llp *pp) in clkHigh() argument 114 u8 data = parport_read_data(pp->port); in clkHigh() 116 parport_write_data(pp->port, data | SCLK); in clkHigh() 119 static inline void clkLow(struct spi_lm70llp *pp) in clkLow() argument [all …]
|
H A D | spi-butterfly.c | 69 struct butterfly *pp = spidev_to_pp(spi); in setsck() local 70 u8 bit, byte = pp->lastbyte; in setsck() 78 parport_write_data(pp->port, byte); in setsck() 79 pp->lastbyte = byte; in setsck() 85 struct butterfly *pp = spidev_to_pp(spi); in setmosi() local 86 u8 bit, byte = pp->lastbyte; in setmosi() 94 parport_write_data(pp->port, byte); in setmosi() 95 pp->lastbyte = byte; in setmosi() 100 struct butterfly *pp = spidev_to_pp(spi); in getmiso() local 107 value = !(parport_read_status(pp->port) & bit); in getmiso() [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | uss720.c | 49 struct parport *pp; member 99 struct parport *pp; in async_complete() local 105 pp = priv->pp; in async_complete() 116 if (rq->reg[2] & rq->reg[1] & 0x10 && pp) in async_complete() 117 parport_generic_irq(pp); in async_complete() 193 static int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_f… in get_1284_register() argument 202 if (!pp) in get_1284_register() 204 priv = pp->private_data; in get_1284_register() 229 static int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_fl… in set_1284_register() argument 234 if (!pp) in set_1284_register() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_pingpong.c | 45 static void dpu_hw_pp_setup_dither(struct dpu_hw_pingpong *pp, in dpu_hw_pp_setup_dither() argument 51 c = &pp->hw; in dpu_hw_pp_setup_dither() 52 base = pp->caps->sblk->dither.base; in dpu_hw_pp_setup_dither() 76 static int dpu_hw_pp_enable_te(struct dpu_hw_pingpong *pp, in dpu_hw_pp_enable_te() argument 82 if (!pp || !te) in dpu_hw_pp_enable_te() 84 c = &pp->hw; in dpu_hw_pp_enable_te() 108 static void dpu_hw_pp_setup_autorefresh_config(struct dpu_hw_pingpong *pp, in dpu_hw_pp_setup_autorefresh_config() argument 111 DPU_REG_WRITE(&pp->hw, PP_AUTOREFRESH_CONFIG, in dpu_hw_pp_setup_autorefresh_config() 117 * @pp: DPU pingpong structure 122 static bool dpu_hw_pp_get_autorefresh_config(struct dpu_hw_pingpong *pp, in dpu_hw_pp_get_autorefresh_config() argument [all …]
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 49 static int __used __init register_ip_vs_protocol(struct ip_vs_protocol *pp) in register_ip_vs_protocol() argument 51 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_protocol() 53 pp->next = ip_vs_proto_table[hash]; in register_ip_vs_protocol() 54 ip_vs_proto_table[hash] = pp; in register_ip_vs_protocol() 56 if (pp->init != NULL) in register_ip_vs_protocol() 57 pp->init(pp); in register_ip_vs_protocol() 66 register_ip_vs_proto_netns(struct netns_ipvs *ipvs, struct ip_vs_protocol *pp) in register_ip_vs_proto_netns() argument 68 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_proto_netns() 75 pd->pp = pp; /* For speed issues */ in register_ip_vs_proto_netns() 80 if (pp->init_netns != NULL) { in register_ip_vs_proto_netns() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 064 | 48 $QEMU_IO -r -c "read -pP 0xa5 0 33M" "$TEST_IMG" | _filter_qemu_io 52 $QEMU_IO -r -c "read -pP 0x96 33M 33M" "$TEST_IMG" | _filter_qemu_io 56 $QEMU_IO -r -c "read -pP 0x00 66M 62M" \ 57 -c "read -pP 0x00 128M 128M" \ 58 -c "read -pP 0x00 256M 128M" \ 59 -c "read -pP 0x00 384M 128M" \ 60 -c "read -pP 0x00 512M 128M" \ 61 -c "read -pP 0x00 640M 128M" \ 62 -c "read -pP 0x00 768M 128M" \ 63 -c "read -pP 0x00 896M 128M" \ [all …]
|
H A D | 002 | 54 $QEMU_IO -c "write -pP 0xa 0 $size" "$TEST_IMG" | _filter_qemu_io 58 $QEMU_IO -c "read -pP 0xa 0 $size" "$TEST_IMG" | _filter_qemu_io 62 $QEMU_IO -c 'write -pP 0xab 66 42' "$TEST_IMG" | _filter_qemu_io 63 $QEMU_IO -c 'write -pP 0xac 512 288' "$TEST_IMG" | _filter_qemu_io 64 $QEMU_IO -c 'write -pP 0xad 800 224' "$TEST_IMG" | _filter_qemu_io 65 $QEMU_IO -c 'write -pP 0xae 66000 128k' "$TEST_IMG" | _filter_qemu_io 66 $QEMU_IO -c 'write -pP 0xaf 256k 42' "$TEST_IMG" | _filter_qemu_io 70 $QEMU_IO -c 'read -pP 0xa 0 66' "$TEST_IMG" | _filter_qemu_io 71 $QEMU_IO -c 'read -pP 0xab 66 42' "$TEST_IMG" | _filter_qemu_io 72 $QEMU_IO -c 'read -pP 0xa 108 404' "$TEST_IMG" | _filter_qemu_io [all …]
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_pp.c | 57 struct enic_port_profile *pp; in enic_set_port_profile() local 66 ENIC_PP_BY_INDEX(enic, vf, pp, &err); in enic_set_port_profile() 70 if (!(pp->set & ENIC_SET_NAME) || !strlen(pp->name)) in enic_set_port_profile() 80 strlen(pp->name) + 1, pp->name); in enic_set_port_profile() 82 if (!is_zero_ether_addr(pp->mac_addr)) { in enic_set_port_profile() 83 client_mac = pp->mac_addr; in enic_set_port_profile() 87 netdev_err(netdev, "Cannot find pp mac address " in enic_set_port_profile() 102 if (pp->set & ENIC_SET_INSTANCE) { in enic_set_port_profile() 103 sprintf(uuid_str, "%pUB", pp->instance_uuid); in enic_set_port_profile() 109 if (pp->set & ENIC_SET_HOST) { in enic_set_port_profile() [all …]
|
/openbmc/linux/drivers/staging/ks7010/ |
H A D | ks_hostif.c | 1054 struct hostif_data_request *pp; in hostif_data_request() local 1089 size = sizeof(*pp) + 6 + skb_len + 8; in hostif_data_request() 1090 pp = kmalloc(hif_align_size(size), GFP_ATOMIC); in hostif_data_request() 1091 if (!pp) { in hostif_data_request() 1096 p = (unsigned char *)pp->data; in hostif_data_request() 1136 /* pp->data copy */ in hostif_data_request() 1142 eth_hdr = (struct ether_hdr *)&pp->data[0]; in hostif_data_request() 1161 pp->auth_type = cpu_to_le16(TYPE_AUTH); in hostif_data_request() 1167 &pp->data[0], skb_len, in hostif_data_request() 1176 pp->auth_type = in hostif_data_request() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | sata_nv.c | 598 struct nv_adma_port_priv *pp = ap->private_data; in nv_adma_register_mode() local 599 void __iomem *mmio = pp->ctl_block; in nv_adma_register_mode() 603 if (pp->flags & NV_ADMA_PORT_REGISTER_MODE) in nv_adma_register_mode() 631 pp->flags |= NV_ADMA_PORT_REGISTER_MODE; in nv_adma_register_mode() 636 struct nv_adma_port_priv *pp = ap->private_data; in nv_adma_mode() local 637 void __iomem *mmio = pp->ctl_block; in nv_adma_mode() 641 if (!(pp->flags & NV_ADMA_PORT_REGISTER_MODE)) in nv_adma_mode() 644 WARN_ON(pp->flags & NV_ADMA_ATAPI_SETUP_COMPLETE); in nv_adma_mode() 661 pp->flags &= ~NV_ADMA_PORT_REGISTER_MODE; in nv_adma_mode() 667 struct nv_adma_port_priv *pp = ap->private_data; in nv_adma_slave_config() local [all …]
|
/openbmc/linux/drivers/of/ |
H A D | kobj.c | 35 struct property *pp = container_of(bin_attr, struct property, attr); in of_node_property_read() local 36 return memory_read_from_buffer(buf, count, &offset, pp->value, pp->length); in of_node_property_read() 63 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() argument 68 bool secure = strncmp(pp->name, "security-", 9) == 0; in __of_add_property_sysfs() 76 sysfs_bin_attr_init(&pp->attr); in __of_add_property_sysfs() 77 pp->attr.attr.name = safe_name(&np->kobj, pp->name); in __of_add_property_sysfs() 78 pp->attr.attr.mode = secure ? 0400 : 0444; in __of_add_property_sysfs() 79 pp->attr.size = secure ? 0 : pp->length; in __of_add_property_sysfs() 80 pp->attr.read = of_node_property_read; in __of_add_property_sysfs() 82 rc = sysfs_create_bin_file(&np->kobj, &pp->attr); in __of_add_property_sysfs() [all …]
|
/openbmc/qemu/target/hexagon/imported/ |
H A D | encode_pp.def | 26 DEF_CLASS32("---- ---- -------- PP------ --------",ALL_PP) 28 DEF_FIELD32("!!!! ---- -------- PP------ --------",ICLASS,"Instruction Class") 57 DEF_CLASS32(ICLASS_EXTENDER" ---- -------- PP------ --------",EXTENDER) 70 DEF_CLASS32(ICLASS_V2LDST" ---- -------- PP------ --------",V2LDST) 71 DEF_CLASS32(ICLASS_V2LDST" ---1 -------- PP------ --------",V2LD) 72 DEF_CLASS32(ICLASS_V2LDST" ---0 -------- PP------ --------",V2ST) 73 DEF_CLASS32(ICLASS_V2LDST" 0--1 -------- PP------ --------",PLD) 74 DEF_CLASS32(ICLASS_V2LDST" 0--0 -------- PP------ --------",PST) 75 DEF_CLASS32(ICLASS_V2LDST" 1--1 -------- PP------ --------",GPLD) 76 DEF_CLASS32(ICLASS_V2LDST" 1--0 -------- PP------ --------",GPST) [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dm_pp_smu.h | 50 const void *pp; member 103 void (*set_display_count)(struct pp_smu *pp, int count); 112 void (*set_wm_ranges)(struct pp_smu *pp, 118 void (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int mhz); 124 void (*set_min_deep_sleep_dcfclk)(struct pp_smu *pp, int mhz); 129 void (*set_hard_min_fclk_by_freq)(struct pp_smu *pp, int mhz); 134 void (*set_hard_min_socclk_by_freq)(struct pp_smu *pp, int mhz); 137 void (*set_pme_wa_enable)(struct pp_smu *pp); 173 enum pp_smu_status (*set_display_count)(struct pp_smu *pp, int count); 178 enum pp_smu_status (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int Mhz); [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | compr_rubin.c | 42 struct pushpull pp; member 47 static inline void init_pushpull(struct pushpull *pp, char *buf, in init_pushpull() argument 51 pp->buf = buf; in init_pushpull() 52 pp->buflen = buflen; in init_pushpull() 53 pp->ofs = ofs; in init_pushpull() 54 pp->reserve = reserve; in init_pushpull() 57 static inline int pushbit(struct pushpull *pp, int bit, int use_reserved) in pushbit() argument 59 if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve)) in pushbit() 63 pp->buf[pp->ofs >> 3] |= (1<<(7-(pp->ofs & 7))); in pushbit() 65 pp->buf[pp->ofs >> 3] &= ~(1<<(7-(pp->ofs & 7))); in pushbit() [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | smu.c | 1085 struct smu_private *pp; in smu_open() local 1088 pp = kzalloc(sizeof(struct smu_private), GFP_KERNEL); in smu_open() 1089 if (!pp) in smu_open() 1091 spin_lock_init(&pp->lock); in smu_open() 1092 pp->mode = smu_file_commands; in smu_open() 1093 init_waitqueue_head(&pp->wait); in smu_open() 1097 list_add(&pp->list, &smu_clist); in smu_open() 1099 file->private_data = pp; in smu_open() 1108 struct smu_private *pp = misc; in smu_user_cmd_done() local 1110 wake_up_all(&pp->wait); in smu_user_cmd_done() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | altera_uart.c | 102 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_get_mctrl() local 107 sigs |= (pp->sigs & TIOCM_RTS); in altera_uart_get_mctrl() 112 static void altera_uart_update_ctrl_reg(struct altera_uart *pp) in altera_uart_update_ctrl_reg() argument 114 unsigned short imr = pp->imr; in altera_uart_update_ctrl_reg() 120 if (!pp->port.irq) in altera_uart_update_ctrl_reg() 123 altera_uart_writel(&pp->port, imr, ALTERA_UART_CONTROL_REG); in altera_uart_update_ctrl_reg() 128 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_set_mctrl() local 130 pp->sigs = sigs; in altera_uart_set_mctrl() 132 pp->imr |= ALTERA_UART_CONTROL_RTS_MSK; in altera_uart_set_mctrl() 134 pp->imr &= ~ALTERA_UART_CONTROL_RTS_MSK; in altera_uart_set_mctrl() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | security.c | 46 static struct pkey_index_qp_list *get_pkey_idx_qp_list(struct ib_port_pkey *pp) in get_pkey_idx_qp_list() argument 50 struct ib_device *dev = pp->sec->dev; in get_pkey_idx_qp_list() 52 spin_lock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list() 53 list_for_each_entry (tmp_pkey, &dev->port_data[pp->port_num].pkey_list, in get_pkey_idx_qp_list() 55 if (tmp_pkey->pkey_index == pp->pkey_index) { in get_pkey_idx_qp_list() 60 spin_unlock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list() 64 static int get_pkey_and_subnet_prefix(struct ib_port_pkey *pp, in get_pkey_and_subnet_prefix() argument 68 struct ib_device *dev = pp->sec->dev; in get_pkey_and_subnet_prefix() 71 ret = ib_get_cached_pkey(dev, pp->port_num, pp->pkey_index, pkey); in get_pkey_and_subnet_prefix() 75 ib_get_cached_subnet_prefix(dev, pp->port_num, subnet_prefix); in get_pkey_and_subnet_prefix() [all …]
|