| /linux/drivers/media/pci/zoran/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | videocodec.h | 313 struct zoran *zr = master->data; in videocodec_master_to_zoran() local 315 return zr; in videocodec_master_to_zoran()
|
| /linux/fs/ubifs/ |
| H A 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()
|
| H A D | ubifs.h | 1886 struct ubifs_znode *zr, 1895 struct ubifs_znode *zr);
|
| /linux/sound/soc/codecs/ |
| H A D | wcd-mbhc-v2.h | 237 uint32_t *zl, uint32_t *zr); 285 uint32_t *zr); 332 uint32_t *zr) in wcd_mbhc_get_impedance() argument 335 *zr = 0; in wcd_mbhc_get_impedance()
|
| H A D | wcd-mbhc-v2.c | 75 uint32_t zl, zr; member 307 mbhc->zl = mbhc->zr = 0; in wcd_mbhc_report_plug_removal() 326 mbhc->mbhc_cb->compute_impedance(mbhc->component, &mbhc->zl, &mbhc->zr); in wcd_mbhc_compute_impedance() 366 (mbhc->zr > mbhc->cfg->linein_th) && in wcd_mbhc_report_plug_insertion() 1409 int wcd_mbhc_get_impedance(struct wcd_mbhc *mbhc, uint32_t *zl, uint32_t *zr) in wcd_mbhc_get_impedance() argument 1412 *zr = mbhc->zr; in wcd_mbhc_get_impedance() 1414 if (*zl && *zr) in wcd_mbhc_get_impedance()
|
| H A D | wcd938x.c | 2129 int32_t *zl, int32_t *zr, s16 *d1_a) in wcd938x_mbhc_zdet_ramp() argument 2161 if (!zr) in wcd938x_mbhc_zdet_ramp() 2172 *zr = zdet; in wcd938x_mbhc_zdet_ramp() 2196 uint32_t *zl, uint32_t *zr) in wcd938x_wcd_mbhc_calc_impedance() argument 2306 *zr = WCD938X_ZDET_FLOATING_IMPEDANCE; in wcd938x_wcd_mbhc_calc_impedance() 2308 *zr = z1R/1000; in wcd938x_wcd_mbhc_calc_impedance() 2309 wcd938x_wcd_mbhc_qfuse_cal(component, zr, 1); in wcd938x_wcd_mbhc_calc_impedance() 2312 __func__, *zr); in wcd938x_wcd_mbhc_calc_impedance() 2316 (*zr == WCD938X_ZDET_FLOATING_IMPEDANCE)) { in wcd938x_wcd_mbhc_calc_impedance() 2323 (*zr == WCD938X_ZDET_FLOATING_IMPEDANCE) || in wcd938x_wcd_mbhc_calc_impedance() [all …]
|
| H A D | wcd939x.c | 2098 s32 *zl, int32_t *zr) in wcd939x_mbhc_zdet_ramp() argument 2133 if (!zr) in wcd939x_mbhc_zdet_ramp() 2145 *zr = zdet; in wcd939x_mbhc_zdet_ramp() 2165 u32 *zl, uint32_t *zr) in wcd939x_wcd_mbhc_calc_impedance() argument 2222 *zr = WCD939X_ZDET_FLOATING_IMPEDANCE; in wcd939x_wcd_mbhc_calc_impedance() 2224 *zr = z1r / 1000; in wcd939x_wcd_mbhc_calc_impedance() 2225 wcd939x_wcd_mbhc_qfuse_cal(component, zr, 1); in wcd939x_wcd_mbhc_calc_impedance() 2228 __func__, *zr); in wcd939x_wcd_mbhc_calc_impedance() 2232 *zr == WCD939X_ZDET_FLOATING_IMPEDANCE) { in wcd939x_wcd_mbhc_calc_impedance() 2240 *zr == WCD939X_ZDET_FLOATING_IMPEDANCE || in wcd939x_wcd_mbhc_calc_impedance() [all …]
|
| H A D | wcd937x.c | 1591 s32 *zl, s32 *zr, s16 *d1_a) in wcd937x_mbhc_zdet_ramp() argument 1621 if (!zr) in wcd937x_mbhc_zdet_ramp() 1630 *zr = zdet; in wcd937x_mbhc_zdet_ramp() 1654 u32 *zl, u32 *zr) in wcd937x_wcd_mbhc_calc_impedance() argument 1762 *zr = WCD937X_ZDET_FLOATING_IMPEDANCE; in wcd937x_wcd_mbhc_calc_impedance() 1764 *zr = z1r / 1000; in wcd937x_wcd_mbhc_calc_impedance() 1765 wcd937x_wcd_mbhc_qfuse_cal(component, zr, 1); in wcd937x_wcd_mbhc_calc_impedance() 1770 (*zr == WCD937X_ZDET_FLOATING_IMPEDANCE)) { in wcd937x_wcd_mbhc_calc_impedance() 1777 (*zr == WCD937X_ZDET_FLOATING_IMPEDANCE) || in wcd937x_wcd_mbhc_calc_impedance() 1778 ((*zl < WCD_MONO_HS_MIN_THR) && (*zr > WCD_MONO_HS_MIN_THR)) || in wcd937x_wcd_mbhc_calc_impedance() [all …]
|