Home
last modified time | relevance | path

Searched full:pp (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c488 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 …]
/linux/arch/arm/mach-mv78xx0/
H A Dpcie.c75 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 …]
/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()
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 …]
/linux/drivers/spi/
H A Dspi-lm70llp.c96 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 Dspi-butterfly.c69 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 …]
/linux/net/netfilter/ipvs/
H A Dip_vs_proto.c48 static int __used __init register_ip_vs_protocol(struct ip_vs_protocol *pp) in register_ip_vs_protocol() argument
50 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_protocol()
52 pp->next = ip_vs_proto_table[hash]; in register_ip_vs_protocol()
53 ip_vs_proto_table[hash] = pp; in register_ip_vs_protocol()
55 if (pp->init != NULL) in register_ip_vs_protocol()
56 pp->init(pp); in register_ip_vs_protocol()
65 register_ip_vs_proto_netns(struct netns_ipvs *ipvs, struct ip_vs_protocol *pp) in register_ip_vs_proto_netns() argument
67 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_proto_netns()
74 pd->pp = pp; /* For speed issues */ in register_ip_vs_proto_netns()
79 if (pp->init_netns != NULL) { in register_ip_vs_proto_netns()
[all …]
/linux/drivers/net/ethernet/intel/libeth/
H A Drx.c14 * @pp: &page_pool_params of the netdev to calculate the size for
21 static u32 libeth_rx_hw_len_mtu(const struct page_pool_params *pp, u32 max_len) in libeth_rx_hw_len_mtu() argument
25 len = READ_ONCE(pp->netdev->mtu) + LIBETH_RX_LL_LEN; in libeth_rx_hw_len_mtu()
28 pp->max_len); in libeth_rx_hw_len_mtu()
35 * @pp: &page_pool_params of the netdev to calculate the size for
43 static u32 libeth_rx_hw_len_truesize(const struct page_pool_params *pp, in libeth_rx_hw_len_truesize() argument
48 min = SKB_HEAD_ALIGN(pp->offset + LIBETH_RX_BUF_STRIDE); in libeth_rx_hw_len_truesize()
52 len = SKB_WITH_OVERHEAD(truesize - pp->offset); in libeth_rx_hw_len_truesize()
55 pp->max_len); in libeth_rx_hw_len_truesize()
63 * @pp: &page_pool_params of the netdev
[all …]
/linux/arch/s390/kernel/
H A Dctlreg.c58 struct ctlreg_parms *pp = info; in ctlreg_callback() local
62 if (pp->request == CTLREG_LOAD) { in ctlreg_callback()
63 regs[pp->cr].val = pp->val; in ctlreg_callback()
65 regs[pp->cr].val &= pp->andval; in ctlreg_callback()
66 regs[pp->cr].val |= pp->orval; in ctlreg_callback()
90 struct ctlreg_parms pp = { .cr = cr, .request = request, }; in system_ctlreg_modify() local
95 pp.orval = 1UL << data; in system_ctlreg_modify()
96 pp.andval = -1UL; in system_ctlreg_modify()
99 pp.orval = 0; in system_ctlreg_modify()
100 pp.andval = ~(1UL << data); in system_ctlreg_modify()
[all …]
/linux/fs/xfs/scrub/
H A Dparent.c280 struct xchk_pptrs *pp = priv; in xchk_parent_scan_dotdot() local
292 if (pp->parent_ino == parent_ino) in xchk_parent_scan_dotdot()
301 struct xchk_pptrs *pp) in xchk_parent_pptr_and_dotdot() argument
303 struct xfs_scrub *sc = pp->sc; in xchk_parent_pptr_and_dotdot()
307 error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot, &pp->parent_ino); in xchk_parent_pptr_and_dotdot()
310 if (!xfs_verify_dir_ino(sc->mp, pp->parent_ino)) { in xchk_parent_pptr_and_dotdot()
317 if (I_INO(sc->ip) != pp->parent_ino) in xchk_parent_pptr_and_dotdot()
329 if (pp->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_parent_pptr_and_dotdot()
333 error = xchk_xattr_walk(sc, sc->ip, xchk_parent_scan_dotdot, NULL, pp); in xchk_parent_pptr_and_dotdot()
379 struct xchk_pptrs *pp, in xchk_parent_dirent() argument
[all …]
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_pp.c62 struct enic_port_profile *pp; in enic_set_port_profile() local
71 ENIC_PP_BY_INDEX(enic, vf, pp, &err); in enic_set_port_profile()
75 if (!(pp->set & ENIC_SET_NAME) || !strlen(pp->name)) in enic_set_port_profile()
85 strlen(pp->name) + 1, pp->name); in enic_set_port_profile()
87 if (!is_zero_ether_addr(pp->mac_addr)) { in enic_set_port_profile()
88 client_mac = pp->mac_addr; in enic_set_port_profile()
92 netdev_err(netdev, "Cannot find pp mac address " in enic_set_port_profile()
107 if (pp->set & ENIC_SET_INSTANCE) { in enic_set_port_profile()
108 sprintf(uuid_str, "%pUB", pp->instance_uuid); in enic_set_port_profile()
114 if (pp->set & ENIC_SET_HOST) { in enic_set_port_profile()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddm_pp_smu.h51 const void *pp; member
104 void (*set_display_count)(struct pp_smu *pp, int count);
113 void (*set_wm_ranges)(struct pp_smu *pp,
119 void (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int mhz);
125 void (*set_min_deep_sleep_dcfclk)(struct pp_smu *pp, int mhz);
130 void (*set_hard_min_fclk_by_freq)(struct pp_smu *pp, int mhz);
135 void (*set_hard_min_socclk_by_freq)(struct pp_smu *pp, int mhz);
138 void (*set_pme_wa_enable)(struct pp_smu *pp);
174 enum pp_smu_status (*set_display_count)(struct pp_smu *pp, int count);
179 enum pp_smu_status (*set_hard_min_dcfclk_by_freq)(struct pp_smu *pp, int Mhz);
[all …]
/linux/fs/jffs2/
H A Dcompr_rubin.c42 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 …]
/linux/drivers/macintosh/
H A Dsmu.c1081 struct smu_private *pp; in smu_open() local
1084 pp = kzalloc_obj(struct smu_private); in smu_open()
1085 if (!pp) in smu_open()
1087 spin_lock_init(&pp->lock); in smu_open()
1088 pp->mode = smu_file_commands; in smu_open()
1089 init_waitqueue_head(&pp->wait); in smu_open()
1093 list_add(&pp->list, &smu_clist); in smu_open()
1095 file->private_data = pp; in smu_open()
1104 struct smu_private *pp = misc; in smu_user_cmd_done() local
1106 wake_up_all(&pp->wait); in smu_user_cmd_done()
[all …]
/linux/drivers/tty/serial/
H A Daltera_uart.c101 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_get_mctrl() local
106 sigs |= (pp->sigs & TIOCM_RTS); in altera_uart_get_mctrl()
111 static void altera_uart_update_ctrl_reg(struct altera_uart *pp) in altera_uart_update_ctrl_reg() argument
113 unsigned short imr = pp->imr; in altera_uart_update_ctrl_reg()
119 if (!pp->port.irq) in altera_uart_update_ctrl_reg()
122 altera_uart_writel(&pp->port, imr, ALTERA_UART_CONTROL_REG); in altera_uart_update_ctrl_reg()
127 struct altera_uart *pp = container_of(port, struct altera_uart, port); in altera_uart_set_mctrl() local
129 pp->sigs = sigs; in altera_uart_set_mctrl()
131 pp->imr |= ALTERA_UART_CONTROL_RTS_MSK; in altera_uart_set_mctrl()
133 pp->imr &= ~ALTERA_UART_CONTROL_RTS_MSK; in altera_uart_set_mctrl()
[all …]
/linux/tools/testing/selftests/net/
H A Dnl_netdev.py201 return [pp for pp in pp_list if pp.get("ifindex") == nsim.ifindex]
211 refs = sum([pp["inflight"] for pp in pp_list])
223 refs = sum([pp["inflight"] for pp in pp_list if pp.get("ifindex") == nsim.ifindex])
230 refs = sum([pp["inflight"] for pp i
[all...]
/linux/drivers/pci/controller/dwc/
H A Dpcie-uniphier.c174 struct dw_pcie_rp *pp = irq_data_get_irq_chip_data(d); in uniphier_pcie_irq_mask() local
175 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_irq_mask()
180 raw_spin_lock_irqsave(&pp->lock, flags); in uniphier_pcie_irq_mask()
186 raw_spin_unlock_irqrestore(&pp->lock, flags); in uniphier_pcie_irq_mask()
191 struct dw_pcie_rp *pp = irq_data_get_irq_chip_data(d); in uniphier_pcie_irq_unmask() local
192 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_irq_unmask()
197 raw_spin_lock_irqsave(&pp->lock, flags); in uniphier_pcie_irq_unmask()
203 raw_spin_unlock_irqrestore(&pp->lock, flags); in uniphier_pcie_irq_unmask()
228 struct dw_pcie_rp *pp = irq_desc_get_handler_data(desc); in uniphier_pcie_irq_handler() local
229 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in uniphier_pcie_irq_handler()
[all …]
H A Dpcie-spear13xx.c88 struct dw_pcie_rp *pp = &pci->pp; in spear13xx_pcie_irq_handler() local
95 dw_handle_msi_irq(pp); in spear13xx_pcie_irq_handler()
121 static int spear13xx_pcie_host_init(struct dw_pcie_rp *pp) in spear13xx_pcie_host_init() argument
123 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in spear13xx_pcie_host_init()
155 struct dw_pcie_rp *pp = &pci->pp; in spear13xx_add_pcie_port() local
159 pp->irq = platform_get_irq(pdev, 0); in spear13xx_add_pcie_port()
160 if (pp->irq < 0) in spear13xx_add_pcie_port()
161 return pp->irq; in spear13xx_add_pcie_port()
163 ret = devm_request_irq(dev, pp->irq, spear13xx_pcie_irq_handler, in spear13xx_add_pcie_port()
167 dev_err(dev, "failed to request irq %d\n", pp->irq); in spear13xx_add_pcie_port()
[all …]
H A Dpcie-histb.c77 static void histb_pcie_dbi_w_mode(struct dw_pcie_rp *pp, bool enable) in histb_pcie_dbi_w_mode() argument
79 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_dbi_w_mode()
91 static void histb_pcie_dbi_r_mode(struct dw_pcie_rp *pp, bool enable) in histb_pcie_dbi_r_mode() argument
93 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_dbi_r_mode()
110 histb_pcie_dbi_r_mode(&pci->pp, true); in histb_pcie_read_dbi()
112 histb_pcie_dbi_r_mode(&pci->pp, false); in histb_pcie_read_dbi()
120 histb_pcie_dbi_w_mode(&pci->pp, true); in histb_pcie_write_dbi()
122 histb_pcie_dbi_w_mode(&pci->pp, false); in histb_pcie_write_dbi()
180 static int histb_pcie_host_init(struct dw_pcie_rp *pp) in histb_pcie_host_init() argument
182 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in histb_pcie_host_init()
[all …]
H A Dpci-exynos.c224 static int exynos_pcie_host_init(struct dw_pcie_rp *pp) in exynos_pcie_host_init() argument
226 struct dw_pcie *pci = to_dw_pcie_from_pp(pp); in exynos_pcie_host_init()
229 pp->bridge->ops = &exynos_pci_ops; in exynos_pcie_host_init()
250 struct dw_pcie_rp *pp = &pci->pp; in exynos_add_pcie_port() local
254 pp->irq = platform_get_irq(pdev, 0); in exynos_add_pcie_port()
255 if (pp->irq < 0) in exynos_add_pcie_port()
256 return pp->irq; in exynos_add_pcie_port()
258 ret = devm_request_irq(dev, pp->irq, exynos_pcie_irq_handler, in exynos_add_pcie_port()
265 pp->ops = &exynos_pcie_host_ops; in exynos_add_pcie_port()
266 pp->msi_irq[0] = -ENODEV; in exynos_add_pcie_port()
[all …]
/linux/arch/sparc/kernel/
H A Dof_device_64.c282 static int __init use_1to1_mapping(struct device_node *pp) in use_1to1_mapping() argument
285 if (of_property_present(pp, "ranges")) in use_1to1_mapping()
297 if (of_node_name_eq(pp, "dma") || in use_1to1_mapping()
298 of_node_name_eq(pp, "espdma") || in use_1to1_mapping()
299 of_node_name_eq(pp, "ledma") || in use_1to1_mapping()
300 of_node_name_eq(pp, "lebuffer")) in use_1to1_mapping()
307 if (of_node_name_eq(pp, "pci")) in use_1to1_mapping()
356 struct device_node *pp = p_op->dev.of_node; in build_device_resources() local
368 if (use_1to1_mapping(pp)) { in build_device_resources()
378 dp = pp; in build_device_resources()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_pingpong.h49 int (*enable_tearcheck)(struct dpu_hw_pingpong *pp,
55 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);
/linux/drivers/scsi/elx/libefc/
H A Defc_els.c485 } *pp; in efc_send_prli() local
489 els = efc_els_io_alloc(node, sizeof(*pp)); in efc_send_prli()
498 pp = els->io.req.virt; in efc_send_prli()
500 memset(pp, 0, sizeof(*pp)); in efc_send_prli()
502 pp->prli.prli_cmd = ELS_PRLI; in efc_send_prli()
503 pp->prli.prli_spp_len = 16; in efc_send_prli()
504 pp->prli.prli_len = cpu_to_be16(sizeof(*pp)); in efc_send_prli()
505 pp->spp.spp_type = FC_TYPE_FCP; in efc_send_prli()
506 pp->spp.spp_type_ext = 0; in efc_send_prli()
507 pp->spp.spp_flags = FC_SPP_EST_IMG_PAIR; in efc_send_prli()
[all …]
/linux/drivers/gpio/
H A Dgpio-dwapb.c454 struct dwapb_port_property *pp) in dwapb_convert_irqs() argument
459 for (i = 0; i < pp->ngpio; ++i) { in dwapb_convert_irqs()
460 if (!pp->irq[i]) in dwapb_convert_irqs()
463 pirq->irq[pirq->nr_irqs++] = pp->irq[i]; in dwapb_convert_irqs()
471 struct dwapb_port_property *pp) in dwapb_configure_irqs() argument
482 if (dwapb_convert_irqs(pirq, pp)) { in dwapb_configure_irqs()
483 dev_warn(gpio->dev, "no IRQ for port%d\n", pp->idx); in dwapb_configure_irqs()
505 err = devm_request_irq(gpio->dev, pp->irq[0], in dwapb_configure_irqs()
528 struct dwapb_port_property *pp, in dwapb_gpio_add_port() argument
538 port->idx = pp->idx; in dwapb_gpio_add_port()
[all …]
/linux/drivers/clk/at91/
H A Dsam9x7.c428 * @pp: PLL parents
437 const char *pp[8]; member
447 .pp = { "plla_div2pmcck", },
456 .pp = { "plla_div2pmcck", },
465 .pp = { "plla_div2pmcck", },
474 .pp = { "plla_div2pmcck", },
483 .pp = { "plla_div2pmcck", },
492 .pp = { "plla_div2pmcck", },
501 .pp = { "plla_div2pmcck", },
511 .pp = { "audiopll_divpmcck", "plla_div2pmcck", },
[all …]
H A Dsama7g5.c544 * @pp: PLL parents (entry formed by PLL components identifiers
557 } pp[8]; member
567 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(IMG, DIV0),
576 .pp = { PLL_IDS_TO_ARR_ENTRY(AUDIO, DIV0), },
584 .pp = { PLL_IDS_TO_ARR_ENTRY(DDR, DIV0), PLL_IDS_TO_ARR_ENTRY(IMG, DIV0), },
592 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
600 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
608 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
616 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
624 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), },
[all …]

12345678910>>...15