/linux-6.6.21/drivers/media/pci/zoran/ |
D | zoran_device.c | 56 static void zr36057_init_vfe(struct zoran *zr) in zr36057_init_vfe() argument 84 void GPIO(struct zoran *zr, int bit, unsigned int value) in GPIO() argument 106 int post_office_wait(struct zoran *zr) in post_office_wait() argument 114 if ((por & ZR36057_POR_PO_TIME) && !zr->card.gws_not_connected) { in post_office_wait() 116 pci_info(zr->pci_dev, "pop timeout %08x\n", por); in post_office_wait() 123 int post_office_write(struct zoran *zr, unsigned int guest, in post_office_write() argument 133 return post_office_wait(zr); in post_office_write() 136 int post_office_read(struct zoran *zr, unsigned int guest, unsigned int reg) in post_office_read() argument 142 if (post_office_wait(zr) < 0) in post_office_read() 152 void jpeg_codec_sleep(struct zoran *zr, int sleep) in jpeg_codec_sleep() argument [all …]
|
D | zoran_card.c | 100 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36060_read() local 103 if (post_office_wait(zr) || post_office_write(zr, 0, 1, reg >> 8) || in zr36060_read() 104 post_office_write(zr, 0, 2, reg & 0xff)) in zr36060_read() 107 data = post_office_read(zr, 0, 3) & 0xff; in zr36060_read() 113 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36060_write() local 115 if (post_office_wait(zr) || post_office_write(zr, 0, 1, reg >> 8) || in zr36060_write() 116 post_office_write(zr, 0, 2, reg & 0xff)) in zr36060_write() 119 post_office_write(zr, 0, 3, val & 0xff); in zr36060_write() 125 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36050_read() local 128 if (post_office_wait(zr) || post_office_write(zr, 1, 0, reg >> 2)) // reg. HIGHBYTES in zr36050_read() [all …]
|
D | zoran_driver.c | 165 static int zoran_v4l_set_format(struct zoran *zr, int width, int height, in zoran_v4l_set_format() argument 174 pci_dbg(zr->pci_dev, "%s - wrong frame size (%dx%d)\n", __func__, width, height); in zoran_v4l_set_format() 180 zr->buffer_size = height * width * bpp; in zoran_v4l_set_format() 183 if (height * width * bpp > zr->buffer_size) { in zoran_v4l_set_format() 184 pci_dbg(zr->pci_dev, "%s - video buffer size (%d kB) is too small\n", in zoran_v4l_set_format() 185 __func__, zr->buffer_size >> 10); in zoran_v4l_set_format() 192 pci_dbg(zr->pci_dev, "%s - wrong frame alignment\n", __func__); in zoran_v4l_set_format() 196 zr->v4l_settings.width = width; in zoran_v4l_set_format() 197 zr->v4l_settings.height = height; in zoran_v4l_set_format() 198 zr->v4l_settings.format = format; in zoran_v4l_set_format() [all …]
|
D | zoran_device.h | 16 void GPIO(struct zoran *zr, int bit, unsigned int value); 19 int post_office_wait(struct zoran *zr); 20 int post_office_write(struct zoran *zr, unsigned int guest, unsigned int reg, 22 int post_office_read(struct zoran *zr, unsigned int guest, unsigned int reg); 24 void jpeg_codec_sleep(struct zoran *zr, int sleep); 25 int jpeg_codec_reset(struct zoran *zr); 28 void zr36057_set_memgrab(struct zoran *zr, int mode); 29 int wait_grab_pending(struct zoran *zr); 32 void print_interrupts(struct zoran *zr); 33 void clear_interrupt_counters(struct zoran *zr); [all …]
|
D | videocodec.c | 40 struct zoran *zr; in videocodec_attach() local 50 zr = videocodec_master_to_zoran(master); in videocodec_attach() 52 zrdev_dbg(zr, "%s: '%s', flags %lx, magic %lx\n", __func__, in videocodec_attach() 56 zrdev_err(zr, "%s: no device available\n", __func__); in videocodec_attach() 64 zrdev_dbg(zr, "%s: try '%s'\n", __func__, h->codec->name); in videocodec_attach() 75 zrdev_dbg(zr, "%s: '%s'\n", __func__, codec->name); in videocodec_attach() 84 zrdev_dbg(zr, "videocodec: first element\n"); in videocodec_attach() 89 zrdev_dbg(zr, "videocodec: in after '%s'\n", in videocodec_attach() 101 zrdev_err(zr, "%s: no codec found!\n", __func__); in videocodec_attach() 112 struct zoran *zr; in videocodec_detach() local [all …]
|
D | zr36016.c | 36 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_read() local 42 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36016_read() 44 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36016_read() 51 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_write() local 53 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36016_write() 59 zrdev_err(zr, "%s: invalid I/O setup, nothing written!\n", ptr->name); in zr36016_write() 71 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_readi() local 78 zrdev_err(zr, "%s: invalid I/O setup, nothing read (i)!\n", ptr->name); in zr36016_readi() 81 zrdev_dbg(zr, "%s: reading indirect from 0x%04x: %02x\n", in zr36016_readi() 88 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_writei() local [all …]
|
D | zr36050.c | 43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read() local 50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36050_read() 52 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36050_read() 59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write() local 61 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36050_write() 67 zrdev_err(zr, "%s: invalid I/O setup, nothing written!\n", in zr36050_write() 99 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_wait_end() local 105 zrdev_err(zr, in zr36050_wait_end() 120 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_basic_test() local 126 zrdev_err(zr, in zr36050_basic_test() [all …]
|
D | zoran.h | 49 #define ZR_DEVNAME(zr) ((zr)->name) argument 51 #define BUZ_MAX_WIDTH (zr->timing->wa) 52 #define BUZ_MAX_HEIGHT (zr->timing->ha) 160 struct zoran *zr; member 196 void (*init)(struct zoran *zr); 305 #define btwrite(dat, adr) writel((dat), zr->zr36057_mem + (adr)) 306 #define btread(adr) readl(zr->zr36057_mem + (adr)) 317 #define zrdev_dbg(zr, format, args...) \ argument 318 pci_dbg((zr)->pci_dev, format, ##args) \ 320 #define zrdev_err(zr, format, args...) \ argument [all …]
|
D | zr36060.c | 44 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_read() local 50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36060_read() 57 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_write() local 59 zrdev_dbg(zr, "0x%02x @0x%04x\n", value, reg); in zr36060_write() 65 zrdev_err(zr, "%s: invalid I/O setup, nothing written!\n", ptr->name); in zr36060_write() 97 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_wait_end() local 103 zrdev_dbg(zr, in zr36060_wait_end() 114 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_basic_test() local 118 zrdev_err(zr, "%s: attach failed, can't connect to jpeg processor!\n", ptr->name); in zr36060_basic_test() 124 zrdev_err(zr, "%s: attach failed, jpeg processor failed (end flag)!\n", ptr->name); in zr36060_basic_test() [all …]
|
D | zoran_card.h | 22 int zoran_check_jpg_settings(struct zoran *zr, 24 void zoran_open_init_params(struct zoran *zr);
|
D | videocodec.h | 313 struct zoran *zr = master->data; in videocodec_master_to_zoran() local 315 return zr; in videocodec_master_to_zoran()
|
/linux-6.6.21/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 | 1896 struct ubifs_znode *zr, 1905 struct ubifs_znode *zr);
|
/linux-6.6.21/sound/soc/codecs/ |
D | wcd-mbhc-v2.h | 236 uint32_t *zl, uint32_t *zr); 282 uint32_t *zr); 329 uint32_t *zr) in wcd_mbhc_get_impedance() argument 332 *zr = 0; in wcd_mbhc_get_impedance()
|
D | wcd-mbhc-v2.c | 71 uint32_t zl, zr; member 303 mbhc->zl = mbhc->zr = 0; in wcd_mbhc_report_plug_removal() 322 mbhc->mbhc_cb->compute_impedance(mbhc->component, &mbhc->zl, &mbhc->zr); in wcd_mbhc_compute_impedance() 362 (mbhc->zr > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion() 1348 int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, uint32_t *zl, uint32_t *zr) in wcd_mbhc_get_impedance() argument 1351 *zr = mbhc->zr; in wcd_mbhc_get_impedance() 1353 if (*zl && *zr) in wcd_mbhc_get_impedance()
|
D | wcd938x.c | 2189 int32_t *zl, int32_t *zr, s16 *d1_a) in wcd938x_mbhc_zdet_ramp() argument 2221 if (!zr) in wcd938x_mbhc_zdet_ramp() 2232 *zr = zdet; in wcd938x_mbhc_zdet_ramp() 2256 uint32_t *zl, uint32_t *zr) in wcd938x_wcd_mbhc_calc_impedance() argument 2366 *zr = WCD938X_ZDET_FLOATING_IMPEDANCE; in wcd938x_wcd_mbhc_calc_impedance() 2368 *zr = z1R/1000; in wcd938x_wcd_mbhc_calc_impedance() 2369 wcd938x_wcd_mbhc_qfuse_cal(component, zr, 1); in wcd938x_wcd_mbhc_calc_impedance() 2372 __func__, *zr); in wcd938x_wcd_mbhc_calc_impedance() 2376 (*zr == WCD938X_ZDET_FLOATING_IMPEDANCE)) { in wcd938x_wcd_mbhc_calc_impedance() 2383 (*zr == WCD938X_ZDET_FLOATING_IMPEDANCE) || in wcd938x_wcd_mbhc_calc_impedance() [all …]
|
D | wcd934x.c | 2705 int32_t *zl, int32_t *zr, s16 *d1_a) in wcd934x_mbhc_zdet_ramp() argument 2733 if (!zr) in wcd934x_mbhc_zdet_ramp() 2740 *zr = zdet; in wcd934x_mbhc_zdet_ramp() 2764 uint32_t *zl, uint32_t *zr) in wcd934x_wcd_mbhc_calc_impedance() argument 2863 *zr = WCD934X_ZDET_FLOATING_IMPEDANCE; in wcd934x_wcd_mbhc_calc_impedance() 2865 *zr = z1R/1000; in wcd934x_wcd_mbhc_calc_impedance() 2866 wcd934x_wcd_mbhc_qfuse_cal(component, zr, 1); in wcd934x_wcd_mbhc_calc_impedance() 2869 __func__, *zr); in wcd934x_wcd_mbhc_calc_impedance() 2873 (*zr == WCD934X_ZDET_FLOATING_IMPEDANCE)) { in wcd934x_wcd_mbhc_calc_impedance() 2880 (*zr == WCD934X_ZDET_FLOATING_IMPEDANCE) || in wcd934x_wcd_mbhc_calc_impedance() [all …]
|