| /linux/drivers/ntb/test/ |
| A D | ntb_pingpong.c | 145 ntb_db_set_mask(pp->ntb, pp->in_db); in pp_setup() 156 ntb_peer_port_number(pp->ntb, pp->out_pidx), pp->out_db); in pp_setup() 165 ntb_db_set_mask(pp->ntb, pp->in_db); in pp_clear() 178 ntb_peer_msg_write(pp->ntb, pp->out_pidx, 0, count); in pp_ping() 183 ntb_peer_db_set(pp->ntb, pp->out_db); in pp_ping() 184 ntb_db_clear_mask(pp->ntb, pp->in_db); in pp_ping() 208 ntb_db_set_mask(pp->ntb, pp->in_db); in pp_pong() 209 ntb_db_clear(pp->ntb, pp->in_db); in pp_pong() 281 if (!pp) in pp_create_data() 310 pp->in_db, pp->pmask, pp->nmask); in pp_init_flds() [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| A D | pcie-designware-host.c | 470 ret = pp->ops->init(pp); in dw_pcie_host_init() 476 pp->has_msi_ctrl = !(pp->ops->msi_init || in dw_pcie_host_init() 484 if (!pp->has_msi_ctrl && !pp->num_vectors) { in dw_pcie_host_init() 493 ret = pp->ops->msi_init(pp); in dw_pcie_host_init() 543 pp->ops->post_init(pp); in dw_pcie_host_init() 559 pp->ops->deinit(pp); in dw_pcie_host_init() 580 pp->ops->deinit(pp); in dw_pcie_host_deinit() 737 if (pp->msg_res && pp->msg_res->parent == entry->res) in dw_pcie_iatu_setup() 934 pci->pp.ops->pme_turn_off(&pci->pp); in dw_pcie_suspend_noirq() 950 pci->pp.ops->deinit(&pci->pp); in dw_pcie_suspend_noirq() [all …]
|
| /linux/drivers/net/ethernet/marvell/ |
| A D | mvneta.c | 1182 pp->pool_long->port_map |= 1 << pp->id; in mvneta_bm_port_init() 1197 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_bm_port_init() 1202 pp->pool_short->port_map |= 1 << pp->id; in mvneta_bm_port_init() 1242 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_bm_update_mtu() 1243 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_short, 1 << pp->id); in mvneta_bm_update_mtu() 4290 mvneta_set_eee(pp, pp->eee_active && pp->tx_lpi_enabled); in mvneta_mac_link_up() 4546 free_irq(pp->dev->irq, pp); in mvneta_open() 5003 pp->rxq_def = pp->indir[0]; in mvneta_config_rss() 5685 port->pp = pp; in mvneta_probe() 5722 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_probe() [all …]
|
| /linux/drivers/spi/ |
| A D | spi-lm70llp.c | 138 clkHigh(pp); in setsck() 140 clkLow(pp); in setsck() 174 assertCS(pp); in lm70_chipselect() 176 deassertCS(pp); in lm70_chipselect() 223 pp->port = p; in spi_lm70llp_attach() 233 pp->pd = pd; in spi_lm70llp_attach() 266 pp->info.controller_data = pp; in spi_lm70llp_attach() 267 pp->spidev_lm70 = spi_new_device(pp->bitbang.ctlr, &pp->info); in spi_lm70llp_attach() 268 if (pp->spidev_lm70) in spi_lm70llp_attach() 278 lm70llp = pp; in spi_lm70llp_attach() [all …]
|
| A D | spi-butterfly.c | 79 pp->lastbyte = byte; in setsck() 95 pp->lastbyte = byte; in setmosi() 215 pp->port = p; in butterfly_attach() 223 pp->pd = pd; in butterfly_attach() 241 parport_write_data(pp->port, pp->lastbyte); in butterfly_attach() 246 parport_write_data(pp->port, pp->lastbyte); in butterfly_attach() 265 pp->info[0].controller_data = pp; in butterfly_attach() 266 pp->dataflash = spi_new_device(pp->bitbang.ctlr, &pp->info[0]); in butterfly_attach() 267 if (pp->dataflash) in butterfly_attach() 272 butterfly = pp; in butterfly_attach() [all …]
|
| /linux/drivers/char/ |
| A D | ppdev.c | 183 parport_set_timeout(pp->pdev, pp->default_inactivity); in pp_read() 263 parport_set_timeout(pp->pdev, pp->default_inactivity); in pp_write() 275 parport_write_control(pp->pdev->port, pp->irqctl); in pp_irq() 408 parport_set_timeout(pp->pdev, pp->default_inactivity); in pp_do_ioctl() 439 pp->pdev->port->ieee1284.phase = pp->state.phase; in pp_do_ioctl() 693 if (!pp) in pp_open() 697 pp->state.phase = init_phase(pp->state.mode); in pp_open() 720 if (!(pp->flags & PP_CLAIMED) && pp->pdev && in pp_release() 733 } else if ((pp->flags & PP_CLAIMED) && pp->pdev && in pp_release() 743 if ((pp->flags & PP_CLAIMED) && pp->pdev) { in pp_release() [all …]
|
| /linux/drivers/usb/misc/ |
| A D | uss720.c | 49 struct parport *pp; member 99 struct parport *pp; in async_complete() local 105 pp = priv->pp; in async_complete() 202 if (!pp) in get_1284_register() 234 if (!pp) in set_1284_register() 678 struct parport *pp; in uss720_probe() local 709 priv->pp = NULL; in uss720_probe() 715 if (!pp) { in uss720_probe() 720 priv->pp = pp; in uss720_probe() 764 if (pp) { in uss720_disconnect() [all …]
|
| /linux/arch/arm/mach-dove/ |
| A D | pcie.c | 37 struct pcie_port *pp; in dove_pcie_setup() local 43 pp = &pcie_port[nr]; in dove_pcie_setup() 62 snprintf(pp->mem_space_name, sizeof(pp->mem_space_name), in dove_pcie_setup() 64 pp->mem_space_name[sizeof(pp->mem_space_name) - 1] = 0; in dove_pcie_setup() 65 pp->res.name = pp->mem_space_name; in dove_pcie_setup() 66 if (pp->index == 0) { in dove_pcie_setup() 68 pp->res.end = pp->res.start + DOVE_PCIE0_MEM_SIZE - 1; in dove_pcie_setup() 71 pp->res.end = pp->res.start + DOVE_PCIE1_MEM_SIZE - 1; in dove_pcie_setup() 205 pp->index = index; in add_pcie_port() 207 pp->base = base; in add_pcie_port() [all …]
|
| /linux/arch/arm/mach-mv78xx0/ |
| A D | pcie.c | 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() 90 MV78XX0_MBUS_PCIE_MEM_ATTR(pp->maj, pp->min), in mv78xx0_pcie_preinit() 91 pp->res.start, resource_size(&pp->res)); in mv78xx0_pcie_preinit() 93 MV78XX0_MBUS_PCIE_IO_ATTR(pp->maj, pp->min), in mv78xx0_pcie_preinit() 226 return IRQ_MV78XX0_PCIE_00 + (pp->maj << 2) + pp->min; in mv78xx0_pcie_map_irq() 246 pp->maj = maj; in add_pcie_port() 247 pp->min = min; in add_pcie_port() [all …]
|
| /linux/net/netfilter/ipvs/ |
| A D | ip_vs_proto.c | 56 if (pp->init != NULL) in register_ip_vs_protocol() 57 pp->init(pp); in register_ip_vs_protocol() 75 pd->pp = pp; /* For speed issues */ in register_ip_vs_proto_netns() 103 if (*pp_p == pp) { in unregister_ip_vs_protocol() 104 *pp_p = pp->next; in unregister_ip_vs_protocol() 105 if (pp->exit != NULL) in unregister_ip_vs_protocol() 106 pp->exit(pp); in unregister_ip_vs_protocol() 142 struct ip_vs_protocol *pp; in ip_vs_proto_get() local 145 for (pp = ip_vs_proto_table[hash]; pp; pp = pp->next) { in ip_vs_proto_get() 147 return pp; in ip_vs_proto_get() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| A D | dpu_hw_pingpong.c | 53 c = &pp->hw; in dpu_hw_pp_setup_dither() 84 if (!pp || !te) in dpu_hw_pp_enable_te() 86 c = &pp->hw; in dpu_hw_pp_enable_te() 137 if (!pp) in dpu_hw_pp_disable_te() 139 c = &pp->hw; in dpu_hw_pp_disable_te() 152 if (!pp) in dpu_hw_pp_connect_external_te() 155 c = &pp->hw; in dpu_hw_pp_connect_external_te() 174 if (!pp || !info) in dpu_hw_pp_get_vsync_info() 176 c = &pp->hw; in dpu_hw_pp_get_vsync_info() 197 if (!pp) in dpu_hw_pp_get_line_count() [all …]
|
| /linux/fs/xfs/scrub/ |
| A D | parent.c | 288 struct xchk_pptrs *pp) in xchk_parent_pptr_and_dotdot() argument 484 pp->pptrs_found++; in xchk_parent_scan_attr() 646 error = xchk_parent_slow_pptr(pp, &pp->xname, &pptr.pptr_rec); in xchk_parent_finish_slow_pptrs() 680 pp->pptrs_found++; in xchk_parent_count_pptr() 701 pp->pptrs_found = 0; in xchk_parent_count_pptrs() 703 NULL, pp); in xchk_parent_count_pptrs() 715 pp->pptrs_found++; in xchk_parent_count_pptrs() 740 if (!pp) in xchk_parent_pptr() 742 pp->sc = sc; in xchk_parent_pptr() 743 pp->xname.name = pp->namebuf; in xchk_parent_pptr() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| A D | dm_pp_smu.h | 51 const void *pp; member 104 void (*set_display_count)(struct pp_smu *pp, int count); 113 void (*set_wm_ranges)(struct pp_smu *pp, 125 void (*set_min_deep_sleep_dcfclk)(struct pp_smu *pp, int mhz); 138 void (*set_pme_wa_enable)(struct pp_smu *pp); 198 enum pp_smu_status (*set_pme_wa_enable)(struct pp_smu *pp); 203 enum pp_smu_status (*set_voltage_by_freq)(struct pp_smu *pp, 218 enum pp_smu_status (*set_wm_ranges)(struct pp_smu *pp, 229 enum pp_smu_status (*get_uclk_dpm_states)(struct pp_smu *pp, 282 enum pp_smu_status (*set_wm_ranges)(struct pp_smu *pp, [all …]
|
| /linux/arch/s390/kernel/ |
| A D | ctlreg.c | 57 struct ctlreg_parms *pp = info; in ctlreg_callback() local 62 regs[pp->cr].val = pp->val; in ctlreg_callback() 64 regs[pp->cr].val &= pp->andval; in ctlreg_callback() 65 regs[pp->cr].val |= pp->orval; in ctlreg_callback() 94 pp.orval = 1UL << data; in system_ctlreg_modify() 95 pp.andval = -1UL; in system_ctlreg_modify() 98 pp.orval = 0; in system_ctlreg_modify() 99 pp.andval = ~(1UL << data); in system_ctlreg_modify() 102 pp.val = data; in system_ctlreg_modify() 115 system_ctlreg_update(&pp); in system_ctlreg_modify() [all …]
|
| /linux/drivers/net/ethernet/intel/libeth/ |
| A D | rx.c | 24 pp->max_len); in libeth_rx_hw_len_mtu() 51 pp->max_len); in libeth_rx_hw_len_truesize() 71 pp->offset = LIBETH_SKB_HEADROOM; in libeth_rx_page_pool_params() 73 pp->max_len = LIBETH_RX_PAGE_LEN(pp->offset); in libeth_rx_page_pool_params() 113 struct page_pool_params *pp) in libeth_rx_page_pool_params_zc() argument 117 pp->offset = 0; in libeth_rx_page_pool_params_zc() 133 pp->max_len); in libeth_rx_page_pool_params_zc() 150 struct page_pool_params pp = { in libeth_rx_fq_create() local 171 pool = page_pool_create(&pp); in libeth_rx_fq_create() 180 fq->pp = pool; in libeth_rx_fq_create() [all …]
|
| /linux/tools/testing/selftests/net/ |
| A D | nl_netdev.py | 33 return [pp for pp in pp_list if pp.get("ifindex") == nsim.ifindex] 43 refs = sum([pp["inflight"] for pp in pp_list]) 55 refs = sum([pp["inflight"] for pp in pp_list if pp.get("ifindex") == nsim.ifindex]) 62 refs = sum([pp["inflight"] for pp in pp_list]) 64 attached = [pp for pp in pp_list if "detach-time" not in pp] 70 attached = [pp for pp in pp_list if "detach-time" not in pp] 71 detached = [pp for pp in pp_list if "detach-time" in pp]
|
| /linux/tools/net/ynl/samples/ |
| A D | page-pool.c | 51 if (pp->_present.inflight) in count() 52 s->live[l].refs += pp->inflight; in count() 53 if (pp->_present.inflight_mem) in count() 80 ynl_dump_foreach(pools, pp) { in main() 83 count(s, 1, pp); in main() 84 if (pp->_present.detach_time) in main() 85 count(s, 0, pp); in main() 96 if (pp->_present.alloc_fast) in main() 98 if (pp->_present.alloc_refill) in main() 100 if (pp->_present.alloc_slow) in main() [all …]
|
| /linux/drivers/ata/ |
| A D | sata_nv.c | 1120 pp = devm_kzalloc(dev, sizeof(*pp), GFP_KERNEL); in nv_adma_port_start() 1121 if (!pp) in nv_adma_port_start() 1128 pp->notifier_clear_block = pp->gen_block + in nv_adma_port_start() 1762 pp->qc_active, pp->defer_queue.defer_bits, pp->last_issue_tag, in nv_swncq_ncq_stop() 1763 pp->dhfis_bits, pp->dmafis_bits, pp->sdbfis_bits); in nv_swncq_ncq_stop() 1934 if (!pp) in nv_swncq_port_start() 2103 if (pp->qc_active & pp->dhfis_bits) in nv_swncq_sdbfis() 2107 (pp->qc_active ^ pp->dhfis_bits)) in nv_swncq_sdbfis() 2118 pp->dmafis_bits, pp->last_issue_tag); in nv_swncq_sdbfis() 2228 pp->qc_active, pp->dhfis_bits, in nv_swncq_host_interrupt() [all …]
|
| /linux/drivers/of/ |
| A D | kobj.c | 36 return memory_read_from_buffer(buf, count, &offset, pp->value, pp->length); in of_node_property_read() 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() 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() 119 struct property *pp; in __of_attach_node_sysfs() local 142 for_each_property_of_node(np, pp) in __of_attach_node_sysfs() 143 __of_add_property_sysfs(np, pp); in __of_attach_node_sysfs() 151 struct property *pp; in __of_detach_node_sysfs() local 159 for_each_property_of_node(np, pp) in __of_detach_node_sysfs() [all …]
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| A D | enic_pp.c | 57 struct enic_port_profile *pp; in enic_set_port_profile() local 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() 83 client_mac = pp->mac_addr; in enic_set_port_profile() 109 if (pp->set & ENIC_SET_HOST) { in enic_set_port_profile() 184 struct enic_port_profile *pp; in enic_pp_disassociate() local 194 pp->mac_addr); in enic_pp_disassociate() 205 struct enic_port_profile *pp; in enic_pp_preassociate_rr() local 245 struct enic_port_profile *pp; in enic_pp_associate() local 281 pp->mac_addr); in enic_pp_associate() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| A D | mdp5_cfg.c | 85 .pp = { 168 .pp = { 253 .pp = { 353 .pp = { 498 .pp = { 605 .pp = { 710 .pp = { 817 .pp = { 904 .pp = { 995 .pp = { [all …]
|
| /linux/drivers/net/hamradio/ |
| A D | baycom_par.c | 196 pp->ops->write_data(pp, val); in par96_tx() 197 pp->ops->write_data(pp, val | PAR96_BURST); in par96_tx() 214 if (pp->ops->read_status(pp) & PAR96_RXBIT) in par96_rx() 219 pp->ops->write_data(pp, PAR97_POWER | PAR96_PTT); in par96_rx() 225 pp->ops->write_data(pp, PAR97_POWER | PAR96_PTT | PAR96_BURST); in par96_rx() 305 if (!pp) { in par96_open() 309 if (pp->irq < 0) { in par96_open() 348 pp->ops->data_forward(pp); in par96_open() 351 pp->ops->enable_irq(pp); in par96_open() 368 pp->ops->disable_irq(pp); in par96_close() [all …]
|
| /linux/drivers/macintosh/ |
| A D | smu.c | 1089 if (!pp) in smu_open() 1122 if (pp->busy) in smu_write() 1149 pp->busy = 1; in smu_write() 1161 pp->cmd.data_buf = pp->buffer; in smu_write() 1162 pp->cmd.reply_buf = pp->buffer; in smu_write() 1164 pp->cmd.misc = pp; in smu_write() 1222 pp->busy = 0; in smu_read_command() 1256 if (!pp) in smu_fpoll() 1263 if (pp->busy && pp->cmd.status != 1) in smu_fpoll() 1279 if (!pp) in smu_release() [all …]
|
| /linux/arch/mips/kernel/ |
| A D | pm-cps.c | 209 uasm_build_label(pl, *pp, lbl); in cps_gen_cache_routine() 227 uasm_i_nop(pp); in cps_gen_cache_routine() 278 uasm_i_ehb(pp); in cps_gen_flush_fsb() 280 uasm_i_ehb(pp); in cps_gen_flush_fsb() 286 uasm_build_label(pl, *pp, lbl); in cps_gen_flush_fsb() 304 uasm_i_sync(pp, __SYNC_full); in cps_gen_flush_fsb() 305 uasm_i_ehb(pp); in cps_gen_flush_fsb() 312 uasm_i_nop(pp); in cps_gen_flush_fsb() 316 uasm_i_ehb(pp); in cps_gen_flush_fsb() 318 uasm_i_ehb(pp); in cps_gen_flush_fsb() [all …]
|
| /linux/fs/jffs2/ |
| A D | compr_rubin.c | 42 struct pushpull pp; member 51 pp->buf = buf; in init_pushpull() 52 pp->buflen = buflen; in init_pushpull() 53 pp->ofs = ofs; in init_pushpull() 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() 67 pp->ofs++; in pushbit() 74 return pp->ofs; in pushedbits() 81 bit = (pp->buf[pp->ofs >> 3] >> (7-(pp->ofs & 7))) & 1; in pullbit() [all …]
|