/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_opr_v5.c | 34 #define OFFSETB(x) (((x) - dev->bank2) >> MFC_OFFSET_SHIFT) 108 ctx->bank2.size = ctx->total_dpb_count * ctx->mv_size; s5p_mfc_alloc_codec_buffers_v5() 118 ctx->bank2.size = 0; s5p_mfc_alloc_codec_buffers_v5() 129 ctx->bank2.size = 0; s5p_mfc_alloc_codec_buffers_v5() 133 ctx->bank2.size = 0; s5p_mfc_alloc_codec_buffers_v5() 142 ctx->bank2.size = 0; s5p_mfc_alloc_codec_buffers_v5() 150 ctx->bank2.size = (enc_ref_y_size * 2) + s5p_mfc_alloc_codec_buffers_v5() 159 ctx->bank2.size = (enc_ref_y_size * 2) + s5p_mfc_alloc_codec_buffers_v5() 166 ctx->bank2.size = (enc_ref_y_size * 2) + s5p_mfc_alloc_codec_buffers_v5() 184 if (ctx->bank2.size > 0) { s5p_mfc_alloc_codec_buffers_v5() 185 ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_r, dev->bank2, s5p_mfc_alloc_codec_buffers_v5() 186 &ctx->bank2); s5p_mfc_alloc_codec_buffers_v5() 192 BUG_ON(ctx->bank2.dma & ((1 << MFC_BANK2_ALIGN_ORDER) - 1)); s5p_mfc_alloc_codec_buffers_v5() 201 s5p_mfc_release_priv_buf(ctx->dev->mem_dev_r, &ctx->bank2); s5p_mfc_release_codec_buffers_v5() 392 buf_addr2 = ctx->bank2.dma; s5p_mfc_set_dec_frame_buffer_v5() 393 buf_size2 = ctx->bank2.size; s5p_mfc_set_dec_frame_buffer_v5() 537 *y_addr = dev->bank2 + (mfc_read(dev, S5P_FIMV_ENCODED_Y_ADDR) s5p_mfc_get_enc_frame_buffer_v5() 539 *c_addr = dev->bank2 + (mfc_read(dev, S5P_FIMV_ENCODED_C_ADDR) s5p_mfc_get_enc_frame_buffer_v5() 555 buf_addr2 = ctx->bank2.dma; s5p_mfc_set_enc_ref_buffer_v5() 556 buf_size2 = ctx->bank2.size; s5p_mfc_set_enc_ref_buffer_v5() 1246 s5p_mfc_set_enc_frame_buffer_v5(ctx, dev->bank2, dev->bank2); s5p_mfc_run_enc_frame() 1254 s5p_mfc_set_enc_frame_buffer_v5(ctx, dev->bank2, s5p_mfc_run_enc_frame() 1255 dev->bank2); s5p_mfc_run_enc_frame()
|
H A D | s5p_mfc_ctrl.c | 52 mfc_err("Allocating bank2 base failed\n"); s5p_mfc_alloc_firmware() 60 * should not have address of bank2 - MFC will treat it as a null frame. s5p_mfc_alloc_firmware() 61 * To avoid such situation we set bank2 address below the pool address. s5p_mfc_alloc_firmware() 63 dev->bank2 = bank2_dma_addr - (1 << MFC_BASE_ALIGN_ORDER); s5p_mfc_alloc_firmware() 69 /* In this case bank2 can point to the same address as bank1. s5p_mfc_alloc_firmware() 72 dev->bank2 = dev->bank1; s5p_mfc_alloc_firmware() 217 mfc_write(dev, dev->bank2, S5P_FIMV_MC_DRAMBASE_ADR_B); s5p_mfc_init_memctrl() 219 &dev->bank1, &dev->bank2); s5p_mfc_init_memctrl()
|
H A D | s5p_mfc_common.h | 280 * @bank2: address of the beginning of bank 2 memory 322 dma_addr_t bank2; member in struct:s5p_mfc_dev 525 * @bank2: handle to memory allocated for temporary buffers from 606 struct s5p_mfc_priv_buf bank2; member in struct:s5p_mfc_ctx
|
H A D | s5p_mfc_opr_v6.c | 158 ctx->bank2.size = 0; s5p_mfc_alloc_codec_buffers_v6() 201 ctx->bank2.size = 0; s5p_mfc_alloc_codec_buffers_v6() 215 ctx->bank2.size = 0; s5p_mfc_alloc_codec_buffers_v6() 234 ctx->bank2.size = 0; s5p_mfc_alloc_codec_buffers_v6()
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | jazz.h | 160 unsigned int bank2 : 3; member in struct:__anon1884 174 unsigned int bank2 : 3; member in struct:__anon1885
|
/linux-4.4.14/drivers/hwmon/ |
H A D | abituguru.c | 51 /* max nr of sensors in bank2, currently mb's with max 6 fans are known */ 224 * of a sensor is a volt or a temp sensor, for bank2 and the pwms its 226 * sysfs entries per sensor, for bank2 and pwms 6. 250 /* Bank 2 data, ABIT_UGURU_MAX_BANK2_SENSORS entries for bank2 */ 251 u8 bank2_sensors; /* actual number of bank2 sensors found */ 255 /* Alarms 2 bytes for bank1, 1 byte for bank2 */ 623 * These functions try to find out how many sensors there are in bank2 and how 631 * Although the uGuru allows reading (settings) from non existing bank2 665 ABIT_UGURU_DEBUG(2, " bank2 sensor %d does not seem " abituguru_detect_no_bank2_sensors() 674 ABIT_UGURU_DEBUG(2, " bank2 sensor %d does not seem " abituguru_detect_no_bank2_sensors() 683 ABIT_UGURU_DEBUG(2, " bank2 sensor %d does not seem " abituguru_detect_no_bank2_sensors() 1317 * Note: We don't know how many bank2 sensors / pwms there really are, abituguru_probe() 1373 /* Detect number of sensors and fill the sysfs attr for bank2 (fans) */ abituguru_probe()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | platinumfb.c | 543 int bank0, bank1, bank2, bank3, rc; platinumfb_probe() local 609 bank2 = fbuffer[0x200000] == 0x56; platinumfb_probe() 611 pinfo->total_vram = (bank0 + bank1 + bank2 + bank3) * 0x100000; platinumfb_probe() 614 bank3, bank2, bank1, bank0); platinumfb_probe()
|
H A D | controlfb.c | 611 int bank1, bank2; find_vram_size() local 629 bank2 = (in_8(&p->frame_buffer[0x600000]) == 0xb3) find_vram_size() 651 if (bank2) { find_vram_size() 673 p->total_vram = (bank1 + bank2) * 0x200000; find_vram_size() 677 (bank1 + bank2) << 1, bank1 << 1, bank2 << 1); find_vram_size()
|
/linux-4.4.14/arch/mips/jz4740/ |
H A D | platform.c | 173 .name = "bank2",
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | ar5008_phy.c | 60 static const struct ar5416IniArray bank2 = STATIC_INI_ARRAY(ar5416Bank2); variable in typeref:struct:ar5416IniArray 557 REG_WRITE_ARRAY(&bank2, 1, regWrites); ar5008_hw_set_rf_regs()
|