/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
D | zoran_device.c | 53 int zr_set_buf(struct zoran *zr); 57 static void zr36057_init_vfe(struct zoran *zr) in zr36057_init_vfe() argument 85 void GPIO(struct zoran *zr, int bit, unsigned int value) in GPIO() argument 107 int post_office_wait(struct zoran *zr) in post_office_wait() argument 116 if ((por & ZR36057_POR_PO_TIME) && !zr->card.gws_not_connected) { in post_office_wait() 118 pci_info(zr->pci_dev, "pop timeout %08x\n", por); in post_office_wait() 125 int post_office_write(struct zoran *zr, unsigned int guest, in post_office_write() argument 135 return post_office_wait(zr); in post_office_write() 138 int post_office_read(struct zoran *zr, unsigned int guest, unsigned int reg) in post_office_read() argument 144 if (post_office_wait(zr) < 0) in post_office_read() [all …]
|
D | zoran_card.c | 121 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36060_read() local 124 if (post_office_wait(zr) || post_office_write(zr, 0, 1, reg >> 8) || in zr36060_read() 125 post_office_write(zr, 0, 2, reg & 0xff)) in zr36060_read() 128 data = post_office_read(zr, 0, 3) & 0xff; in zr36060_read() 134 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36060_write() local 136 if (post_office_wait(zr) || post_office_write(zr, 0, 1, reg >> 8) || in zr36060_write() 137 post_office_write(zr, 0, 2, reg & 0xff)) in zr36060_write() 140 post_office_write(zr, 0, 3, val & 0xff); in zr36060_write() 146 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36050_read() local 149 if (post_office_wait(zr) || post_office_write(zr, 1, 0, reg >> 2)) // reg. HIGHBYTES in zr36050_read() [all …]
|
D | zoran_driver.c | 167 static int zoran_v4l_set_format(struct zoran *zr, int width, int height, in zoran_v4l_set_format() argument 176 pci_err(zr->pci_dev, "%s - wrong frame size (%dx%d)\n", __func__, width, height); in zoran_v4l_set_format() 182 zr->buffer_size = height * width * bpp; in zoran_v4l_set_format() 185 if (height * width * bpp > zr->buffer_size) { in zoran_v4l_set_format() 186 pci_err(zr->pci_dev, "%s - video buffer size (%d kB) is too small\n", in zoran_v4l_set_format() 187 __func__, zr->buffer_size >> 10); in zoran_v4l_set_format() 194 pci_err(zr->pci_dev, "%s - wrong frame alignment\n", __func__); in zoran_v4l_set_format() 198 zr->v4l_settings.width = width; in zoran_v4l_set_format() 199 zr->v4l_settings.height = height; in zoran_v4l_set_format() 200 zr->v4l_settings.format = format; in zoran_v4l_set_format() [all …]
|
D | zoran_device.h | 16 extern void GPIO(struct zoran *zr, int bit, unsigned int value); 19 extern int post_office_wait(struct zoran *zr); 20 extern int post_office_write(struct zoran *zr, unsigned int guest, unsigned int reg, unsigned int v… 21 extern int post_office_read(struct zoran *zr, unsigned int guest, unsigned int reg); 23 extern void detect_guest_activity(struct zoran *zr); 25 extern void jpeg_codec_sleep(struct zoran *zr, int sleep); 26 extern int jpeg_codec_reset(struct zoran *zr); 29 extern void zr36057_overlay(struct zoran *zr, int on); 31 extern void zr36057_set_memgrab(struct zoran *zr, int mode); 32 extern int wait_grab_pending(struct zoran *zr); [all …]
|
D | zoran.h | 46 #define ZR_DEVNAME(zr) ((zr)->name) argument 48 #define BUZ_MAX_WIDTH (zr->timing->wa) 49 #define BUZ_MAX_HEIGHT (zr->timing->ha) 167 struct zoran *zr; member 203 void (*init)(struct zoran *zr); 308 #define btwrite(dat, adr) writel((dat), zr->zr36057_mem + (adr)) 309 #define btread(adr) readl(zr->zr36057_mem + (adr)) 317 int zoran_queue_init(struct zoran *zr, struct vb2_queue *vq); 318 void zoran_queue_exit(struct zoran *zr); 319 int zr_set_buf(struct zoran *zr);
|
D | zoran_card.h | 22 extern int zoran_check_jpg_settings(struct zoran *zr, 25 extern void zoran_open_init_params(struct zoran *zr);
|
/kernel/linux/linux-5.10/fs/ubifs/ |
D | tnc_misc.c | 30 struct ubifs_znode *zr, in ubifs_tnc_levelorder_next() argument 36 ubifs_assert(c, zr); in ubifs_tnc_levelorder_next() 39 return zr; in ubifs_tnc_levelorder_next() 41 if (unlikely(znode == zr)) { in ubifs_tnc_levelorder_next() 44 return ubifs_tnc_find_child(zr, 0); in ubifs_tnc_levelorder_next() 51 ubifs_assert(c, znode->level <= zr->level); in ubifs_tnc_levelorder_next() 57 while (znode->parent != zr && iip >= znode->parent->child_cnt) { in ubifs_tnc_levelorder_next() 62 if (unlikely(znode->parent == zr && in ubifs_tnc_levelorder_next() 77 znode = ubifs_tnc_find_child(zr, 0); in ubifs_tnc_levelorder_next()
|
D | ubifs.h | 1862 struct ubifs_znode *zr, 1871 struct ubifs_znode *zr);
|