Home
last modified time | relevance | path

Searched refs:prv (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/linux/drivers/mtd/nand/raw/
H A Dmpc5121_nfc.c125 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in nfc_read() local
127 return in_be16(prv->regs + reg); in nfc_read()
134 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in nfc_write() local
136 out_be16(prv->regs + reg, val); in nfc_write()
204 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_irq() local
207 wake_up(&prv->irq_waitq); in mpc5121_nfc_irq()
216 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_done() local
221 rv = wait_event_timeout(prv->irq_waitq, in mpc5121_nfc_done()
225 dev_warn(prv->dev, in mpc5121_nfc_done()
273 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in ads5121_chipselect_init() local
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Dswitch_to_32.h17 #define SWITCH_ENTER(prv) \ argument
19 if (test_tsk_thread_flag(prv, TIF_USEDFPU)) { \
21 fpsave(&(prv)->thread.float_regs[0], &(prv)->thread.fsr, \
22 &(prv)->thread.fpqueue[0], &(prv)->thread.fpqdepth); \
23 clear_tsk_thread_flag(prv, TIF_USEDFPU); \
24 (prv)->thread.kregs->psr &= ~PSR_EF; \
30 #define SWITCH_ENTER(prv) /* */ argument
/openbmc/u-boot/drivers/mmc/
H A Dmsm_sdhci.c90 struct msm_sdhc *prv = dev_get_priv(dev); in msm_sdc_probe() local
91 struct sdhci_host *host = &prv->host; in msm_sdc_probe()
106 writel(readl(prv->base + SDCC_MCI_POWER) | SDCC_MCI_POWER_SW_RST, in msm_sdc_probe()
107 prv->base + SDCC_MCI_POWER); in msm_sdc_probe()
111 if (wait_for_bit_le32(prv->base + SDCC_MCI_STATUS2, in msm_sdc_probe()
118 if (wait_for_bit_le32(prv->base + SDCC_MCI_POWER, in msm_sdc_probe()
125 writel(1, prv->base + SDCC_MCI_HC_MODE); in msm_sdc_probe()
127 core_version = readl(prv->base + SDCC_MCI_VERSION); in msm_sdc_probe()
148 host->mmc->priv = &prv->host; in msm_sdc_probe()
H A Drockchip_sdhci.c37 struct rockchip_sdhc *prv = dev_get_priv(dev); in arasan_sdhci_probe() local
38 struct sdhci_host *host = &prv->host; in arasan_sdhci_probe()
76 host->mmc->priv = &prv->host; in arasan_sdhci_probe()
H A Daspeed_sdhci.c35 struct aspeed_sdhci_priv *prv = dev_get_priv(dev); in aspeed_sdhci_probe() local
36 struct sdhci_host *host = prv->host; in aspeed_sdhci_probe()
/openbmc/linux/io_uring/
H A Dslist.h9 #define wq_list_for_each(pos, prv, head) \ argument
10 for (pos = (head)->first, prv = NULL; pos; prv = pos, pos = (pos)->next)
12 #define wq_list_for_each_resume(pos, prv) \ argument
13 for (; pos; prv = pos, pos = (pos)->next)
/openbmc/linux/drivers/media/platform/samsung/s5p-g2d/
H A Dg2d.c300 static int vidioc_enum_fmt(struct file *file, void *prv, struct v4l2_fmtdesc *f) in vidioc_enum_fmt() argument
308 static int vidioc_g_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_g_fmt() argument
310 struct g2d_ctx *ctx = prv; in vidioc_g_fmt()
330 static int vidioc_try_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_try_fmt() argument
360 static int vidioc_s_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_s_fmt() argument
362 struct g2d_ctx *ctx = prv; in vidioc_s_fmt()
371 ret = vidioc_try_fmt(file, prv, f); in vidioc_s_fmt()
400 static int vidioc_g_selection(struct file *file, void *prv, in vidioc_g_selection() argument
403 struct g2d_ctx *ctx = prv; in vidioc_g_selection()
450 static int vidioc_try_selection(struct file *file, void *prv, in vidioc_try_selection() argument
[all …]
/openbmc/linux/tools/virtio/linux/
H A Dscatterlist.h91 static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, in sg_chain() argument
97 prv[prv_nents - 1].offset = 0; in sg_chain()
98 prv[prv_nents - 1].length = 0; in sg_chain()
104 prv[prv_nents - 1].page_link = ((unsigned long) sgl | 0x01) & ~0x02; in sg_chain()
/openbmc/linux/lib/
H A Dscatterlist.c290 struct scatterlist *sg, *prv; in __sg_alloc_table() local
305 prv = NULL; in __sg_alloc_table()
330 if (prv) in __sg_alloc_table()
343 if (prv) in __sg_alloc_table()
344 sg_chain(prv, prv_max_ents, sg); in __sg_alloc_table()
354 prv = sg; in __sg_alloc_table()
461 struct scatterlist *s = sgt_append->prv; in sg_alloc_append_table_from_pages()
472 if (IS_ENABLED(CONFIG_ARCH_NO_SG_CHAIN) && sgt_append->prv) in sg_alloc_append_table_from_pages()
475 if (sgt_append->prv) { in sg_alloc_append_table_from_pages()
476 unsigned long next_pfn = (page_to_phys(sg_page(sgt_append->prv)) + in sg_alloc_append_table_from_pages()
[all …]
/openbmc/linux/net/atm/
H A Datm_sysfs.c42 &aaddr->addr.sas_addr.prv[0], in atmaddress_show()
43 &aaddr->addr.sas_addr.prv[1], in atmaddress_show()
44 &aaddr->addr.sas_addr.prv[3], in atmaddress_show()
45 &aaddr->addr.sas_addr.prv[13], in atmaddress_show()
46 &aaddr->addr.sas_addr.prv[19]); in atmaddress_show()
H A Daddr.c21 return *addr->sas_addr.prv ? 0 : -EINVAL; in check_addr()
30 if (*a->sas_addr.prv) in identical()
31 if (memcmp(a->sas_addr.prv, b->sas_addr.prv, ATM_ESA_LEN)) in identical()
H A Dsignaling.c80 if (!*vcc->local.sas_addr.prv && !*vcc->local.sas_addr.pub) { in sigd_send()
82 memcpy(vcc->local.sas_addr.prv, in sigd_send()
83 msg->local.sas_addr.prv, ATM_ESA_LEN); in sigd_send()
H A Dclip.c712 if (*addr->sas_addr.prv) in svc_addr()
714 } else if (!*addr->sas_addr.prv) { in svc_addr()
718 if (*addr->sas_addr.prv) { in svc_addr()
719 unsigned char *prv = addr->sas_addr.prv; in svc_addr() local
723 fields = *prv == ATM_AFI_E164 ? e164 : code; in svc_addr()
726 seq_printf(seq, "%02X", *prv++); in svc_addr()
H A Dproc.c214 *vcc->remote.sas_addr.pub && *vcc->remote.sas_addr.prv ? "+" : ""); in svc_info()
215 if (*vcc->remote.sas_addr.prv) { in svc_info()
219 seq_printf(seq, "%02x", vcc->remote.sas_addr.prv[i]); in svc_info()
/openbmc/linux/drivers/media/platform/rockchip/rga/
H A Drga.c34 static void device_run(void *prv) in device_run() argument
36 struct rga_ctx *ctx = prv; in device_run()
56 static irqreturn_t rga_isr(int irq, void *prv) in rga_isr() argument
58 struct rockchip_rga *rga = prv; in rga_isr()
437 static int vidioc_enum_fmt(struct file *file, void *prv, struct v4l2_fmtdesc *f) in vidioc_enum_fmt() argument
450 static int vidioc_g_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_g_fmt() argument
452 struct rga_ctx *ctx = prv; in vidioc_g_fmt()
474 static int vidioc_try_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_try_fmt() argument
507 static int vidioc_s_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_s_fmt() argument
509 struct rga_ctx *ctx = prv; in vidioc_s_fmt()
[all …]
/openbmc/linux/drivers/media/platform/st/stm32/dma2d/
H A Ddma2d.c346 static int vidioc_enum_fmt(struct file *file, void *prv, struct v4l2_fmtdesc *f) in vidioc_enum_fmt() argument
355 static int vidioc_g_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_g_fmt() argument
357 struct dma2d_ctx *ctx = prv; in vidioc_g_fmt()
380 static int vidioc_try_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_try_fmt() argument
382 struct dma2d_ctx *ctx = prv; in vidioc_try_fmt()
423 static int vidioc_s_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_s_fmt() argument
425 struct dma2d_ctx *ctx = prv; in vidioc_s_fmt()
434 ret = vidioc_try_fmt(file, prv, f); in vidioc_s_fmt()
470 static void device_run(void *prv) in device_run() argument
472 struct dma2d_ctx *ctx = prv; in device_run()
[all …]
/openbmc/linux/drivers/edac/
H A Daltera_edac.c849 const struct edac_device_prv_data *prv = device->data; in altr_check_ecc_deps() local
851 if (readl(base + prv->ecc_en_ofst) & prv->ecc_enable_mask) in altr_check_ecc_deps()
1050 const struct edac_device_prv_data *prv; in altr_init_a10_ecc_device_type() local
1070 prv = pdev_id->data; in altr_init_a10_ecc_device_type()
1071 if (!prv) in altr_init_a10_ecc_device_type()
1075 prv->ecc_enable_mask, 0); in altr_init_a10_ecc_device_type()
1094 const struct edac_device_prv_data *prv = device->data; in altr_s10_sdram_check_ecc_deps() local
1109 sdram_ecc_addr = (unsigned long)sdram_addr + prv->ecc_en_ofst; in altr_s10_sdram_check_ecc_deps()
1114 if (!ret && (read_reg & prv->ecc_enable_mask)) in altr_s10_sdram_check_ecc_deps()
1280 const struct edac_device_prv_data *prv = device->data; in altr_l2_check_deps() local
[all …]
H A Dsb_edac.c1770 u64 limit, prv = 0; in get_memory_layout() local
1800 prv = 0; in get_memory_layout()
1810 if (limit <= prv) in get_memory_layout()
1822 prv = limit; in get_memory_layout()
1843 prv = 0; in get_memory_layout()
1847 if (limit <= prv) in get_memory_layout()
1862 prv = limit; in get_memory_layout()
2050 u64 ch_addr, offset, limit = 0, prv = 0; in get_memory_error_data() local
2081 if (limit <= prv) { in get_memory_error_data()
2087 prv = limit; in get_memory_error_data()
[all …]
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Disppreview.h150 int omap3isp_preview_register_entities(struct isp_prev_device *prv,
152 void omap3isp_preview_unregister_entities(struct isp_prev_device *prv);
/openbmc/linux/include/uapi/linux/
H A Datm.h209 unsigned char prv[ATM_ESA_LEN];/* private ATM address */ member
220 return *addr.sas_addr.prv || *addr.sas_addr.pub; in atmsvc_addr_in_use()
/openbmc/linux/include/linux/
H A Dscatterlist.h47 struct scatterlist *prv; /* last populated sge in the table */ member
238 static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, in sg_chain() argument
241 __sg_chain(&prv[prv_nents - 1], sgl); in sg_chain()
/openbmc/linux/include/linux/mmc/
H A Dcard.h16 unsigned char prv; member
/openbmc/linux/Documentation/driver-api/mmc/
H A Dmmc-dev-attrs.rst31 prv Product Revision (from CID Register)
/openbmc/qemu/tests/qtest/
H A Dbios-tables-test.c727 uint8_t type, prv, crt; in test_smbios_structs() local
756 prv = crt = 1; in test_smbios_structs()
757 while (prv || crt) { in test_smbios_structs()
758 prv = crt; in test_smbios_structs()
/openbmc/u-boot/common/
H A Ddlmalloc.c800 mchunkptr prv = prev_chunk(p); local
801 assert(next_chunk(prv) == p);
802 do_check_free_chunk(prv);

12