Searched refs:prv (Results 1 - 28 of 28) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
H A Dmpc5121_nfc.c139 struct mpc5121_nfc_prv *prv = chip->priv; nfc_read() local
141 return in_be16(prv->regs + reg); nfc_read()
148 struct mpc5121_nfc_prv *prv = chip->priv; nfc_write() local
150 out_be16(prv->regs + reg, val); nfc_write()
218 struct mpc5121_nfc_prv *prv = chip->priv; mpc5121_nfc_irq() local
221 wake_up(&prv->irq_waitq); mpc5121_nfc_irq()
230 struct mpc5121_nfc_prv *prv = chip->priv; mpc5121_nfc_done() local
235 rv = wait_event_timeout(prv->irq_waitq, mpc5121_nfc_done()
239 dev_warn(prv->dev, mpc5121_nfc_done()
285 struct mpc5121_nfc_prv *prv = chip->priv; ads5121_chipselect_init() local
290 prv->csreg = of_iomap(dn, 0); ads5121_chipselect_init()
292 if (!prv->csreg) ads5121_chipselect_init()
296 prv->csreg += 9; ads5121_chipselect_init()
307 struct mpc5121_nfc_prv *prv = nand->priv; ads5121_select_chip() local
310 v = in_8(prv->csreg); ads5121_select_chip()
319 out_8(prv->csreg, v); ads5121_select_chip()
337 struct mpc5121_nfc_prv *prv = chip->priv; mpc5121_nfc_command() local
339 prv->column = (column >= 0) ? column : 0; mpc5121_nfc_command()
340 prv->spareonly = 0; mpc5121_nfc_command()
355 prv->column += 256; mpc5121_nfc_command()
361 prv->spareonly = 1; mpc5121_nfc_command()
398 prv->column = 1; mpc5121_nfc_command()
400 prv->column = 0; mpc5121_nfc_command()
410 struct mpc5121_nfc_prv *prv = nand->priv; mpc5121_nfc_copy_spare() local
445 memcpy_toio(prv->regs + NFC_SPARE_AREA(s) + o, mpc5121_nfc_copy_spare()
449 prv->regs + NFC_SPARE_AREA(s) + o, blksize); mpc5121_nfc_copy_spare()
462 struct mpc5121_nfc_prv *prv = chip->priv; mpc5121_nfc_buf_copy() local
463 uint c = prv->column; mpc5121_nfc_buf_copy()
467 if (prv->spareonly || c >= mtd->writesize) { mpc5121_nfc_buf_copy()
472 prv->column += len; mpc5121_nfc_buf_copy()
482 prv->column += l; mpc5121_nfc_buf_copy()
485 memcpy_toio(prv->regs + NFC_MAIN_AREA(0) + c, buf, l); mpc5121_nfc_buf_copy()
487 memcpy_fromio(buf, prv->regs + NFC_MAIN_AREA(0) + c, l); mpc5121_nfc_buf_copy()
540 struct mpc5121_nfc_prv *prv = chip->priv; mpc5121_nfc_read_hw_config() local
552 dev_err(prv->dev, "Missing 'fsl,mpc5121-reset' " mpc5121_nfc_read_hw_config()
559 dev_err(prv->dev, "Error mapping reset module node!\n"); mpc5121_nfc_read_hw_config()
604 dev_notice(prv->dev, "Configured for " mpc5121_nfc_read_hw_config()
619 struct mpc5121_nfc_prv *prv = chip->priv; mpc5121_nfc_free() local
621 if (prv->clk) mpc5121_nfc_free()
622 clk_disable_unprepare(prv->clk); mpc5121_nfc_free()
624 if (prv->csreg) mpc5121_nfc_free()
625 iounmap(prv->csreg); mpc5121_nfc_free()
633 struct mpc5121_nfc_prv *prv; mpc5121_nfc_probe() local
654 prv = devm_kzalloc(dev, sizeof(*prv), GFP_KERNEL); mpc5121_nfc_probe()
655 if (!prv) mpc5121_nfc_probe()
658 mtd = &prv->mtd; mpc5121_nfc_probe()
659 chip = &prv->chip; mpc5121_nfc_probe()
663 chip->priv = prv; mpc5121_nfc_probe()
664 prv->dev = dev; mpc5121_nfc_probe()
673 prv->irq = irq_of_parse_and_map(dn, 0); mpc5121_nfc_probe()
674 if (prv->irq == NO_IRQ) { mpc5121_nfc_probe()
699 prv->regs = devm_ioremap(dev, regs_paddr, regs_size); mpc5121_nfc_probe()
700 if (!prv->regs) { mpc5121_nfc_probe()
743 prv->clk = clk; mpc5121_nfc_probe()
776 init_waitqueue_head(&prv->irq_waitq); mpc5121_nfc_probe()
777 retval = devm_request_irq(dev, prv->irq, &mpc5121_nfc_irq, 0, DRV_NAME, mpc5121_nfc_probe()
/linux-4.4.14/arch/sparc/include/asm/
H A Dswitch_to_32.h16 #define SWITCH_ENTER(prv) \
18 if (test_tsk_thread_flag(prv, TIF_USEDFPU)) { \
20 fpsave(&(prv)->thread.float_regs[0], &(prv)->thread.fsr, \
21 &(prv)->thread.fpqueue[0], &(prv)->thread.fpqdepth); \
22 clear_tsk_thread_flag(prv, TIF_USEDFPU); \
23 (prv)->thread.kregs->psr &= ~PSR_EF; \
29 #define SWITCH_ENTER(prv) /* */
/linux-4.4.14/tools/virtio/linux/
H A Dscatterlist.h83 * @prv: First scatterlist
84 * @prv_nents: Number of entries in prv
88 * Links @prv@ and @sgl@ together, to form a longer scatterlist.
91 static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, sg_chain() argument
97 prv[prv_nents - 1].offset = 0; sg_chain()
98 prv[prv_nents - 1].length = 0; sg_chain()
104 prv[prv_nents - 1].page_link = ((unsigned long) sgl | 0x01) & ~0x02; sg_chain()
/linux-4.4.14/block/
H A Dblk-map.c13 struct iovec *prv, struct iovec *cur) iovec_gap_to_prv()
20 if (prv->iov_base == NULL && prv->iov_len == 0) iovec_gap_to_prv()
21 /* prv is not set - don't check */ iovec_gap_to_prv()
24 prev_end = (unsigned long)(prv->iov_base + prv->iov_len); iovec_gap_to_prv()
88 struct iovec iov, prv = {.iov_base = NULL, .iov_len = 0}; blk_rq_map_user_iov() local
103 iovec_gap_to_prv(q, &prv, &iov)) blk_rq_map_user_iov()
106 prv.iov_base = iov.iov_base; blk_rq_map_user_iov()
107 prv.iov_len = iov.iov_len; blk_rq_map_user_iov()
12 iovec_gap_to_prv(struct request_queue *q, struct iovec *prv, struct iovec *cur) iovec_gap_to_prv() argument
/linux-4.4.14/net/atm/
H A Daddr.c20 return *addr->sas_addr.prv ? 0 : -EINVAL; check_addr()
29 if (*a->sas_addr.prv) identical()
30 if (memcmp(a->sas_addr.prv, b->sas_addr.prv, ATM_ESA_LEN)) identical()
H A Dsignaling.c79 if (!*vcc->local.sas_addr.prv && !*vcc->local.sas_addr.pub) { sigd_send()
81 memcpy(vcc->local.sas_addr.prv, sigd_send()
82 msg->local.sas_addr.prv, ATM_ESA_LEN); sigd_send()
H A Dclip.c712 if (*addr->sas_addr.prv) svc_addr()
714 } else if (!*addr->sas_addr.prv) { svc_addr()
718 if (*addr->sas_addr.prv) { svc_addr()
719 unsigned char *prv = addr->sas_addr.prv; svc_addr() local
723 fields = *prv == ATM_AFI_E164 ? e164 : code; svc_addr()
726 seq_printf(seq, "%02X", *prv++); svc_addr()
H A Dproc.c227 *vcc->remote.sas_addr.pub && *vcc->remote.sas_addr.prv ? "+" : ""); svc_info()
228 if (*vcc->remote.sas_addr.prv) { svc_info()
232 seq_printf(seq, "%02x", vcc->remote.sas_addr.prv[i]); svc_info()
H A Datm_sysfs.c49 aaddr->addr.sas_addr.prv[i]); show_atmaddress()
H A Dlec.c2181 memcpy(to_add->atm_addr, vcc->remote.sas_addr.prv, ATM_ESA_LEN); lec_mcast_make()
/linux-4.4.14/drivers/media/platform/s5p-g2d/
H A Dg2d.c305 static int vidioc_enum_fmt(struct file *file, void *prv, struct v4l2_fmtdesc *f) vidioc_enum_fmt() argument
316 static int vidioc_g_fmt(struct file *file, void *prv, struct v4l2_format *f) vidioc_g_fmt() argument
318 struct g2d_ctx *ctx = prv; vidioc_g_fmt()
338 static int vidioc_try_fmt(struct file *file, void *prv, struct v4l2_format *f) vidioc_try_fmt() argument
368 static int vidioc_s_fmt(struct file *file, void *prv, struct v4l2_format *f) vidioc_s_fmt() argument
370 struct g2d_ctx *ctx = prv; vidioc_s_fmt()
379 ret = vidioc_try_fmt(file, prv, f); vidioc_s_fmt()
426 static int vidioc_g_crop(struct file *file, void *prv, struct v4l2_crop *cr) vidioc_g_crop() argument
428 struct g2d_ctx *ctx = prv; vidioc_g_crop()
442 static int vidioc_try_crop(struct file *file, void *prv, const struct v4l2_crop *cr) vidioc_try_crop() argument
444 struct g2d_ctx *ctx = prv; vidioc_try_crop()
461 static int vidioc_s_crop(struct file *file, void *prv, const struct v4l2_crop *cr) vidioc_s_crop() argument
463 struct g2d_ctx *ctx = prv; vidioc_s_crop()
467 ret = vidioc_try_crop(file, prv, cr); vidioc_s_crop()
483 static void job_abort(void *prv) job_abort() argument
485 struct g2d_ctx *ctx = prv; job_abort()
496 static void device_run(void *prv) device_run() argument
498 struct g2d_ctx *ctx = prv; device_run()
537 static irqreturn_t g2d_isr(int irq, void *prv) g2d_isr() argument
539 struct g2d_dev *dev = prv; g2d_isr()
/linux-4.4.14/include/linux/
H A Dscatterlist.h153 * @prv: First scatterlist
154 * @prv_nents: Number of entries in prv
158 * Links @prv@ and @sgl@ together, to form a longer scatterlist.
161 static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, sg_chain() argument
167 prv[prv_nents - 1].offset = 0; sg_chain()
168 prv[prv_nents - 1].length = 0; sg_chain()
174 prv[prv_nents - 1].page_link = ((unsigned long) sgl | 0x01) & ~0x02; sg_chain()
/linux-4.4.14/drivers/media/platform/omap3isp/
H A Disppreview.h153 int omap3isp_preview_register_entities(struct isp_prev_device *prv,
155 void omap3isp_preview_unregister_entities(struct isp_prev_device *prv);
/linux-4.4.14/lib/
H A Dscatterlist.c279 struct scatterlist *sg, *prv; __sg_alloc_table() local
292 prv = NULL; __sg_alloc_table()
317 if (prv) __sg_alloc_table()
330 if (prv) __sg_alloc_table()
331 sg_chain(prv, max_ents, sg); __sg_alloc_table()
341 prv = sg; __sg_alloc_table()
/linux-4.4.14/include/uapi/linux/
H A Datm.h208 unsigned char prv[ATM_ESA_LEN];/* private ATM address */ member in struct:sockaddr_atmsvc::__anon13904
219 return *addr.sas_addr.prv || *addr.sas_addr.pub; atmsvc_addr_in_use()
/linux-4.4.14/drivers/edac/
H A Dsb_edac.c1037 u64 limit, prv = 0; get_memory_layout() local
1067 prv = 0; get_memory_layout()
1077 if (limit <= prv) get_memory_layout()
1089 prv = limit; get_memory_layout()
1107 prv = 0; get_memory_layout()
1112 if (limit <= prv) get_memory_layout()
1127 prv = limit; get_memory_layout()
1222 u64 ch_addr, offset, limit = 0, prv = 0; get_memory_error_data() local
1252 if (limit <= prv) { get_memory_error_data()
1258 prv = limit; get_memory_error_data()
1373 prv = 0; get_memory_error_data()
1385 if (limit <= prv) { get_memory_error_data()
1391 prv = limit; get_memory_error_data()
/linux-4.4.14/drivers/gpu/ipu-v3/
H A Dipu-smfc.c21 #include "ipu-prv.h"
H A Dipu-dmfc.c21 #include "ipu-prv.h"
H A Dipu-dp.c23 #include "ipu-prv.h"
H A Dipu-dc.c25 #include "ipu-prv.h"
H A Dipu-csi.c29 #include "ipu-prv.h"
H A Dipu-ic.c20 #include "ipu-prv.h"
H A Dipu-cpmem.c16 #include "ipu-prv.h"
H A Dipu-di.c24 #include "ipu-prv.h"
H A Dipu-common.c36 #include "ipu-prv.h"
/linux-4.4.14/drivers/mmc/core/
H A Dmmc.c102 card->cid.prv = UNSTUFF_BITS(resp, 48, 8); mmc_decode_cid()
723 MMC_DEV_ATTR(prv, "0x%x\n", card->cid.prv);
/linux-4.4.14/include/linux/mmc/
H A Dcard.h20 unsigned char prv; member in struct:mmc_cid
/linux-4.4.14/kernel/locking/
H A Dlockdep.c1711 struct held_lock *prv) print_deadlock_scenario()
1714 struct lock_class *prev = hlock_class(prv); print_deadlock_scenario()
1710 print_deadlock_scenario(struct held_lock *nxt, struct held_lock *prv) print_deadlock_scenario() argument

Completed in 839 milliseconds