Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dmsm_sdhci.c91 struct msm_sdhc *prv = dev_get_priv(dev); in msm_sdc_probe() local
92 struct sdhci_host *host = &prv->host; in msm_sdc_probe()
107 writel(readl(prv->base + SDCC_MCI_POWER) | SDCC_MCI_POWER_SW_RST, in msm_sdc_probe()
108 prv->base + SDCC_MCI_POWER); in msm_sdc_probe()
112 if (wait_for_bit_le32(prv->base + SDCC_MCI_STATUS2, in msm_sdc_probe()
119 if (wait_for_bit_le32(prv->base + SDCC_MCI_POWER, in msm_sdc_probe()
126 writel(1, prv->base + SDCC_MCI_HC_MODE); in msm_sdc_probe()
128 core_version = readl(prv->base + SDCC_MCI_VERSION); in msm_sdc_probe()
149 host->mmc->priv = &prv->host; in msm_sdc_probe()
H A Drockchip_sdhci.c522 struct rockchip_sdhc *prv = dev_get_priv(dev); in rockchip_sdhci_probe() local
523 struct sdhci_host *host = &prv->host; in rockchip_sdhci_probe()
560 prv->emmc_clk = clk; in rockchip_sdhci_probe()
561 prv->dev = dev; in rockchip_sdhci_probe()
585 host->mmc->priv = &prv->host; in rockchip_sdhci_probe()
/OK3568_Linux_fs/kernel/lib/
H A Dscatterlist.c271 struct scatterlist *sg, *prv; in __sg_alloc_table() local
286 prv = NULL; in __sg_alloc_table()
311 if (prv) in __sg_alloc_table()
324 if (prv) in __sg_alloc_table()
325 sg_chain(prv, prv_max_ents, sg); in __sg_alloc_table()
335 prv = sg; in __sg_alloc_table()
431 struct scatterlist *prv, unsigned int left_pages, in __sg_alloc_table_from_pages() argument
436 struct scatterlist *s = prv; in __sg_alloc_table_from_pages()
446 if (IS_ENABLED(CONFIG_ARCH_NO_SG_CHAIN) && prv) in __sg_alloc_table_from_pages()
449 if (prv) { in __sg_alloc_table_from_pages()
[all …]
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxace.c83 int *prv = NULL; /* points to return value from callback */ in XaceHook() local
107 prv = &u.res.status; in XaceHook()
115 prv = &u.dev.status; in XaceHook()
126 prv = &u.send.status; in XaceHook()
136 prv = &u.recv.status; in XaceHook()
144 prv = &u.client.status; in XaceHook()
152 prv = &u.ext.status; in XaceHook()
159 prv = &u.server.status; in XaceHook()
168 prv = &u.screen.status; in XaceHook()
189 return prv ? *prv : Success; in XaceHook()
/OK3568_Linux_fs/kernel/drivers/media/platform/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 …]
/OK3568_Linux_fs/kernel/tools/virtio/linux/
H A Dscatterlist.h90 static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, in sg_chain() argument
96 prv[prv_nents - 1].offset = 0; in sg_chain()
97 prv[prv_nents - 1].length = 0; in sg_chain()
103 prv[prv_nents - 1].page_link = ((unsigned long) sgl | 0x01) & ~0x02; in sg_chain()
/OK3568_Linux_fs/kernel/net/atm/
H A Datm_sysfs.c42 &aaddr->addr.sas_addr.prv[0], in show_atmaddress()
43 &aaddr->addr.sas_addr.prv[1], in show_atmaddress()
44 &aaddr->addr.sas_addr.prv[3], in show_atmaddress()
45 &aaddr->addr.sas_addr.prv[13], in show_atmaddress()
46 &aaddr->addr.sas_addr.prv[19]); in show_atmaddress()
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 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 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 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()
/OK3568_Linux_fs/kernel/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()
449 static int vidioc_enum_fmt(struct file *file, void *prv, struct v4l2_fmtdesc *f) in vidioc_enum_fmt() argument
462 static int vidioc_g_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_g_fmt() argument
464 struct rga_ctx *ctx = prv; in vidioc_g_fmt()
486 static int vidioc_try_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_try_fmt() argument
519 static int vidioc_s_fmt(struct file *file, void *prv, struct v4l2_format *f) in vidioc_s_fmt() argument
521 struct rga_ctx *ctx = prv; in vidioc_s_fmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/edac/
H A Daltera_edac.c840 const struct edac_device_prv_data *prv = device->data; in altr_check_ecc_deps() local
842 if (readl(base + prv->ecc_en_ofst) & prv->ecc_enable_mask) in altr_check_ecc_deps()
1041 const struct edac_device_prv_data *prv; in altr_init_a10_ecc_device_type() local
1061 prv = pdev_id->data; in altr_init_a10_ecc_device_type()
1062 if (!prv) in altr_init_a10_ecc_device_type()
1066 prv->ecc_enable_mask, 0); in altr_init_a10_ecc_device_type()
1233 const struct edac_device_prv_data *prv = device->data; in altr_l2_check_deps() local
1235 if ((readl(base) & prv->ecc_enable_mask) == in altr_l2_check_deps()
1236 prv->ecc_enable_mask) in altr_l2_check_deps()
1464 const struct edac_device_prv_data *prv = &a10_sdmmceccb_data; in altr_portb_setup() local
[all …]
H A Dsb_edac.c1757 u64 limit, prv = 0; in get_memory_layout() local
1787 prv = 0; in get_memory_layout()
1797 if (limit <= prv) in get_memory_layout()
1809 prv = limit; in get_memory_layout()
1830 prv = 0; in get_memory_layout()
1834 if (limit <= prv) in get_memory_layout()
1849 prv = limit; in get_memory_layout()
1944 u64 ch_addr, offset, limit = 0, prv = 0; in get_memory_error_data() local
1974 if (limit <= prv) { in get_memory_error_data()
1980 prv = limit; in get_memory_error_data()
[all …]
/OK3568_Linux_fs/kernel/io_uring/
H A Dio-wq.h90 #define wq_list_for_each(pos, prv, head) \ argument
91 for (pos = (head)->first, prv = NULL; pos; prv = pos, pos = (pos)->next)
/OK3568_Linux_fs/kernel/drivers/media/platform/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);
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_fb.c209 struct rockchip_drm_private *prv = dev->dev_private; in rockchip_drm_atomic_helper_commit_tail_rpm() local
220 mutex_lock(&prv->ovl_lock); in rockchip_drm_atomic_helper_commit_tail_rpm()
222 mutex_unlock(&prv->ovl_lock); in rockchip_drm_atomic_helper_commit_tail_rpm()
/OK3568_Linux_fs/kernel/include/linux/
H A Dscatterlist.h194 static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, in sg_chain() argument
197 __sg_chain(&prv[prv_nents - 1], sgl); in sg_chain()
297 struct scatterlist *prv, unsigned int left_pages,
/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Decp.c1923 int mbedtls_ecp_check_pub_priv( const mbedtls_ecp_keypair *pub, const mbedtls_ecp_keypair *prv ) in mbedtls_ecp_check_pub_priv() argument
1930 pub->grp.id != prv->grp.id || in mbedtls_ecp_check_pub_priv()
1931 mbedtls_mpi_cmp_mpi( &pub->Q.X, &prv->Q.X ) || in mbedtls_ecp_check_pub_priv()
1932 mbedtls_mpi_cmp_mpi( &pub->Q.Y, &prv->Q.Y ) || in mbedtls_ecp_check_pub_priv()
1933 mbedtls_mpi_cmp_mpi( &pub->Q.Z, &prv->Q.Z ) ) in mbedtls_ecp_check_pub_priv()
1942 mbedtls_ecp_group_copy( &grp, &prv->grp ); in mbedtls_ecp_check_pub_priv()
1945 MBEDTLS_MPI_CHK( mbedtls_ecp_mul( &grp, &Q, &prv->d, &prv->grp.G, NULL, NULL ) ); in mbedtls_ecp_check_pub_priv()
1947 if( mbedtls_mpi_cmp_mpi( &Q.X, &prv->Q.X ) || in mbedtls_ecp_check_pub_priv()
1948 mbedtls_mpi_cmp_mpi( &Q.Y, &prv->Q.Y ) || in mbedtls_ecp_check_pub_priv()
1949 mbedtls_mpi_cmp_mpi( &Q.Z, &prv->Q.Z ) ) in mbedtls_ecp_check_pub_priv()
H A Drsa.c219 int mbedtls_rsa_check_pub_priv( const mbedtls_rsa_context *pub, const mbedtls_rsa_context *prv ) in mbedtls_rsa_check_pub_priv() argument
222 mbedtls_rsa_check_privkey( prv ) != 0 ) in mbedtls_rsa_check_pub_priv()
227 if( mbedtls_mpi_cmp_mpi( &pub->N, &prv->N ) != 0 || in mbedtls_rsa_check_pub_priv()
228 mbedtls_mpi_cmp_mpi( &pub->E, &prv->E ) != 0 ) in mbedtls_rsa_check_pub_priv()

123