Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/openbmc/linux/drivers/ntb/test/
H A Dntb_pingpong.c145 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 …]
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-host.c445 ret = pp->ops->host_init(pp); in dw_pcie_host_init()
451 pp->has_msi_ctrl = !(pp->ops->msi_host_init || in dw_pcie_host_init()
459 if (!pp->has_msi_ctrl && !pp->num_vectors) { in dw_pcie_host_init()
468 ret = pp->ops->msi_host_init(pp); in dw_pcie_host_init()
519 pp->ops->host_deinit(pp); in dw_pcie_host_init()
540 pp->ops->host_deinit(pp); in dw_pcie_host_deinit()
592 pp->io_base, pp->io_bus_addr, in dw_pcie_rd_other_conf()
614 pp->io_base, pp->io_bus_addr, in dw_pcie_wr_other_conf()
832 pci->pp.ops->pme_turn_off(&pci->pp); in dw_pcie_suspend_noirq()
843 pci->pp.ops->host_deinit(&pci->pp); in dw_pcie_suspend_noirq()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-lm70llp.c138 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.master, &pp->info); in spi_lm70llp_attach()
268 if (pp->spidev_lm70) in spi_lm70llp_attach()
278 lm70llp = pp; in spi_lm70llp_attach()
[all …]
H A Dspi-butterfly.c79 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.master, &pp->info[0]); in butterfly_attach()
267 if (pp->dataflash) in butterfly_attach()
272 butterfly = pp; in butterfly_attach()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c1182 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()
4289 mvneta_set_eee(pp, pp->eee_active && pp->tx_lpi_enabled); in mvneta_mac_link_up()
4545 free_irq(pp->dev->irq, pp); in mvneta_open()
5002 pp->rxq_def = pp->indir[0]; in mvneta_config_rss()
5683 port->pp = pp; in mvneta_probe()
5720 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_probe()
[all …]
/openbmc/u-boot/drivers/net/
H A Dmvneta.c740 memset(pp->mcast_count, 0, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
743 memset(pp->mcast_count, 1, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
1101 mvneta_txq_deinit(pp, &pp->txqs[queue]); in mvneta_cleanup_txqs()
1110 mvneta_rxq_deinit(pp, &pp->rxqs[queue]); in mvneta_cleanup_rxqs()
1120 int err = mvneta_rxq_init(pp, &pp->rxqs[queue]); in mvneta_setup_rxqs()
1138 int err = mvneta_txq_init(pp, &pp->txqs[queue]); in mvneta_setup_txqs()
1403 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init()
1534 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start()
1536 if (!pp->init || pp->link == 0) { in mvneta_start()
1561 mvreg_write(pp, MVNETA_PHY_ADDR, pp->phyaddr); in mvneta_start()
[all …]
/openbmc/linux/drivers/char/
H A Dppdev.c183 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 …]
/openbmc/linux/arch/arm/mach-dove/
H A Dpcie.c37 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 …]
/openbmc/linux/drivers/usb/misc/
H A Duss720.c49 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()
761 if (pp) { in uss720_disconnect()
[all …]
/openbmc/linux/arch/arm/mach-mv78xx0/
H A Dpcie.c77 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 …]
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_proto.c56 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 …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_pingpong.c51 c = &pp->hw; in dpu_hw_pp_setup_dither()
82 if (!pp || !te) in dpu_hw_pp_enable_te()
84 c = &pp->hw; in dpu_hw_pp_enable_te()
135 if (!pp) in dpu_hw_pp_disable_te()
137 c = &pp->hw; in dpu_hw_pp_disable_te()
150 if (!pp) in dpu_hw_pp_connect_external_te()
153 c = &pp->hw; in dpu_hw_pp_connect_external_te()
174 c = &pp->hw; in dpu_hw_pp_get_vsync_info()
195 if (!pp) in dpu_hw_pp_get_line_count()
197 c = &pp->hw; in dpu_hw_pp_get_line_count()
[all …]
H A Ddpu_hw_pingpong.h50 int (*enable_tearcheck)(struct dpu_hw_pingpong *pp,
56 int (*disable_tearcheck)(struct dpu_hw_pingpong *pp);
62 int (*connect_external_te)(struct dpu_hw_pingpong *pp,
68 u32 (*get_line_count)(struct dpu_hw_pingpong *pp);
73 void (*disable_autorefresh)(struct dpu_hw_pingpong *pp, uint32_t encoder_id, u16 vdisplay);
78 void (*setup_dither)(struct dpu_hw_pingpong *pp,
83 int (*enable_dsc)(struct dpu_hw_pingpong *pp);
88 void (*disable_dsc)(struct dpu_hw_pingpong *pp);
93 int (*setup_dsc)(struct dpu_hw_pingpong *pp);
136 void dpu_hw_pingpong_destroy(struct dpu_hw_pingpong *pp);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddm_pp_smu.h50 const void *pp; member
103 void (*set_display_count)(struct pp_smu *pp, int count);
112 void (*set_wm_ranges)(struct pp_smu *pp,
124 void (*set_min_deep_sleep_dcfclk)(struct pp_smu *pp, int mhz);
137 void (*set_pme_wa_enable)(struct pp_smu *pp);
197 enum pp_smu_status (*set_pme_wa_enable)(struct pp_smu *pp);
202 enum pp_smu_status (*set_voltage_by_freq)(struct pp_smu *pp,
217 enum pp_smu_status (*set_wm_ranges)(struct pp_smu *pp,
228 enum pp_smu_status (*get_uclk_dpm_states)(struct pp_smu *pp,
279 enum pp_smu_status (*set_wm_ranges)(struct pp_smu *pp,
[all …]
/openbmc/linux/drivers/of/
H A Dkobj.c36 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 …]
/openbmc/linux/drivers/ata/
H A Dsata_nv.c1117 pp = devm_kzalloc(dev, sizeof(*pp), GFP_KERNEL); in nv_adma_port_start()
1118 if (!pp) in nv_adma_port_start()
1125 pp->notifier_clear_block = pp->gen_block + in nv_adma_port_start()
1759 pp->qc_active, pp->defer_queue.defer_bits, pp->last_issue_tag, in nv_swncq_ncq_stop()
1760 pp->dhfis_bits, pp->dmafis_bits, pp->sdbfis_bits); in nv_swncq_ncq_stop()
1930 if (!pp) in nv_swncq_port_start()
2099 if (pp->qc_active & pp->dhfis_bits) in nv_swncq_sdbfis()
2103 (pp->qc_active ^ pp->dhfis_bits)) in nv_swncq_sdbfis()
2114 pp->dmafis_bits, pp->last_issue_tag); in nv_swncq_sdbfis()
2224 pp->qc_active, pp->dhfis_bits, in nv_swncq_host_interrupt()
[all …]
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_pp.c57 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 …]
/openbmc/linux/drivers/net/hamradio/
H A Dbaycom_par.c196 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 …]
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_cfg.c85 .pp = {
168 .pp = {
253 .pp = {
353 .pp = {
498 .pp = {
605 .pp = {
710 .pp = {
817 .pp = {
905 .pp = {
996 .pp = {
[all …]
/openbmc/linux/drivers/macintosh/
H A Dsmu.c1089 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 …]
/openbmc/linux/fs/jffs2/
H A Dcompr_rubin.c42 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 …]
/openbmc/linux/drivers/mtd/parsers/
H A Dofpart_core.c51 struct device_node *pp; in parse_fixed_partitions() local
110 reg = of_get_property(pp, "reg", &len); in parse_fixed_partitions()
114 master->name, pp, in parse_fixed_partitions()
123 a_cells = of_n_addr_cells(pp); in parse_fixed_partitions()
124 s_cells = of_n_size_cells(pp); in parse_fixed_partitions()
141 master->name, pp, mtd_node); in parse_fixed_partitions()
146 master->name, pp, in parse_fixed_partitions()
153 parts[i].of_node = pp; in parse_fixed_partitions()
163 if (of_get_property(pp, "lock", &len)) in parse_fixed_partitions()
183 master->name, pp, mtd_node); in parse_fixed_partitions()
[all …]
/openbmc/linux/drivers/staging/ks7010/
H A Dks_hostif.c1242 if (!pp) in hostif_mib_get_request()
1261 if (!pp) in hostif_mib_set_request()
1304 if (!pp) in hostif_start_request()
1350 if (!pp) in hostif_ps_adhoc_set_request()
1365 if (!pp) in hostif_infrastructure_set_request()
1404 if (!pp) in hostif_adhoc_set_request()
1421 if (!pp) in hostif_adhoc_set2_request()
1441 if (!pp) in hostif_stop_request()
1453 if (!pp) in hostif_phy_information_request()
1474 if (!pp) in hostif_power_mgmt_request()
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dpm-cps.c233 uasm_i_nop(pp); in cps_gen_cache_routine()
284 uasm_i_ehb(pp); in cps_gen_flush_fsb()
286 uasm_i_ehb(pp); in cps_gen_flush_fsb()
310 uasm_i_sync(pp, __SYNC_full); in cps_gen_flush_fsb()
311 uasm_i_ehb(pp); in cps_gen_flush_fsb()
318 uasm_i_nop(pp); in cps_gen_flush_fsb()
322 uasm_i_ehb(pp); in cps_gen_flush_fsb()
324 uasm_i_ehb(pp); in cps_gen_flush_fsb()
335 uasm_i_ll(pp, t1, 0, r_addr); in cps_gen_set_top_bit()
336 uasm_i_or(pp, t1, t1, t0); in cps_gen_set_top_bit()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Daltera_uart.c107 sigs |= (pp->sigs & TIOCM_RTS); in altera_uart_get_mctrl()
114 unsigned short imr = pp->imr; in altera_uart_update_ctrl_reg()
120 if (!pp->port.irq) in altera_uart_update_ctrl_reg()
130 pp->sigs = sigs; in altera_uart_set_mctrl()
135 altera_uart_update_ctrl_reg(pp); in altera_uart_set_mctrl()
143 altera_uart_update_ctrl_reg(pp); in altera_uart_start_tx()
151 altera_uart_update_ctrl_reg(pp); in altera_uart_stop_tx()
159 altera_uart_update_ctrl_reg(pp); in altera_uart_stop_rx()
279 struct altera_uart *pp = from_timer(pp, t, tmr); in altera_uart_timer() local
335 pp->imr = 0; in altera_uart_shutdown()
[all …]

12345678910>>...16