format 30 arch/alpha/boot/misc.c __attribute__ ((format (printf, 1, 2))); format 23 arch/alpha/include/asm/console.h __attribute__ ((format (printf, 1, 2))); format 164 arch/ia64/include/asm/mca.h __attribute__ ((format (printf, 1, 2))); format 622 arch/ia64/kernel/module.c enum reloc_target_format format = (r_type >> FORMAT_SHIFT) & FORMAT_MASK; format 671 arch/ia64/kernel/module.c case R_IA64_PCREL60B: format = RF_INSN60; break; format 672 arch/ia64/kernel/module.c case R_IA64_PCREL21B: format = RF_INSN21B; break; format 673 arch/ia64/kernel/module.c case R_IA64_PCREL21M: format = RF_INSN21M; break; format 674 arch/ia64/kernel/module.c case R_IA64_PCREL21F: format = RF_INSN21F; break; format 696 arch/ia64/kernel/module.c format = RF_INSN21B; format 706 arch/ia64/kernel/module.c format = RF_64LSB; format 708 arch/ia64/kernel/module.c format = RF_64MSB; format 713 arch/ia64/kernel/module.c format = RF_INSN64; format 721 arch/ia64/kernel/module.c format = RF_INSN22; format 764 arch/ia64/kernel/module.c switch (format) { format 777 arch/ia64/kernel/module.c mod->name, format, reloc_name[r_type] ? reloc_name[r_type] : "?"); format 782 arch/ia64/kernel/module.c mod->name, reloc_name[r_type] ? reloc_name[r_type] : "?", format); format 58 arch/ia64/kernel/ptrace.c # define dprintk(format...) printk(format) format 61 arch/ia64/kernel/ptrace.c # define dprintk(format...) format 215 arch/m68k/fpsp040/fpsp.h .set EXC_VEC,10 | exception frame vector (format+vector#) format 95 arch/m68k/include/asm/elf.h pr_reg[19] = (regs->format << 12) | regs->vector; \ format 103 arch/m68k/include/asm/processor.h #define setframeformat(_regs) do { (_regs)->format = 0x4; } while(0) format 43 arch/m68k/include/uapi/asm/ptrace.h unsigned format : 4; /* frame format specifier */ format 50 arch/m68k/include/uapi/asm/ptrace.h unsigned format : 4; /* frame format specifier */ format 81 arch/m68k/kernel/process.c regs->format, regs->vector, regs->pc, regs->sr, format 102 arch/m68k/kernel/signal.c regs->stkadj = frame_extra_sizes(regs->format); format 105 arch/m68k/kernel/signal.c tregs->format = FORMAT; format 204 arch/m68k/kernel/signal.c regs->format = 0x4; format 650 arch/m68k/kernel/signal.c regs->format = formatvec >> 12; format 662 arch/m68k/kernel/signal.c regs->format = formatvec >> 12; format 843 arch/m68k/kernel/signal.c sc->sc_formatvec = regs->format << 12 | regs->vector; format 873 arch/m68k/kernel/signal.c err |= __put_user((regs->format << 12) | regs->vector, &uc->uc_formatvec); format 890 arch/m68k/kernel/signal.c int fsize = frame_extra_sizes(regs->format); format 896 arch/m68k/kernel/signal.c regs->format); format 956 arch/m68k/kernel/signal.c tregs->format = 0; format 967 arch/m68k/kernel/signal.c int fsize = frame_extra_sizes(regs->format); format 972 arch/m68k/kernel/signal.c regs->format); format 1040 arch/m68k/kernel/signal.c tregs->format = 0; format 386 arch/m68k/kernel/traps.c fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2 format 388 arch/m68k/kernel/traps.c fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); format 484 arch/m68k/kernel/traps.c if (fp->ptregs.format == 0xA) format 517 arch/m68k/kernel/traps.c fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2 format 519 arch/m68k/kernel/traps.c fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); format 629 arch/m68k/kernel/traps.c if (fp->ptregs.format == 10) format 763 arch/m68k/kernel/traps.c pr_debug("*** Bus Error *** Format is %x\n", fp->ptregs.format); format 787 arch/m68k/kernel/traps.c switch (fp->ptregs.format) { format 865 arch/m68k/kernel/traps.c pr_info("Frame format=%X ", regs->format); format 866 arch/m68k/kernel/traps.c switch (regs->format) { format 981 arch/m68k/kernel/traps.c fp->ptregs.format); format 984 arch/m68k/kernel/traps.c vector, fp->ptregs.format); format 992 arch/m68k/kernel/traps.c (fp->ptregs.format) == 0xA ? format 996 arch/m68k/kernel/traps.c (fp->ptregs.format) == 0xA ? format 1110 arch/m68k/kernel/traps.c switch (fp->ptregs.format) { format 97 arch/m68k/math-emu/fp_decode.h | either source fp register or data format format 102 arch/m68k/math-emu/fp_decode.h | decode destination format for fmove reg,ea format 44 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c #define PRINT_ERROR(format, ...) format 39 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c #define PRINT_ERROR(format, ...) format 141 arch/mips/include/asm/octeon/cvmx-led-defs.h uint64_t format:4; format 143 arch/mips/include/asm/octeon/cvmx-led-defs.h uint64_t format:4; format 596 arch/parisc/kernel/drivers.c #define pa_dev_attr_id(field, format) pa_dev_attr(field, id.field, format) format 27 arch/powerpc/boot/ps3.c static inline int __attribute__ ((format (printf, 1, 2))) DBG( format 11 arch/powerpc/boot/stdio.h extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); format 16 arch/powerpc/boot/stdio.h __attribute__((format(printf, 2, 3))); format 23 arch/powerpc/include/asm/udbg.h __attribute__ ((format (printf, 1, 2))); format 28 arch/powerpc/include/asm/xmon.h extern __printf(1, 2) void xmon_printf(const char *format, ...); format 473 arch/powerpc/kernel/prom_init.c static void __init prom_printf(const char *format, ...) format 481 arch/powerpc/kernel/prom_init.c va_start(args, format); format 482 arch/powerpc/kernel/prom_init.c for (p = format; *p != 0; p = q) { format 44 arch/powerpc/platforms/powermac/bootx_init.c static void __init bootx_printf(const char *format, ...) format 50 arch/powerpc/platforms/powermac/bootx_init.c va_start(args, format); format 51 arch/powerpc/platforms/powermac/bootx_init.c for (p = format; *p != 0; p = q) { format 86 arch/powerpc/platforms/powermac/bootx_init.c static void __init bootx_printf(const char *format, ...) {} format 367 arch/powerpc/platforms/pseries/cmm.c #define CMM_SHOW(name, format, args...) \ format 372 arch/powerpc/platforms/pseries/cmm.c return sprintf(buf, format, ##args); \ format 167 arch/powerpc/xmon/nonstdio.c void xmon_printf(const char *format, ...) format 173 arch/powerpc/xmon/nonstdio.c va_start(args, format); format 174 arch/powerpc/xmon/nonstdio.c n = vsnprintf(xmon_outbuf, sizeof(xmon_outbuf), format, args); format 432 arch/powerpc/xmon/ppc.h const char *format; format 2433 arch/powerpc/xmon/xmon.c #define DUMP(paca, name, format) \ format 2434 arch/powerpc/xmon/xmon.c printf(" %-*s = "format"\t(0x%lx)\n", 25, #name, 18, paca->name, \ format 4043 arch/powerpc/xmon/xmon.c #define DUMP_VALUE(format, field, value) \ format 4048 arch/powerpc/xmon/xmon.c printf(" %-*s = "format"\n", DUMP_WIDTH, \ format 4060 arch/powerpc/xmon/xmon.c #define DUMP_FIELD(obj, format, field) \ format 4061 arch/powerpc/xmon/xmon.c DUMP_VALUE(format, field, obj->field) format 219 arch/s390/include/asm/debug.h __attribute__ ((format(printf, 3, 4))); format 347 arch/s390/include/asm/debug.h __attribute__ ((format(printf, 3, 4))); format 38 arch/s390/include/asm/fcx.h u32 format:2; format 128 arch/s390/include/asm/fcx.h u32 format:8; format 205 arch/s390/include/asm/fcx.h u32 format:8; format 263 arch/s390/include/asm/fcx.h u32 format:8; format 62 arch/s390/include/asm/pci.h u32 format : 8; format 54 arch/s390/include/asm/sysinfo.h char format; format 48 arch/s390/include/uapi/asm/dasd.h unsigned int format; /* format info like formatted/cdl/ldl/... */ format 125 arch/s390/include/uapi/asm/dasd.h unsigned char format:3; format 62 arch/s390/kernel/dis.c unsigned char format; format 441 arch/s390/kernel/dis.c for (ops = formats[insn->format], i = 0; format 187 arch/s390/kernel/sysinfo.c if (info->format == 1) format 197 arch/s390/kernel/sysinfo.c if (info->format == 1) format 103 arch/s390/pci/pci_debug.c switch (zdev->fmb->format) { format 19 arch/s390/tools/gen_opcode_table.c char **format; format 27 arch/s390/tools/gen_opcode_table.c char format[STRING_SIZE_MAX]; format 39 arch/s390/tools/gen_opcode_table.c char *format; format 70 arch/s390/tools/gen_opcode_table.c .format = (char *[]) { format 85 arch/s390/tools/gen_opcode_table.c .format = (char *[]) { format 95 arch/s390/tools/gen_opcode_table.c .format = (char *[]) { format 110 arch/s390/tools/gen_opcode_table.c .format = (char *[]) { format 132 arch/s390/tools/gen_opcode_table.c static struct insn_type *insn_format_to_type(char *format) format 138 arch/s390/tools/gen_opcode_table.c strcpy(tmp, format); format 142 arch/s390/tools/gen_opcode_table.c ptr = insn_type_table[i].format; format 158 arch/s390/tools/gen_opcode_table.c rc = scanf("%s %s %s", insn.opcode, insn.name, insn.format); format 163 arch/s390/tools/gen_opcode_table.c insn.type = insn_format_to_type(insn.format); format 177 arch/s390/tools/gen_opcode_table.c return strcmp(((struct insn *)a)->format, ((struct insn *)b)->format); format 182 arch/s390/tools/gen_opcode_table.c char *format; format 186 arch/s390/tools/gen_opcode_table.c format = ""; format 190 arch/s390/tools/gen_opcode_table.c if (!strcmp(format, desc->insn[i].format)) format 193 arch/s390/tools/gen_opcode_table.c format = desc->insn[i].format; format 194 arch/s390/tools/gen_opcode_table.c printf("\tINSTR_%s,\n", format); format 238 arch/s390/tools/gen_opcode_table.c printf("\t[%4d] = { .opfrag = 0x%s, .format = INSTR_%s, ", nr, opcode, insn->format); format 83 arch/sparc/vdso/vdso2c.c __attribute__((format(printf, 1, 2))) __attribute__((noreturn)) format 84 arch/sparc/vdso/vdso2c.c static void fail(const char *format, ...) format 88 arch/sparc/vdso/vdso2c.c va_start(ap, format); format 90 arch/sparc/vdso/vdso2c.c vfprintf(stderr, format, ap); format 253 arch/um/include/shared/os.h __attribute__ ((format (printf, 1, 2))); format 255 arch/um/include/shared/os.h __attribute__ ((format (printf, 1, 2))); format 27 arch/um/include/shared/user.h __attribute__ ((format (printf, 1, 2))); format 42 arch/um/include/shared/user.h __attribute__ ((format (printf, 1, 2))); format 119 arch/um/os-Linux/user_syms.c extern int __sprintf_chk(char *str, int flag, size_t strlen, const char *format); format 103 arch/x86/entry/vdso/vdso2c.c __attribute__((format(printf, 1, 2))) __attribute__((noreturn)) format 104 arch/x86/entry/vdso/vdso2c.c static void fail(const char *format, ...) format 107 arch/x86/entry/vdso/vdso2c.c va_start(ap, format); format 109 arch/x86/entry/vdso/vdso2c.c vfprintf(stderr, format, ap); format 2018 arch/x86/events/intel/ds.c int format = x86_pmu.intel_cap.pebs_format; format 2020 arch/x86/events/intel/ds.c if (format < 4) format 2023 arch/x86/events/intel/ds.c switch (format) { format 2088 arch/x86/events/intel/ds.c pr_cont("no PEBS fmt%d%c, ", format, pebs_type); format 123 arch/x86/hyperv/hv_apic.c ipi_arg->vp_set.format = HV_GENERIC_SET_SPARSE_4K; format 129 arch/x86/hyperv/hv_apic.c ipi_arg->vp_set.format = HV_GENERIC_SET_ALL; format 195 arch/x86/hyperv/mmu.c flush->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K; format 832 arch/x86/include/asm/hyperv-tlfs.h u64 format; format 95 arch/x86/include/asm/io_apic.h format : 1, format 416 arch/x86/include/uapi/asm/kvm.h __u16 format; format 1250 arch/x86/kernel/apic/io_apic.c if (ir_entry->format) format 49 arch/x86/kernel/sysfb_simplefb.c mode->format = f->name; format 1392 arch/x86/kvm/hyperv.c flush_ex.hv_vp_set.format, format 1397 arch/x86/kvm/hyperv.c all_cpus = flush_ex.hv_vp_set.format != format 1494 arch/x86/kvm/hyperv.c send_ipi_ex.vp_set.format, format 1502 arch/x86/kvm/hyperv.c all_cpus = send_ipi_ex.vp_set.format == HV_GENERIC_SET_ALL; format 1395 arch/x86/kvm/trace.h TP_PROTO(u64 valid_bank_mask, u64 format, u64 address_space, u64 flags), format 1396 arch/x86/kvm/trace.h TP_ARGS(valid_bank_mask, format, address_space, flags), format 1400 arch/x86/kvm/trace.h __field(u64, format) format 1407 arch/x86/kvm/trace.h __entry->format = format; format 1414 arch/x86/kvm/trace.h __entry->valid_bank_mask, __entry->format, format 1440 arch/x86/kvm/trace.h TP_PROTO(u32 vector, u64 format, u64 valid_bank_mask), format 1441 arch/x86/kvm/trace.h TP_ARGS(vector, format, valid_bank_mask), format 1445 arch/x86/kvm/trace.h __field(u64, format) format 1451 arch/x86/kvm/trace.h __entry->format = format; format 1456 arch/x86/kvm/trace.h __entry->vector, __entry->format, format 5514 arch/x86/kvm/vmx/nested.c .format = KVM_STATE_NESTED_FORMAT_VMX, format 5629 arch/x86/kvm/vmx/nested.c if (kvm_state->format != KVM_STATE_NESTED_FORMAT_VMX) format 538 arch/x86/tools/relocs.c const char *format; format 541 arch/x86/tools/relocs.c format = "%5d %016"PRIx64" %5"PRId64" %10s %10s %12s %s\n"; format 543 arch/x86/tools/relocs.c format = "%5d %08"PRIx32" %5"PRId32" %10s %10s %12s %s\n"; format 564 arch/x86/tools/relocs.c printf(format, format 578 arch/x86/tools/relocs.c const char *format; format 581 arch/x86/tools/relocs.c format = "%016"PRIx64" %016"PRIx64" %10s %016"PRIx64" %s\n"; format 583 arch/x86/tools/relocs.c format = "%08"PRIx32" %08"PRIx32" %10s %08"PRIx32" %s\n"; format 636 arch/x86/tools/relocs.c printf(format, format 347 block/partitions/ibm.c if (info->format == DASD_FORMAT_LDL) { format 62 crypto/ansi_cprng.c #define dbgprint(format, args...) do {\ format 64 crypto/ansi_cprng.c printk(format, ##args);\ format 42 crypto/deflate.c static int deflate_comp_init(struct deflate_ctx *ctx, int format) format 53 crypto/deflate.c if (format) format 71 crypto/deflate.c static int deflate_decomp_init(struct deflate_ctx *ctx, int format) format 81 crypto/deflate.c if (format) format 108 crypto/deflate.c static int __deflate_init(void *ctx, int format) format 112 crypto/deflate.c ret = deflate_comp_init(ctx, format); format 115 crypto/deflate.c ret = deflate_decomp_init(ctx, format); format 122 crypto/deflate.c static void *gen_deflate_alloc_ctx(struct crypto_scomp *tfm, int format) format 131 crypto/deflate.c ret = __deflate_init(ctx, format); format 694 drivers/acpi/acpica/acutils.h u16 node_flags, const char *format, ...); format 701 drivers/acpi/acpica/acutils.h u16 node_flags, const char *format, ...); format 708 drivers/acpi/acpica/acutils.h u16 node_flags, const char *format, ...); format 128 drivers/acpi/acpica/utdebug.c u32 component_id, const char *format, ...) format 190 drivers/acpi/acpica/utdebug.c va_start(args, format); format 191 drivers/acpi/acpica/utdebug.c acpi_os_vprintf(format, args); format 220 drivers/acpi/acpica/utdebug.c u32 component_id, const char *format, ...) format 230 drivers/acpi/acpica/utdebug.c va_start(args, format); format 231 drivers/acpi/acpica/utdebug.c acpi_os_vprintf(format, args); format 42 drivers/acpi/acpica/uterror.c u16 node_flags, const char *format, ...) format 56 drivers/acpi/acpica/uterror.c va_start(arg_list, format); format 57 drivers/acpi/acpica/uterror.c acpi_os_vprintf(format, arg_list); format 84 drivers/acpi/acpica/uterror.c char *pathname, u16 node_flags, const char *format, ...) format 98 drivers/acpi/acpica/uterror.c va_start(arg_list, format); format 99 drivers/acpi/acpica/uterror.c acpi_os_vprintf(format, arg_list); format 127 drivers/acpi/acpica/uterror.c u16 node_flags, const char *format, ...) format 141 drivers/acpi/acpica/uterror.c va_start(arg_list, format); format 142 drivers/acpi/acpica/uterror.c acpi_os_vprintf(format, arg_list); format 318 drivers/acpi/acpica/utprint.c int vsnprintf(char *string, acpi_size size, const char *format, va_list args) format 337 drivers/acpi/acpica/utprint.c for (; *format; ++format) { format 338 drivers/acpi/acpica/utprint.c if (*format != '%') { format 339 drivers/acpi/acpica/utprint.c pos = acpi_ut_bound_string_output(pos, end, *format); format 349 drivers/acpi/acpica/utprint.c ++format; format 350 drivers/acpi/acpica/utprint.c if (*format == '#') { format 352 drivers/acpi/acpica/utprint.c } else if (*format == '0') { format 354 drivers/acpi/acpica/utprint.c } else if (*format == '+') { format 356 drivers/acpi/acpica/utprint.c } else if (*format == ' ') { format 358 drivers/acpi/acpica/utprint.c } else if (*format == '-') { format 369 drivers/acpi/acpica/utprint.c if (isdigit((int)*format)) { format 370 drivers/acpi/acpica/utprint.c format = acpi_ut_scan_number(format, &number); format 372 drivers/acpi/acpica/utprint.c } else if (*format == '*') { format 373 drivers/acpi/acpica/utprint.c ++format; format 384 drivers/acpi/acpica/utprint.c if (*format == '.') { format 385 drivers/acpi/acpica/utprint.c ++format; format 386 drivers/acpi/acpica/utprint.c if (isdigit((int)*format)) { format 387 drivers/acpi/acpica/utprint.c format = acpi_ut_scan_number(format, &number); format 389 drivers/acpi/acpica/utprint.c } else if (*format == '*') { format 390 drivers/acpi/acpica/utprint.c ++format; format 402 drivers/acpi/acpica/utprint.c if (*format == 'h' || *format == 'l' || *format == 'L') { format 403 drivers/acpi/acpica/utprint.c qualifier = *format; format 404 drivers/acpi/acpica/utprint.c ++format; format 406 drivers/acpi/acpica/utprint.c if (qualifier == 'l' && *format == 'l') { format 408 drivers/acpi/acpica/utprint.c ++format; format 412 drivers/acpi/acpica/utprint.c switch (*format) { format 505 drivers/acpi/acpica/utprint.c if (*format) { format 508 drivers/acpi/acpica/utprint.c *format); format 510 drivers/acpi/acpica/utprint.c --format; format 566 drivers/acpi/acpica/utprint.c int snprintf(char *string, acpi_size size, const char *format, ...) format 571 drivers/acpi/acpica/utprint.c va_start(args, format); format 572 drivers/acpi/acpica/utprint.c length = vsnprintf(string, size, format, args); format 591 drivers/acpi/acpica/utprint.c int sprintf(char *string, const char *format, ...) format 596 drivers/acpi/acpica/utprint.c va_start(args, format); format 597 drivers/acpi/acpica/utprint.c length = vsnprintf(string, ACPI_UINT32_MAX, format, args); format 617 drivers/acpi/acpica/utprint.c int vprintf(const char *format, va_list args) format 624 drivers/acpi/acpica/utprint.c sizeof(acpi_gbl_print_buffer), format, args); format 644 drivers/acpi/acpica/utprint.c int printf(const char *format, ...) format 649 drivers/acpi/acpica/utprint.c va_start(args, format); format 650 drivers/acpi/acpica/utprint.c length = vprintf(format, args); format 670 drivers/acpi/acpica/utprint.c int vfprintf(FILE * file, const char *format, va_list args) format 677 drivers/acpi/acpica/utprint.c sizeof(acpi_gbl_print_buffer), format, args); format 698 drivers/acpi/acpica/utprint.c int fprintf(FILE * file, const char *format, ...) format 703 drivers/acpi/acpica/utprint.c va_start(args, format); format 704 drivers/acpi/acpica/utprint.c length = vfprintf(file, format, args); format 35 drivers/acpi/acpica/utxferror.c acpi_error(const char *module_name, u32 line_number, const char *format, ...) format 42 drivers/acpi/acpica/utxferror.c va_start(arg_list, format); format 43 drivers/acpi/acpica/utxferror.c acpi_os_vprintf(format, arg_list); format 69 drivers/acpi/acpica/utxferror.c u32 line_number, acpi_status status, const char *format, ...) format 85 drivers/acpi/acpica/utxferror.c va_start(arg_list, format); format 86 drivers/acpi/acpica/utxferror.c acpi_os_vprintf(format, arg_list); format 109 drivers/acpi/acpica/utxferror.c acpi_warning(const char *module_name, u32 line_number, const char *format, ...) format 116 drivers/acpi/acpica/utxferror.c va_start(arg_list, format); format 117 drivers/acpi/acpica/utxferror.c acpi_os_vprintf(format, arg_list); format 138 drivers/acpi/acpica/utxferror.c void ACPI_INTERNAL_VAR_XFACE acpi_info(const char *format, ...) format 145 drivers/acpi/acpica/utxferror.c va_start(arg_list, format); format 146 drivers/acpi/acpica/utxferror.c acpi_os_vprintf(format, arg_list); format 171 drivers/acpi/acpica/utxferror.c u32 line_number, const char *format, ...) format 178 drivers/acpi/acpica/utxferror.c va_start(arg_list, format); format 179 drivers/acpi/acpica/utxferror.c acpi_os_vprintf(format, arg_list); format 206 drivers/acpi/acpica/utxferror.c acpi_status status, const char *format, ...) format 222 drivers/acpi/acpica/utxferror.c va_start(arg_list, format); format 223 drivers/acpi/acpica/utxferror.c acpi_os_vprintf(format, arg_list); format 248 drivers/acpi/acpica/utxferror.c u32 line_number, const char *format, ...) format 255 drivers/acpi/acpica/utxferror.c va_start(arg_list, format); format 256 drivers/acpi/acpica/utxferror.c acpi_os_vprintf(format, arg_list); format 363 drivers/acpi/cppc_acpi.c struct acpi_buffer format = {sizeof("NNNNN"), "NNNNN"}; format 387 drivers/acpi/cppc_acpi.c &format, &state); format 234 drivers/acpi/fan.c struct acpi_buffer format = { sizeof("NNNN"), "NNNN" }; format 250 drivers/acpi/fan.c status = acpi_extract_package(obj, &format, &fif); format 297 drivers/acpi/fan.c struct acpi_buffer format = { sizeof("NNNNN"), "NNNNN" }; format 300 drivers/acpi/fan.c &format, &fps); format 1521 drivers/acpi/nfit/core.c static DEVICE_ATTR_RO(format); format 294 drivers/acpi/processor_perflib.c struct acpi_buffer format = { sizeof("NNNNNN"), "NNNNNN" }; format 337 drivers/acpi/processor_perflib.c &format, &state); format 515 drivers/acpi/processor_perflib.c struct acpi_buffer format = {sizeof("NNNNN"), "NNNNN"}; format 541 drivers/acpi/processor_perflib.c &format, &state); format 499 drivers/acpi/processor_throttling.c struct acpi_buffer format = { sizeof("NNNNN"), "NNNNN" }; format 544 drivers/acpi/processor_throttling.c &format, &state); format 575 drivers/acpi/processor_throttling.c struct acpi_buffer format = { sizeof("NNNNN"), "NNNNN" }; format 611 drivers/acpi/processor_throttling.c &format, &state); format 43 drivers/acpi/utils.c struct acpi_buffer *format, struct acpi_buffer *buffer) format 60 drivers/acpi/utils.c if (!format || !format->pointer || (format->length < 1)) { format 70 drivers/acpi/utils.c format_count = (format->length / sizeof(char)) - 1; format 78 drivers/acpi/utils.c format_string = format->pointer; format 330 drivers/ata/libata-transport.c #define ata_link_show_linkspeed(field, format) \ format 337 drivers/ata/libata-transport.c return sprintf(buf, "%s\n", sata_spd_string(format(link->field))); \ format 340 drivers/ata/libata-transport.c #define ata_link_linkspeed_attr(field, format) \ format 341 drivers/ata/libata-transport.c ata_link_show_linkspeed(field, format) \ format 50 drivers/ata/pata_cs5530.c int format; format 54 drivers/ata/pata_cs5530.c format = (tuning & 0x80000000UL) ? 1 : 0; format 60 drivers/ata/pata_cs5530.c iowrite32(cs5530_pio_timings[format][adev->pio_mode - XFER_PIO_0], base); format 40 drivers/ata/pata_macio.c #define dev_dbgdma(dev, format, arg...) \ format 41 drivers/ata/pata_macio.c dev_printk(KERN_DEBUG , dev , format , ## arg) format 43 drivers/ata/pata_macio.c #define dev_dbgdma(dev, format, arg...) \ format 44 drivers/ata/pata_macio.c ({ if (0) dev_printk(KERN_DEBUG, dev, format, ##arg); 0; }) format 86 drivers/ata/pata_sc1200.c u32 format; format 90 drivers/ata/pata_sc1200.c pci_read_config_dword(pdev, reg + 4, &format); format 91 drivers/ata/pata_sc1200.c format >>= 31; format 92 drivers/ata/pata_sc1200.c format += sc1200_clock(); format 94 drivers/ata/pata_sc1200.c pio_timings[format][mode]); format 124 drivers/ata/pata_sc1200.c u32 format; format 127 drivers/ata/pata_sc1200.c format = udma_timing[clock][mode - XFER_UDMA_0]; format 129 drivers/ata/pata_sc1200.c format = mwdma_timing[clock][mode - XFER_MW_DMA_0]; format 136 drivers/ata/pata_sc1200.c timings |= format; format 139 drivers/ata/pata_sc1200.c pci_write_config_dword(pdev, reg + 12, format); format 30 drivers/atm/ambassador.h #define PRINTK(severity,format,args...) \ format 31 drivers/atm/ambassador.h printk(severity DEV_LABEL ": " format "\n" , ## args) format 55 drivers/atm/ambassador.h #define PRINTDB(bits,format,args...) \ format 56 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 ) format 57 drivers/atm/ambassador.h #define PRINTDM(bits,format,args...) \ format 58 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (format , ## args) : 1 ) format 59 drivers/atm/ambassador.h #define PRINTDE(bits,format,args...) \ format 60 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 ) format 61 drivers/atm/ambassador.h #define PRINTD(bits,format,args...) \ format 62 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 ) format 66 drivers/atm/ambassador.h #define PRINTD(bits,format,args...) format 67 drivers/atm/ambassador.h #define PRINTDB(bits,format,args...) format 68 drivers/atm/ambassador.h #define PRINTDM(bits,format,args...) format 69 drivers/atm/ambassador.h #define PRINTDE(bits,format,args...) format 73 drivers/atm/ambassador.h #define PRINTDD(bits,format,args...) format 66 drivers/atm/eni.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) format 68 drivers/atm/eni.c #define DPRINTK(format,args...) format 69 drivers/atm/fore200e.c #define DPRINTK(level, format, args...) do { if (CONFIG_ATM_FORE200E_DEBUG >= (level)) \ format 70 drivers/atm/fore200e.c printk(FORE200E format, ##args); } while (0) format 72 drivers/atm/fore200e.c #define DPRINTK(level, format, args...) do {} while (0) format 34 drivers/atm/horizon.h #define PRINTK(severity,format,args...) \ format 35 drivers/atm/horizon.h printk(severity DEV_LABEL ": " format "\n" , ## args) format 56 drivers/atm/horizon.h #define PRINTDB(bits,format,args...) \ format 57 drivers/atm/horizon.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 ) format 58 drivers/atm/horizon.h #define PRINTDM(bits,format,args...) \ format 59 drivers/atm/horizon.h ( (debug & (bits)) ? printk (format , ## args) : 1 ) format 60 drivers/atm/horizon.h #define PRINTDE(bits,format,args...) \ format 61 drivers/atm/horizon.h ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 ) format 62 drivers/atm/horizon.h #define PRINTD(bits,format,args...) \ format 63 drivers/atm/horizon.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 ) format 67 drivers/atm/horizon.h #define PRINTD(bits,format,args...) format 68 drivers/atm/horizon.h #define PRINTDB(bits,format,args...) format 69 drivers/atm/horizon.h #define PRINTDM(bits,format,args...) format 70 drivers/atm/horizon.h #define PRINTDE(bits,format,args...) format 28 drivers/atm/idt77105.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) format 30 drivers/atm/idt77105.c #define DPRINTK(format,args...) format 164 drivers/atm/lanai.c #define DPRINTK(format, args...) \ format 165 drivers/atm/lanai.c printk(KERN_DEBUG DEV_LABEL ": " format, ##args) format 166 drivers/atm/lanai.c #define APRINTK(truth, format, args...) \ format 169 drivers/atm/lanai.c printk(KERN_ERR DEV_LABEL ": " format, ##args); \ format 174 drivers/atm/lanai.c #define DPRINTK(format, args...) format 175 drivers/atm/lanai.c #define APRINTK(truth, format, args...) format 180 drivers/atm/lanai.c #define RWDEBUG(format, args...) \ format 181 drivers/atm/lanai.c printk(KERN_DEBUG DEV_LABEL ": " format, ##args) format 183 drivers/atm/lanai.c #define RWDEBUG(format, args...) format 34 drivers/atm/suni.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) format 36 drivers/atm/suni.c #define DPRINTK(format,args...) format 21 drivers/atm/uPD98402.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) format 23 drivers/atm/uPD98402.c #define DPRINTK(format,args...) format 54 drivers/atm/zatm.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) format 56 drivers/atm/zatm.c #define DPRINTK(format,args...) format 64 drivers/base/regmap/internal.h struct regmap_format format; /* Buffer format */ format 555 drivers/base/regmap/regcache.c if (map->format.format_val) { format 556 drivers/base/regmap/regcache.c map->format.format_val(base + (map->cache_word_size * idx), format 601 drivers/base/regmap/regcache.c if (map->format.parse_val) format 602 drivers/base/regmap/regcache.c return map->format.parse_val(regcache_get_val_addr(map, base, format 707 drivers/base/regmap/regcache.c size_t val_bytes = map->format.val_bytes; format 188 drivers/base/regmap/regmap-debugfs.c map->debugfs_val_len = 2 * map->format.val_bytes; format 261 drivers/base/regmap/regmap-debugfs.c buf_pos += 2 * map->format.val_bytes; format 417 drivers/base/regmap/regmap-irq.c for_each_set_bit(b, &mreg, map->format.val_bytes * 8) { format 418 drivers/base/regmap/regmap-irq.c if (i * map->format.val_bytes * 8 + b > format 451 drivers/base/regmap/regmap-irq.c switch (map->format.val_bytes) { format 661 drivers/base/regmap/regmap-irq.c map->format.val_bytes, format 134 drivers/base/regmap/regmap.c if (map->format.format_write) format 148 drivers/base/regmap/regmap.c if (!map->format.format_write && !regmap_readable(map, reg)) format 768 drivers/base/regmap/regmap.c map->format.reg_bytes = DIV_ROUND_UP(config->reg_bits, 8); format 769 drivers/base/regmap/regmap.c map->format.pad_bytes = config->pad_bits / 8; format 770 drivers/base/regmap/regmap.c map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); format 771 drivers/base/regmap/regmap.c map->format.buf_size = DIV_ROUND_UP(config->reg_bits + format 845 drivers/base/regmap/regmap.c map->format.format_write = regmap_format_2_6_write; format 855 drivers/base/regmap/regmap.c map->format.format_write = regmap_format_4_12_write; format 865 drivers/base/regmap/regmap.c map->format.format_write = regmap_format_7_9_write; format 875 drivers/base/regmap/regmap.c map->format.format_write = regmap_format_10_14_write; format 883 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_8; format 889 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_16_be; format 892 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_16_le; format 895 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_16_native; format 905 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_24; format 911 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_32_be; format 914 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_32_le; format 917 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_32_native; format 928 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_64_be; format 931 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_64_le; format 934 drivers/base/regmap/regmap.c map->format.format_reg = regmap_format_64_native; format 947 drivers/base/regmap/regmap.c map->format.parse_inplace = regmap_parse_inplace_noop; format 951 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_8; format 952 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_8; format 953 drivers/base/regmap/regmap.c map->format.parse_inplace = regmap_parse_inplace_noop; format 958 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_16_be; format 959 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_16_be; format 960 drivers/base/regmap/regmap.c map->format.parse_inplace = regmap_parse_16_be_inplace; format 963 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_16_le; format 964 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_16_le; format 965 drivers/base/regmap/regmap.c map->format.parse_inplace = regmap_parse_16_le_inplace; format 968 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_16_native; format 969 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_16_native; format 978 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_24; format 979 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_24; format 984 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_32_be; format 985 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_32_be; format 986 drivers/base/regmap/regmap.c map->format.parse_inplace = regmap_parse_32_be_inplace; format 989 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_32_le; format 990 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_32_le; format 991 drivers/base/regmap/regmap.c map->format.parse_inplace = regmap_parse_32_le_inplace; format 994 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_32_native; format 995 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_32_native; format 1005 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_64_be; format 1006 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_64_be; format 1007 drivers/base/regmap/regmap.c map->format.parse_inplace = regmap_parse_64_be_inplace; format 1010 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_64_le; format 1011 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_64_le; format 1012 drivers/base/regmap/regmap.c map->format.parse_inplace = regmap_parse_64_le_inplace; format 1015 drivers/base/regmap/regmap.c map->format.format_val = regmap_format_64_native; format 1016 drivers/base/regmap/regmap.c map->format.parse_val = regmap_parse_64_native; format 1025 drivers/base/regmap/regmap.c if (map->format.format_write) { format 1032 drivers/base/regmap/regmap.c if (!map->format.format_write && format 1033 drivers/base/regmap/regmap.c !(map->format.format_reg && map->format.format_val)) format 1036 drivers/base/regmap/regmap.c map->work_buf = kzalloc(map->format.buf_size, GFP_KERNEL); format 1042 drivers/base/regmap/regmap.c if (map->format.format_write) { format 1045 drivers/base/regmap/regmap.c } else if (map->format.format_val) { format 1135 drivers/base/regmap/regmap.c kzalloc(map->format.buf_size, GFP_KERNEL); format 1482 drivers/base/regmap/regmap.c void *work_val = map->work_buf + map->format.reg_bytes + format 1483 drivers/base/regmap/regmap.c map->format.pad_bytes; format 1495 drivers/base/regmap/regmap.c for (i = 0; i < val_len / map->format.val_bytes; i++) { format 1504 drivers/base/regmap/regmap.c if (!map->cache_bypass && map->format.parse_val) { format 1506 drivers/base/regmap/regmap.c int val_bytes = map->format.val_bytes; format 1508 drivers/base/regmap/regmap.c ival = map->format.parse_val(val + (i * val_bytes)); format 1527 drivers/base/regmap/regmap.c int val_num = val_len / map->format.val_bytes; format 1534 drivers/base/regmap/regmap.c win_residue, val_len / map->format.val_bytes); format 1537 drivers/base/regmap/regmap.c map->format.val_bytes); format 1543 drivers/base/regmap/regmap.c val += win_residue * map->format.val_bytes; format 1544 drivers/base/regmap/regmap.c val_len -= win_residue * map->format.val_bytes; format 1556 drivers/base/regmap/regmap.c map->format.format_reg(map->work_buf, reg, map->reg_shift); format 1557 drivers/base/regmap/regmap.c regmap_set_work_buf_flag_mask(map, map->format.reg_bytes, format 1565 drivers/base/regmap/regmap.c if (val != work_val && val_len == map->format.val_bytes) { format 1566 drivers/base/regmap/regmap.c memcpy(work_val, val, map->format.val_bytes); format 1588 drivers/base/regmap/regmap.c async->work_buf = kzalloc(map->format.buf_size, format 1599 drivers/base/regmap/regmap.c memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + format 1600 drivers/base/regmap/regmap.c map->format.reg_bytes + map->format.val_bytes); format 1609 drivers/base/regmap/regmap.c map->format.reg_bytes + format 1610 drivers/base/regmap/regmap.c map->format.pad_bytes, format 1615 drivers/base/regmap/regmap.c map->format.reg_bytes + format 1616 drivers/base/regmap/regmap.c map->format.pad_bytes + format 1631 drivers/base/regmap/regmap.c trace_regmap_hw_write_start(map, reg, val_len / map->format.val_bytes); format 1639 drivers/base/regmap/regmap.c map->format.reg_bytes + format 1640 drivers/base/regmap/regmap.c map->format.pad_bytes + format 1644 drivers/base/regmap/regmap.c map->format.reg_bytes + format 1645 drivers/base/regmap/regmap.c map->format.pad_bytes, format 1652 drivers/base/regmap/regmap.c len = map->format.reg_bytes + map->format.pad_bytes + val_len; format 1657 drivers/base/regmap/regmap.c memcpy(buf, map->work_buf, map->format.reg_bytes); format 1658 drivers/base/regmap/regmap.c memcpy(buf + map->format.reg_bytes + map->format.pad_bytes, format 1663 drivers/base/regmap/regmap.c } else if (ret != 0 && !map->cache_bypass && map->format.parse_val) { format 1671 drivers/base/regmap/regmap.c trace_regmap_hw_write_done(map, reg, val_len / map->format.val_bytes); format 1683 drivers/base/regmap/regmap.c return map->bus && map->bus->write && map->format.format_val && format 1684 drivers/base/regmap/regmap.c map->format.format_reg; format 1717 drivers/base/regmap/regmap.c WARN_ON(!map->bus || !map->format.format_write); format 1726 drivers/base/regmap/regmap.c map->format.format_write(map, reg, val); format 1731 drivers/base/regmap/regmap.c map->format.buf_size); format 1751 drivers/base/regmap/regmap.c WARN_ON(!map->bus || !map->format.format_val); format 1753 drivers/base/regmap/regmap.c map->format.format_val(map->work_buf + map->format.reg_bytes format 1754 drivers/base/regmap/regmap.c + map->format.pad_bytes, val, 0); format 1757 drivers/base/regmap/regmap.c map->format.reg_bytes + format 1758 drivers/base/regmap/regmap.c map->format.pad_bytes, format 1759 drivers/base/regmap/regmap.c map->format.val_bytes); format 1855 drivers/base/regmap/regmap.c size_t val_bytes = map->format.val_bytes; format 1913 drivers/base/regmap/regmap.c if (val_len % map->format.val_bytes) format 1957 drivers/base/regmap/regmap.c if (val_len % map->format.val_bytes) format 2067 drivers/base/regmap/regmap.c size_t val_bytes = map->format.val_bytes; format 2076 drivers/base/regmap/regmap.c if (!map->bus || !map->format.parse_inplace) { format 2117 drivers/base/regmap/regmap.c map->format.parse_inplace(wval + i); format 2142 drivers/base/regmap/regmap.c size_t val_bytes = map->format.val_bytes; format 2143 drivers/base/regmap/regmap.c size_t reg_bytes = map->format.reg_bytes; format 2144 drivers/base/regmap/regmap.c size_t pad_bytes = map->format.pad_bytes; format 2163 drivers/base/regmap/regmap.c map->format.format_reg(u8, reg, map->reg_shift); format 2165 drivers/base/regmap/regmap.c map->format.format_val(u8, val, 0); format 2287 drivers/base/regmap/regmap.c if (!map->format.parse_inplace) format 2444 drivers/base/regmap/regmap.c if (val_len % map->format.val_bytes) format 2477 drivers/base/regmap/regmap.c val_len / map->format.val_bytes); format 2482 drivers/base/regmap/regmap.c map->format.format_reg(map->work_buf, reg, map->reg_shift); format 2483 drivers/base/regmap/regmap.c regmap_set_work_buf_flag_mask(map, map->format.reg_bytes, format 2485 drivers/base/regmap/regmap.c trace_regmap_hw_read_start(map, reg, val_len / map->format.val_bytes); format 2488 drivers/base/regmap/regmap.c map->format.reg_bytes + map->format.pad_bytes, format 2491 drivers/base/regmap/regmap.c trace_regmap_hw_read_done(map, reg, val_len / map->format.val_bytes); format 2509 drivers/base/regmap/regmap.c void *work_val = map->work_buf + map->format.reg_bytes + format 2510 drivers/base/regmap/regmap.c map->format.pad_bytes; format 2512 drivers/base/regmap/regmap.c if (!map->format.parse_val) format 2515 drivers/base/regmap/regmap.c ret = _regmap_raw_read(map, reg, work_val, map->format.val_bytes); format 2517 drivers/base/regmap/regmap.c *val = map->format.parse_val(work_val); format 2595 drivers/base/regmap/regmap.c size_t val_bytes = map->format.val_bytes; format 2602 drivers/base/regmap/regmap.c if (val_len % map->format.val_bytes) format 2656 drivers/base/regmap/regmap.c map->format.format_val(val + (i * val_bytes), v, 0); format 2698 drivers/base/regmap/regmap.c if (val_len % map->format.val_bytes) format 2803 drivers/base/regmap/regmap.c size_t val_bytes = map->format.val_bytes; format 2811 drivers/base/regmap/regmap.c if (map->bus && map->format.parse_inplace && (vol || map->cache_type == REGCACHE_NONE)) { format 2817 drivers/base/regmap/regmap.c map->format.parse_inplace(val + i); format 2836 drivers/base/regmap/regmap.c switch (map->format.val_bytes) { format 3073 drivers/base/regmap/regmap.c if (map->format.format_write) format 3076 drivers/base/regmap/regmap.c return map->format.val_bytes; format 3111 drivers/base/regmap/regmap.c if (!map->format.parse_val) format 3114 drivers/base/regmap/regmap.c *val = map->format.parse_val(buf); format 154 drivers/block/floppy.c #define DPRINT(format, args...) \ format 155 drivers/block/floppy.c pr_info("floppy%d: " format, current_drive, ##args) format 111 drivers/block/mtip32xx/mtip32xx.h #define dbg_printk(format, arg...) \ format 112 drivers/block/mtip32xx/mtip32xx.h printk(pr_fmt(format), ##arg); format 114 drivers/block/mtip32xx/mtip32xx.h #define dbg_printk(format, arg...) format 350 drivers/block/xen-blkback/xenbus.c #define VBD_SHOW_ALLRING(name, format) \ format 371 drivers/block/xen-blkback/xenbus.c return sprintf(buf, format, result); \ format 399 drivers/block/xen-blkback/xenbus.c #define VBD_SHOW(name, format, args...) \ format 407 drivers/block/xen-blkback/xenbus.c return sprintf(buf, format, ##args); \ format 2097 drivers/cdrom/cdrom.c int lba, int nblocks, int format, int blksize) format 2104 drivers/cdrom/cdrom.c cgc->cmd[1] = format << 2; format 2962 drivers/cdrom/cdrom.c int blocksize = 0, format = 0, lba; format 2971 drivers/cdrom/cdrom.c format = 2; format 2991 drivers/cdrom/cdrom.c ret = cdrom_read_block(cdi, cgc, lba, 1, format, blocksize); format 409 drivers/char/xillybus/xillybus_core.c int channelnum, bufnum, bufsize, format, is_writebuf; format 487 drivers/char/xillybus/xillybus_core.c format = (chandesc[1] >> 4) & 0x03; format 506 drivers/char/xillybus/xillybus_core.c channel->log2_element_size = ((format > 2) ? format 507 drivers/char/xillybus/xillybus_core.c 2 : format); format 137 drivers/crypto/cavium/zip/common.h u32 format; format 59 drivers/crypto/cavium/zip/zip_crypto.c zip_ops->format = ZLIB_FORMAT; format 63 drivers/crypto/cavium/zip/zip_crypto.c zip_ops->format = LZS_FORMAT; format 160 drivers/crypto/cavium/zip/zip_deflate.c switch (zip_ops->format) { format 162 drivers/crypto/cavium/zip/zip_deflate.c zip_dbg("RAW Format: %d ", zip_ops->format); format 168 drivers/crypto/cavium/zip/zip_deflate.c zip_dbg("ZLIB Format: %d ", zip_ops->format); format 173 drivers/crypto/cavium/zip/zip_deflate.c zip_dbg("GZIP Format: %d ", zip_ops->format); format 178 drivers/crypto/cavium/zip/zip_deflate.c zip_dbg("LZS Format: %d ", zip_ops->format); format 182 drivers/crypto/cavium/zip/zip_deflate.c zip_err("Unknown Format:%d\n", zip_ops->format); format 196 drivers/crypto/cavium/zip/zip_inflate.c switch (zip_ops->format) { format 198 drivers/crypto/cavium/zip/zip_inflate.c zip_dbg("RAW Format: %d ", zip_ops->format); format 204 drivers/crypto/cavium/zip/zip_inflate.c zip_dbg("ZLIB Format: %d ", zip_ops->format); format 209 drivers/crypto/cavium/zip/zip_inflate.c zip_dbg("GZIP Format: %d ", zip_ops->format); format 214 drivers/crypto/cavium/zip/zip_inflate.c zip_dbg("LZS Format: %d ", zip_ops->format); format 218 drivers/crypto/cavium/zip/zip_inflate.c zip_err("Format error:%d\n", zip_ops->format); format 355 drivers/crypto/qat/qat_common/adf_transport.c const char *section, const char *format, format 361 drivers/crypto/qat/qat_common/adf_transport.c snprintf(key_buf, ADF_CFG_MAX_KEY_LEN_IN_BYTES, format, key); format 624 drivers/dma/ste_dma40.c #define d40_err(dev, format, arg...) \ format 625 drivers/dma/ste_dma40.c dev_err(dev, "[%s] " format, __func__, ## arg) format 627 drivers/dma/ste_dma40.c #define chan_err(d40c, format, arg...) \ format 628 drivers/dma/ste_dma40.c d40_err(chan2dev(d40c), format, ## arg) format 36 drivers/firmware/google/framebuffer-coreboot.c .format = NULL, format 49 drivers/firmware/google/framebuffer-coreboot.c pdata.format = formats[i].name; format 51 drivers/firmware/google/framebuffer-coreboot.c if (!pdata.format) format 116 drivers/firmware/turris-mox-rwtm.c #define MOX_ATTR_RO(name, format, cat) \ format 124 drivers/firmware/turris-mox-rwtm.c return sprintf(buf, format, rwtm->name); \ format 1598 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c ATOM_INIT_REG_INDEX_FORMAT *format = ®_block->asRegIndexBuf[0]; format 1604 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (format->ucPreRegDataLength & ACCESS_PLACEHOLDER) format 1607 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c (u16)(le16_to_cpu(format->usRegIndex)); format 1609 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c (u8)(format->ucPreRegDataLength); format 1611 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c format = (ATOM_INIT_REG_INDEX_FORMAT *) format 1612 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c ((u8 *)format + sizeof(ATOM_INIT_REG_INDEX_FORMAT)); format 270 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c DRM_INFO("fb depth is %d\n", fb->format->depth); format 249 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c fb->pitches[0] / fb->format->cpp[0]); format 1370 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (sad->format == eld_reg_to_type[i][1]) { format 1381 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) format 1882 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c switch (target_fb->format->format) { format 1966 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c drm_get_format_name(target_fb->format->format, &format_name)); format 2041 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; format 267 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c fb->pitches[0] / fb->format->cpp[0]); format 1396 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (sad->format == eld_reg_to_type[i][1]) { format 1407 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) format 1924 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (target_fb->format->format) { format 2008 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c drm_get_format_name(target_fb->format->format, &format_name)); format 2083 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; format 201 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c fb->pitches[0] / fb->format->cpp[0]); format 1274 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (sad->format == eld_reg_to_type[i][1]) { format 1285 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) format 1837 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c switch (target_fb->format->format) { format 1913 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c drm_get_format_name(target_fb->format->format, &format_name)); format 1976 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; format 194 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c fb->pitches[0] / fb->format->cpp[0]); format 1323 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (sad->format == eld_reg_to_type[i][1]) { format 1334 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) format 1811 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c switch (target_fb->format->format) { format 1887 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c drm_get_format_name(target_fb->format->format, &format_name)); format 1950 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; format 222 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->format = KFD_QUEUE_FORMAT_AQL; format 224 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->format = KFD_QUEUE_FORMAT_PM4; format 242 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c pr_debug("Queue Format: %d\n", q_properties->format); format 132 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c if (q->format == KFD_QUEUE_FORMAT_AQL) format 170 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c uint32_t wptr_shift = (p->format == KFD_QUEUE_FORMAT_AQL ? 4 : 0); format 214 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c if (q->format == KFD_QUEUE_FORMAT_AQL) format 137 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c if (q->format == KFD_QUEUE_FORMAT_AQL) { format 167 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c uint32_t wptr_shift = (p->format == KFD_QUEUE_FORMAT_AQL ? 4 : 0); format 221 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c if (q->format == KFD_QUEUE_FORMAT_AQL) { format 153 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c if (q->format == KFD_QUEUE_FORMAT_AQL) { format 187 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c uint32_t wptr_shift = (p->format == KFD_QUEUE_FORMAT_AQL ? 4 : 0); format 241 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c if (q->format == KFD_QUEUE_FORMAT_AQL) { format 125 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c if (q->format == KFD_QUEUE_FORMAT_AQL) format 161 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c uint32_t wptr_shift = (p->format == KFD_QUEUE_FORMAT_AQL ? 4 : 0); format 223 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c if (q->format == KFD_QUEUE_FORMAT_AQL) { format 419 drivers/gpu/drm/amd/amdkfd/kfd_priv.h enum kfd_queue_format format; format 2700 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c const enum surface_pixel_format format, format 2725 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) format 2731 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.format = format; format 2765 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c const enum surface_pixel_format format, format 2782 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (format < SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) { format 2788 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[0] / fb->format->cpp[0]; format 2793 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c } else if (format < SURFACE_PIXEL_FORMAT_INVALID) { format 2801 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[0] / fb->format->cpp[0]; format 2810 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c fb->pitches[1] / fb->format->cpp[1]; format 2880 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ret = fill_plane_dcc_attributes(adev, afb, format, rotation, format 2909 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c uint32_t format = plane_state->fb->format->format; format 2913 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (format == alpha_formats[i]) { format 2928 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c const enum surface_pixel_format format, format 2936 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (format < SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) format 2986 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c switch (fb->format->format) { format 2988 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_info->format = format 2992 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_info->format = SURFACE_PIXEL_FORMAT_GRPH_RGB565; format 2996 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_info->format = SURFACE_PIXEL_FORMAT_GRPH_ARGB8888; format 3000 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_info->format = SURFACE_PIXEL_FORMAT_GRPH_ARGB2101010; format 3004 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_info->format = SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010; format 3008 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_info->format = SURFACE_PIXEL_FORMAT_GRPH_ABGR8888; format 3011 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_info->format = SURFACE_PIXEL_FORMAT_VIDEO_420_YCbCr; format 3014 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_info->format = SURFACE_PIXEL_FORMAT_VIDEO_420_YCrCb; format 3019 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_get_format_name(fb->format->format, &format_name)); format 3046 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ret = fill_plane_color_attributes(plane_state, plane_info->format, format 3051 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c ret = fill_plane_buffer_attributes(adev, afb, plane_info->format, format 3102 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dc_plane_state->format = plane_info.format; format 3104 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dc_plane_state->format = plane_info.format; format 4561 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev, afb, plane_state->format, plane_state->rotation, format 6908 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c old_other_state->fb->format != new_other_state->fb->format) format 110 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c edid_caps->audio_modes[i].format_code = sad->format; format 31 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c const struct custom_float_format *format, format 36 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c uint32_t exp_offset = (1 << (format->exponenta_bits - 1)) - 1; format 40 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c (1LL << (format->mantissa_bits + 1)) - 1, format 41 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c 1LL << format->mantissa_bits); format 57 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c *negative = format->sign; format 115 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c format->mantissa_bits); format 123 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c const struct custom_float_format *format, format 139 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c (1 << (format->mantissa_bits + 1)) - 1; format 142 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c (1 << (format->exponenta_bits + 1)) - 1; format 156 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c while (i < format->mantissa_bits) { format 165 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c while (j < format->exponenta_bits) { format 174 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c if (negative && format->sign) format 184 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c const struct custom_float_format *format, format 192 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c value, format, &negative, &mantissa, &exponenta) && format 194 drivers/gpu/drm/amd/display/dc/calcs/custom_float.c format, negative, mantissa, exponenta, result); format 2822 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (pipe[i].plane_state->format) { format 2924 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (pipe[i].plane_state->format) { format 229 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c static enum dcn_bw_defs tl_pixel_format_to_bw_defs(enum surface_pixel_format format) format 231 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c switch (format) { format 329 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c dcc_support_pixel_format(pipe->plane_state->format, &bpe) ? 1 : 0; format 360 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c switch (pipe->plane_state->format) { format 976 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->plane_state->format, &bpe) ? dcn_bw_yes : dcn_bw_no; format 980 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->plane_state->format); format 1395 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->plane_info->format != u->surface->format) { format 1427 drivers/gpu/drm/amd/display/dc/core/dc.c if (resource_pixel_format_to_bpp(u->plane_info->format) != format 1428 drivers/gpu/drm/amd/display/dc/core/dc.c resource_pixel_format_to_bpp(u->surface->format)) { format 1558 drivers/gpu/drm/amd/display/dc/core/dc.c enum surface_pixel_format format = SURFACE_PIXEL_FORMAT_GRPH_BEGIN; format 1561 drivers/gpu/drm/amd/display/dc/core/dc.c format = u->plane_info->format; format 1563 drivers/gpu/drm/amd/display/dc/core/dc.c format = u->surface->format; format 1565 drivers/gpu/drm/amd/display/dc/core/dc.c if (dce_use_lut(format)) format 1713 drivers/gpu/drm/amd/display/dc/core/dc.c surface->format = format 1714 drivers/gpu/drm/amd/display/dc/core/dc.c srf_update->plane_info->format; format 166 drivers/gpu/drm/amd/display/dc/core/dc_debug.c plane_state->format, format 213 drivers/gpu/drm/amd/display/dc/core/dc_debug.c update->plane_info->format, format 554 drivers/gpu/drm/amd/display/dc/core/dc_resource.c int vpc_div = (data->format == PIXEL_FORMAT_420BPP8 format 555 drivers/gpu/drm/amd/display/dc/core/dc_resource.c || data->format == PIXEL_FORMAT_420BPP10) ? 2 : 1; format 748 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (pipe_ctx->plane_res.scl_data.format == PIXEL_FORMAT_420BPP8 format 749 drivers/gpu/drm/amd/display/dc/core/dc_resource.c || pipe_ctx->plane_res.scl_data.format == PIXEL_FORMAT_420BPP10) { format 850 drivers/gpu/drm/amd/display/dc/core/dc_resource.c int vpc_div = (data->format == PIXEL_FORMAT_420BPP8 format 851 drivers/gpu/drm/amd/display/dc/core/dc_resource.c || data->format == PIXEL_FORMAT_420BPP10) ? 2 : 1; format 972 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.format = convert_pixel_format_to_dalsurface( format 973 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_state->format); format 2135 drivers/gpu/drm/amd/display/dc/core/dc_resource.c enum dc_timing_3d_format format; format 2296 drivers/gpu/drm/amd/display/dc/core/dc_resource.c format = stream->timing.timing_3d_format; format 2298 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (format != TIMING_3D_FORMAT_NONE) { format 2784 drivers/gpu/drm/amd/display/dc/core/dc_resource.c unsigned int resource_pixel_format_to_bpp(enum surface_pixel_format format) format 2786 drivers/gpu/drm/amd/display/dc/core/dc_resource.c switch (format) { format 130 drivers/gpu/drm/amd/display/dc/dc.h enum surface_pixel_format format; format 746 drivers/gpu/drm/amd/display/dc/dc.h enum surface_pixel_format format; format 776 drivers/gpu/drm/amd/display/dc/dc.h enum surface_pixel_format format; format 201 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c bool dce_use_lut(enum surface_pixel_format format) format 203 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c switch (format) { format 839 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h bool dce_use_lut(enum surface_pixel_format format); format 88 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c enum surface_pixel_format format) format 90 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c if (format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616) format 92 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c else if (format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB8888) format 94 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c else if (format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB1555) format 135 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c enum surface_pixel_format format, format 140 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c enum mi_bits_per_pixel mi_bpp = get_mi_bpp(format); format 434 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c enum surface_pixel_format format) format 440 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c if (format == SURFACE_PIXEL_FORMAT_GRPH_ABGR8888 || format 443 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010 || format 444 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010_XR_BIAS || format 445 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c format == SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F) { format 455 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c switch (format) { format 506 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c enum surface_pixel_format format, format 519 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c if (format >= SURFACE_PIXEL_FORMAT_GRPH_BEGIN && format 520 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c format < SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) format 521 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c program_grph_pixel_format(dce_mi, format); format 135 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c if (data->format <= PIXEL_FORMAT_GRPH_END) format 802 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c if (context->stream_status[i].plane_states[0]->format format 850 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c if (plane_state->format < SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) format 248 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c switch (plane_state->format) { format 290 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c dce_use_lut(plane_state->format)) format 1198 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c switch (pipe_ctx->plane_res.scl_data.format) { format 2121 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c default_adjust.surface_pixel_format = pipe_ctx->plane_res.scl_data.format; format 2513 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c plane_state->format, format 2525 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c plane_state->format, format 363 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c enum surface_pixel_format format) format 365 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c if (format < SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) { format 374 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c switch (format) { format 446 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c switch (format) { format 527 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c enum surface_pixel_format format, format 537 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c if (format >= SURFACE_PIXEL_FORMAT_INVALID) format 539 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c else if (format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) format 565 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c enum surface_pixel_format format, format 570 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c const unsigned int *pte = get_dvmm_hw_setting(tiling_info, format, false); format 571 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c const unsigned int *pte_chroma = get_dvmm_hw_setting(tiling_info, format, true); format 638 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c enum surface_pixel_format format, format 648 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c program_tiling(mem_input110, tiling_info, format); format 650 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c program_pixel_format(mem_input110, format); format 862 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c if (pipe_ctx->plane_state->format < SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) format 991 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c if (plane->format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) { format 66 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c if (scl_data->format == PIXEL_FORMAT_420BPP8) { format 191 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c } else if (data->format != PIXEL_FORMAT_420BPP8) { format 929 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c if (context->stream_status[i].plane_states[0]->format format 836 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c if (context->stream_status[i].plane_states[0]->format format 145 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (scl_data->format == PIXEL_FORMAT_FP16 && format 290 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c enum surface_pixel_format format, format 311 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c dpp1_setup_format_flags(format, &fmt); format 341 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c switch (format) { format 1486 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h enum surface_pixel_format format, format 149 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c static bool dpp1_dscl_is_video_format(enum pixel_format format) format 151 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c if (format >= PIXEL_FORMAT_VIDEO_BEGIN format 152 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c && format <= PIXEL_FORMAT_VIDEO_END) format 158 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c static bool dpp1_dscl_is_420_format(enum pixel_format format) format 160 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c if (format == PIXEL_FORMAT_420BPP8 || format 161 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c format == PIXEL_FORMAT_420BPP10) format 176 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c if (data->format == PIXEL_FORMAT_FP16) format 187 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c if (!dpp1_dscl_is_420_format(data->format)) { format 188 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c if (dpp1_dscl_is_video_format(data->format)) format 506 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c if (scl_data->format == PIXEL_FORMAT_420BPP8 format 507 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c || scl_data->format == PIXEL_FORMAT_420BPP10) { format 534 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c bool ycbcr = scl_data->format >= PIXEL_FORMAT_VIDEO_BEGIN format 535 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c && scl_data->format <= PIXEL_FORMAT_VIDEO_END; format 673 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c bool ycbcr = scl_data->format >= PIXEL_FORMAT_VIDEO_BEGIN format 674 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c && scl_data->format <= PIXEL_FORMAT_VIDEO_END; format 783 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c enum surface_pixel_format format, format 787 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c switch (format) { format 873 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c if (!hubbub1->base.funcs->dcc_support_pixel_format(input->format, &bpe)) format 165 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c enum surface_pixel_format format, format 175 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN && format < SURFACE_PIXEL_FORMAT_SUBSAMPLE_END) { format 198 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) format 238 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c enum surface_pixel_format format) format 245 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (format == SURFACE_PIXEL_FORMAT_GRPH_ABGR8888 format 246 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010 format 247 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010_XR_BIAS format 248 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F) { format 259 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c switch (format) { format 527 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c enum surface_pixel_format format, format 536 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c hubp1_program_tiling(hubp, tiling_info, format); format 537 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c hubp1_program_size(hubp, format, plane_size, dcc); format 539 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c hubp1_program_pixel_format(hubp, format); format 1072 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c enum dc_cursor_color_format format) format 1076 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (format == CURSOR_MODE_MONO) format 662 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h enum surface_pixel_format format, format 681 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h enum surface_pixel_format format); format 685 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h enum surface_pixel_format format, format 1405 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c && dce_use_lut(plane_state->format)) format 2031 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c switch (pipe_ctx->plane_res.scl_data.format) { format 2073 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c switch (top_pipe_ctx->plane_res.scl_data.format) { format 2143 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN format 2144 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c && plane_state->format != SURFACE_PIXEL_FORMAT_INVALID format 2167 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->format, format 2392 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->format, format 1139 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c if (plane_state->format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN format 1167 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c if (plane->format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) { format 1201 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c enum surface_pixel_format surf_pix_format = plane_state->format; format 97 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c enum surface_pixel_format format, format 127 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c switch (format) { format 390 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c scl_data->format == PIXEL_FORMAT_FP16) format 139 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c enum surface_pixel_format format, format 143 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c switch (format) { format 231 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c if (!hubbub->funcs->dcc_support_pixel_format(input->format, format 99 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h enum surface_pixel_format format, format 324 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c enum surface_pixel_format format, format 335 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c use_pitch_c = format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN format 336 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c && format < SURFACE_PIXEL_FORMAT_SUBSAMPLE_END; format 360 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c use_pitch_c = format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN; format 415 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c enum surface_pixel_format format) format 422 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c if (format == SURFACE_PIXEL_FORMAT_GRPH_ABGR8888 format 423 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010 format 424 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010_XR_BIAS format 425 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F) { format 436 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c switch (format) { format 518 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c enum surface_pixel_format format, format 529 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c hubp2_program_tiling(hubp2, tiling_info, format); format 530 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c hubp2_program_size(hubp, format, plane_size, dcc); format 532 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c hubp2_program_pixel_format(hubp, format); format 294 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h enum surface_pixel_format format, format 305 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h enum surface_pixel_format format); format 309 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h enum surface_pixel_format format, format 291 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mmhubbub.c dump_info->format = out_format; format 2087 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (pln->format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN) { format 2134 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c switch (pln->format) { format 2990 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c enum surface_pixel_format surf_pix_format = plane_state->format; format 36 drivers/gpu/drm/amd/display/dc/inc/custom_float.h const struct custom_float_format *format, format 131 drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h enum surface_pixel_format format, format 190 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h enum surface_pixel_format format, format 96 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h enum surface_pixel_format format, format 110 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h enum surface_pixel_format format, format 88 drivers/gpu/drm/amd/display/dc/inc/hw/ipp.h enum surface_pixel_format format, format 64 drivers/gpu/drm/amd/display/dc/inc/hw/mcif_wb.h enum dwb_scaler_mode format; format 140 drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h enum surface_pixel_format format, format 154 drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h enum surface_pixel_format format, format 180 drivers/gpu/drm/amd/display/dc/inc/hw/transform.h enum pixel_format format; format 253 drivers/gpu/drm/amd/display/dc/inc/hw/transform.h enum surface_pixel_format format, format 182 drivers/gpu/drm/amd/display/dc/inc/resource.h unsigned int resource_pixel_format_to_bpp(enum surface_pixel_format format); format 108 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c ATOM_INIT_REG_INDEX_FORMAT *format = ®_block->asRegIndexBuf[0]; format 116 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c while ((!(format->ucPreRegDataLength & ACCESS_PLACEHOLDER)) && format 119 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c (uint16_t)(le16_to_cpu(format->usRegIndex)); format 121 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c format->ucPreRegDataLength; format 124 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c format = (ATOM_INIT_REG_INDEX_FORMAT *) format 125 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c ((uint8_t *)format + sizeof(ATOM_INIT_REG_INDEX_FORMAT)); format 32 drivers/gpu/drm/arc/arcpgu_crtc.c uint32_t pixel_format = fb->format->format; format 33 drivers/gpu/drm/arc/arcpgu_crtc.c struct simplefb_format *format = NULL; format 38 drivers/gpu/drm/arc/arcpgu_crtc.c format = &supported_formats[i]; format 41 drivers/gpu/drm/arc/arcpgu_crtc.c if (WARN_ON(!format)) format 44 drivers/gpu/drm/arc/arcpgu_crtc.c if (format->fourcc == DRM_FORMAT_RGB888) format 173 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c const struct drm_format_info *info = fb->format; format 228 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c if (fb->format->is_yuv) { format 42 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c switch (info->format) { format 21 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c for (i = 0; i < fb->format->num_planes; i++) format 44 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c const struct drm_format_info *info = fb->format; format 116 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c const struct drm_format_info *info = fb->format; format 148 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c if (fb->format->num_planes == 3) { format 201 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c for (i = 0; i < kfb->base.format->num_planes; i++) format 212 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c const struct drm_format_info *info = fb->format; format 213 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c u32 block_w = drm_format_info_block_width(fb->format, 0); format 214 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c u32 block_h = drm_format_info_block_height(fb->format, 0); format 224 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c src_x, src_y, src_w, src_h, info->format); format 231 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c src_x, src_y, src_w, src_h, info->format); format 245 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c if (plane >= fb->format->num_planes) { format 254 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c block_w = drm_format_info_block_width(fb->format, plane); format 255 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c block_sz = fb->format->char_per_block[plane]; format 256 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c plane_x = x / (plane ? fb->format->hsub : 1); format 257 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c plane_y = y / (plane ? fb->format->vsub : 1); format 272 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c u32 fourcc = fb->format->format; format 361 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c for (i = 0; i < fb->format->num_planes; i++) format 405 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c for (i = 0; i < kfb->base.format->num_planes; i++) format 800 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (!fb->format->has_alpha) format 807 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c dflow->is_yuv = fb->format->is_yuv; format 185 drivers/gpu/drm/arm/display/komeda/komeda_plane.c u32 format, u64 modifier) format 192 drivers/gpu/drm/arm/display/komeda/komeda_plane.c format, modifier, 0); format 88 drivers/gpu/drm/arm/hdlcd_crtc.c struct simplefb_format *format = NULL; format 91 drivers/gpu/drm/arm/hdlcd_crtc.c pixel_format = fb->format->format; format 95 drivers/gpu/drm/arm/hdlcd_crtc.c format = &supported_formats[i]; format 98 drivers/gpu/drm/arm/hdlcd_crtc.c if (WARN_ON(!format)) format 102 drivers/gpu/drm/arm/hdlcd_crtc.c btpp = (format->bits_per_pixel + 7) / 8; format 115 drivers/gpu/drm/arm/hdlcd_crtc.c hdlcd_write(hdlcd, HDLCD_REG_RED_SELECT, format->red.offset | format 119 drivers/gpu/drm/arm/hdlcd_crtc.c ((format->red.length & 0xf) << 8)); format 120 drivers/gpu/drm/arm/hdlcd_crtc.c hdlcd_write(hdlcd, HDLCD_REG_GREEN_SELECT, format->green.offset | format 121 drivers/gpu/drm/arm/hdlcd_crtc.c ((format->green.length & 0xf) << 8)); format 122 drivers/gpu/drm/arm/hdlcd_crtc.c hdlcd_write(hdlcd, HDLCD_REG_BLUE_SELECT, format->blue.offset | format 123 drivers/gpu/drm/arm/hdlcd_crtc.c ((format->blue.length & 0xf) << 8)); format 327 drivers/gpu/drm/arm/malidp_drv.c bpp = malidp_format_get_bpp(info->format); format 67 drivers/gpu/drm/arm/malidp_drv.h u8 format; format 90 drivers/gpu/drm/arm/malidp_drv.h bool malidp_hw_format_is_linear_only(u32 format); format 91 drivers/gpu/drm/arm/malidp_drv.h bool malidp_hw_format_is_afbc_only(u32 format); format 94 drivers/gpu/drm/arm/malidp_drv.h u32 format, u64 modifier); format 1083 drivers/gpu/drm/arm/malidp_hw.c u8 layer_id, u32 format, bool has_modifier) format 1089 drivers/gpu/drm/arm/malidp_hw.c (map->pixel_formats[i].format == format)) { format 1095 drivers/gpu/drm/arm/malidp_hw.c if (format == DRM_FORMAT_YUYV && format 1107 drivers/gpu/drm/arm/malidp_hw.c bool malidp_hw_format_is_linear_only(u32 format) format 1109 drivers/gpu/drm/arm/malidp_hw.c switch (format) { format 1136 drivers/gpu/drm/arm/malidp_hw.c bool malidp_hw_format_is_afbc_only(u32 format) format 1138 drivers/gpu/drm/arm/malidp_hw.c switch (format) { format 42 drivers/gpu/drm/arm/malidp_hw.h u32 format; /* DRM fourcc */ format 324 drivers/gpu/drm/arm/malidp_hw.h u8 layer_id, u32 format, bool has_modifier); format 28 drivers/gpu/drm/arm/malidp_mw.c u8 format; format 150 drivers/gpu/drm/arm/malidp_mw.c mw_state->format = format 152 drivers/gpu/drm/arm/malidp_mw.c fb->format->format, !!fb->modifier); format 153 drivers/gpu/drm/arm/malidp_mw.c if (mw_state->format == MALIDP_INVALID_FORMAT_ID) { format 157 drivers/gpu/drm/arm/malidp_mw.c drm_get_format_name(fb->format->format, format 162 drivers/gpu/drm/arm/malidp_mw.c n_planes = fb->format->num_planes; format 178 drivers/gpu/drm/arm/malidp_mw.c if (fb->format->is_yuv) format 201 drivers/gpu/drm/arm/malidp_mw.c formats[n++] = map->pixel_formats[i].format; format 259 drivers/gpu/drm/arm/malidp_mw.c mw_state->format); format 264 drivers/gpu/drm/arm/malidp_mw.c fb->width, fb->height, mw_state->format, format 111 drivers/gpu/drm/arm/malidp_planes.c state->format = m_state->format; format 141 drivers/gpu/drm/arm/malidp_planes.c drm_printf(p, "\tformat_id=%u\n", ms->format); format 149 drivers/gpu/drm/arm/malidp_planes.c u32 format, u64 modifier) format 165 drivers/gpu/drm/arm/malidp_planes.c return !malidp_hw_format_is_afbc_only(format); format 202 drivers/gpu/drm/arm/malidp_planes.c info = drm_format_info(format); format 209 drivers/gpu/drm/arm/malidp_planes.c if (malidp_hw_format_is_linear_only(format) == true) { format 211 drivers/gpu/drm/arm/malidp_planes.c format); format 235 drivers/gpu/drm/arm/malidp_planes.c if (!(format == DRM_FORMAT_YUV420_10BIT && format 254 drivers/gpu/drm/arm/malidp_planes.c u32 format, u64 modifier) format 256 drivers/gpu/drm/arm/malidp_planes.c return malidp_format_mod_supported(plane->dev, format, modifier); format 376 drivers/gpu/drm/arm/malidp_planes.c static bool malidp_partial_prefetch_supported(u32 format, u64 modifier, format 389 drivers/gpu/drm/arm/malidp_planes.c switch (format) { format 457 drivers/gpu/drm/arm/malidp_planes.c if (malidp_partial_prefetch_supported(ms->base.fb->format->format, format 520 drivers/gpu/drm/arm/malidp_planes.c ms->format = malidp_hw_get_format_id(&mp->hwdev->hw->map, format 521 drivers/gpu/drm/arm/malidp_planes.c mp->layer->id, fb->format->format, format 523 drivers/gpu/drm/arm/malidp_planes.c if (ms->format == MALIDP_INVALID_FORMAT_ID) format 526 drivers/gpu/drm/arm/malidp_planes.c ms->n_planes = fb->format->num_planes; format 530 drivers/gpu/drm/arm/malidp_planes.c if (((fb->pitches[i] * drm_format_info_block_height(fb->format, i)) format 538 drivers/gpu/drm/arm/malidp_planes.c block_w = drm_format_info_block_width(fb->format, 0); format 539 drivers/gpu/drm/arm/malidp_planes.c block_h = drm_format_info_block_height(fb->format, 0); format 579 drivers/gpu/drm/arm/malidp_planes.c if ((fb->format->format == DRM_FORMAT_RGB888 || format 580 drivers/gpu/drm/arm/malidp_planes.c fb->format->format == DRM_FORMAT_BGR888) && !(fb->modifier)) format 596 drivers/gpu/drm/arm/malidp_planes.c fb->format->format, format 607 drivers/gpu/drm/arm/malidp_planes.c fb->format->has_alpha) format 634 drivers/gpu/drm/arm/malidp_planes.c unsigned int block_h = drm_format_info_block_height(mp->base.state->fb->format, i); format 822 drivers/gpu/drm/arm/malidp_planes.c val = (val & ~LAYER_FORMAT_MASK) | ms->format; format 879 drivers/gpu/drm/arm/malidp_planes.c } else if (state->fb->format->has_alpha) { format 977 drivers/gpu/drm/arm/malidp_planes.c formats[n++] = map->pixel_formats[j].format; format 25 drivers/gpu/drm/armada/armada_fb.c uint8_t format, config; format 31 drivers/gpu/drm/armada/armada_fb.c format = CFG_##fmt; \ format 64 drivers/gpu/drm/armada/armada_fb.c dfb->fmt = format; format 91 drivers/gpu/drm/armada/armada_fbdev.c dfb->fb.width, dfb->fb.height, dfb->fb.format->cpp[0] * 8, format 110 drivers/gpu/drm/armada/armada_overlay.c const struct drm_format_info *format; format 142 drivers/gpu/drm/armada/armada_overlay.c format = state->fb->format; format 144 drivers/gpu/drm/armada/armada_overlay.c if (format->num_planes == 1 && src_x & (format->hsub - 1)) format 41 drivers/gpu/drm/armada/armada_plane.c const struct drm_format_info *format = fb->format; format 42 drivers/gpu/drm/armada/armada_plane.c unsigned int num_planes = format->num_planes; format 49 drivers/gpu/drm/armada/armada_plane.c fb->pitches[0], x, y, format->cpp[0] * 8); format 55 drivers/gpu/drm/armada/armada_plane.c x * format->cpp[0]; format 58 drivers/gpu/drm/armada/armada_plane.c y /= format->vsub; format 59 drivers/gpu/drm/armada/armada_plane.c x /= format->hsub; format 63 drivers/gpu/drm/armada/armada_plane.c x * format->cpp[i]; format 30 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c const u32 format = crtc->primary->state->fb->format->format; format 36 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c switch (format) { format 48 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c dev_err(drm->dev, "Unhandled pixel format %08x\n", format); format 96 drivers/gpu/drm/ast/ast_mode.c switch (fb->format->cpp[0] * 8) { format 220 drivers/gpu/drm/ast/ast_mode.c fb->format->cpp[0] * 8); format 425 drivers/gpu/drm/ast/ast_mode.c switch (fb->format->cpp[0] * 8) { format 483 drivers/gpu/drm/ast/ast_mode.c switch (fb->format->cpp[0] * 8) { format 126 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c static int atmel_hlcdc_format_to_plane_mode(u32 format, u32 *mode) format 128 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c switch (format) { format 362 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c const struct drm_format_info *format = state->base.fb->format; format 368 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c if (format->format == DRM_FORMAT_RGB888) format 380 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c if (format->has_alpha) format 400 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c ret = atmel_hlcdc_format_to_plane_mode(state->base.fb->format->format, format 405 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c if ((state->base.fb->format->format == DRM_FORMAT_YUV422 || format 406 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->base.fb->format->format == DRM_FORMAT_NV61) && format 553 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c ovl_s->fb->format->has_alpha || format 638 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->nplanes = fb->format->num_planes; format 644 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c int xdiv = i ? fb->format->hsub : 1; format 645 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c int ydiv = i ? fb->format->vsub : 1; format 647 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->bpp[i] = fb->format->cpp[i]; format 709 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->base.fb->format->has_alpha)) format 85 drivers/gpu/drm/bochs/bochs.h const struct drm_format_info *format); format 236 drivers/gpu/drm/bochs/bochs_hw.c const struct drm_format_info *format) format 239 drivers/gpu/drm/bochs/bochs_hw.c (format->format >> 0) & 0xff, format 240 drivers/gpu/drm/bochs/bochs_hw.c (format->format >> 8) & 0xff, format 241 drivers/gpu/drm/bochs/bochs_hw.c (format->format >> 16) & 0xff, format 242 drivers/gpu/drm/bochs/bochs_hw.c (format->format >> 24) & 0xff); format 244 drivers/gpu/drm/bochs/bochs_hw.c switch (format->format) { format 254 drivers/gpu/drm/bochs/bochs_hw.c __func__, format->format); format 43 drivers/gpu/drm/bochs/bochs_kms.c bochs_hw_setformat(bochs, state->fb->format); format 166 drivers/gpu/drm/bridge/adv7511/adv7533.c dsi->format = MIPI_DSI_FMT_RGB888; format 522 drivers/gpu/drm/bridge/cdns-dsi.c bpp = mipi_dsi_pixel_format_to_bpp(output->dev->format); format 619 drivers/gpu/drm/bridge/cdns-dsi.c mipi_dsi_pixel_format_to_bpp(output->dev->format), format 685 drivers/gpu/drm/bridge/cdns-dsi.c bpp = mipi_dsi_pixel_format_to_bpp(output->dev->format); format 794 drivers/gpu/drm/bridge/cdns-dsi.c bpp = mipi_dsi_pixel_format_to_bpp(output->dev->format); format 864 drivers/gpu/drm/bridge/cdns-dsi.c switch (output->dev->format) { format 440 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c switch (runtime->format) { format 236 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c u32 format; format 310 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c dsi->format = device->format; format 591 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c switch (dsi->format) { format 855 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c lanes, dsi->format, &dsi->lane_mbps); format 1085 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c dsi->slave->format = dsi->format; format 447 drivers/gpu/drm/bridge/tc358764.c dsi->format = MIPI_DSI_FMT_RGB888; format 316 drivers/gpu/drm/bridge/ti-sn65dsi86.c dsi->format = MIPI_DSI_FMT_RGB888; format 368 drivers/gpu/drm/bridge/ti-sn65dsi86.c mipi_dsi_pixel_format_to_bpp(pdata->dsi->format); format 437 drivers/gpu/drm/bridge/ti-sn65dsi86.c mipi_dsi_pixel_format_to_bpp(pdata->dsi->format); format 124 drivers/gpu/drm/cirrus/cirrus.c if (fb->format->cpp[0] == 4 && fb->pitches[0] > CIRRUS_MAX_PITCH) { format 141 drivers/gpu/drm/cirrus/cirrus.c return fb->format->cpp[0]; format 309 drivers/gpu/drm/cirrus/cirrus.c if (cirrus->cpp == fb->format->cpp[0]) format 313 drivers/gpu/drm/cirrus/cirrus.c else if (fb->format->cpp[0] == 4 && cirrus->cpp == 2) format 318 drivers/gpu/drm/cirrus/cirrus.c else if (fb->format->cpp[0] == 4 && cirrus->cpp == 3) format 573 drivers/gpu/drm/drm_atomic.c ret = drm_plane_check_pixel_format(plane, fb->format->format, format 579 drivers/gpu/drm/drm_atomic.c drm_get_format_name(fb->format->format, format 249 drivers/gpu/drm/drm_client.c drm_client_buffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format) format 251 drivers/gpu/drm/drm_client.c const struct drm_format_info *info = drm_format_info(format); format 361 drivers/gpu/drm/drm_client.c u32 width, u32 height, u32 format) format 368 drivers/gpu/drm/drm_client.c info = drm_format_info(format); format 407 drivers/gpu/drm/drm_client.c drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format) format 412 drivers/gpu/drm/drm_client.c buffer = drm_client_buffer_create(client, width, height, format); format 416 drivers/gpu/drm/drm_client.c ret = drm_client_buffer_addfb(buffer, width, height, format); format 628 drivers/gpu/drm/drm_crtc.c fb->format->format, format 633 drivers/gpu/drm/drm_crtc.c drm_get_format_name(fb->format->format, format 593 drivers/gpu/drm/drm_crtc_helper.c } else if (set->fb->format != set->crtc->primary->fb->format) { format 256 drivers/gpu/drm/drm_crtc_internal.h u32 format, u64 modifier); format 4217 drivers/gpu/drm/drm_edid.c (*sads)[j].format = (sad[0] & 0x78) >> 3; format 69 drivers/gpu/drm/drm_fb_cma_helper.c u32 block_w = drm_format_info_block_width(fb->format, plane); format 70 drivers/gpu/drm/drm_fb_cma_helper.c u32 block_h = drm_format_info_block_height(fb->format, plane); format 71 drivers/gpu/drm/drm_fb_cma_helper.c u32 block_size = fb->format->char_per_block[plane]; format 84 drivers/gpu/drm/drm_fb_cma_helper.c h_div = fb->format->hsub; format 85 drivers/gpu/drm/drm_fb_cma_helper.c v_div = fb->format->vsub; format 385 drivers/gpu/drm/drm_fb_helper.c unsigned int cpp = fb->format->cpp[0]; format 1315 drivers/gpu/drm/drm_fb_helper.c if ((drm_format_info_block_width(fb->format, 0) > 1) || format 1316 drivers/gpu/drm/drm_fb_helper.c (drm_format_info_block_height(fb->format, 0) > 1)) format 1323 drivers/gpu/drm/drm_fb_helper.c if (var->bits_per_pixel > fb->format->cpp[0] * 8 || format 1330 drivers/gpu/drm/drm_fb_helper.c fb->width, fb->height, fb->format->cpp[0] * 8); format 1345 drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_fill_pixel_fmt(var, fb->format->depth); format 1351 drivers/gpu/drm/drm_fb_helper.c var->bits_per_pixel = fb->format->cpp[0] * 8; format 1681 drivers/gpu/drm/drm_fb_helper.c WARN_ON((drm_format_info_block_width(fb->format, 0) > 1) || format 1682 drivers/gpu/drm/drm_fb_helper.c (drm_format_info_block_height(fb->format, 0) > 1)); format 1686 drivers/gpu/drm/drm_fb_helper.c info->var.bits_per_pixel = fb->format->cpp[0] * 8; format 1692 drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_fill_pixel_fmt(&info->var, fb->format->depth); format 1717 drivers/gpu/drm/drm_fb_helper.c drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth); format 2206 drivers/gpu/drm/drm_fb_helper.c u32 format; format 2213 drivers/gpu/drm/drm_fb_helper.c format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); format 2215 drivers/gpu/drm/drm_fb_helper.c sizes->surface_height, format); format 39 drivers/gpu/drm/drm_format_helper.c unsigned int cpp = fb->format->cpp[0]; format 66 drivers/gpu/drm/drm_format_helper.c unsigned int cpp = fb->format->cpp[0]; format 295 drivers/gpu/drm/drm_format_helper.c if (WARN_ON(fb->format->format != DRM_FORMAT_XRGB8888)) format 138 drivers/gpu/drm/drm_fourcc.c const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf) format 142 drivers/gpu/drm/drm_fourcc.c printable_char(format & 0xff), format 143 drivers/gpu/drm/drm_fourcc.c printable_char((format >> 8) & 0xff), format 144 drivers/gpu/drm/drm_fourcc.c printable_char((format >> 16) & 0xff), format 145 drivers/gpu/drm/drm_fourcc.c printable_char((format >> 24) & 0x7f), format 146 drivers/gpu/drm/drm_fourcc.c format & DRM_FORMAT_BIG_ENDIAN ? "big" : "little", format 147 drivers/gpu/drm/drm_fourcc.c format); format 157 drivers/gpu/drm/drm_fourcc.c const struct drm_format_info *__drm_format_info(u32 format) format 160 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, format 161 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, format 162 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, format 163 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 164 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 165 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 166 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 167 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 168 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 169 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 170 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 171 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 172 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 173 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 174 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 175 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 176 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 177 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 178 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 179 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB565, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 180 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR565, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, format 181 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB888, .depth = 24, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1 }, format 182 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR888, .depth = 24, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1 }, format 183 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, format 184 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, format 185 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, format 186 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, format 187 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 188 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 189 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, format 190 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, format 191 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, format 192 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, format 193 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 194 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 195 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 196 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 197 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 198 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 199 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 200 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 201 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1 }, format 202 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1 }, format 203 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 204 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 205 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB888_A8, .depth = 32, .num_planes = 2, .cpp = { 3, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 206 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR888_A8, .depth = 32, .num_planes = 2, .cpp = { 3, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 207 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 208 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 209 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 210 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, format 211 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, format 212 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, format 213 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, format 214 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, format 215 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, format 216 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, format 217 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 218 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 219 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 220 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 221 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV12, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 2, .is_yuv = true }, format 222 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV21, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 2, .is_yuv = true }, format 223 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV16, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 224 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV61, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 225 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV24, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 226 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV42, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 227 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUYV, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 228 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVYU, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 229 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_UYVY, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 230 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_VYUY, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 231 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XYUV8888, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 232 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_VUY888, .depth = 0, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 233 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_AYUV, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, format 234 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y210, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 235 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y212, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 236 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y216, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, format 237 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y410, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, format 238 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y412, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, format 239 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y416, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, format 240 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU2101010, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 241 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU12_16161616, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 242 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU16161616, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, format 243 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y0L0, .depth = 0, .num_planes = 1, format 246 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_X0L0, .depth = 0, .num_planes = 1, format 249 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y0L2, .depth = 0, .num_planes = 1, format 252 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_X0L2, .depth = 0, .num_planes = 1, format 255 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_P010, .depth = 0, .num_planes = 2, format 258 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_P012, .depth = 0, .num_planes = 2, format 261 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_P016, .depth = 0, .num_planes = 2, format 264 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_P210, .depth = 0, format 268 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_VUY101010, .depth = 0, format 271 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV420_8BIT, .depth = 0, format 274 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV420_10BIT, .depth = 0, format 282 drivers/gpu/drm/drm_fourcc.c if (formats[i].format == format) format 300 drivers/gpu/drm/drm_fourcc.c const struct drm_format_info *drm_format_info(u32 format) format 304 drivers/gpu/drm/drm_fourcc.c info = __drm_format_info(format); format 154 drivers/gpu/drm/drm_framebuffer.c const struct drm_format_info *format, int plane) format 159 drivers/gpu/drm/drm_framebuffer.c return DIV_ROUND_UP(width, format->hsub); format 163 drivers/gpu/drm/drm_framebuffer.c const struct drm_format_info *format, int plane) format 168 drivers/gpu/drm/drm_framebuffer.c return DIV_ROUND_UP(height, format->vsub); format 520 drivers/gpu/drm/drm_framebuffer.c if (fb->format->num_planes > 1) { format 532 drivers/gpu/drm/drm_framebuffer.c r->depth = fb->format->depth; format 533 drivers/gpu/drm/drm_framebuffer.c r->bpp = fb->format->cpp[0] * 8; format 728 drivers/gpu/drm/drm_framebuffer.c if (WARN_ON_ONCE(fb->dev != dev || !fb->format)) format 1012 drivers/gpu/drm/drm_framebuffer.c if (plane >= fb->format->num_planes) format 1015 drivers/gpu/drm/drm_framebuffer.c return fb_plane_width(width, fb->format, plane); format 1031 drivers/gpu/drm/drm_framebuffer.c if (plane >= fb->format->num_planes) format 1034 drivers/gpu/drm/drm_framebuffer.c return fb_plane_height(height, fb->format, plane); format 1048 drivers/gpu/drm/drm_framebuffer.c drm_get_format_name(fb->format->format, &format_name)); format 1053 drivers/gpu/drm/drm_framebuffer.c for (i = 0; i < fb->format->num_planes; i++) { format 217 drivers/gpu/drm/drm_mipi_dbi.c switch (fb->format->format) { format 229 drivers/gpu/drm/drm_mipi_dbi.c drm_get_format_name(fb->format->format, format 265 drivers/gpu/drm/drm_mipi_dbi.c fb->format->format == DRM_FORMAT_XRGB8888) { format 818 drivers/gpu/drm/drm_mipi_dsi.c int mipi_dsi_dcs_get_pixel_format(struct mipi_dsi_device *dsi, u8 *format) format 822 drivers/gpu/drm/drm_mipi_dsi.c err = mipi_dsi_dcs_read(dsi, MIPI_DCS_GET_PIXEL_FORMAT, format, format 823 drivers/gpu/drm/drm_mipi_dsi.c sizeof(*format)); format 1009 drivers/gpu/drm/drm_mipi_dsi.c int mipi_dsi_dcs_set_pixel_format(struct mipi_dsi_device *dsi, u8 format) format 1013 drivers/gpu/drm/drm_mipi_dsi.c err = mipi_dsi_dcs_write(dsi, MIPI_DCS_SET_PIXEL_FORMAT, &format, format 1014 drivers/gpu/drm/drm_mipi_dsi.c sizeof(format)); format 86 drivers/gpu/drm/drm_modeset_helper.c fb->format = drm_get_format_info(dev, mode_cmd); format 567 drivers/gpu/drm/drm_plane.c u32 format, u64 modifier) format 572 drivers/gpu/drm/drm_plane.c if (format == plane->format_types[i]) format 579 drivers/gpu/drm/drm_plane.c if (!plane->funcs->format_mod_supported(plane, format, modifier)) format 613 drivers/gpu/drm/drm_plane.c ret = drm_plane_check_pixel_format(plane, fb->format->format, format 619 drivers/gpu/drm/drm_plane.c drm_get_format_name(fb->format->format, format 652 drivers/gpu/drm/drm_plane.c u32 format, u64 modifier) format 657 drivers/gpu/drm/drm_plane.c if (drm_plane_check_pixel_format(plane, format, modifier) == 0) format 1156 drivers/gpu/drm/drm_plane.c if (old_fb->format != fb->format) { format 183 drivers/gpu/drm/drm_print.c const char *format, ...) format 188 drivers/gpu/drm/drm_print.c va_start(args, format); format 189 drivers/gpu/drm/drm_print.c vaf.fmt = format; format 204 drivers/gpu/drm/drm_print.c const char *format, ...) format 212 drivers/gpu/drm/drm_print.c va_start(args, format); format 213 drivers/gpu/drm/drm_print.c vaf.fmt = format; format 227 drivers/gpu/drm/drm_print.c void drm_dbg(unsigned int category, const char *format, ...) format 235 drivers/gpu/drm/drm_print.c va_start(args, format); format 236 drivers/gpu/drm/drm_print.c vaf.fmt = format; format 246 drivers/gpu/drm/drm_print.c void drm_err(const char *format, ...) format 251 drivers/gpu/drm/drm_print.c va_start(args, format); format 252 drivers/gpu/drm/drm_print.c vaf.fmt = format; format 191 drivers/gpu/drm/drm_simple_kms_helper.c uint32_t format, format 328 drivers/gpu/drm/exynos/exynos5433_drm_decon.c if (fb->format->has_alpha) format 336 drivers/gpu/drm/exynos/exynos5433_drm_decon.c switch (fb->format->format) { format 360 drivers/gpu/drm/exynos/exynos5433_drm_decon.c DRM_DEV_DEBUG_KMS(ctx->dev, "cpp = %u\n", fb->format->cpp[0]); format 407 drivers/gpu/drm/exynos/exynos5433_drm_decon.c unsigned int cpp = fb->format->cpp[0]; format 270 drivers/gpu/drm/exynos/exynos7_drm_decon.c switch (fb->format->format) { format 314 drivers/gpu/drm/exynos/exynos7_drm_decon.c DRM_DEV_DEBUG_KMS(ctx->dev, "cpp = %d\n", fb->format->cpp[0]); format 324 drivers/gpu/drm/exynos/exynos7_drm_decon.c padding = (fb->pitches[0] / fb->format->cpp[0]) - fb->width; format 391 drivers/gpu/drm/exynos/exynos7_drm_decon.c unsigned int cpp = fb->format->cpp[0]; format 272 drivers/gpu/drm/exynos/exynos_drm_dsi.c u32 format; format 821 drivers/gpu/drm/exynos/exynos_drm_dsi.c switch (dsi->format) { format 1560 drivers/gpu/drm/exynos/exynos_drm_dsi.c dsi->format = device->format; format 78 drivers/gpu/drm/exynos/exynos_drm_fbdev.c unsigned int size = fb->width * fb->height * fb->format->cpp[0]; format 103 drivers/gpu/drm/exynos/exynos_drm_fbdev.c offset = fbi->var.xoffset * fb->format->cpp[0]; format 472 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; format 507 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; format 849 drivers/gpu/drm/exynos/exynos_drm_fimc.c unsigned int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; format 643 drivers/gpu/drm/exynos/exynos_drm_fimd.c uint32_t pixel_format = fb->format->format; format 648 drivers/gpu/drm/exynos/exynos_drm_fimd.c if (fb->format->has_alpha) format 799 drivers/gpu/drm/exynos/exynos_drm_fimd.c unsigned int cpp = fb->format->cpp[0]; format 172 drivers/gpu/drm/exynos/exynos_drm_g2d.c unsigned int format; format 606 drivers/gpu/drm/exynos/exynos_drm_g2d.c static unsigned long g2d_get_buf_bpp(unsigned int format) format 610 drivers/gpu/drm/exynos/exynos_drm_g2d.c switch (format) { format 663 drivers/gpu/drm/exynos/exynos_drm_g2d.c bpp = g2d_get_buf_bpp(buf_desc->format); format 1082 drivers/gpu/drm/exynos/exynos_drm_g2d.c buf_desc->format = value & 0xf; format 585 drivers/gpu/drm/exynos/exynos_drm_gsc.c cfg |= (GSC_SRCIMG_WIDTH(buf->buf.pitch[0] / buf->format->cpp[0]) | format 887 drivers/gpu/drm/exynos/exynos_drm_gsc.c cfg |= GSC_DSTIMG_WIDTH(buf->buf.pitch[0] / buf->format->cpp[0]) | format 222 drivers/gpu/drm/exynos/exynos_drm_ipp.c const struct exynos_drm_ipp_formats *format; format 233 drivers/gpu/drm/exynos/exynos_drm_ipp.c format = __ipp_format_get(ipp, resp->fourcc, resp->modifier, format 235 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (!format) format 242 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (format->num_limits && resp->limits_count >= format->num_limits) format 243 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (copy_to_user((void __user *)ptr, format->limits, format 244 drivers/gpu/drm/exynos/exynos_drm_ipp.c sizeof(*format->limits) * format->num_limits)) format 246 drivers/gpu/drm/exynos/exynos_drm_ipp.c resp->limits_count = format->num_limits; format 353 drivers/gpu/drm/exynos/exynos_drm_ipp.c for (i = 0; i < buf->format->num_planes; i++) { format 355 drivers/gpu/drm/exynos/exynos_drm_ipp.c DIV_ROUND_UP(buf->buf.height, buf->format->vsub); format 389 drivers/gpu/drm/exynos/exynos_drm_ipp.c for (i = 0; i < buf->format->num_planes; i++) format 481 drivers/gpu/drm/exynos/exynos_drm_ipp.c int real_width = buf->buf.pitch[0] / buf->format->cpp[0]; format 570 drivers/gpu/drm/exynos/exynos_drm_ipp.c buf->format = drm_format_info(buf->buf.fourcc); format 571 drivers/gpu/drm/exynos/exynos_drm_ipp.c for (i = 0; i < buf->format->num_planes; i++) { format 573 drivers/gpu/drm/exynos/exynos_drm_ipp.c DIV_ROUND_UP(buf->buf.width, buf->format->hsub); format 576 drivers/gpu/drm/exynos/exynos_drm_ipp.c buf->buf.pitch[i] = width * buf->format->cpp[i]; format 577 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (buf->buf.pitch[i] < width * buf->format->cpp[i]) format 584 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (buf->format->num_planes > 2 && format 74 drivers/gpu/drm/exynos/exynos_drm_ipp.h const struct drm_format_info *format; format 145 drivers/gpu/drm/exynos/exynos_drm_rotator.c ROT_SET_BUF_SIZE_W(buf->buf.pitch[0] / buf->format->cpp[0]); format 193 drivers/gpu/drm/exynos/exynos_drm_rotator.c ROT_SET_BUF_SIZE_W(buf->buf.pitch[0] / buf->format->cpp[0]); format 161 drivers/gpu/drm/exynos/exynos_drm_scaler.c for (i = 0; i < src_buf->format->num_planes; ++i) format 171 drivers/gpu/drm/exynos/exynos_drm_scaler.c src_buf->format->cpp[0]); format 173 drivers/gpu/drm/exynos/exynos_drm_scaler.c if (src_buf->format->num_planes > 1) format 224 drivers/gpu/drm/exynos/exynos_drm_scaler.c for (i = 0; i < dst_buf->format->num_planes; ++i) format 234 drivers/gpu/drm/exynos/exynos_drm_scaler.c dst_buf->format->cpp[0]); format 236 drivers/gpu/drm/exynos/exynos_drm_scaler.c if (dst_buf->format->num_planes > 1) format 319 drivers/gpu/drm/exynos/exynos_drm_scaler.c switch (fmt->format) { format 393 drivers/gpu/drm/exynos/exynos_drm_scaler.c scaler_set_csc(scaler, task->src.format); format 523 drivers/gpu/drm/exynos/exynos_mixer.c is_nv21 = (fb->format->format == DRM_FORMAT_NV21); format 614 drivers/gpu/drm/exynos/exynos_mixer.c if (fb->format->has_alpha) format 619 drivers/gpu/drm/exynos/exynos_mixer.c switch (fb->format->format) { format 650 drivers/gpu/drm/exynos/exynos_mixer.c + (state->src.x * fb->format->cpp[0]) format 661 drivers/gpu/drm/exynos/exynos_mixer.c fb->pitches[0] / fb->format->cpp[0]); format 43 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c switch (fb->format->format) { format 95 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c switch (fb->format->format) { format 245 drivers/gpu/drm/gma500/accel_2d.c switch (fb->format->depth) { format 64 drivers/gpu/drm/gma500/framebuffer.c switch (fb->format->cpp[0] * 8) { format 81 drivers/gpu/drm/gma500/gma_display.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; format 88 drivers/gpu/drm/gma500/gma_display.c switch (fb->format->cpp[0] * 8) { format 93 drivers/gpu/drm/gma500/gma_display.c if (fb->format->depth == 15) format 142 drivers/gpu/drm/gma500/mdfld_intel_display.c switch (fb->format->cpp[0] * 8) { format 190 drivers/gpu/drm/gma500/mdfld_intel_display.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; format 196 drivers/gpu/drm/gma500/mdfld_intel_display.c switch (fb->format->cpp[0] * 8) { format 201 drivers/gpu/drm/gma500/mdfld_intel_display.c if (fb->format->depth == 15) format 612 drivers/gpu/drm/gma500/oaktrail_crtc.c offset = y * fb->pitches[0] + x * fb->format->cpp[0]; format 619 drivers/gpu/drm/gma500/oaktrail_crtc.c switch (fb->format->cpp[0] * 8) { format 624 drivers/gpu/drm/gma500/oaktrail_crtc.c if (fb->format->depth == 15) format 901 drivers/gpu/drm/gma500/psb_intel_sdvo.c struct psb_intel_sdvo_tv_format format; format 905 drivers/gpu/drm/gma500/psb_intel_sdvo.c memset(&format, 0, sizeof(format)); format 906 drivers/gpu/drm/gma500/psb_intel_sdvo.c memcpy(&format, &format_map, min(sizeof(format), sizeof(format_map))); format 908 drivers/gpu/drm/gma500/psb_intel_sdvo.c BUILD_BUG_ON(sizeof(format) != 6); format 911 drivers/gpu/drm/gma500/psb_intel_sdvo.c &format, sizeof(format)); format 2261 drivers/gpu/drm/gma500/psb_intel_sdvo.c struct psb_intel_sdvo_tv_format format; format 2267 drivers/gpu/drm/gma500/psb_intel_sdvo.c BUILD_BUG_ON(sizeof(format) != 6); format 2270 drivers/gpu/drm/gma500/psb_intel_sdvo.c &format, sizeof(format))) format 2273 drivers/gpu/drm/gma500/psb_intel_sdvo.c memcpy(&format_map, &format, min(sizeof(format_map), sizeof(format))); format 125 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c reg = state->fb->width * (state->fb->format->cpp[0]); format 129 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c line_l = state->fb->width * state->fb->format->cpp[0]; format 139 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c state->fb->format->cpp[0] * 8 / 16); format 90 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c enum mipi_dsi_pixel_format format; format 288 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c static u32 dsi_get_dpi_color_coding(enum mipi_dsi_pixel_format format) format 295 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c switch (format) { format 449 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c enum mipi_dsi_pixel_format format) format 460 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c val = dsi_get_dpi_color_coding(format); format 541 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c u32 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); format 558 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c dsi_set_mode_timing(base, phy->lane_byte_clk_kHz, mode, dsi->format); format 613 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c u32 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); format 738 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c dsi->format = mdsi->format; format 561 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c drm_get_format_name(fb->format->format, &format_name)); format 628 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c static bool has_Alpha_channel(int format) format 630 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c switch (format) { format 717 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c u32 fmt = ade_get_format(fb->format->format); format 779 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c fmt = ade_get_format(fb->format->format); format 132 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_dbg(client, format, ...) do { \ format 135 drivers/gpu/drm/i2c/ch7006_priv.h "%s: " format, __func__, ## __VA_ARGS__); \ format 137 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_info(client, format, ...) \ format 138 drivers/gpu/drm/i2c/ch7006_priv.h dev_info(&client->dev, format, __VA_ARGS__) format 139 drivers/gpu/drm/i2c/ch7006_priv.h #define ch7006_err(client, format, ...) \ format 140 drivers/gpu/drm/i2c/ch7006_priv.h dev_err(&client->dev, format, __VA_ARGS__) format 46 drivers/gpu/drm/i2c/sil164_drv.c #define sil164_dbg(client, format, ...) do { \ format 49 drivers/gpu/drm/i2c/sil164_drv.c "%s: " format, __func__, ## __VA_ARGS__); \ format 51 drivers/gpu/drm/i2c/sil164_drv.c #define sil164_info(client, format, ...) \ format 52 drivers/gpu/drm/i2c/sil164_drv.c dev_info(&client->dev, format, __VA_ARGS__) format 53 drivers/gpu/drm/i2c/sil164_drv.c #define sil164_err(client, format, ...) \ format 54 drivers/gpu/drm/i2c/sil164_drv.c dev_err(&client->dev, format, __VA_ARGS__) format 1750 drivers/gpu/drm/i2c/tda998x_drv.c if (p->audio_params.format != AFMT_UNUSED) { format 1752 drivers/gpu/drm/i2c/tda998x_drv.c bool spdif = p->audio_params.format == AFMT_SPDIF; format 254 drivers/gpu/drm/i915/display/intel_atomic.c plane_state->base.fb->format->is_yuv && format 255 drivers/gpu/drm/i915/display/intel_atomic.c plane_state->base.fb->format->num_planes > 1) { format 127 drivers/gpu/drm/i915/display/intel_atomic_plane.c cpp = fb->format->cpp[0]; format 135 drivers/gpu/drm/i915/display/intel_atomic_plane.c if (fb->format->is_yuv && fb->format->num_planes > 1) format 167 drivers/gpu/drm/i915/display/intel_atomic_plane.c is_planar_yuv_format(new_plane_state->base.fb->format->format)) format 171 drivers/gpu/drm/i915/display/intel_atomic_plane.c new_plane_state->base.fb->format->format == DRM_FORMAT_C8) format 1900 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; format 1957 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; format 2195 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; format 2255 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; format 2323 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[color_plane]; format 2452 drivers/gpu/drm/i915/display/intel_display.c { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, format 2454 drivers/gpu/drm/i915/display/intel_display.c { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, format 2456 drivers/gpu/drm/i915/display/intel_display.c { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, format 2458 drivers/gpu/drm/i915/display/intel_display.c { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, format 2464 drivers/gpu/drm/i915/display/intel_display.c int num_formats, u32 format) format 2469 drivers/gpu/drm/i915/display/intel_display.c if (formats[i].format == format) format 2543 drivers/gpu/drm/i915/display/intel_display.c fb->format->format, format 2590 drivers/gpu/drm/i915/display/intel_display.c for (i = 0; i < fb->format->num_planes; i++) { format 2621 drivers/gpu/drm/i915/display/intel_display.c max_stride = plane->max_stride(plane, fb->format->format, format 2636 drivers/gpu/drm/i915/display/intel_display.c int i, num_planes = fb->format->num_planes; format 2646 drivers/gpu/drm/i915/display/intel_display.c cpp = fb->format->cpp[i]; format 2658 drivers/gpu/drm/i915/display/intel_display.c int hsub = fb->format->hsub; format 2659 drivers/gpu/drm/i915/display/intel_display.c int vsub = fb->format->vsub; format 2801 drivers/gpu/drm/i915/display/intel_display.c int i, num_planes = fb->format->num_planes; format 2829 drivers/gpu/drm/i915/display/intel_display.c unsigned int hsub = i ? fb->format->hsub : 1; format 2830 drivers/gpu/drm/i915/display/intel_display.c unsigned int vsub = i ? fb->format->vsub : 1; format 2831 drivers/gpu/drm/i915/display/intel_display.c unsigned int cpp = fb->format->cpp[i]; format 2916 drivers/gpu/drm/i915/display/intel_display.c num_planes = fb->base.format->num_planes; format 2954 drivers/gpu/drm/i915/display/intel_display.c static int i9xx_format_to_fourcc(int format) format 2956 drivers/gpu/drm/i915/display/intel_display.c switch (format) { format 2975 drivers/gpu/drm/i915/display/intel_display.c int skl_format_to_fourcc(int format, bool rgb_order, bool alpha) format 2977 drivers/gpu/drm/i915/display/intel_display.c switch (format) { format 3090 drivers/gpu/drm/i915/display/intel_display.c mode_cmd.pixel_format = fb->format->format; format 3281 drivers/gpu/drm/i915/display/intel_display.c int cpp = fb->format->cpp[color_plane]; format 3319 drivers/gpu/drm/i915/display/intel_display.c int cpp = fb->format->cpp[color_plane]; format 3354 drivers/gpu/drm/i915/display/intel_display.c int hsub = fb->format->hsub; format 3355 drivers/gpu/drm/i915/display/intel_display.c int vsub = fb->format->vsub; format 3434 drivers/gpu/drm/i915/display/intel_display.c int cpp = fb->format->cpp[0]; format 3515 drivers/gpu/drm/i915/display/intel_display.c int hsub = fb->format->hsub; format 3516 drivers/gpu/drm/i915/display/intel_display.c int vsub = fb->format->vsub; format 3547 drivers/gpu/drm/i915/display/intel_display.c if (is_planar_yuv_format(fb->format->format)) { format 3628 drivers/gpu/drm/i915/display/intel_display.c switch (fb->format->format) { format 3651 drivers/gpu/drm/i915/display/intel_display.c MISSING_CASE(fb->format->format); format 3961 drivers/gpu/drm/i915/display/intel_display.c if (color_plane >= fb->format->num_planes) format 4027 drivers/gpu/drm/i915/display/intel_display.c if (!plane_state->base.fb->format->has_alpha) format 4045 drivers/gpu/drm/i915/display/intel_display.c if (!plane_state->base.fb->format->has_alpha) format 4160 drivers/gpu/drm/i915/display/intel_display.c plane_ctl |= skl_plane_ctl_format(fb->format->format); format 4205 drivers/gpu/drm/i915/display/intel_display.c if (fb->format->is_yuv && !icl_is_hdr_plane(dev_priv, plane->id)) { format 4213 drivers/gpu/drm/i915/display/intel_display.c } else if (fb->format->is_yuv) { format 5411 drivers/gpu/drm/i915/display/intel_display.c const struct drm_format_info *format, bool need_scaler) format 5465 drivers/gpu/drm/i915/display/intel_display.c if (format && is_planar_yuv_format(format->format) && format 5542 drivers/gpu/drm/i915/display/intel_display.c fb && is_planar_yuv_format(fb->format->format)) format 5552 drivers/gpu/drm/i915/display/intel_display.c fb ? fb->format : NULL, need_scaler); format 5566 drivers/gpu/drm/i915/display/intel_display.c switch (fb->format->format) { format 5596 drivers/gpu/drm/i915/display/intel_display.c fb->base.id, fb->format->format); format 8636 drivers/gpu/drm/i915/display/intel_display.c fb->format = drm_format_info(fourcc); format 8665 drivers/gpu/drm/i915/display/intel_display.c fb->format->cpp[0] * 8, base, fb->pitches[0], format 9837 drivers/gpu/drm/i915/display/intel_display.c fb->format = drm_format_info(fourcc); format 9908 drivers/gpu/drm/i915/display/intel_display.c fb->format->cpp[0] * 8, base, fb->pitches[0], format 10523 drivers/gpu/drm/i915/display/intel_display.c plane_state->base.crtc_w - 1) * fb->format->cpp[0]; format 10901 drivers/gpu/drm/i915/display/intel_display.c if (fb->pitches[0] != plane_state->base.crtc_w * fb->format->cpp[0]) { format 12037 drivers/gpu/drm/i915/display/intel_display.c static const char *output_formats(enum intel_output_format format) format 12039 drivers/gpu/drm/i915/display/intel_display.c if (format >= ARRAY_SIZE(output_format_str)) format 12040 drivers/gpu/drm/i915/display/intel_display.c format = INTEL_OUTPUT_FORMAT_INVALID; format 12041 drivers/gpu/drm/i915/display/intel_display.c return output_format_str[format]; format 12060 drivers/gpu/drm/i915/display/intel_display.c drm_get_format_name(fb->format->format, &format_name), format 12503 drivers/gpu/drm/i915/display/intel_display.c pipe_config_mismatch(bool fastset, const char *name, const char *format, ...) format 12508 drivers/gpu/drm/i915/display/intel_display.c va_start(args, format); format 12509 drivers/gpu/drm/i915/display/intel_display.c vaf.fmt = format; format 14612 drivers/gpu/drm/i915/display/intel_display.c u32 format, u64 modifier) format 14622 drivers/gpu/drm/i915/display/intel_display.c switch (format) { format 14635 drivers/gpu/drm/i915/display/intel_display.c u32 format, u64 modifier) format 14645 drivers/gpu/drm/i915/display/intel_display.c switch (format) { format 14660 drivers/gpu/drm/i915/display/intel_display.c u32 format, u64 modifier) format 14663 drivers/gpu/drm/i915/display/intel_display.c format == DRM_FORMAT_ARGB8888; format 15679 drivers/gpu/drm/i915/display/intel_display.c for (i = 0; i < fb->format->num_planes; i++) { format 535 drivers/gpu/drm/i915/display/intel_display.h int skl_format_to_fourcc(int format, bool rgb_order, bool alpha); format 581 drivers/gpu/drm/i915/display/intel_display.h #define I915_STATE_WARN(condition, format...) ({ \ format 584 drivers/gpu/drm/i915/display/intel_display.h if (!WARN(i915_modparams.verbose_state_checks, format)) \ format 585 drivers/gpu/drm/i915/display/intel_display.h DRM_ERROR(format); \ format 174 drivers/gpu/drm/i915/display/intel_fbc.c if (params->fb.format->cpp[0] == 2) format 221 drivers/gpu/drm/i915/display/intel_fbc.c if (params->fb.format->cpp[0] == 2) format 304 drivers/gpu/drm/i915/display/intel_fbc.c if (params->fb.format->cpp[0] == 2) format 500 drivers/gpu/drm/i915/display/intel_fbc.c fb_cpp = fbc->state_cache.fb.format->cpp[0]; format 691 drivers/gpu/drm/i915/display/intel_fbc.c cache->fb.format = fb->format; format 757 drivers/gpu/drm/i915/display/intel_fbc.c if (!pixel_format_is_valid(dev_priv, cache->fb.format->format)) { format 763 drivers/gpu/drm/i915/display/intel_fbc.c cache->fb.format->has_alpha) { format 846 drivers/gpu/drm/i915/display/intel_fbc.c params->fb.format = cache->fb.format; format 370 drivers/gpu/drm/i915/display/intel_fbdev.c cur_size = cur_size * fb->base.format->cpp[0]; format 386 drivers/gpu/drm/i915/display/intel_fbdev.c fb->base.format->cpp[0] * 8, format 407 drivers/gpu/drm/i915/display/intel_fbdev.c ifbdev->preferred_bpp = fb->base.format->cpp[0] * 8; format 488 drivers/gpu/drm/i915/display/intel_overlay.c static int packed_depth_bytes(u32 format) format 490 drivers/gpu/drm/i915/display/intel_overlay.c switch (format & I915_OVERLAY_DEPTH_MASK) { format 500 drivers/gpu/drm/i915/display/intel_overlay.c static int packed_width_bytes(u32 format, short width) format 502 drivers/gpu/drm/i915/display/intel_overlay.c switch (format & I915_OVERLAY_DEPTH_MASK) { format 510 drivers/gpu/drm/i915/display/intel_overlay.c static int uv_hsubsampling(u32 format) format 512 drivers/gpu/drm/i915/display/intel_overlay.c switch (format & I915_OVERLAY_DEPTH_MASK) { format 524 drivers/gpu/drm/i915/display/intel_overlay.c static int uv_vsubsampling(u32 format) format 526 drivers/gpu/drm/i915/display/intel_overlay.c switch (format & I915_OVERLAY_DEPTH_MASK) { format 666 drivers/gpu/drm/i915/display/intel_overlay.c u32 format = 0; format 673 drivers/gpu/drm/i915/display/intel_overlay.c format = state->base.fb->format->format; format 675 drivers/gpu/drm/i915/display/intel_overlay.c switch (format) { format 1179 drivers/gpu/drm/i915/display/intel_sdvo.c struct intel_sdvo_tv_format format; format 1183 drivers/gpu/drm/i915/display/intel_sdvo.c memset(&format, 0, sizeof(format)); format 1184 drivers/gpu/drm/i915/display/intel_sdvo.c memcpy(&format, &format_map, min(sizeof(format), sizeof(format_map))); format 1186 drivers/gpu/drm/i915/display/intel_sdvo.c BUILD_BUG_ON(sizeof(format) != 6); format 1189 drivers/gpu/drm/i915/display/intel_sdvo.c &format, sizeof(format)); format 2948 drivers/gpu/drm/i915/display/intel_sdvo.c struct intel_sdvo_tv_format format; format 2954 drivers/gpu/drm/i915/display/intel_sdvo.c BUILD_BUG_ON(sizeof(format) != 6); format 2957 drivers/gpu/drm/i915/display/intel_sdvo.c &format, sizeof(format))) format 2960 drivers/gpu/drm/i915/display/intel_sdvo.c memcpy(&format_map, &format, min(sizeof(format_map), sizeof(format))); format 272 drivers/gpu/drm/i915/display/intel_sprite.c max_stride = plane->max_stride(plane, fb->format->format, format 308 drivers/gpu/drm/i915/display/intel_sprite.c if (!fb->format->is_yuv) format 313 drivers/gpu/drm/i915/display/intel_sprite.c hsub = fb->format->hsub; format 314 drivers/gpu/drm/i915/display/intel_sprite.c vsub = fb->format->vsub; format 316 drivers/gpu/drm/i915/display/intel_sprite.c hsub = vsub = max(fb->format->hsub, fb->format->vsub); format 384 drivers/gpu/drm/i915/display/intel_sprite.c if (is_planar_yuv_format(plane_state->base.fb->format->format) && format 618 drivers/gpu/drm/i915/display/intel_sprite.c if (fb->format->is_yuv && icl_is_hdr_plane(dev_priv, plane_id)) format 764 drivers/gpu/drm/i915/display/intel_sprite.c if (!fb->format->is_yuv) format 799 drivers/gpu/drm/i915/display/intel_sprite.c if (fb->format->is_yuv && format 848 drivers/gpu/drm/i915/display/intel_sprite.c switch (fb->format->format) { format 883 drivers/gpu/drm/i915/display/intel_sprite.c MISSING_CASE(fb->format->format); format 916 drivers/gpu/drm/i915/display/intel_sprite.c if (!fb->format->is_yuv) format 1062 drivers/gpu/drm/i915/display/intel_sprite.c switch (fb->format->format) { format 1082 drivers/gpu/drm/i915/display/intel_sprite.c MISSING_CASE(fb->format->format); format 1296 drivers/gpu/drm/i915/display/intel_sprite.c switch (fb->format->format) { format 1316 drivers/gpu/drm/i915/display/intel_sprite.c MISSING_CASE(fb->format->format); format 1350 drivers/gpu/drm/i915/display/intel_sprite.c if (!fb->format->is_yuv) format 1382 drivers/gpu/drm/i915/display/intel_sprite.c if (!fb->format->is_yuv) format 1513 drivers/gpu/drm/i915/display/intel_sprite.c switch (fb->format->format) { format 1532 drivers/gpu/drm/i915/display/intel_sprite.c unsigned int cpp = fb->format->cpp[0]; format 1719 drivers/gpu/drm/i915/display/intel_sprite.c switch (fb->format->format) { format 1735 drivers/gpu/drm/i915/display/intel_sprite.c drm_get_format_name(fb->format->format, format 1794 drivers/gpu/drm/i915/display/intel_sprite.c if (is_planar_yuv_format(fb->format->format) && src_w & 3 && format 1821 drivers/gpu/drm/i915/display/intel_sprite.c max_scale = skl_max_scale(crtc_state, fb->format->format); format 2162 drivers/gpu/drm/i915/display/intel_sprite.c u32 format, u64 modifier) format 2172 drivers/gpu/drm/i915/display/intel_sprite.c switch (format) { format 2188 drivers/gpu/drm/i915/display/intel_sprite.c u32 format, u64 modifier) format 2198 drivers/gpu/drm/i915/display/intel_sprite.c switch (format) { format 2215 drivers/gpu/drm/i915/display/intel_sprite.c u32 format, u64 modifier) format 2225 drivers/gpu/drm/i915/display/intel_sprite.c switch (format) { format 2247 drivers/gpu/drm/i915/display/intel_sprite.c u32 format, u64 modifier) format 2266 drivers/gpu/drm/i915/display/intel_sprite.c switch (format) { format 945 drivers/gpu/drm/i915/display/intel_tv.c int format = conn_state->tv.mode; format 947 drivers/gpu/drm/i915/display/intel_tv.c return &tv_modes[format]; format 81 drivers/gpu/drm/i915/gvt/fb_decoder.c static int bdw_format_to_drm(int format) format 85 drivers/gpu/drm/i915/gvt/fb_decoder.c switch (format) { format 112 drivers/gpu/drm/i915/gvt/fb_decoder.c static int skl_format_to_drm(int format, bool rgb_order, bool alpha, format 117 drivers/gpu/drm/i915/gvt/fb_decoder.c switch (format) { format 1528 drivers/gpu/drm/i915/i915_debugfs.c fbdev_fb->base.format->depth, format 1529 drivers/gpu/drm/i915/i915_debugfs.c fbdev_fb->base.format->cpp[0] * 8, format 1546 drivers/gpu/drm/i915/i915_debugfs.c fb->base.format->depth, format 1547 drivers/gpu/drm/i915/i915_debugfs.c fb->base.format->cpp[0] * 8, format 2663 drivers/gpu/drm/i915/i915_debugfs.c drm_get_format_name(state->fb->format->format, format 406 drivers/gpu/drm/i915/i915_drv.h const struct drm_format_info *format; format 429 drivers/gpu/drm/i915/i915_drv.h const struct drm_format_info *format; format 979 drivers/gpu/drm/i915/i915_drv.h u32 format; format 1151 drivers/gpu/drm/i915/i915_drv.h int format; format 195 drivers/gpu/drm/i915/i915_gem.c u32 format; format 199 drivers/gpu/drm/i915/i915_gem.c format = DRM_FORMAT_C8; format 202 drivers/gpu/drm/i915/i915_gem.c format = DRM_FORMAT_RGB565; format 205 drivers/gpu/drm/i915/i915_gem.c format = DRM_FORMAT_XRGB8888; format 215 drivers/gpu/drm/i915/i915_gem.c if (args->pitch > intel_plane_fb_max_stride(to_i915(dev), format, format 2028 drivers/gpu/drm/i915/i915_perf.c u32 report_format = stream->oa_buffer.format; format 2054 drivers/gpu/drm/i915/i915_perf.c u32 report_format = stream->oa_buffer.format; format 2217 drivers/gpu/drm/i915/i915_perf.c stream->oa_buffer.format = format 2218 drivers/gpu/drm/i915/i915_perf.c dev_priv->perf.oa_formats[props->oa_format].format; format 885 drivers/gpu/drm/i915/intel_pm.c int cpp = fb->format->cpp[0]; format 1128 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; format 1636 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; format 2228 drivers/gpu/drm/i915/intel_pm.c int cpp = fb->format->cpp[0]; format 2311 drivers/gpu/drm/i915/intel_pm.c cpp = fb->format->cpp[0]; format 2338 drivers/gpu/drm/i915/intel_pm.c cpp = fb->format->cpp[0]; format 2390 drivers/gpu/drm/i915/intel_pm.c cpp = fb->format->cpp[0]; format 2518 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; format 2550 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; format 2576 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; format 2593 drivers/gpu/drm/i915/intel_pm.c cpp = plane_state->base.fb->format->cpp[0]; format 3935 drivers/gpu/drm/i915/intel_pm.c int width, const struct drm_format_info *format, format 4174 drivers/gpu/drm/i915/intel_pm.c bpp = plane_state->base.fb->format->cpp[0] * 8; format 4210 drivers/gpu/drm/i915/intel_pm.c u32 format; format 4218 drivers/gpu/drm/i915/intel_pm.c format = fb->format->format; format 4222 drivers/gpu/drm/i915/intel_pm.c if (plane == 1 && !is_planar_yuv_format(format)) format 4234 drivers/gpu/drm/i915/intel_pm.c if (plane == 1 && is_planar_yuv_format(format)) { format 4245 drivers/gpu/drm/i915/intel_pm.c rate *= fb->format->cpp[plane]; format 4640 drivers/gpu/drm/i915/intel_pm.c int width, const struct drm_format_info *format, format 4650 drivers/gpu/drm/i915/intel_pm.c if (color_plane == 1 && !is_planar_yuv_format(format->format)) { format 4662 drivers/gpu/drm/i915/intel_pm.c wp->is_planar = is_planar_yuv_format(format->format); format 4668 drivers/gpu/drm/i915/intel_pm.c wp->cpp = format->cpp[color_plane]; format 4750 drivers/gpu/drm/i915/intel_pm.c fb->format, fb->modifier, format 5042 drivers/gpu/drm/i915/intel_pm.c if (fb->format->is_yuv && fb->format->num_planes > 1) { format 5067 drivers/gpu/drm/i915/intel_pm.c WARN_ON(!fb->format->is_yuv || format 5068 drivers/gpu/drm/i915/intel_pm.c fb->format->num_planes == 1); format 104 drivers/gpu/drm/imx/ipuv3-plane.c fb->format->cpp[plane] * x; format 119 drivers/gpu/drm/imx/ipuv3-plane.c x /= fb->format->hsub; format 120 drivers/gpu/drm/imx/ipuv3-plane.c y /= fb->format->vsub; format 123 drivers/gpu/drm/imx/ipuv3-plane.c fb->format->cpp[1] * x - eba; format 138 drivers/gpu/drm/imx/ipuv3-plane.c x /= fb->format->hsub; format 139 drivers/gpu/drm/imx/ipuv3-plane.c y /= fb->format->vsub; format 142 drivers/gpu/drm/imx/ipuv3-plane.c fb->format->cpp[2] * x - eba; format 205 drivers/gpu/drm/imx/ipuv3-plane.c switch (ipu_plane->base.state->fb->format->format) { format 321 drivers/gpu/drm/imx/ipuv3-plane.c uint32_t format, uint64_t modifier) format 333 drivers/gpu/drm/imx/ipuv3-plane.c return ipu_prg_format_supported(ipu, format, modifier); format 407 drivers/gpu/drm/imx/ipuv3-plane.c fb->format != old_fb->format)) format 421 drivers/gpu/drm/imx/ipuv3-plane.c switch (fb->format->format) { format 441 drivers/gpu/drm/imx/ipuv3-plane.c if (old_fb && (fb->format == old_fb->format)) { format 458 drivers/gpu/drm/imx/ipuv3-plane.c if (old_fb && (fb->format == old_fb->format)) { format 474 drivers/gpu/drm/imx/ipuv3-plane.c if (((state->src.x1 >> 16) & (fb->format->hsub - 1)) || format 475 drivers/gpu/drm/imx/ipuv3-plane.c ((state->src.y1 >> 16) & (fb->format->vsub - 1))) format 569 drivers/gpu/drm/imx/ipuv3-plane.c !fb->format->has_alpha, 0xff, format 578 drivers/gpu/drm/imx/ipuv3-plane.c !fb->format->has_alpha, 0xff, format 595 drivers/gpu/drm/imx/ipuv3-plane.c fb->pitches[0], fb->format->format, format 615 drivers/gpu/drm/imx/ipuv3-plane.c ics = ipu_drm_fourcc_to_colorspace(fb->format->format); format 630 drivers/gpu/drm/imx/ipuv3-plane.c info = drm_format_info(fb->format->format); format 636 drivers/gpu/drm/imx/ipuv3-plane.c ipu_cpmem_set_fmt(ipu_plane->ipu_ch, fb->format->format); format 644 drivers/gpu/drm/imx/ipuv3-plane.c switch (fb->format->format) { format 653 drivers/gpu/drm/imx/ipuv3-plane.c if (fb->format->format == DRM_FORMAT_YVU420 || format 654 drivers/gpu/drm/imx/ipuv3-plane.c fb->format->format == DRM_FORMAT_YVU422 || format 655 drivers/gpu/drm/imx/ipuv3-plane.c fb->format->format == DRM_FORMAT_YVU444) format 786 drivers/gpu/drm/imx/ipuv3-plane.c plane_state->fb->format->format, format 812 drivers/gpu/drm/imx/ipuv3-plane.c plane_state->fb->format->format, format 302 drivers/gpu/drm/ingenic/ingenic-drm.c switch (finfo->format) { format 346 drivers/gpu/drm/ingenic/ingenic-drm.c finfo = drm_format_info(drm_fb->format->format); format 380 drivers/gpu/drm/ingenic/ingenic-drm.c cpp = state->fb->format->cpp[plane->index]; format 171 drivers/gpu/drm/mcde/mcde_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { format 180 drivers/gpu/drm/mcde/mcde_display.c if (old_fb && old_fb->format != fb->format) format 188 drivers/gpu/drm/mcde/mcde_display.c u32 format) format 249 drivers/gpu/drm/mcde/mcde_display.c switch (format) { format 319 drivers/gpu/drm/mcde/mcde_display.c format); format 336 drivers/gpu/drm/mcde/mcde_display.c u32 format) format 406 drivers/gpu/drm/mcde/mcde_display.c switch (format) { format 426 drivers/gpu/drm/mcde/mcde_display.c format); format 642 drivers/gpu/drm/mcde/mcde_display.c switch (mcde->mdsi->format) { format 822 drivers/gpu/drm/mcde/mcde_display.c u32 format = fb->format->format; format 826 drivers/gpu/drm/mcde/mcde_display.c int cpp = fb->format->cpp[0]; format 835 drivers/gpu/drm/mcde/mcde_display.c drm_get_format_name(format, &tmp)); format 845 drivers/gpu/drm/mcde/mcde_display.c mipi_dsi_pixel_format_to_bpp(mcde->mdsi->format)); format 847 drivers/gpu/drm/mcde/mcde_display.c mipi_dsi_pixel_format_to_bpp(mcde->mdsi->format) / 8; format 903 drivers/gpu/drm/mcde/mcde_display.c mcde_configure_extsrc(mcde, MCDE_EXTSRC_0, format); format 911 drivers/gpu/drm/mcde/mcde_display.c MCDE_CHANNEL_0, mode, format); format 145 drivers/gpu/drm/mcde/mcde_dsi.c dev_info(d->dev, "format %08x, %dbpp\n", mdsi->format, format 146 drivers/gpu/drm/mcde/mcde_dsi.c mipi_dsi_pixel_format_to_bpp(mdsi->format)); format 368 drivers/gpu/drm/mcde/mcde_dsi.c u8 bpp = mipi_dsi_pixel_format_to_bpp(d->mdsi->format); format 385 drivers/gpu/drm/mcde/mcde_dsi.c switch (d->mdsi->format) { format 198 drivers/gpu/drm/mediatek/mtk_disp_ovl.c unsigned int fmt = pending->format; format 199 drivers/gpu/drm/mediatek/mtk_disp_rdma.c unsigned int fmt = pending->format; format 351 drivers/gpu/drm/mediatek/mtk_dpi.c enum mtk_dpi_out_color_format format) format 353 drivers/gpu/drm/mediatek/mtk_dpi.c if ((format == MTK_DPI_COLOR_FORMAT_YCBCR_444) || format 354 drivers/gpu/drm/mediatek/mtk_dpi.c (format == MTK_DPI_COLOR_FORMAT_YCBCR_444_FULL)) { format 359 drivers/gpu/drm/mediatek/mtk_dpi.c } else if ((format == MTK_DPI_COLOR_FORMAT_YCBCR_422) || format 360 drivers/gpu/drm/mediatek/mtk_dpi.c (format == MTK_DPI_COLOR_FORMAT_YCBCR_422_FULL)) { format 45 drivers/gpu/drm/mediatek/mtk_drm_plane.c state->pending.format = DRM_FORMAT_RGB565; format 112 drivers/gpu/drm/mediatek/mtk_drm_plane.c unsigned int pitch, format; format 122 drivers/gpu/drm/mediatek/mtk_drm_plane.c format = fb->format->format; format 124 drivers/gpu/drm/mediatek/mtk_drm_plane.c addr += (plane->state->src.x1 >> 16) * fb->format->cpp[0]; format 129 drivers/gpu/drm/mediatek/mtk_drm_plane.c state->pending.format = format; format 18 drivers/gpu/drm/mediatek/mtk_drm_plane.h unsigned int format; format 172 drivers/gpu/drm/mediatek/mtk_dsi.c enum mipi_dsi_pixel_format format; format 311 drivers/gpu/drm/mediatek/mtk_dsi.c if (dsi->format == MIPI_DSI_FMT_RGB565) format 319 drivers/gpu/drm/mediatek/mtk_dsi.c switch (dsi->format) { format 372 drivers/gpu/drm/mediatek/mtk_dsi.c switch (dsi->format) { format 408 drivers/gpu/drm/mediatek/mtk_dsi.c if (dsi->format == MIPI_DSI_FMT_RGB565) format 533 drivers/gpu/drm/mediatek/mtk_dsi.c switch (dsi->format) { format 878 drivers/gpu/drm/mediatek/mtk_dsi.c dsi->format = device->format; format 373 drivers/gpu/drm/meson/meson_overlay.c switch (fb->format->format) { format 395 drivers/gpu/drm/meson/meson_overlay.c if (fb->format->format == DRM_FORMAT_NV12) format 416 drivers/gpu/drm/meson/meson_overlay.c switch (fb->format->format) { format 458 drivers/gpu/drm/meson/meson_overlay.c priv->viu.vd1_planes = fb->format->num_planes; format 466 drivers/gpu/drm/meson/meson_overlay.c drm_format_info_plane_height(fb->format, format 478 drivers/gpu/drm/meson/meson_overlay.c drm_format_info_plane_height(fb->format, format 490 drivers/gpu/drm/meson/meson_overlay.c drm_format_info_plane_height(fb->format, format 144 drivers/gpu/drm/meson/meson_plane.c switch (fb->format->format) { format 44 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb && fb->format->cpp[0] * 8 == 16) { format 45 drivers/gpu/drm/mgag200/mgag200_mode.c int inc = (fb->format->depth == 15) ? 8 : 4; format 48 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb->format->depth == 16) { format 928 drivers/gpu/drm/mgag200/mgag200_mode.c bppshift = mdev->bpp_shifts[fb->format->cpp[0] - 1]; format 968 drivers/gpu/drm/mgag200/mgag200_mode.c switch (fb->format->cpp[0] * 8) { format 973 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb->format->depth == 15) format 1025 drivers/gpu/drm/mgag200/mgag200_mode.c pitch = fb->pitches[0] / fb->format->cpp[0]; format 1026 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb->format->cpp[0] * 8 == 24) format 1103 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb->format->cpp[0] * 8 == 24) format 1169 drivers/gpu/drm/mgag200/mgag200_mode.c if (fb->format->cpp[0] * 8 > 16) format 1171 drivers/gpu/drm/mgag200/mgag200_mode.c else if (fb->format->cpp[0] * 8 > 8) format 64 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_plane_state *pstate, struct dpu_format *format) format 74 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (format->alpha_enable) { format 85 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c drm_get_format_name(format->base.pixel_format, &format_name), format 86 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c format->alpha_enable, blend_op); format 123 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_format *format; format 149 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c format = to_dpu_format(msm_framebuffer_format(pstate->base.fb)); format 151 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (pstate->stage == DPU_STAGE_BASE && format->alpha_enable) format 163 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c format->base.pixel_format, format 169 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c pstate, format); format 173 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (bg_alpha_enable && !format->alpha_enable) format 1133 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c fb->base.id, (char *) &fb->format->format, format 1135 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c for (i = 0; i < ARRAY_SIZE(fb->format->cpp); ++i) format 1137 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c i, fb->format->cpp[i]); format 191 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c uint32_t format; format 573 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if (fmt->base.pixel_format == dpu_media_ubwc_map[i].format) { format 591 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->format = fmt; format 603 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if (DPU_FORMAT_IS_YUV(layout->format)) { format 669 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->format = fmt; format 677 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_size[0] = width * height * layout->format->bpp; format 678 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[0] = width * layout->format->bpp; format 774 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c meta = DPU_FORMAT_IS_UBWC(layout->format); format 777 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if (DPU_FORMAT_IS_YUV(layout->format)) { format 894 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->format = to_dpu_format(msm_framebuffer_format(fb)); format 897 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c ret = dpu_format_get_plane_sizes(layout->format, fb->width, fb->height, format 906 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if (DPU_FORMAT_IS_UBWC(layout->format) || format 907 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c DPU_FORMAT_IS_TILE(layout->format)) format 965 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c const uint32_t format, format 988 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c (char *)&format); format 996 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if (format == map[i].base.pixel_format) { format 1004 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c (char *)&format, modifier); format 1007 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c (char *)&format, modifier, format 1016 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c const uint32_t format, format 1019 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c const struct dpu_format *fmt = dpu_get_dpu_format_ext(format, format 18 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.h const uint32_t format, format 32 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.h const uint32_t format, format 382 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h const struct dpu_format *format; format 412 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c sspp->layout.format); format 206 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c const struct dpu_format *format) format 217 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c if (format && DPU_FORMAT_IS_YUV(format)) { format 288 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c if (format && !DPU_FORMAT_IS_DX(format)) format 291 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c if (format && format->alpha_enable) { format 314 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h const struct dpu_format *format); format 234 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c fb->format->format, format 282 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c fb->format->format, format 1408 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c uint32_t format, uint64_t modifier) format 1416 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c if (format == qcom_compressed_supported_formats[i]) format 193 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c const struct mdp_format *format = format 195 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c alpha[idx-1] = format->alpha_enable; format 38 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c if (fb->format->format == DRM_FORMAT_NV12 && is_tile) format 203 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c const struct mdp_format *format; format 226 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c format = to_mdp_format(msm_framebuffer_format(fb)); format 252 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c if (MDP_FORMAT_IS_YUV(format)) { format 268 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c if (MDP_FORMAT_IS_YUV(format)) { format 300 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | format 301 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | format 302 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | format 303 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | format 304 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c COND(format->alpha_enable, MDP4_PIPE_SRC_FORMAT_ALPHA_ENABLE) | format 305 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | format 306 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_UNPACK_COUNT(format->unpack_count - 1) | format 307 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_FETCH_PLANES(format->fetch_type) | format 308 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_FORMAT_CHROMA_SAMP(format->chroma_sample) | format 310 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c COND(format->unpack_tight, MDP4_PIPE_SRC_FORMAT_UNPACK_TIGHT)); format 313 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) | format 314 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_UNPACK_ELEM1(format->unpack[1]) | format 315 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_UNPACK_ELEM2(format->unpack[2]) | format 316 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c MDP4_PIPE_SRC_UNPACK_ELEM3(format->unpack[3])); format 318 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c if (MDP_FORMAT_IS_YUV(format)) { format 219 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c const struct mdp_format *format; format 279 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c format = to_mdp_format(msm_framebuffer_format(pstates[STAGE_BASE]->base.fb)); format 281 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (format->alpha_enable) format 290 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c format = to_mdp_format( format 298 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (!format->alpha_enable && bg_alpha_enabled) format 305 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (format->alpha_enable && pstates[i]->premultiplied) { format 316 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c } else if (format->alpha_enable) { format 105 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c uint32_t format = 0x2100; format 130 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c format |= 0; format 133 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c format |= 0x15; format 136 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c format |= 0x2A; format 140 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c format |= 0x3F; format 186 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_write(mdp5_kms, REG_MDP5_INTF_PANEL_FORMAT(intf), format); format 309 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c const struct mdp_format *format; format 313 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c format = to_mdp_format(msm_framebuffer_format(state->fb)); format 314 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c if (MDP_FORMAT_IS_YUV(format)) format 349 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c const struct mdp_format *format = format 352 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c blkcfg = mdp5_smp_calculate(mdp5_kms->smp, format, format 691 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c static uint32_t get_scale_config(const struct mdp_format *format, format 694 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c const struct drm_format_info *info = drm_format_info(format->base.pixel_format); format 695 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c bool scaling = format->is_yuv ? true : (src != dst); format 698 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c bool yuv = format->is_yuv; format 722 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c static void calc_pixel_ext(const struct mdp_format *format, format 727 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c bool scaling = format->is_yuv ? true : (src != dst); format 745 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c const struct mdp_format *format, format 749 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c const struct drm_format_info *info = drm_format_info(format->base.pixel_format); format 757 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c if (format->is_yuv && i == COMP_1_2) { format 831 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c const struct mdp_format *format = format 855 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | format 856 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | format 857 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | format 858 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | format 859 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c COND(format->alpha_enable, MDP5_PIPE_SRC_FORMAT_ALPHA_ENABLE) | format 860 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | format 861 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_UNPACK_COUNT(format->unpack_count - 1) | format 862 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c COND(format->unpack_tight, MDP5_PIPE_SRC_FORMAT_UNPACK_TIGHT) | format 863 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_FETCH_TYPE(format->fetch_type) | format 864 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_FORMAT_CHROMA_SAMP(format->chroma_sample)); format 867 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) | format 868 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_UNPACK_ELEM1(format->unpack[1]) | format 869 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_UNPACK_ELEM2(format->unpack[2]) | format 870 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c MDP5_PIPE_SRC_UNPACK_ELEM3(format->unpack[3])); format 882 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_write_pixel_ext(mdp5_kms, pipe, format, format 903 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c if (MDP_FORMAT_IS_YUV(format)) format 922 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c const struct mdp_format *format; format 937 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c nplanes = fb->format->num_planes; format 943 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c format = to_mdp_format(msm_framebuffer_format(fb)); format 944 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c pix_format = format->base.pixel_format; format 990 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c calc_pixel_ext(format, src_w, crtc_w, step.x, format 992 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c calc_pixel_ext(format, src_h, crtc_h, step.y, format 999 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c config |= get_scale_config(format, src_w, crtc_w, true); format 1000 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c config |= get_scale_config(format, src_h, crtc_h, false); format 117 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c const struct mdp_format *format, format 120 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c const struct drm_format_info *info = drm_format_info(format->base.pixel_format); format 124 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c u32 fmt = format->base.pixel_format; format 137 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c if ((rev > 0) && (format->chroma_sample > CHROMA_FULL)) { format 76 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.h const struct mdp_format *format, format 163 drivers/gpu/drm/msm/disp/mdp_format.c const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format, format 169 drivers/gpu/drm/msm/disp/mdp_format.c if (f->base.pixel_format == format) format 90 drivers/gpu/drm/msm/disp/mdp_kms.h const struct msm_format *mdp_get_format(struct msm_kms *kms, uint32_t format, uint64_t modifier); format 160 drivers/gpu/drm/msm/dsi/dsi_host.c enum mipi_dsi_pixel_format format; format 683 drivers/gpu/drm/msm/dsi/dsi_host.c u32 bpp = dsi_get_bpp(msm_host->format); format 716 drivers/gpu/drm/msm/dsi/dsi_host.c u32 bpp = dsi_get_bpp(msm_host->format); format 819 drivers/gpu/drm/msm/dsi/dsi_host.c enum mipi_dsi_pixel_format mipi_fmt = msm_host->format; format 970 drivers/gpu/drm/msm/dsi/dsi_host.c wc = hdisplay * dsi_get_bpp(msm_host->format) / 8 + 1; format 1348 drivers/gpu/drm/msm/dsi/dsi_host.c dsi_get_bpp(msm_host->format) / 8; format 1592 drivers/gpu/drm/msm/dsi/dsi_host.c msm_host->format = dsi->format; format 340 drivers/gpu/drm/msm/msm_drv.h int w, int h, int p, uint32_t format); format 20 drivers/gpu/drm/msm/msm_fb.c const struct msm_format *format; format 36 drivers/gpu/drm/msm/msm_fb.c int i, n = fb->format->num_planes; format 39 drivers/gpu/drm/msm/msm_fb.c fb->width, fb->height, (char *)&fb->format->format, format 58 drivers/gpu/drm/msm/msm_fb.c int ret, i, n = fb->format->num_planes; format 74 drivers/gpu/drm/msm/msm_fb.c int i, n = fb->format->num_planes; format 96 drivers/gpu/drm/msm/msm_fb.c return msm_fb->format; format 139 drivers/gpu/drm/msm/msm_fb.c const struct msm_format *format; format 147 drivers/gpu/drm/msm/msm_fb.c format = kms->funcs->get_format(kms, mode_cmd->pixel_format, format 149 drivers/gpu/drm/msm/msm_fb.c if (!format) { format 164 drivers/gpu/drm/msm/msm_fb.c msm_fb->format = format; format 207 drivers/gpu/drm/msm/msm_fb.c msm_alloc_stolen_fb(struct drm_device *dev, int w, int h, int p, uint32_t format) format 210 drivers/gpu/drm/msm/msm_fb.c .pixel_format = format, format 70 drivers/gpu/drm/msm/msm_fbdev.c uint32_t format; format 73 drivers/gpu/drm/msm/msm_fbdev.c format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); format 81 drivers/gpu/drm/msm/msm_fbdev.c sizes->surface_height, pitch, format); format 105 drivers/gpu/drm/msm/msm_kms.h const uint32_t format, format 50 drivers/gpu/drm/mxsfb/mxsfb_crtc.c const u32 format = crtc->primary->state->fb->format->format; format 66 drivers/gpu/drm/mxsfb/mxsfb_crtc.c switch (format) { format 79 drivers/gpu/drm/mxsfb/mxsfb_crtc.c dev_err(drm->dev, "Unhandled pixel format %08x\n", format); format 573 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] = (fb->format->depth + 1) / 8; format 587 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (fb->format->depth == 16) format 850 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (nv_crtc->lut.depth != drm_fb->format->depth) { format 851 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->lut.depth = drm_fb->format->depth; format 857 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->CRTC[NV_CIO_CRE_PIXEL_INDEX] |= (drm_fb->format->depth + 1) / 8; format 859 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (drm_fb->format->depth == 16) format 876 drivers/gpu/drm/nouveau/dispnv04/crtc.c regp->fb_start += (y * drm_fb->pitches[0]) + (x * drm_fb->format->cpp[0]); format 880 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_calc_arb(dev, crtc->mode.clock, drm_fb->format->cpp[0] * 8, format 1193 drivers/gpu/drm/nouveau/dispnv04/crtc.c { { }, event, crtc, fb->format->cpp[0] * 8, fb->pitches[0], format 419 drivers/gpu/drm/nouveau/dispnv04/dfp.c fb->format->depth > connector->display_info.bpc * 3)) { format 130 drivers/gpu/drm/nouveau/dispnv04/overlay.c unsigned format = 0; format 161 drivers/gpu/drm/nouveau/dispnv04/overlay.c if (fb->format->format == DRM_FORMAT_YUYV || format 162 drivers/gpu/drm/nouveau/dispnv04/overlay.c fb->format->format == DRM_FORMAT_NV12) format 163 drivers/gpu/drm/nouveau/dispnv04/overlay.c format |= NV_PVIDEO_FORMAT_COLOR_LE_CR8YB8CB8YA8; format 164 drivers/gpu/drm/nouveau/dispnv04/overlay.c if (fb->format->format == DRM_FORMAT_NV12 || format 165 drivers/gpu/drm/nouveau/dispnv04/overlay.c fb->format->format == DRM_FORMAT_NV21) format 166 drivers/gpu/drm/nouveau/dispnv04/overlay.c format |= NV_PVIDEO_FORMAT_PLANAR; format 168 drivers/gpu/drm/nouveau/dispnv04/overlay.c format |= NV_PVIDEO_FORMAT_MATRIX_ITURBT709; format 170 drivers/gpu/drm/nouveau/dispnv04/overlay.c format |= NV_PVIDEO_FORMAT_DISPLAY_COLOR_KEY; format 172 drivers/gpu/drm/nouveau/dispnv04/overlay.c if (format & NV_PVIDEO_FORMAT_PLANAR) { format 177 drivers/gpu/drm/nouveau/dispnv04/overlay.c nvif_wr32(dev, NV_PVIDEO_FORMAT(flip), format | fb->pitches[0]); format 221 drivers/gpu/drm/nouveau/dispnv04/overlay.c u32 format = 0; format 231 drivers/gpu/drm/nouveau/dispnv04/overlay.c format |= NV_PVIDEO_FORMAT_MATRIX_ITURBT709; format 233 drivers/gpu/drm/nouveau/dispnv04/overlay.c format |= NV_PVIDEO_FORMAT_DISPLAY_COLOR_KEY; format 237 drivers/gpu/drm/nouveau/dispnv04/overlay.c format); format 425 drivers/gpu/drm/nouveau/dispnv04/overlay.c if (fb->format->format == DRM_FORMAT_YUYV) format 67 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 format; format 84 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 format:8; format 198 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 format; format 6 drivers/gpu/drm/nouveau/dispnv50/base.h int base507c_new_(const struct nv50_wndw_func *, const u32 *format, format 67 drivers/gpu/drm/nouveau/dispnv50/base507c.c if (asyw->image.format == 0xca) { format 85 drivers/gpu/drm/nouveau/dispnv50/base507c.c asyw->image.format << 8); format 201 drivers/gpu/drm/nouveau/dispnv50/base507c.c if ((asyh->base.cpp != 1) ^ (fb->format->cpp[0] != 1)) format 205 drivers/gpu/drm/nouveau/dispnv50/base507c.c asyh->base.depth = fb->format->depth; format 206 drivers/gpu/drm/nouveau/dispnv50/base507c.c asyh->base.cpp = fb->format->cpp[0]; format 258 drivers/gpu/drm/nouveau/dispnv50/base507c.c base507c_new_(const struct nv50_wndw_func *func, const u32 *format, format 270 drivers/gpu/drm/nouveau/dispnv50/base507c.c "base", head, format, BIT(head), format 34 drivers/gpu/drm/nouveau/dispnv50/base827c.c if (asyw->image.format == 0xca) { format 51 drivers/gpu/drm/nouveau/dispnv50/base827c.c evo_data(push, asyw->image.format << 8); format 42 drivers/gpu/drm/nouveau/dispnv50/base907c.c evo_data(push, asyw->image.format << 8); format 126 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->curs.format << 24); format 136 drivers/gpu/drm/nouveau/dispnv50/head507d.c switch (asyw->image.format) { format 137 drivers/gpu/drm/nouveau/dispnv50/head507d.c case 0xcf: asyh->curs.format = 1; break; format 185 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->core.format << 8); format 224 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->core.format = 0xcf; format 47 drivers/gpu/drm/nouveau/dispnv50/head827d.c asyh->curs.format << 24); format 69 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_data(push, asyh->core.format << 8); format 145 drivers/gpu/drm/nouveau/dispnv50/head907d.c asyh->curs.format << 24); format 179 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_data(push, asyh->core.format << 8); format 105 drivers/gpu/drm/nouveau/dispnv50/headc37d.c asyh->curs.format << 0); format 119 drivers/gpu/drm/nouveau/dispnv50/headc37d.c asyh->curs.format = asyw->image.format; format 6 drivers/gpu/drm/nouveau/dispnv50/ovly.h int ovly507e_new_(const struct nv50_wndw_func *, const u32 *format, format 89 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c asyw->image.format << 8 | format 139 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c asyh->ovly.cpp = fb->format->cpp[0]; format 169 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c ovly507e_new_(const struct nv50_wndw_func *func, const u32 *format, format 181 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c "ovly", head, format, BIT(head), format 46 drivers/gpu/drm/nouveau/dispnv50/ovly827e.c evo_data(push, asyw->image.format << 8 | format 44 drivers/gpu/drm/nouveau/dispnv50/ovly907e.c evo_data(push, asyw->image.format << 8 | format 195 drivers/gpu/drm/nouveau/dispnv50/wndw.c switch (asyw->state.fb->format->format) { format 196 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_YUYV: asyw->image.format = 0x28; break; format 197 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_UYVY: asyw->image.format = 0x29; break; format 209 drivers/gpu/drm/nouveau/dispnv50/wndw.c switch (asyw->state.fb->format->format) { format 210 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_C8 : asyw->image.format = 0x1e; break; format 212 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_ARGB8888 : asyw->image.format = 0xcf; break; format 213 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_RGB565 : asyw->image.format = 0xe8; break; format 215 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_ARGB1555 : asyw->image.format = 0xe9; break; format 217 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_ABGR2101010 : asyw->image.format = 0xd1; break; format 219 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_ABGR8888 : asyw->image.format = 0xd5; break; format 221 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_ARGB2101010 : asyw->image.format = 0xdf; break; format 223 drivers/gpu/drm/nouveau/dispnv50/wndw.c case DRM_FORMAT_ABGR16161616F: asyw->image.format = 0xca; break; format 335 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (!ilut && asyw->state.fb->format->format == DRM_FORMAT_C8) { format 353 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->state.fb->format->format != DRM_FORMAT_XBGR16161616F && format 354 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->state.fb->format->format != DRM_FORMAT_ABGR16161616F) { format 426 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->state.fb->format->format != format 427 drivers/gpu/drm/nouveau/dispnv50/wndw.c armw->state.fb->format->format)) format 630 drivers/gpu/drm/nouveau/dispnv50/wndw.c const u32 *format, u32 heads, format 651 drivers/gpu/drm/nouveau/dispnv50/wndw.c for (nformat = 0; format[nformat]; nformat++); format 654 drivers/gpu/drm/nouveau/dispnv50/wndw.c format, nformat, NULL, format 41 drivers/gpu/drm/nouveau/dispnv50/wndw.h const u32 *format, enum nv50_disp_interlock_type, format 132 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c asyw->image.format); format 45 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c asyw->image.format); format 29 drivers/gpu/drm/nouveau/include/nvif/cl9097.h __u8 format; format 39 drivers/gpu/drm/nouveau/include/nvif/cl9097.h __u8 format; format 156 drivers/gpu/drm/nouveau/nv50_fbcon.c int ret, format; format 160 drivers/gpu/drm/nouveau/nv50_fbcon.c format = 0xf3; format 163 drivers/gpu/drm/nouveau/nv50_fbcon.c format = 0xf8; format 166 drivers/gpu/drm/nouveau/nv50_fbcon.c format = 0xe8; format 172 drivers/gpu/drm/nouveau/nv50_fbcon.c format = 0xe6; format 175 drivers/gpu/drm/nouveau/nv50_fbcon.c format = 0xd1; format 217 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, format); format 222 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, format); format 237 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, format); format 246 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, format); format 156 drivers/gpu/drm/nouveau/nvc0_fbcon.c int ret, format; format 165 drivers/gpu/drm/nouveau/nvc0_fbcon.c format = 0xf3; format 168 drivers/gpu/drm/nouveau/nvc0_fbcon.c format = 0xf8; format 171 drivers/gpu/drm/nouveau/nvc0_fbcon.c format = 0xe8; format 177 drivers/gpu/drm/nouveau/nvc0_fbcon.c format = 0xe6; format 180 drivers/gpu/drm/nouveau/nvc0_fbcon.c format = 0xd1; format 214 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, format); format 220 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, format); format 235 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, format); format 246 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, format); format 52 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->zbc_color[zbc].format) { format 58 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_wr32(device, 0x405814, gr->zbc_color[zbc].format); format 64 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_zbc_color_get(struct gf100_gr *gr, int format, format 71 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->zbc_color[i].format) { format 72 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->zbc_color[i].format != format) format 93 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->zbc_color[zbc].format = format; format 103 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->zbc_depth[zbc].format) format 105 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_wr32(device, 0x40581c, gr->zbc_depth[zbc].format); format 111 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_zbc_depth_get(struct gf100_gr *gr, int format, format 118 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->zbc_depth[i].format) { format 119 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->zbc_depth[i].format != format) format 136 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->zbc_depth[zbc].format = format; format 170 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c switch (args->v0.format) { format 190 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c ret = gf100_gr_zbc_color_get(gr, args->v0.format, format 216 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c switch (args->v0.format) { format 218 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c ret = gf100_gr_zbc_depth_get(gr, args->v0.format, format 960 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (!gr->zbc_color[0].format) { format 64 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h u32 format; format 70 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h u32 format; format 76 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h u32 format; format 154 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h int (*stencil_get)(struct gf100_gr *, int format, format 39 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c if (gr->zbc_color[zbc].format) { format 48 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c gr->zbc_color[zbc].format << ((znum % 4) * 7)); format 58 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c if (gr->zbc_depth[zbc].format) format 62 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c gr->zbc_depth[zbc].format << ((znum % 4) * 7)); format 36 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c if (gr->zbc_stencil[zbc].format) format 40 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c gr->zbc_stencil[zbc].format << ((znum % 4) * 7)); format 44 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c gp102_gr_zbc_stencil_get(struct gf100_gr *gr, int format, format 51 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c if (gr->zbc_stencil[i].format) { format 52 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c if (gr->zbc_stencil[i].format != format) format 69 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c gr->zbc_stencil[zbc].format = format; format 35 drivers/gpu/drm/omapdrm/dss/dss.h #define DSSDBG(format, ...) \ format 36 drivers/gpu/drm/omapdrm/dss/dss.h pr_debug(format, ## __VA_ARGS__) format 39 drivers/gpu/drm/omapdrm/dss/dss.h #define DSSERR(format, ...) \ format 40 drivers/gpu/drm/omapdrm/dss/dss.h pr_err("omapdss " DSS_SUBSYS_NAME " error: " format, ##__VA_ARGS__) format 42 drivers/gpu/drm/omapdrm/dss/dss.h #define DSSERR(format, ...) \ format 43 drivers/gpu/drm/omapdrm/dss/dss.h pr_err("omapdss error: " format, ##__VA_ARGS__) format 47 drivers/gpu/drm/omapdrm/dss/dss.h #define DSSINFO(format, ...) \ format 48 drivers/gpu/drm/omapdrm/dss/dss.h pr_info("omapdss " DSS_SUBSYS_NAME ": " format, ##__VA_ARGS__) format 50 drivers/gpu/drm/omapdrm/dss/dss.h #define DSSINFO(format, ...) \ format 51 drivers/gpu/drm/omapdrm/dss/dss.h pr_info("omapdss: " format, ## __VA_ARGS__) format 55 drivers/gpu/drm/omapdrm/dss/dss.h #define DSSWARN(format, ...) \ format 56 drivers/gpu/drm/omapdrm/dss/dss.h pr_warn("omapdss " DSS_SUBSYS_NAME ": " format, ##__VA_ARGS__) format 58 drivers/gpu/drm/omapdrm/dss/dss.h #define DSSWARN(format, ...) \ format 59 drivers/gpu/drm/omapdrm/dss/dss.h pr_warn("omapdss: " format, ##__VA_ARGS__) format 52 drivers/gpu/drm/omapdrm/omap_fb.c const struct drm_format_info *format; format 83 drivers/gpu/drm/omapdrm/omap_fb.c const struct drm_format_info *format, int n, int x, int y) format 90 drivers/gpu/drm/omapdrm/omap_fb.c + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) format 91 drivers/gpu/drm/omapdrm/omap_fb.c + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); format 137 drivers/gpu/drm/omapdrm/omap_fb.c const struct drm_format_info *format = omap_fb->format; format 141 drivers/gpu/drm/omapdrm/omap_fb.c info->fourcc = fb->format->format; format 169 drivers/gpu/drm/omapdrm/omap_fb.c if (fb->format->format == DRM_FORMAT_UYVY || format 170 drivers/gpu/drm/omapdrm/omap_fb.c fb->format->format == DRM_FORMAT_YUYV) { format 202 drivers/gpu/drm/omapdrm/omap_fb.c info->paddr = get_linear_addr(fb, format, 0, x, y); format 209 drivers/gpu/drm/omapdrm/omap_fb.c info->screen_width /= format->cpp[0]; format 211 drivers/gpu/drm/omapdrm/omap_fb.c if (fb->format->format == DRM_FORMAT_NV12) { format 219 drivers/gpu/drm/omapdrm/omap_fb.c info->p_uv_addr = get_linear_addr(fb, format, 1, x, y); format 230 drivers/gpu/drm/omapdrm/omap_fb.c int ret, i, n = fb->format->num_planes; format 270 drivers/gpu/drm/omapdrm/omap_fb.c int i, n = fb->format->num_planes; format 293 drivers/gpu/drm/omapdrm/omap_fb.c int i, n = fb->format->num_planes; format 296 drivers/gpu/drm/omapdrm/omap_fb.c (char *)&fb->format->format); format 340 drivers/gpu/drm/omapdrm/omap_fb.c const struct drm_format_info *format = NULL; format 350 drivers/gpu/drm/omapdrm/omap_fb.c format = drm_get_format_info(dev, mode_cmd); format 357 drivers/gpu/drm/omapdrm/omap_fb.c if (!format || i == ARRAY_SIZE(formats)) { format 371 drivers/gpu/drm/omapdrm/omap_fb.c omap_fb->format = format; format 379 drivers/gpu/drm/omapdrm/omap_fb.c if (format->num_planes == 2 && pitch != mode_cmd->pitches[1]) { format 385 drivers/gpu/drm/omapdrm/omap_fb.c if (pitch % format->cpp[0]) { format 388 drivers/gpu/drm/omapdrm/omap_fb.c pitch, format->cpp[0]); format 393 drivers/gpu/drm/omapdrm/omap_fb.c for (i = 0; i < format->num_planes; i++) { format 395 drivers/gpu/drm/omapdrm/omap_fb.c unsigned int vsub = i == 0 ? 1 : format->vsub; format 238 drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c dsi->format = MIPI_DSI_FMT_RGB888; format 466 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c dsi->format = MIPI_DSI_FMT_RGB888; format 41 drivers/gpu/drm/panel/panel-innolux-p079zca.c enum mipi_dsi_pixel_format format; format 250 drivers/gpu/drm/panel/panel-innolux-p079zca.c .format = MIPI_DSI_FMT_RGB888, format 398 drivers/gpu/drm/panel/panel-innolux-p079zca.c .format = MIPI_DSI_FMT_RGB888, format 516 drivers/gpu/drm/panel/panel-innolux-p079zca.c dsi->format = desc->format; format 461 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c dsi->format = MIPI_DSI_FMT_RGB888; format 412 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c dsi->format = MIPI_DSI_FMT_RGB888; format 454 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c dsi->format = MIPI_DSI_FMT_RGB888; format 187 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c dsi->format = MIPI_DSI_FMT_RGB888; format 258 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c dsi->format = MIPI_DSI_FMT_RGB888; format 468 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c dsi->format = MIPI_DSI_FMT_RGB888; format 251 drivers/gpu/drm/panel/panel-raydium-rm67191.c static int color_format_from_dsi_format(enum mipi_dsi_pixel_format format) format 253 drivers/gpu/drm/panel/panel-raydium-rm67191.c switch (format) { format 323 drivers/gpu/drm/panel/panel-raydium-rm67191.c int color_format = color_format_from_dsi_format(dsi->format); format 557 drivers/gpu/drm/panel/panel-raydium-rm67191.c dsi->format = MIPI_DSI_FMT_RGB888; format 403 drivers/gpu/drm/panel/panel-raydium-rm68200.c dsi->format = MIPI_DSI_FMT_RGB888; format 319 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c dsi->format = MIPI_DSI_FMT_RGB888; format 364 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c mipi_dsi_pixel_format_to_bpp(dsi->format), dsi->lanes); format 223 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c dsi->format = MIPI_DSI_FMT_RGB888; format 189 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c dsi->format = MIPI_DSI_FMT_RGB888; format 697 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c dsi->format = MIPI_DSI_FMT_RGB888; format 450 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c dsi->format = MIPI_DSI_FMT_RGB888; format 992 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c dsi->format = MIPI_DSI_FMT_RGB888; format 168 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c u8 format = MIPI_DCS_PIXEL_FMT_24BIT; format 215 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c err = mipi_dsi_dcs_set_pixel_format(sharp->link1, format); format 356 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c dsi->format = MIPI_DSI_FMT_RGB888; format 286 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c dsi->format = MIPI_DSI_FMT_RGB888; format 3480 drivers/gpu/drm/panel/panel-simple.c enum mipi_dsi_pixel_format format; format 3508 drivers/gpu/drm/panel/panel-simple.c .format = MIPI_DSI_FMT_RGB888, format 3538 drivers/gpu/drm/panel/panel-simple.c .format = MIPI_DSI_FMT_RGB888, format 3566 drivers/gpu/drm/panel/panel-simple.c .format = MIPI_DSI_FMT_RGB888, format 3594 drivers/gpu/drm/panel/panel-simple.c .format = MIPI_DSI_FMT_RGB888, format 3623 drivers/gpu/drm/panel/panel-simple.c .format = MIPI_DSI_FMT_RGB888, format 3651 drivers/gpu/drm/panel/panel-simple.c .format = MIPI_DSI_FMT_RGB888, format 3682 drivers/gpu/drm/panel/panel-simple.c .format = MIPI_DSI_FMT_RGB888, format 3731 drivers/gpu/drm/panel/panel-simple.c dsi->format = desc->format; format 95 drivers/gpu/drm/panel/panel-sitronix-st7701.c enum mipi_dsi_pixel_format format; format 327 drivers/gpu/drm/panel/panel-sitronix-st7701.c .format = MIPI_DSI_FMT_RGB888, format 345 drivers/gpu/drm/panel/panel-sitronix-st7701.c dsi->format = desc->format; format 625 drivers/gpu/drm/panel/panel-truly-nt35597.c dsi_dev->format = MIPI_DSI_FMT_RGB888; format 106 drivers/gpu/drm/pl111/pl111_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) format 112 drivers/gpu/drm/pl111/pl111_display.c if (old_fb && old_fb->format != fb->format) format 258 drivers/gpu/drm/pl111/pl111_display.c switch (fb->format->format) { format 329 drivers/gpu/drm/pl111/pl111_display.c fb->format->format); format 347 drivers/gpu/drm/pl111/pl111_display.c priv->variant_display_enable(drm, fb->format->format); format 80 drivers/gpu/drm/pl111/pl111_drm.h void (*variant_display_enable) (struct drm_device *drm, u32 format); format 95 drivers/gpu/drm/pl111/pl111_versatile.c static void pl111_integrator_enable(struct drm_device *drm, u32 format) format 105 drivers/gpu/drm/pl111/pl111_versatile.c switch (format) { format 118 drivers/gpu/drm/pl111/pl111_versatile.c format); format 154 drivers/gpu/drm/pl111/pl111_versatile.c static void pl111_versatile_enable(struct drm_device *drm, u32 format) format 160 drivers/gpu/drm/pl111/pl111_versatile.c switch (format) { format 181 drivers/gpu/drm/pl111/pl111_versatile.c format); format 207 drivers/gpu/drm/pl111/pl111_versatile.c static void pl111_realview_clcd_enable(struct drm_device *drm, u32 format) format 393 drivers/gpu/drm/qxl/qxl_cmd.c create->format = bo->surf.format; format 490 drivers/gpu/drm/qxl/qxl_cmd.c cmd->u.surface_create.format = surf->surf.format; format 318 drivers/gpu/drm/qxl/qxl_dev.h uint32_t format; format 741 drivers/gpu/drm/qxl/qxl_dev.h uint32_t format; format 828 drivers/gpu/drm/qxl/qxl_dev.h uint8_t format; format 766 drivers/gpu/drm/qxl/qxl_display.c surf->format = SPICE_SURFACE_FMT_32_xRGB; format 144 drivers/gpu/drm/qxl/qxl_draw.c int depth = fb->format->cpp[0] * 8; format 40 drivers/gpu/drm/qxl/qxl_dumb.c uint32_t pitch, format; format 48 drivers/gpu/drm/qxl/qxl_dumb.c format = SPICE_SURFACE_FMT_16_565; format 51 drivers/gpu/drm/qxl/qxl_dumb.c format = SPICE_SURFACE_FMT_32_xRGB; format 60 drivers/gpu/drm/qxl/qxl_dumb.c surf.format = format; format 205 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.format = SPICE_BITMAP_FMT_1BIT_BE; format 208 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.format = SPICE_BITMAP_FMT_24BIT; format 211 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.format = SPICE_BITMAP_FMT_32BIT; format 406 drivers/gpu/drm/qxl/qxl_ioctl.c surf.format = param->format; format 576 drivers/gpu/drm/r128/r128_state.c int format = sarea_priv->vc_format; format 607 drivers/gpu/drm/r128/r128_state.c OUT_RING(format); format 702 drivers/gpu/drm/r128/r128_state.c int format = sarea_priv->vc_format; format 730 drivers/gpu/drm/r128/r128_state.c data[3] = cpu_to_le32(format); format 795 drivers/gpu/drm/r128/r128_state.c switch (blit->format) { format 811 drivers/gpu/drm/r128/r128_state.c DRM_ERROR("invalid blit format %d\n", blit->format); format 851 drivers/gpu/drm/r128/r128_state.c (blit->format << 8) | format 1196 drivers/gpu/drm/radeon/atombios_crtc.c switch (target_fb->format->format) { format 1272 drivers/gpu/drm/radeon/atombios_crtc.c drm_get_format_name(target_fb->format->format, &format_name)); format 1288 drivers/gpu/drm/radeon/atombios_crtc.c tileb = 8 * 8 * target_fb->format->cpp[0]; format 1296 drivers/gpu/drm/radeon/atombios_crtc.c target_fb->format->cpp[0] * 8, format 1303 drivers/gpu/drm/radeon/atombios_crtc.c switch (target_fb->format->cpp[0] * 8) { format 1426 drivers/gpu/drm/radeon/atombios_crtc.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; format 1516 drivers/gpu/drm/radeon/atombios_crtc.c switch (target_fb->format->format) { format 1584 drivers/gpu/drm/radeon/atombios_crtc.c drm_get_format_name(target_fb->format->format, &format_name)); format 1642 drivers/gpu/drm/radeon/atombios_crtc.c fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; format 95 drivers/gpu/drm/radeon/dce3_1_afmt.c if (sad->format == eld_reg_to_type[i][1]) { format 103 drivers/gpu/drm/radeon/dce3_1_afmt.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) format 236 drivers/gpu/drm/radeon/dce6_afmt.c if (sad->format == eld_reg_to_type[i][1]) { format 244 drivers/gpu/drm/radeon/dce6_afmt.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) format 174 drivers/gpu/drm/radeon/evergreen_cs.c unsigned format; format 302 drivers/gpu/drm/radeon/evergreen_cs.c surf->bpe = r600_fmt_get_blocksize(surf->format); format 408 drivers/gpu/drm/radeon/evergreen_cs.c surf.format = G_028C70_FORMAT(track->cb_color_info[id]); format 416 drivers/gpu/drm/radeon/evergreen_cs.c if (!r600_fmt_is_valid_color(surf.format)) { format 418 drivers/gpu/drm/radeon/evergreen_cs.c __func__, __LINE__, surf.format, format 575 drivers/gpu/drm/radeon/evergreen_cs.c surf.format = G_028044_FORMAT(track->db_s_info); format 583 drivers/gpu/drm/radeon/evergreen_cs.c if (surf.format != 1) { format 585 drivers/gpu/drm/radeon/evergreen_cs.c __func__, __LINE__, surf.format); format 589 drivers/gpu/drm/radeon/evergreen_cs.c surf.format = V_028C70_COLOR_8; format 602 drivers/gpu/drm/radeon/evergreen_cs.c surf.format = V_028C70_COLOR_8_8_8_8; format 672 drivers/gpu/drm/radeon/evergreen_cs.c surf.format = G_028040_FORMAT(track->db_z_info); format 680 drivers/gpu/drm/radeon/evergreen_cs.c switch (surf.format) { format 682 drivers/gpu/drm/radeon/evergreen_cs.c surf.format = V_028C70_COLOR_16; format 686 drivers/gpu/drm/radeon/evergreen_cs.c surf.format = V_028C70_COLOR_8_8_8_8; format 690 drivers/gpu/drm/radeon/evergreen_cs.c __func__, __LINE__, surf.format); format 778 drivers/gpu/drm/radeon/evergreen_cs.c surf.format = G_03001C_DATA_FORMAT(texdw[7]); format 780 drivers/gpu/drm/radeon/evergreen_cs.c surf.nbx = r600_fmt_get_nblocksx(surf.format, surf.nbx); format 781 drivers/gpu/drm/radeon/evergreen_cs.c surf.nby = r600_fmt_get_nblocksy(surf.format, height); format 792 drivers/gpu/drm/radeon/evergreen_cs.c if (!r600_fmt_is_valid_texture(surf.format, p->family)) { format 794 drivers/gpu/drm/radeon/evergreen_cs.c __func__, __LINE__, surf.format); format 879 drivers/gpu/drm/radeon/evergreen_cs.c surf.nbx = r600_fmt_get_nblocksx(surf.format, w); format 880 drivers/gpu/drm/radeon/evergreen_cs.c surf.nby = r600_fmt_get_nblocksy(surf.format, h); format 975 drivers/gpu/drm/radeon/evergreen_cs.c u32 format = G_028C70_FORMAT(track->cb_color_info[i]); format 977 drivers/gpu/drm/radeon/evergreen_cs.c if (format != V_028C70_COLOR_INVALID && format 184 drivers/gpu/drm/radeon/evergreen_hdmi.c if (sad->format == eld_reg_to_type[i][1]) { format 192 drivers/gpu/drm/radeon/evergreen_hdmi.c if (sad->format == HDMI_AUDIO_CODING_TYPE_PCM) format 3232 drivers/gpu/drm/radeon/r100.c pixel_bytes1 = fb->format->cpp[0]; format 3240 drivers/gpu/drm/radeon/r100.c pixel_bytes2 = fb->format->cpp[0]; format 178 drivers/gpu/drm/radeon/r600_cs.c bool r600_fmt_is_valid_color(u32 format) format 180 drivers/gpu/drm/radeon/r600_cs.c if (format >= ARRAY_SIZE(color_formats_table)) format 183 drivers/gpu/drm/radeon/r600_cs.c if (color_formats_table[format].valid_color) format 189 drivers/gpu/drm/radeon/r600_cs.c bool r600_fmt_is_valid_texture(u32 format, enum radeon_family family) format 191 drivers/gpu/drm/radeon/r600_cs.c if (format >= ARRAY_SIZE(color_formats_table)) format 194 drivers/gpu/drm/radeon/r600_cs.c if (family < color_formats_table[format].min_family) format 197 drivers/gpu/drm/radeon/r600_cs.c if (color_formats_table[format].blockwidth > 0) format 203 drivers/gpu/drm/radeon/r600_cs.c int r600_fmt_get_blocksize(u32 format) format 205 drivers/gpu/drm/radeon/r600_cs.c if (format >= ARRAY_SIZE(color_formats_table)) format 208 drivers/gpu/drm/radeon/r600_cs.c return color_formats_table[format].blocksize; format 211 drivers/gpu/drm/radeon/r600_cs.c int r600_fmt_get_nblocksx(u32 format, u32 w) format 215 drivers/gpu/drm/radeon/r600_cs.c if (format >= ARRAY_SIZE(color_formats_table)) format 218 drivers/gpu/drm/radeon/r600_cs.c bw = color_formats_table[format].blockwidth; format 225 drivers/gpu/drm/radeon/r600_cs.c int r600_fmt_get_nblocksy(u32 format, u32 h) format 229 drivers/gpu/drm/radeon/r600_cs.c if (format >= ARRAY_SIZE(color_formats_table)) format 232 drivers/gpu/drm/radeon/r600_cs.c bh = color_formats_table[format].blockheight; format 359 drivers/gpu/drm/radeon/r600_cs.c u32 format; format 364 drivers/gpu/drm/radeon/r600_cs.c format = G_0280A0_FORMAT(track->cb_color_info[i]); format 365 drivers/gpu/drm/radeon/r600_cs.c if (!r600_fmt_is_valid_color(format)) { format 367 drivers/gpu/drm/radeon/r600_cs.c __func__, __LINE__, format, format 386 drivers/gpu/drm/radeon/r600_cs.c array_check.blocksize = r600_fmt_get_blocksize(format); format 430 drivers/gpu/drm/radeon/r600_cs.c tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) * format 431 drivers/gpu/drm/radeon/r600_cs.c r600_fmt_get_blocksize(format) * nsamples; format 456 drivers/gpu/drm/radeon/r600_cs.c pitch, height, r600_fmt_get_nblocksx(format, pitch), format 457 drivers/gpu/drm/radeon/r600_cs.c r600_fmt_get_nblocksy(format, height), format 458 drivers/gpu/drm/radeon/r600_cs.c r600_fmt_get_blocksize(format)); format 753 drivers/gpu/drm/radeon/r600_cs.c u32 format = G_0280A0_FORMAT(track->cb_color_info[i]); format 755 drivers/gpu/drm/radeon/r600_cs.c if (format != V_0280A0_COLOR_INVALID && format 1410 drivers/gpu/drm/radeon/r600_cs.c unsigned w0, unsigned h0, unsigned d0, unsigned nsamples, unsigned format, format 1421 drivers/gpu/drm/radeon/r600_cs.c blocksize = r600_fmt_get_blocksize(format); format 1428 drivers/gpu/drm/radeon/r600_cs.c nbx = r600_fmt_get_nblocksx(format, width); format 1433 drivers/gpu/drm/radeon/r600_cs.c nby = r600_fmt_get_nblocksy(format, height); format 1483 drivers/gpu/drm/radeon/r600_cs.c u32 format; format 1511 drivers/gpu/drm/radeon/r600_cs.c format = G_038004_DATA_FORMAT(word1); format 1520 drivers/gpu/drm/radeon/r600_cs.c array_check.blocksize = r600_fmt_get_blocksize(format); format 1549 drivers/gpu/drm/radeon/r600_cs.c if (!r600_fmt_is_valid_texture(format, p->family)) { format 1551 drivers/gpu/drm/radeon/r600_cs.c __func__, __LINE__, format); format 1590 drivers/gpu/drm/radeon/r600_cs.c r600_texture_size(nfaces, blevel, llevel, w0, h0, d0, array_check.nsamples, format, format 1597 drivers/gpu/drm/radeon/r600_cs.c array_check.array_mode, format, word2, format 2890 drivers/gpu/drm/radeon/radeon.h bool r600_fmt_is_valid_color(u32 format); format 2891 drivers/gpu/drm/radeon/radeon.h bool r600_fmt_is_valid_texture(u32 format, enum radeon_family family); format 2892 drivers/gpu/drm/radeon/radeon.h int r600_fmt_get_blocksize(u32 format); format 2893 drivers/gpu/drm/radeon/radeon.h int r600_fmt_get_nblocksx(u32 format, u32 w); format 2894 drivers/gpu/drm/radeon/radeon.h int r600_fmt_get_nblocksy(u32 format, u32 h); format 3940 drivers/gpu/drm/radeon/radeon_atombios.c ATOM_MEMORY_TIMING_FORMAT *format; format 3951 drivers/gpu/drm/radeon/radeon_atombios.c format = &vram_module->asMemTiming[0]; format 3953 drivers/gpu/drm/radeon/radeon_atombios.c mclk_range_table->mclk[i] = le32_to_cpu(format->ulClkRange); format 3954 drivers/gpu/drm/radeon/radeon_atombios.c format = (ATOM_MEMORY_TIMING_FORMAT *) format 3955 drivers/gpu/drm/radeon/radeon_atombios.c ((u8 *)format + mem_timing_size); format 4016 drivers/gpu/drm/radeon/radeon_atombios.c ATOM_INIT_REG_INDEX_FORMAT *format = ®_block->asRegIndexBuf[0]; format 4022 drivers/gpu/drm/radeon/radeon_atombios.c if (format->ucPreRegDataLength & ACCESS_PLACEHOLDER) format 4025 drivers/gpu/drm/radeon/radeon_atombios.c (u16)(le16_to_cpu(format->usRegIndex)); format 4027 drivers/gpu/drm/radeon/radeon_atombios.c (u8)(format->ucPreRegDataLength); format 4029 drivers/gpu/drm/radeon/radeon_atombios.c format = (ATOM_INIT_REG_INDEX_FORMAT *) format 4030 drivers/gpu/drm/radeon/radeon_atombios.c ((u8 *)format + sizeof(ATOM_INIT_REG_INDEX_FORMAT)); format 545 drivers/gpu/drm/radeon/radeon_display.c pitch_pixels = fb->pitches[0] / fb->format->cpp[0]; format 551 drivers/gpu/drm/radeon/radeon_display.c int byteshift = fb->format->cpp[0] * 8 >> 4; format 557 drivers/gpu/drm/radeon/radeon_display.c switch (fb->format->cpp[0] * 8) { format 290 drivers/gpu/drm/radeon/radeon_fb.c DRM_INFO("fb depth is %d\n", fb->format->depth); format 387 drivers/gpu/drm/radeon/radeon_legacy_crtc.c int format; format 403 drivers/gpu/drm/radeon/radeon_legacy_crtc.c switch (target_fb->format->cpp[0] * 8) { format 405 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 2; format 408 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 3; format 411 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 4; format 414 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 5; format 417 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 6; format 477 drivers/gpu/drm/radeon/radeon_legacy_crtc.c pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; format 478 drivers/gpu/drm/radeon/radeon_legacy_crtc.c crtc_pitch = DIV_ROUND_UP(pitch_pixels * target_fb->format->cpp[0] * 8, format 479 drivers/gpu/drm/radeon/radeon_legacy_crtc.c target_fb->format->cpp[0] * 8 * 8); format 504 drivers/gpu/drm/radeon/radeon_legacy_crtc.c int byteshift = target_fb->format->cpp[0] * 8 >> 4; format 511 drivers/gpu/drm/radeon/radeon_legacy_crtc.c switch (target_fb->format->cpp[0] * 8) { format 540 drivers/gpu/drm/radeon/radeon_legacy_crtc.c gen_cntl_val |= (format << 8); format 580 drivers/gpu/drm/radeon/radeon_legacy_crtc.c int format; format 602 drivers/gpu/drm/radeon/radeon_legacy_crtc.c switch (fb->format->cpp[0] * 8) { format 604 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 2; format 607 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 3; format 610 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 4; format 613 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 5; format 616 drivers/gpu/drm/radeon/radeon_legacy_crtc.c format = 6; format 656 drivers/gpu/drm/radeon/radeon_legacy_crtc.c crtc2_gen_cntl |= ((format << 8) format 690 drivers/gpu/drm/radeon/radeon_legacy_crtc.c | (format << 8) format 329 drivers/gpu/drm/rcar-du/rcar_du_crtc.c return to_rcar_plane_state(plane->plane.state)->format; format 311 drivers/gpu/drm/rcar-du/rcar_du_kms.c const struct rcar_du_format_info *format; format 316 drivers/gpu/drm/rcar-du/rcar_du_kms.c format = rcar_du_format_info(mode_cmd->pixel_format); format 317 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (format == NULL) { format 329 drivers/gpu/drm/rcar-du/rcar_du_kms.c unsigned int bpp = format->planes == 1 ? format->bpp / 8 : 1; format 354 drivers/gpu/drm/rcar-du/rcar_du_kms.c for (i = 1; i < format->planes; ++i) { format 58 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (!old_state->format || format 59 drivers/gpu/drm/rcar-du/rcar_du_plane.c old_state->format->planes != new_state->format->planes) format 77 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->planes == 2) format 99 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int num_planes = state->format->planes; format 161 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (!new_plane_state->format) { format 238 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state->format ? format 239 drivers/gpu/drm/rcar-du/rcar_du_plane.c new_plane_state->format->planes : 0, format 271 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (!new_plane_state->format || format 298 drivers/gpu/drm/rcar-du/rcar_du_plane.c __func__, new_plane_state->format->planes, idx); format 346 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->planes == 2) format 349 drivers/gpu/drm/rcar-du/rcar_du_plane.c pitch = fb->pitches[0] * 8 / state->format->bpp; format 351 drivers/gpu/drm/rcar-du/rcar_du_plane.c for (i = 0; i < state->format->planes; ++i) { format 366 drivers/gpu/drm/rcar-du/rcar_du_plane.c (interlaced && state->format->bpp == 32) ? format 384 drivers/gpu/drm/rcar-du/rcar_du_plane.c (!interlaced && state->format->bpp == 32 ? 2 : 1)); format 388 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->planes == 2) { format 395 drivers/gpu/drm/rcar-du/rcar_du_plane.c (state->format->bpp == 16 ? 2 : 1) / 2); format 418 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->fourcc != DRM_FORMAT_XRGB1555) format 424 drivers/gpu/drm/rcar-du/rcar_du_plane.c pnmr = PnMR_BM_MD | state->format->pnmr; format 435 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->fourcc == DRM_FORMAT_YUYV) format 440 drivers/gpu/drm/rcar-du/rcar_du_plane.c switch (state->format->fourcc) { format 480 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->planes == 2) { format 482 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->fourcc == DRM_FORMAT_NV12 || format 483 drivers/gpu/drm/rcar-du/rcar_du_plane.c state->format->fourcc == DRM_FORMAT_NV21) format 486 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->fourcc == DRM_FORMAT_NV21) format 497 drivers/gpu/drm/rcar-du/rcar_du_plane.c ddcr4 = state->format->edf | PnDDCR4_CODE; format 509 drivers/gpu/drm/rcar-du/rcar_du_plane.c PnMR_SPIM_TP_OFF | state->format->pnmr); format 512 drivers/gpu/drm/rcar-du/rcar_du_plane.c state->format->edf | PnDDCR4_CODE); format 548 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->format->planes == 2) format 567 drivers/gpu/drm/rcar-du/rcar_du_plane.c const struct rcar_du_format_info **format) format 579 drivers/gpu/drm/rcar-du/rcar_du_plane.c *format = NULL; format 595 drivers/gpu/drm/rcar-du/rcar_du_plane.c *format = NULL; format 599 drivers/gpu/drm/rcar-du/rcar_du_plane.c *format = rcar_du_format_info(state->fb->format->format); format 600 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (*format == NULL) { format 602 drivers/gpu/drm/rcar-du/rcar_du_plane.c state->fb->format->format); format 614 drivers/gpu/drm/rcar-du/rcar_du_plane.c return __rcar_du_plane_atomic_check(plane, state, &rstate->format); format 53 drivers/gpu/drm/rcar-du/rcar_du_plane.h const struct rcar_du_format_info *format; format 71 drivers/gpu/drm/rcar-du/rcar_du_plane.h const struct rcar_du_format_info **format); format 72 drivers/gpu/drm/rcar-du/rcar_du_vsp.c .format = rcar_du_format_info(DRM_FORMAT_ARGB8888), format 153 drivers/gpu/drm/rcar-du/rcar_du_vsp.c const struct rcar_du_format_info *format; format 172 drivers/gpu/drm/rcar-du/rcar_du_vsp.c for (i = 0; i < state->format->planes; ++i) format 176 drivers/gpu/drm/rcar-du/rcar_du_vsp.c format = rcar_du_format_info(state->format->fourcc); format 177 drivers/gpu/drm/rcar-du/rcar_du_vsp.c cfg.pixelformat = format->v4l2; format 190 drivers/gpu/drm/rcar-du/rcar_du_vsp.c for (i = 0; i < fb->format->num_planes; ++i) { format 246 drivers/gpu/drm/rcar-du/rcar_du_vsp.c for (i = 0; i < fb->format->num_planes; ++i) { format 271 drivers/gpu/drm/rcar-du/rcar_du_vsp.c return __rcar_du_plane_atomic_check(plane, state, &rstate->format); format 48 drivers/gpu/drm/rcar-du/rcar_du_vsp.h const struct rcar_du_format_info *format; format 26 drivers/gpu/drm/rcar-du/rcar_du_writeback.c const struct rcar_du_format_info *format; format 165 drivers/gpu/drm/rcar-du/rcar_du_writeback.c wb_state->format = rcar_du_format_info(fb->format->format); format 166 drivers/gpu/drm/rcar-du/rcar_du_writeback.c if (wb_state->format == NULL) { format 168 drivers/gpu/drm/rcar-du/rcar_du_writeback.c fb->format->format); format 231 drivers/gpu/drm/rcar-du/rcar_du_writeback.c cfg->pixelformat = wb_state->format->v4l2; format 234 drivers/gpu/drm/rcar-du/rcar_du_writeback.c for (i = 0; i < wb_state->format->planes; ++i) format 787 drivers/gpu/drm/rockchip/cdn-dp-core.c audio.format = AFMT_I2S; format 790 drivers/gpu/drm/rockchip/cdn-dp-core.c audio.format = AFMT_SPDIF; format 818 drivers/gpu/drm/rockchip/cdn-dp-core.c dp->audio_info.format = AFMT_UNUSED; format 25 drivers/gpu/drm/rockchip/cdn-dp-core.h enum audio_format format; format 812 drivers/gpu/drm/rockchip/cdn-dp-reg.c if (audio->format == AFMT_SPDIF) format 937 drivers/gpu/drm/rockchip/cdn-dp-reg.c if (audio->format == AFMT_SPDIF) { format 950 drivers/gpu/drm/rockchip/cdn-dp-reg.c if (audio->format == AFMT_I2S) format 952 drivers/gpu/drm/rockchip/cdn-dp-reg.c else if (audio->format == AFMT_SPDIF) format 229 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c u32 format; format 472 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c unsigned long mode_flags, u32 lanes, u32 format, format 487 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c dsi->format = format; format 488 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); format 492 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c dsi->format); format 595 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c switch (dsi->format) { format 99 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c fb->width, fb->height, fb->format->depth, format 237 drivers/gpu/drm/rockchip/rockchip_drm_vop.c static bool has_rb_swapped(uint32_t format) format 239 drivers/gpu/drm/rockchip/rockchip_drm_vop.c switch (format) { format 250 drivers/gpu/drm/rockchip/rockchip_drm_vop.c static enum vop_data_format vop_convert_format(uint32_t format) format 252 drivers/gpu/drm/rockchip/rockchip_drm_vop.c switch (format) { format 271 drivers/gpu/drm/rockchip/rockchip_drm_vop.c DRM_ERROR("unsupported format[%08x]\n", format); format 742 drivers/gpu/drm/rockchip/rockchip_drm_vop.c ret = vop_convert_format(fb->format->format); format 750 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (fb->format->is_yuv && ((state->src.x1 >> 16) % 2)) { format 755 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (fb->format->is_yuv && state->rotation & DRM_MODE_REFLECT_Y) { format 801 drivers/gpu/drm/rockchip/rockchip_drm_vop.c int format; format 802 drivers/gpu/drm/rockchip/rockchip_drm_vop.c int is_yuv = fb->format->is_yuv; format 833 drivers/gpu/drm/rockchip/rockchip_drm_vop.c offset = (src->x1 >> 16) * fb->format->cpp[0]; format 844 drivers/gpu/drm/rockchip/rockchip_drm_vop.c format = vop_convert_format(fb->format->format); format 848 drivers/gpu/drm/rockchip/rockchip_drm_vop.c VOP_WIN_SET(vop, win, format, format); format 858 drivers/gpu/drm/rockchip/rockchip_drm_vop.c int hsub = fb->format->hsub; format 859 drivers/gpu/drm/rockchip/rockchip_drm_vop.c int vsub = fb->format->vsub; format 860 drivers/gpu/drm/rockchip/rockchip_drm_vop.c int bpp = fb->format->cpp[1]; format 883 drivers/gpu/drm/rockchip/rockchip_drm_vop.c fb->format); format 889 drivers/gpu/drm/rockchip/rockchip_drm_vop.c rb_swap = has_rb_swapped(fb->format->format); format 899 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (fb->format->has_alpha && win_index > 0) { format 134 drivers/gpu/drm/rockchip/rockchip_drm_vop.h struct vop_reg format; format 60 drivers/gpu/drm/rockchip/rockchip_lvds.c int format; /* vesa or jeida format */ format 225 drivers/gpu/drm/rockchip/rockchip_lvds.c val = lvds->format | LVDS_CH0_EN; format 390 drivers/gpu/drm/rockchip/rockchip_lvds.c lvds->format = LVDS_VESA_18; format 392 drivers/gpu/drm/rockchip/rockchip_lvds.c lvds->format = lvds_name_to_format(name); format 394 drivers/gpu/drm/rockchip/rockchip_lvds.c if (lvds->format < 0) { format 396 drivers/gpu/drm/rockchip/rockchip_lvds.c ret = lvds->format; format 75 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3036_SYS_CTRL, 0x7, 3), format 90 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3036_SYS_CTRL, 0x7, 6), format 156 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3036_SYS_CTRL, 0x7, 6), format 235 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(PX30_WIN0_CTRL0, 0x7, 1), format 250 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(PX30_WIN1_CTRL0, 0x7, 4), format 263 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(PX30_WIN2_CTRL0, 0x3, 5), format 317 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3066_SYS_CTRL0, 0x7, 4), format 333 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3066_SYS_CTRL0, 0x7, 7), format 348 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3066_SYS_CTRL0, 0x7, 10), format 427 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3188_SYS_CTRL, 0x7, 3), format 441 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3188_SYS_CTRL, 0x7, 6), format 546 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3288_WIN0_CTRL0, 0x7, 1), format 565 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3288_WIN2_CTRL0, 0x7, 1), format 676 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3368_WIN0_CTRL0, 0x7, 1), format 697 drivers/gpu/drm/rockchip/rockchip_vop_reg.c .format = VOP_REG(RK3368_WIN2_CTRL0, 0x3, 5), format 156 drivers/gpu/drm/shmobile/shmob_drm_crtc.c const struct shmob_drm_format_info *format; format 165 drivers/gpu/drm/shmobile/shmob_drm_crtc.c format = shmob_drm_format_info(crtc->primary->fb->format->format); format 166 drivers/gpu/drm/shmobile/shmob_drm_crtc.c if (WARN_ON(format == NULL)) format 210 drivers/gpu/drm/shmobile/shmob_drm_crtc.c lcdc_write(sdev, LDDFR, format->lddfr | LDDFR_CF1); format 213 drivers/gpu/drm/shmobile/shmob_drm_crtc.c if (format->yuv) format 218 drivers/gpu/drm/shmobile/shmob_drm_crtc.c switch (format->fourcc) { format 293 drivers/gpu/drm/shmobile/shmob_drm_crtc.c bpp = scrtc->format->yuv ? 8 : scrtc->format->bpp; format 298 drivers/gpu/drm/shmobile/shmob_drm_crtc.c if (scrtc->format->yuv) { format 299 drivers/gpu/drm/shmobile/shmob_drm_crtc.c bpp = scrtc->format->bpp - 8; format 315 drivers/gpu/drm/shmobile/shmob_drm_crtc.c if (scrtc->format->yuv) format 351 drivers/gpu/drm/shmobile/shmob_drm_crtc.c const struct shmob_drm_format_info *format; format 353 drivers/gpu/drm/shmobile/shmob_drm_crtc.c format = shmob_drm_format_info(crtc->primary->fb->format->format); format 354 drivers/gpu/drm/shmobile/shmob_drm_crtc.c if (format == NULL) { format 356 drivers/gpu/drm/shmobile/shmob_drm_crtc.c crtc->primary->fb->format->format); format 360 drivers/gpu/drm/shmobile/shmob_drm_crtc.c scrtc->format = format; format 28 drivers/gpu/drm/shmobile/shmob_drm_crtc.h const struct shmob_drm_format_info *format; format 95 drivers/gpu/drm/shmobile/shmob_drm_kms.c const struct shmob_drm_format_info *format; format 97 drivers/gpu/drm/shmobile/shmob_drm_kms.c format = shmob_drm_format_info(mode_cmd->pixel_format); format 98 drivers/gpu/drm/shmobile/shmob_drm_kms.c if (format == NULL) { format 110 drivers/gpu/drm/shmobile/shmob_drm_kms.c if (format->yuv) { format 111 drivers/gpu/drm/shmobile/shmob_drm_kms.c unsigned int chroma_cpp = format->bpp == 24 ? 2 : 1; format 26 drivers/gpu/drm/shmobile/shmob_drm_plane.c const struct shmob_drm_format_info *format; format 46 drivers/gpu/drm/shmobile/shmob_drm_plane.c bpp = splane->format->yuv ? 8 : splane->format->bpp; format 51 drivers/gpu/drm/shmobile/shmob_drm_plane.c if (splane->format->yuv) { format 52 drivers/gpu/drm/shmobile/shmob_drm_plane.c bpp = splane->format->bpp - 8; format 64 drivers/gpu/drm/shmobile/shmob_drm_plane.c u32 format; format 67 drivers/gpu/drm/shmobile/shmob_drm_plane.c format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT); format 69 drivers/gpu/drm/shmobile/shmob_drm_plane.c switch (splane->format->fourcc) { format 74 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; format 80 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; format 84 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_SWPL; format 88 drivers/gpu/drm/shmobile/shmob_drm_plane.c switch (splane->format->fourcc) { format 90 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_RGB16; format 93 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_RGB24; format 96 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_AL_PK | LDBBSIFR_RY | LDDFR_PKF_ARGB32; format 100 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_420; format 104 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_422; format 108 drivers/gpu/drm/shmobile/shmob_drm_plane.c format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_444; format 129 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBnBSIFR(splane->index), format); format 143 drivers/gpu/drm/shmobile/shmob_drm_plane.c if (splane->format->yuv) format 179 drivers/gpu/drm/shmobile/shmob_drm_plane.c const struct shmob_drm_format_info *format; format 181 drivers/gpu/drm/shmobile/shmob_drm_plane.c format = shmob_drm_format_info(fb->format->format); format 182 drivers/gpu/drm/shmobile/shmob_drm_plane.c if (format == NULL) { format 184 drivers/gpu/drm/shmobile/shmob_drm_plane.c fb->format->format); format 193 drivers/gpu/drm/shmobile/shmob_drm_plane.c splane->format = format; format 212 drivers/gpu/drm/shmobile/shmob_drm_plane.c splane->format = NULL; format 42 drivers/gpu/drm/sti/sti_gdp.c int format; format 155 drivers/gpu/drm/sti/sti_gdp.c if (gdp_format_to_str[i].format == (val & 0x1F)) { format 374 drivers/gpu/drm/sti/sti_gdp.c static int sti_gdp_get_alpharange(int format) format 376 drivers/gpu/drm/sti/sti_gdp.c switch (format) { format 628 drivers/gpu/drm/sti/sti_gdp.c int format; format 647 drivers/gpu/drm/sti/sti_gdp.c format = sti_gdp_fourcc2format(fb->format->format); format 648 drivers/gpu/drm/sti/sti_gdp.c if (format == -1) { format 650 drivers/gpu/drm/sti/sti_gdp.c (char *)&fb->format->format); format 713 drivers/gpu/drm/sti/sti_gdp.c int format; format 766 drivers/gpu/drm/sti/sti_gdp.c format = sti_gdp_fourcc2format(fb->format->format); format 767 drivers/gpu/drm/sti/sti_gdp.c top_field->gam_gdp_ctl |= format; format 768 drivers/gpu/drm/sti/sti_gdp.c top_field->gam_gdp_ctl |= sti_gdp_get_alpharange(format); format 774 drivers/gpu/drm/sti/sti_gdp.c (char *)&fb->format->format, format 778 drivers/gpu/drm/sti/sti_gdp.c bpp = fb->format->cpp[0]; format 1177 drivers/gpu/drm/sti/sti_hqvdp.c (char *)&fb->format->format, format 79 drivers/gpu/drm/sti/sti_plane.c (char *)&state->fb->format->format, format 242 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c unsigned long mode_flags, u32 lanes, u32 format, format 261 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c bpp = mipi_dsi_pixel_format_to_bpp(format); format 299 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c dsi_color_from_mipi(format) << 1); format 805 drivers/gpu/drm/stm/ltdc.c pf = to_ltdc_pixelformat(fb->format->format); format 812 drivers/gpu/drm/stm/ltdc.c (char *)&fb->format->format); format 819 drivers/gpu/drm/stm/ltdc.c line_length = fb->format->cpp[0] * format 831 drivers/gpu/drm/stm/ltdc.c if (!fb->format->has_alpha) format 853 drivers/gpu/drm/stm/ltdc.c val = fb->format->format == DRM_FORMAT_C8 ? LXCR_CLUTEN : 0; format 905 drivers/gpu/drm/stm/ltdc.c u32 format, format 96 drivers/gpu/drm/sun4i/sun4i_backend.c static int sun4i_backend_drm_format_to_layer(u32 format, u32 *mode) format 98 drivers/gpu/drm/sun4i/sun4i_backend.c switch (format) { format 204 drivers/gpu/drm/sun4i/sun4i_backend.c const struct drm_format_info *format = fb->format; format 205 drivers/gpu/drm/sun4i/sun4i_backend.c const uint32_t fmt = format->format; format 223 drivers/gpu/drm/sun4i/sun4i_backend.c if (drm_format_info_is_yuv_packed(format) && format 224 drivers/gpu/drm/sun4i/sun4i_backend.c drm_format_info_is_yuv_sampling_422(format)) format 289 drivers/gpu/drm/sun4i/sun4i_backend.c if (fb->format->is_yuv) format 292 drivers/gpu/drm/sun4i/sun4i_backend.c ret = sun4i_backend_drm_format_to_layer(fb->format->format, &val); format 362 drivers/gpu/drm/sun4i/sun4i_backend.c if (fb->format->is_yuv) format 428 drivers/gpu/drm/sun4i/sun4i_backend.c uint32_t format = state->fb->format->format; format 434 drivers/gpu/drm/sun4i/sun4i_backend.c if (!sun4i_frontend_format_is_supported(format, modifier)) format 437 drivers/gpu/drm/sun4i/sun4i_backend.c if (!sun4i_backend_format_is_supported(format, modifier)) format 523 drivers/gpu/drm/sun4i/sun4i_backend.c if (fb->format->is_yuv) { format 530 drivers/gpu/drm/sun4i/sun4i_backend.c drm_get_format_name(fb->format->format, format 532 drivers/gpu/drm/sun4i/sun4i_backend.c if (fb->format->has_alpha || (plane_state->alpha != DRM_BLEND_ALPHA_OPAQUE)) format 592 drivers/gpu/drm/sun4i/sun4i_backend.c (plane_states[0]->fb->format->has_alpha || format 605 drivers/gpu/drm/sun4i/sun4i_backend.c if (fb->format->has_alpha || (p_state->alpha != DRM_BLEND_ALPHA_OPAQUE)) format 182 drivers/gpu/drm/sun4i/sun4i_frontend.c if (fb->format->num_planes > 1) { format 190 drivers/gpu/drm/sun4i/sun4i_frontend.c if (fb->format->num_planes > 2) { format 200 drivers/gpu/drm/sun4i/sun4i_frontend.c if (fb->format->num_planes > 1) format 203 drivers/gpu/drm/sun4i/sun4i_frontend.c if (fb->format->num_planes > 2) format 212 drivers/gpu/drm/sun4i/sun4i_frontend.c if (fb->format->num_planes > 1) format 216 drivers/gpu/drm/sun4i/sun4i_frontend.c if (fb->format->num_planes > 2) format 221 drivers/gpu/drm/sun4i/sun4i_frontend.c swap = sun4i_frontend_format_chroma_requires_swap(fb->format->format); format 229 drivers/gpu/drm/sun4i/sun4i_frontend.c if (fb->format->num_planes > 1) { format 237 drivers/gpu/drm/sun4i/sun4i_frontend.c if (fb->format->num_planes > 2) { format 248 drivers/gpu/drm/sun4i/sun4i_frontend.c sun4i_frontend_drm_format_to_input_fmt(const struct drm_format_info *format, format 251 drivers/gpu/drm/sun4i/sun4i_frontend.c if (!format->is_yuv) format 253 drivers/gpu/drm/sun4i/sun4i_frontend.c else if (drm_format_info_is_yuv_sampling_411(format)) format 255 drivers/gpu/drm/sun4i/sun4i_frontend.c else if (drm_format_info_is_yuv_sampling_420(format)) format 257 drivers/gpu/drm/sun4i/sun4i_frontend.c else if (drm_format_info_is_yuv_sampling_422(format)) format 259 drivers/gpu/drm/sun4i/sun4i_frontend.c else if (drm_format_info_is_yuv_sampling_444(format)) format 268 drivers/gpu/drm/sun4i/sun4i_frontend.c sun4i_frontend_drm_format_to_input_mode(const struct drm_format_info *format, format 273 drivers/gpu/drm/sun4i/sun4i_frontend.c switch (format->num_planes) { format 294 drivers/gpu/drm/sun4i/sun4i_frontend.c sun4i_frontend_drm_format_to_input_sequence(const struct drm_format_info *format, format 298 drivers/gpu/drm/sun4i/sun4i_frontend.c if (drm_format_info_is_yuv_planar(format)) { format 303 drivers/gpu/drm/sun4i/sun4i_frontend.c switch (format->format) { format 408 drivers/gpu/drm/sun4i/sun4i_frontend.c const struct drm_format_info *format = fb->format; format 416 drivers/gpu/drm/sun4i/sun4i_frontend.c ret = sun4i_frontend_drm_format_to_input_fmt(format, &in_fmt_val); format 422 drivers/gpu/drm/sun4i/sun4i_frontend.c ret = sun4i_frontend_drm_format_to_input_mode(format, modifier, format 429 drivers/gpu/drm/sun4i/sun4i_frontend.c ret = sun4i_frontend_drm_format_to_input_sequence(format, &in_ps_val); format 464 drivers/gpu/drm/sun4i/sun4i_frontend.c if (format->is_yuv) { format 509 drivers/gpu/drm/sun4i/sun4i_frontend.c chroma_width = DIV_ROUND_UP(luma_width, fb->format->hsub); format 510 drivers/gpu/drm/sun4i/sun4i_frontend.c chroma_height = DIV_ROUND_UP(luma_height, fb->format->vsub); format 113 drivers/gpu/drm/sun4i/sun4i_layer.c uint32_t format, uint64_t modifier) format 118 drivers/gpu/drm/sun4i/sun4i_layer.c sun4i_backend_format_is_supported(format, modifier); format 120 drivers/gpu/drm/sun4i/sun4i_layer.c return sun4i_backend_format_is_supported(format, modifier) || format 121 drivers/gpu/drm/sun4i/sun4i_layer.c sun4i_frontend_format_is_supported(format, modifier); format 338 drivers/gpu/drm/sun4i/sun4i_tcon.c u8 bpp = mipi_dsi_pixel_format_to_bpp(device->format); format 381 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c unsigned int Bpp = mipi_dsi_pixel_format_to_bpp(device->format) / 8; format 405 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c unsigned int Bpp = mipi_dsi_pixel_format_to_bpp(device->format) / 8; format 444 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c drq *= mipi_dsi_pixel_format_to_bpp(device->format); format 491 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c switch (device->format) { format 513 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c wc = mode->hdisplay * mipi_dsi_pixel_format_to_bpp(device->format) / 8; format 535 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c unsigned int Bpp = mipi_dsi_pixel_format_to_bpp(device->format) / 8; format 744 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c mipi_dsi_pixel_format_to_bpp(device->format), format 329 drivers/gpu/drm/sun4i/sun8i_mixer.c const struct de2_fmt_info *sun8i_mixer_format_info(u32 format) format 334 drivers/gpu/drm/sun4i/sun8i_mixer.c if (de2_formats[i].drm_fmt == format) format 213 drivers/gpu/drm/sun4i/sun8i_mixer.h const struct de2_fmt_info *sun8i_mixer_format_info(u32 format); format 182 drivers/gpu/drm/sun4i/sun8i_ui_layer.c fmt_info = sun8i_mixer_format_info(state->fb->format->format); format 214 drivers/gpu/drm/sun4i/sun8i_ui_layer.c bpp = fb->format->cpp[0]; format 73 drivers/gpu/drm/sun4i/sun8i_vi_layer.c const struct drm_format_info *format = state->fb->format; format 97 drivers/gpu/drm/sun4i/sun8i_vi_layer.c if (format->hsub > 1) { format 100 drivers/gpu/drm/sun4i/sun8i_vi_layer.c mask = format->hsub - 1; format 106 drivers/gpu/drm/sun4i/sun8i_vi_layer.c if (format->vsub > 1) { format 109 drivers/gpu/drm/sun4i/sun8i_vi_layer.c mask = format->vsub - 1; format 120 drivers/gpu/drm/sun4i/sun8i_vi_layer.c (state->src.x1 >> 16) & ~(format->hsub - 1), format 121 drivers/gpu/drm/sun4i/sun8i_vi_layer.c (state->src.y1 >> 16) & ~(format->vsub - 1)); format 134 drivers/gpu/drm/sun4i/sun8i_vi_layer.c subsampled = format->hsub > 1 || format->vsub > 1; format 175 drivers/gpu/drm/sun4i/sun8i_vi_layer.c format); format 222 drivers/gpu/drm/sun4i/sun8i_vi_layer.c fmt_info = sun8i_mixer_format_info(state->fb->format->format); format 267 drivers/gpu/drm/sun4i/sun8i_vi_layer.c const struct drm_format_info *format = fb->format; format 277 drivers/gpu/drm/sun4i/sun8i_vi_layer.c src_x = (state->src.x1 >> 16) & ~(format->hsub - 1); format 278 drivers/gpu/drm/sun4i/sun8i_vi_layer.c src_y = (state->src.y1 >> 16) & ~(format->vsub - 1); format 280 drivers/gpu/drm/sun4i/sun8i_vi_layer.c for (i = 0; i < format->num_planes; i++) { format 293 drivers/gpu/drm/sun4i/sun8i_vi_layer.c dx /= format->hsub; format 294 drivers/gpu/drm/sun4i/sun8i_vi_layer.c dy /= format->vsub; format 298 drivers/gpu/drm/sun4i/sun8i_vi_layer.c paddr += dx * format->cpp[i]; format 872 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c const struct drm_format_info *format) format 877 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c if (format->hsub == 1 && format->vsub == 1) { format 929 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c const struct drm_format_info *format) format 950 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c if (format->hsub == 2 && format->vsub == 2) { format 962 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c if (format->hsub == 1 && format->vsub == 1) format 985 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c SUN8I_VI_SCALER_SIZE(src_w / format->hsub, format 986 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c src_h / format->vsub)); format 989 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c hscale / format->hsub); format 992 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c vscale / format->vsub); format 998 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c hscale, vscale, format); format 76 drivers/gpu/drm/sun4i/sun8i_vi_scaler.h const struct drm_format_info *format); format 351 drivers/gpu/drm/tegra/dc.c yuv = tegra_plane_format_is_yuv(window->format, &planar); format 357 drivers/gpu/drm/tegra/dc.c tegra_plane_writel(plane, window->format, DC_WIN_COLOR_DEPTH); format 614 drivers/gpu/drm/tegra/dc.c err = tegra_plane_format(state->fb->format->format, format 615 drivers/gpu/drm/tegra/dc.c &plane_state->format, format 654 drivers/gpu/drm/tegra/dc.c if (state->fb->format->num_planes > 2) { format 708 drivers/gpu/drm/tegra/dc.c window.bits_per_pixel = fb->format->cpp[0] * 8; format 714 drivers/gpu/drm/tegra/dc.c window.format = state->format; format 717 drivers/gpu/drm/tegra/dc.c for (i = 0; i < fb->format->num_planes; i++) { format 144 drivers/gpu/drm/tegra/dc.h u32 format; format 975 drivers/gpu/drm/tegra/drm.c fb->format->depth, format 976 drivers/gpu/drm/tegra/drm.c fb->format->cpp[0] * 8, format 43 drivers/gpu/drm/tegra/dsi.c enum tegra_dsi_format format; format 69 drivers/gpu/drm/tegra/dsi.c enum mipi_dsi_pixel_format format; format 397 drivers/gpu/drm/tegra/dsi.c static int tegra_dsi_get_muldiv(enum mipi_dsi_pixel_format format, format 400 drivers/gpu/drm/tegra/dsi.c switch (format) { format 424 drivers/gpu/drm/tegra/dsi.c static int tegra_dsi_get_format(enum mipi_dsi_pixel_format format, format 427 drivers/gpu/drm/tegra/dsi.c switch (format) { format 515 drivers/gpu/drm/tegra/dsi.c DSI_CONTROL_FORMAT(state->format) | format 959 drivers/gpu/drm/tegra/dsi.c err = tegra_dsi_get_muldiv(dsi->format, &state->mul, &state->div); format 965 drivers/gpu/drm/tegra/dsi.c err = tegra_dsi_get_format(dsi->format, &state->format); format 976 drivers/gpu/drm/tegra/dsi.c DRM_DEBUG_KMS("format: %u, vrefresh: %u\n", state->format, format 1388 drivers/gpu/drm/tegra/dsi.c dsi->format = device->format; format 1497 drivers/gpu/drm/tegra/dsi.c dsi->format = MIPI_DSI_FMT_RGB888; format 115 drivers/gpu/drm/tegra/fb.c for (i = 0; i < fb->format->num_planes; i++) format 12 drivers/gpu/drm/tegra/hda.c void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt) format 16 drivers/gpu/drm/tegra/hda.c if (format & AC_FMT_TYPE_NON_PCM) format 21 drivers/gpu/drm/tegra/hda.c if (format & AC_FMT_BASE_44K) format 26 drivers/gpu/drm/tegra/hda.c mul = (format & AC_FMT_MULT_MASK) >> AC_FMT_MULT_SHIFT; format 27 drivers/gpu/drm/tegra/hda.c div = (format & AC_FMT_DIV_MASK) >> AC_FMT_DIV_SHIFT; format 31 drivers/gpu/drm/tegra/hda.c switch (format & AC_FMT_BITS_MASK) { format 53 drivers/gpu/drm/tegra/hda.c bits = (format & AC_FMT_BITS_MASK) >> AC_FMT_BITS_SHIFT; format 59 drivers/gpu/drm/tegra/hda.c channels = (format & AC_FMT_CHAN_MASK) >> AC_FMT_CHAN_SHIFT; format 18 drivers/gpu/drm/tegra/hda.h void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt); format 74 drivers/gpu/drm/tegra/hdmi.c struct tegra_hda_format format; format 456 drivers/gpu/drm/tegra/hdmi.c if (regs[i].sample_rate == hdmi->format.sample_rate) { format 511 drivers/gpu/drm/tegra/hdmi.c if (hdmi->format.channels == 2) format 542 drivers/gpu/drm/tegra/hdmi.c err = tegra_hdmi_get_audio_config(hdmi->format.sample_rate, format 547 drivers/gpu/drm/tegra/hdmi.c hdmi->format.sample_rate, hdmi->pixel_clock); format 738 drivers/gpu/drm/tegra/hdmi.c frame.channels = hdmi->format.channels; format 1269 drivers/gpu/drm/tegra/hdmi.c if (hdmi->format.sample_rate > 0) { format 1556 drivers/gpu/drm/tegra/hdmi.c unsigned int format; format 1562 drivers/gpu/drm/tegra/hdmi.c format = value & SOR_AUDIO_HDA_CODEC_SCRATCH0_FMT_MASK; format 1564 drivers/gpu/drm/tegra/hdmi.c tegra_hda_parse_format(format, &hdmi->format); format 339 drivers/gpu/drm/tegra/hub.c err = tegra_plane_format(state->fb->format->format, format 340 drivers/gpu/drm/tegra/hub.c &plane_state->format, format 360 drivers/gpu/drm/tegra/hub.c if (state->fb->format->num_planes > 2) { format 462 drivers/gpu/drm/tegra/hub.c tegra_plane_writel(p, state->format, DC_WIN_COLOR_DEPTH); format 55 drivers/gpu/drm/tegra/plane.c copy->format = state->format; format 74 drivers/gpu/drm/tegra/plane.c uint32_t format, format 77 drivers/gpu/drm/tegra/plane.c const struct drm_format_info *info = drm_format_info(format); format 123 drivers/gpu/drm/tegra/plane.c int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) format 131 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_B4G4R4A4; format 135 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_B5G5R5A1; format 139 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_B5G6R5; format 143 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_A1B5G5R5; format 147 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_B8G8R8A8; format 151 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_R8G8B8A8; format 155 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_R4G4B4A4; format 159 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_R5G5B5A; format 163 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_AR5G5B5; format 167 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_B5G5R5X1; format 171 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_X1B5G5R5; format 175 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_R5G5B5X1; format 179 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_X1R5G5B5; format 183 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_R5G6B5; format 187 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_A8R8G8B8; format 191 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_A8B8G8R8; format 195 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_B8G8R8X8; format 199 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_R8G8B8X8; format 203 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_YCbCr422; format 210 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_YCbCr422; format 215 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_YCbCr420P; format 219 drivers/gpu/drm/tegra/plane.c *format = WIN_COLOR_DEPTH_YCbCr422P; format 229 drivers/gpu/drm/tegra/plane.c bool tegra_plane_format_is_yuv(unsigned int format, bool *planar) format 231 drivers/gpu/drm/tegra/plane.c switch (format) { format 259 drivers/gpu/drm/tegra/plane.c static bool __drm_format_has_alpha(u32 format) format 261 drivers/gpu/drm/tegra/plane.c switch (format) { format 312 drivers/gpu/drm/tegra/plane.c unsigned int format; format 315 drivers/gpu/drm/tegra/plane.c switch (state->format) { format 324 drivers/gpu/drm/tegra/plane.c err = tegra_plane_format_get_alpha(state->format, &format); format 328 drivers/gpu/drm/tegra/plane.c state->format = format; format 403 drivers/gpu/drm/tegra/plane.c if (new->fb && __drm_format_has_alpha(new->fb->format->format)) format 43 drivers/gpu/drm/tegra/plane.h u32 format; format 67 drivers/gpu/drm/tegra/plane.h int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap); format 68 drivers/gpu/drm/tegra/plane.h bool tegra_plane_format_is_yuv(unsigned int format, bool *planar); format 433 drivers/gpu/drm/tegra/sor.c struct tegra_hda_format format; format 2187 drivers/gpu/drm/tegra/sor.c frame.channels = sor->format.channels; format 2216 drivers/gpu/drm/tegra/sor.c if (sor->format.channels != 2) format 2247 drivers/gpu/drm/tegra/sor.c value = (24000 * 4096) / (128 * sor->format.sample_rate / 1000); format 2260 drivers/gpu/drm/tegra/sor.c value = (24000 * 6144) / (128 * sor->format.sample_rate / 1000); format 2264 drivers/gpu/drm/tegra/sor.c value = (24000 * 12288) / (128 * sor->format.sample_rate / 1000); format 2268 drivers/gpu/drm/tegra/sor.c value = (24000 * 24576) / (128 * sor->format.sample_rate / 1000); format 3236 drivers/gpu/drm/tegra/sor.c unsigned int format; format 3238 drivers/gpu/drm/tegra/sor.c format = value & SOR_AUDIO_HDA_CODEC_SCRATCH0_FMT_MASK; format 3240 drivers/gpu/drm/tegra/sor.c tegra_hda_parse_format(format, &sor->format); format 74 drivers/gpu/drm/tilcdc/tilcdc_crtc.c crtc->x * fb->format->cpp[0]; format 382 drivers/gpu/drm/tilcdc/tilcdc_crtc.c switch (fb->format->format) { format 58 drivers/gpu/drm/tilcdc/tilcdc_plane.c state->fb->format->cpp[0]; format 66 drivers/gpu/drm/tilcdc/tilcdc_plane.c state->fb->format != old_state->fb->format) { format 103 drivers/gpu/drm/tiny/ili9225.c fb->format->format == DRM_FORMAT_XRGB8888) { format 104 drivers/gpu/drm/tve200/tve200_display.c if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { format 113 drivers/gpu/drm/tve200/tve200_display.c if (old_fb && old_fb->format != fb->format) format 131 drivers/gpu/drm/tve200/tve200_display.c u32 format = fb->format->format; format 167 drivers/gpu/drm/tve200/tve200_display.c if (format & DRM_FORMAT_BIG_ENDIAN) { format 169 drivers/gpu/drm/tve200/tve200_display.c format &= ~DRM_FORMAT_BIG_ENDIAN; format 172 drivers/gpu/drm/tve200/tve200_display.c switch (format) { format 213 drivers/gpu/drm/tve200/tve200_display.c fb->format->format); format 256 drivers/gpu/drm/tve200/tve200_display.c if (fb->format->format == DRM_FORMAT_YUV420) { format 91 drivers/gpu/drm/udl/udl_fb.c BUG_ON(!is_power_of_2(fb->base.format->cpp[0])); format 92 drivers/gpu/drm/udl/udl_fb.c log_bpp = __ffs(fb->base.format->cpp[0]); format 41 drivers/gpu/drm/vboxvideo/vbox_mode.c bpp = fb ? fb->format->cpp[0] * 8 : 32; format 251 drivers/gpu/drm/vc4/vc4_crtc.c static u32 vc4_get_fifo_full_level(u32 format) format 256 drivers/gpu/drm/vc4/vc4_crtc.c switch (format) { format 304 drivers/gpu/drm/vc4/vc4_crtc.c u32 format = is_dsi ? PV_CONTROL_FORMAT_DSIV_24 : PV_CONTROL_FORMAT_24; format 369 drivers/gpu/drm/vc4/vc4_crtc.c VC4_SET_FIELD(format, PV_CONTROL_FORMAT) | format 370 drivers/gpu/drm/vc4/vc4_crtc.c VC4_SET_FIELD(vc4_get_fifo_full_level(format), format 515 drivers/gpu/drm/vc4/vc4_dsi.c u32 format; format 1063 drivers/gpu/drm/vc4/vc4_dsi.c VC4_SET_FIELD(dsi->format, DSI_DISP0_PFORMAT) | format 1248 drivers/gpu/drm/vc4/vc4_dsi.c switch (device->format) { format 1250 drivers/gpu/drm/vc4/vc4_dsi.c dsi->format = DSI_PFORMAT_RGB888; format 1254 drivers/gpu/drm/vc4/vc4_dsi.c dsi->format = DSI_PFORMAT_RGB666; format 1258 drivers/gpu/drm/vc4/vc4_dsi.c dsi->format = DSI_PFORMAT_RGB666_PACKED; format 1262 drivers/gpu/drm/vc4/vc4_dsi.c dsi->format = DSI_PFORMAT_RGB565; format 1267 drivers/gpu/drm/vc4/vc4_dsi.c dsi->format); format 313 drivers/gpu/drm/vc4/vc4_plane.c int num_planes = fb->format->num_planes; format 315 drivers/gpu/drm/vc4/vc4_plane.c u32 h_subsample = fb->format->hsub; format 316 drivers/gpu/drm/vc4/vc4_plane.c u32 v_subsample = fb->format->vsub; format 518 drivers/gpu/drm/vc4/vc4_plane.c for (i = 0; i < fb->format->num_planes; i++) { format 534 drivers/gpu/drm/vc4/vc4_plane.c fb->format->cpp[i]; format 590 drivers/gpu/drm/vc4/vc4_plane.c const struct hvs_format *format = vc4_get_hvs_format(fb->format->format); format 592 drivers/gpu/drm/vc4/vc4_plane.c int num_planes = fb->format->num_planes; format 593 drivers/gpu/drm/vc4/vc4_plane.c u32 h_subsample = fb->format->hsub; format 594 drivers/gpu/drm/vc4/vc4_plane.c u32 v_subsample = fb->format->vsub; format 599 drivers/gpu/drm/vc4/vc4_plane.c u32 hvs_format = format->hvs; format 649 drivers/gpu/drm/vc4/vc4_plane.c fb->format->cpp[i]; format 657 drivers/gpu/drm/vc4/vc4_plane.c u32 tile_w_shift = fb->format->cpp[0] == 2 ? 6 : 5; format 752 drivers/gpu/drm/vc4/vc4_plane.c pix_per_tile = tile_w / fb->format->cpp[0]; format 766 drivers/gpu/drm/vc4/vc4_plane.c fb->format->cpp[i]; format 785 drivers/gpu/drm/vc4/vc4_plane.c (format->pixel_order << SCALER_CTL0_ORDER_SHIFT) | format 813 drivers/gpu/drm/vc4/vc4_plane.c fb->format->has_alpha; format 818 drivers/gpu/drm/vc4/vc4_plane.c VC4_SET_FIELD(fb->format->has_alpha ? format 823 drivers/gpu/drm/vc4/vc4_plane.c (fb->format->has_alpha ? SCALER_POS2_ALPHA_PREMULT : 0) | format 918 drivers/gpu/drm/vc4/vc4_plane.c vc4_state->needs_bg_fill = fb->format->has_alpha || !covers_screen || format 1175 drivers/gpu/drm/vc4/vc4_plane.c uint32_t format, format 1179 drivers/gpu/drm/vc4/vc4_plane.c switch (format) { format 444 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t format = VC4_GET_FIELD(surf->bits, format 497 drivers/gpu/drm/vc4/vc4_render_cl.c if (format != 0) { format 503 drivers/gpu/drm/vc4/vc4_render_cl.c switch (format) { format 541 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t format = VC4_GET_FIELD(surf->bits, format 573 drivers/gpu/drm/vc4/vc4_render_cl.c switch (format) { format 248 drivers/gpu/drm/vc4/vc4_txp.c if (fb->format->format == drm_fmts[i]) format 281 drivers/gpu/drm/vc4/vc4_txp.c if (fb->format->format == drm_fmts[i]) format 292 drivers/gpu/drm/vc4/vc4_txp.c if (fb->format->has_alpha) format 54 drivers/gpu/drm/virtio/virtgpu_drv.h uint32_t format; format 100 drivers/gpu/drm/virtio/virtgpu_gem.c params.format = virtio_gpu_translate_format(DRM_FORMAT_HOST_XRGB8888); format 298 drivers/gpu/drm/virtio/virtgpu_ioctl.c params.format = rc->format; format 42 drivers/gpu/drm/virtio/virtgpu_plane.c uint32_t format; format 46 drivers/gpu/drm/virtio/virtgpu_plane.c format = VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM; format 49 drivers/gpu/drm/virtio/virtgpu_plane.c format = VIRTIO_GPU_FORMAT_B8G8R8A8_UNORM; format 52 drivers/gpu/drm/virtio/virtgpu_plane.c format = VIRTIO_GPU_FORMAT_X8R8G8B8_UNORM; format 55 drivers/gpu/drm/virtio/virtgpu_plane.c format = VIRTIO_GPU_FORMAT_A8R8G8B8_UNORM; format 62 drivers/gpu/drm/virtio/virtgpu_plane.c format = 0; format 65 drivers/gpu/drm/virtio/virtgpu_plane.c WARN_ON(format == 0); format 66 drivers/gpu/drm/virtio/virtgpu_plane.c return format; format 401 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->format = cpu_to_le32(params->format); format 874 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->format = cpu_to_le32(params->format); format 110 drivers/gpu/drm/vkms/vkms_plane.c composer->cpp = fb->format->cpp[0]; format 336 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h SVGA3dSurfaceFormat format; format 362 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h SVGA3dSurfaceFormat format; format 1673 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h SVGA3dSurfaceFormat format; format 1690 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h SVGA3dSurfaceFormat format; format 1709 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h SVGA3dSurfaceFormat format; format 346 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dSurfaceFormat format; format 940 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dSurfaceFormat format; format 954 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dSurfaceFormat format; format 1000 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dSurfaceFormat format; format 1014 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dSurfaceFormat format; format 1043 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dSurfaceFormat format; format 1062 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dSurfaceFormat format; format 1089 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h SVGA3dSurfaceFormat format; format 370 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h SVGA3dSurfaceFormat format; format 1119 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_get_desc(SVGA3dSurfaceFormat format) format 1121 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h if (format < ARRAY_SIZE(svga3d_surface_descs)) format 1122 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h return &svga3d_surface_descs[format]; format 1219 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_get_serialized_size(SVGA3dSurfaceFormat format, format 1224 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format); format 1243 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_get_serialized_size_extended(SVGA3dSurfaceFormat format, format 1250 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_get_serialized_size(format, format 1267 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_get_pixel_offset(SVGA3dSurfaceFormat format, format 1271 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format); format 1285 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_get_image_offset(SVGA3dSurfaceFormat format, format 1300 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h desc = svga3dsurface_get_desc(format); format 1329 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_is_gb_screen_target_format(SVGA3dSurfaceFormat format) format 1331 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h return (format == SVGA3D_X8R8G8B8 || format 1332 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h format == SVGA3D_A8R8G8B8 || format 1333 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h format == SVGA3D_R5G6B5 || format 1334 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h format == SVGA3D_X1R5G5B5 || format 1335 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h format == SVGA3D_A1R5G5B5 || format 1336 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h format == SVGA3D_P8); format 1351 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_is_dx_screen_target_format(SVGA3dSurfaceFormat format) format 1353 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h return (format == SVGA3D_R8G8B8A8_UNORM || format 1354 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h format == SVGA3D_B8G8R8A8_UNORM || format 1355 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h format == SVGA3D_B8G8R8X8_UNORM); format 1370 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_is_screen_target_format(SVGA3dSurfaceFormat format) format 1372 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h if (svga3dsurface_is_gb_screen_target_format(format)) { format 1375 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h return svga3dsurface_is_dx_screen_target_format(format); format 138 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h VMwareVideoGetAttributes(const SVGAOverlayFormat format, /* IN */ format 153 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h switch (format) { format 1340 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 format; format 1873 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h SVGAGMRImageFormat format; format 1152 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.format = binding->format; format 1156 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.format = 0; format 170 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h uint32 format; format 220 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h uint32_t format; format 1226 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h SVGA3dSurfaceFormat format, format 2326 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.format = cmd->body.format; format 84 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c switch (par->set_fb->format->depth) { format 93 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c par->set_fb->format->depth, format 94 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c par->set_fb->format->cpp[0] * 8); format 214 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c cpp = cur_fb->format->cpp[0]; format 522 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c cur_fb->format->format == mode_cmd.pixel_format && format 895 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c enum SVGA3dSurfaceFormat format; format 923 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c format = SVGA3D_A8R8G8B8; format 926 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c format = SVGA3D_X8R8G8B8; format 929 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c format = SVGA3D_R5G6B5; format 932 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c format = SVGA3D_A1R5G5B5; format 944 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (!dev_priv->has_dx && format != surface->format) { format 1147 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c uint32_t format; format 1157 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c format = SVGA3D_X8R8G8B8; format 1163 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c format = SVGA3D_R5G6B5; format 1168 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c format = SVGA3D_P8; format 1185 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c format, format 103 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c fb->format->cpp[0] * 8, format 104 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c fb->format->depth); format 112 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c fb->format->cpp[0] * 8, fb->format->depth); format 149 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_FORMAT].value = arg->format; format 481 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c int depth = update->vfb->base.format->depth; format 492 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; format 493 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c gmr->body.format.colorDepth = depth; format 494 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c gmr->body.format.reserved = 0; format 984 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c int depth = framebuffer->base.format->depth; format 1002 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->body.format.bitsPerPixel = framebuffer->base.format->cpp[0] * 8; format 1003 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->body.format.colorDepth = depth; format 1004 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->body.format.reserved = 0; format 1080 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c switch (new_fb->format->cpp[0]*8) { format 1082 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c content_srf.format = SVGA3D_X8R8G8B8; format 1086 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c content_srf.format = SVGA3D_R5G6B5; format 1090 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c content_srf.format = SVGA3D_P8; format 1113 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vps->surf->format != content_srf.format) { format 1126 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c content_srf.format, format 250 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd->body.format = srf->format; format 282 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c svga3dsurface_get_desc(srf->format); format 745 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c desc = svga3dsurface_get_desc(req->format); format 748 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c req->format); format 775 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->format = req->format; format 825 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->format == SVGA3D_A8R8G8B8) { format 1002 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c rep->format = srf->format; format 1090 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd3->body.format = srf->format; format 1105 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd2->body.format = srf->format; format 1118 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd->body.format = srf->format; format 1359 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c SVGA3dSurfaceFormat format, format 1383 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c if (!svga3dsurface_is_screen_target_format(format)) { format 1399 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c desc = svga3dsurface_get_desc(format); format 1438 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->format = format; format 1460 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c svga3dsurface_get_serialized_size_extended(srf->format, format 1600 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c req->base.format, format 1734 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c rep->creq.base.format = srf->format; format 79 drivers/gpu/drm/xen/xen_drm_front_kms.c fb->format->format); format 126 drivers/gpu/drm/xen/xen_drm_front_kms.c fb->format->cpp[0] * 8, format 78 drivers/gpu/drm/zte/zx_plane.c static int zx_vl_get_fmt(uint32_t format) format 80 drivers/gpu/drm/zte/zx_plane.c switch (format) { format 96 drivers/gpu/drm/zte/zx_plane.c WARN_ONCE(1, "invalid pixel format %d\n", format); format 113 drivers/gpu/drm/zte/zx_plane.c static int zx_vl_rsz_get_fmt(uint32_t format) format 115 drivers/gpu/drm/zte/zx_plane.c switch (format) { format 127 drivers/gpu/drm/zte/zx_plane.c WARN_ONCE(1, "invalid pixel format %d\n", format); format 147 drivers/gpu/drm/zte/zx_plane.c static void zx_vl_rsz_setup(struct zx_plane *zplane, uint32_t format, format 160 drivers/gpu/drm/zte/zx_plane.c fmt = zx_vl_rsz_get_fmt(format); format 196 drivers/gpu/drm/zte/zx_plane.c uint32_t format; format 203 drivers/gpu/drm/zte/zx_plane.c format = fb->format->format; format 217 drivers/gpu/drm/zte/zx_plane.c for (i = 0; i < fb->format->num_planes; i++) { format 221 drivers/gpu/drm/zte/zx_plane.c paddr += src_x * fb->format->cpp[i]; format 241 drivers/gpu/drm/zte/zx_plane.c fmt = zx_vl_get_fmt(format); format 249 drivers/gpu/drm/zte/zx_plane.c zx_vl_rsz_setup(zplane, format, src_w, src_h, dst_w, dst_h); format 306 drivers/gpu/drm/zte/zx_plane.c static int zx_gl_get_fmt(uint32_t format) format 308 drivers/gpu/drm/zte/zx_plane.c switch (format) { format 321 drivers/gpu/drm/zte/zx_plane.c WARN_ONCE(1, "invalid pixel format %d\n", format); format 361 drivers/gpu/drm/zte/zx_plane.c uint32_t format; format 369 drivers/gpu/drm/zte/zx_plane.c format = fb->format->format; format 382 drivers/gpu/drm/zte/zx_plane.c bpp = fb->format->cpp[0]; format 403 drivers/gpu/drm/zte/zx_plane.c fmt = zx_gl_get_fmt(format); format 166 drivers/gpu/ipu-v3/ipu-pre.c unsigned int height, unsigned int stride, u32 format, format 169 drivers/gpu/ipu-v3/ipu-pre.c const struct drm_format_info *info = drm_format_info(format); format 124 drivers/gpu/ipu-v3/ipu-prg.c bool ipu_prg_format_supported(struct ipu_soc *ipu, uint32_t format, format 127 drivers/gpu/ipu-v3/ipu-prg.c const struct drm_format_info *info = drm_format_info(format); format 276 drivers/gpu/ipu-v3/ipu-prg.c u32 format, uint64_t modifier, unsigned long *eba) format 299 drivers/gpu/ipu-v3/ipu-prg.c width, height, stride, format, modifier, *eba); format 263 drivers/gpu/ipu-v3/ipu-prv.h unsigned int height, unsigned int stride, u32 format, format 729 drivers/hid/hid-core.c item->format = HID_ITEM_FORMAT_LONG; format 745 drivers/hid/hid-core.c item->format = HID_ITEM_FORMAT_SHORT; format 1248 drivers/hid/hid-core.c if (item.format != HID_ITEM_FORMAT_SHORT) { format 1255 drivers/hid/hid-core.c item.format, (unsigned)item.size, format 865 drivers/hid/hid-cp2112.c #define CP2112_CONFIG_ATTR(name, store, format, ...) \ format 890 drivers/hid/hid-cp2112.c return scnprintf(buf, PAGE_SIZE, format, ##__VA_ARGS__); \ format 29 drivers/hid/hid-pl.c #define debug(format, arg...) pr_debug("hid-plff: " format "\n" , ## arg) format 28 drivers/hid/hid-prodikeys.c #define pk_debug(format, arg...) \ format 29 drivers/hid/hid-prodikeys.c pr_debug("hid-prodikeys: " format "\n" , ## arg) format 30 drivers/hid/hid-prodikeys.c #define pk_error(format, arg...) \ format 31 drivers/hid/hid-prodikeys.c pr_err("hid-prodikeys: " format "\n" , ## arg) format 611 drivers/hid/hid-wiimote-modules.c __u8 format = 0; format 689 drivers/hid/hid-wiimote-modules.c format = 5; format 692 drivers/hid/hid-wiimote-modules.c format = 3; format 695 drivers/hid/hid-wiimote-modules.c format = 1; format 698 drivers/hid/hid-wiimote-modules.c ret = wiimote_cmd_write(wdata, 0xb00033, &format, sizeof(format)); format 52 drivers/hid/intel-ish-hid/ipc/pci-ish.c void ish_event_tracer(struct ishtp_device *dev, const char *format, ...) format 58 drivers/hid/intel-ish-hid/ipc/pci-ish.c va_start(args, format); format 59 drivers/hid/intel-ish-hid/ipc/pci-ish.c vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); format 782 drivers/hid/intel-ish-hid/ishtp-hid-client.c void (*hid_print_trace)(void *unused, const char *format, ...); format 19 drivers/hid/intel-ish-hid/ishtp-hid.h extern void (*hid_print_trace)(void *unused, const char *format, ...); format 206 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h const char *format, ...); format 86 drivers/hwmon/abituguru.c #define ABIT_UGURU_DEBUG(level, format, arg...) \ format 89 drivers/hwmon/abituguru.c pr_debug(format , ## arg); \ format 66 drivers/hwmon/abituguru3.c #define ABIT_UGURU3_DEBUG(format, arg...) \ format 69 drivers/hwmon/abituguru3.c pr_debug(format , ## arg); \ format 735 drivers/hwmon/acpi_power_meter.c struct acpi_buffer format = { sizeof("NNNNNNNNNNN"), "NNNNNNNNNNN" }; format 761 drivers/hwmon/acpi_power_meter.c status = acpi_extract_package(pss, &format, &state); format 101 drivers/hwmon/applesmc.c char *format; /* format string */ format 1103 drivers/hwmon/applesmc.c for (grp = groups; grp->format; grp++) { format 1111 drivers/hwmon/applesmc.c scnprintf(node->name, sizeof(node->name), grp->format, format 527 drivers/hwmon/pmbus/adm1275.c info->format[PSC_VOLTAGE_IN] = direct; format 528 drivers/hwmon/pmbus/adm1275.c info->format[PSC_VOLTAGE_OUT] = direct; format 529 drivers/hwmon/pmbus/adm1275.c info->format[PSC_CURRENT_OUT] = direct; format 530 drivers/hwmon/pmbus/adm1275.c info->format[PSC_POWER] = direct; format 531 drivers/hwmon/pmbus/adm1275.c info->format[PSC_TEMPERATURE] = direct; format 106 drivers/hwmon/pmbus/ir35221.c info->format[PSC_VOLTAGE_IN] = linear; format 107 drivers/hwmon/pmbus/ir35221.c info->format[PSC_VOLTAGE_OUT] = linear; format 108 drivers/hwmon/pmbus/ir35221.c info->format[PSC_CURRENT_IN] = linear; format 109 drivers/hwmon/pmbus/ir35221.c info->format[PSC_CURRENT_OUT] = linear; format 110 drivers/hwmon/pmbus/ir35221.c info->format[PSC_POWER] = linear; format 111 drivers/hwmon/pmbus/ir35221.c info->format[PSC_TEMPERATURE] = linear; format 23 drivers/hwmon/pmbus/ir38064.c .format[PSC_VOLTAGE_IN] = linear, format 24 drivers/hwmon/pmbus/ir38064.c .format[PSC_VOLTAGE_OUT] = direct, format 25 drivers/hwmon/pmbus/ir38064.c .format[PSC_CURRENT_OUT] = linear, format 26 drivers/hwmon/pmbus/ir38064.c .format[PSC_POWER] = linear, format 27 drivers/hwmon/pmbus/ir38064.c .format[PSC_TEMPERATURE] = linear, format 108 drivers/hwmon/pmbus/isl68137.c .format[PSC_VOLTAGE_IN] = direct, format 109 drivers/hwmon/pmbus/isl68137.c .format[PSC_VOLTAGE_OUT] = direct, format 110 drivers/hwmon/pmbus/isl68137.c .format[PSC_CURRENT_IN] = direct, format 111 drivers/hwmon/pmbus/isl68137.c .format[PSC_CURRENT_OUT] = direct, format 112 drivers/hwmon/pmbus/isl68137.c .format[PSC_POWER] = direct, format 113 drivers/hwmon/pmbus/isl68137.c .format[PSC_TEMPERATURE] = direct, format 435 drivers/hwmon/pmbus/lm25066.c info->format[PSC_VOLTAGE_IN] = direct; format 436 drivers/hwmon/pmbus/lm25066.c info->format[PSC_VOLTAGE_OUT] = direct; format 437 drivers/hwmon/pmbus/lm25066.c info->format[PSC_CURRENT_IN] = direct; format 438 drivers/hwmon/pmbus/lm25066.c info->format[PSC_TEMPERATURE] = direct; format 439 drivers/hwmon/pmbus/lm25066.c info->format[PSC_POWER] = direct; format 147 drivers/hwmon/pmbus/ltc3815.c .format[PSC_VOLTAGE_IN] = direct, format 148 drivers/hwmon/pmbus/ltc3815.c .format[PSC_VOLTAGE_OUT] = direct, format 149 drivers/hwmon/pmbus/ltc3815.c .format[PSC_CURRENT_IN] = direct, format 150 drivers/hwmon/pmbus/ltc3815.c .format[PSC_CURRENT_OUT] = direct, format 151 drivers/hwmon/pmbus/ltc3815.c .format[PSC_TEMPERATURE] = direct, format 66 drivers/hwmon/pmbus/max16064.c .format[PSC_VOLTAGE_IN] = direct, format 67 drivers/hwmon/pmbus/max16064.c .format[PSC_VOLTAGE_OUT] = direct, format 68 drivers/hwmon/pmbus/max16064.c .format[PSC_TEMPERATURE] = direct, format 17 drivers/hwmon/pmbus/max20751.c .format[PSC_VOLTAGE_IN] = linear, format 18 drivers/hwmon/pmbus/max20751.c .format[PSC_VOLTAGE_OUT] = vid, format 20 drivers/hwmon/pmbus/max20751.c .format[PSC_TEMPERATURE] = linear, format 21 drivers/hwmon/pmbus/max20751.c .format[PSC_CURRENT_OUT] = linear, format 22 drivers/hwmon/pmbus/max20751.c .format[PSC_POWER] = linear, format 256 drivers/hwmon/pmbus/max31785.c .format[PSC_FAN] = direct, format 261 drivers/hwmon/pmbus/max31785.c .format[PSC_PWM] = direct, format 272 drivers/hwmon/pmbus/max31785.c .format[PSC_TEMPERATURE] = direct, format 288 drivers/hwmon/pmbus/max31785.c .format[PSC_VOLTAGE_OUT] = direct, format 250 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_IN] = direct, format 251 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_OUT] = direct, format 252 drivers/hwmon/pmbus/max34440.c .format[PSC_TEMPERATURE] = direct, format 253 drivers/hwmon/pmbus/max34440.c .format[PSC_CURRENT_OUT] = direct, format 292 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_IN] = direct, format 293 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_OUT] = direct, format 294 drivers/hwmon/pmbus/max34440.c .format[PSC_TEMPERATURE] = direct, format 295 drivers/hwmon/pmbus/max34440.c .format[PSC_CURRENT_OUT] = direct, format 296 drivers/hwmon/pmbus/max34440.c .format[PSC_FAN] = direct, format 335 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_IN] = direct, format 336 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_OUT] = direct, format 337 drivers/hwmon/pmbus/max34440.c .format[PSC_TEMPERATURE] = direct, format 338 drivers/hwmon/pmbus/max34440.c .format[PSC_CURRENT_OUT] = direct, format 339 drivers/hwmon/pmbus/max34440.c .format[PSC_POWER] = direct, format 372 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_OUT] = direct, format 373 drivers/hwmon/pmbus/max34440.c .format[PSC_TEMPERATURE] = direct, format 374 drivers/hwmon/pmbus/max34440.c .format[PSC_CURRENT_OUT] = direct, format 396 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_OUT] = direct, format 397 drivers/hwmon/pmbus/max34440.c .format[PSC_TEMPERATURE] = direct, format 427 drivers/hwmon/pmbus/max34440.c .format[PSC_VOLTAGE_OUT] = direct, format 428 drivers/hwmon/pmbus/max34440.c .format[PSC_TEMPERATURE] = direct, format 141 drivers/hwmon/pmbus/max8688.c .format[PSC_VOLTAGE_IN] = direct, format 142 drivers/hwmon/pmbus/max8688.c .format[PSC_VOLTAGE_OUT] = direct, format 143 drivers/hwmon/pmbus/max8688.c .format[PSC_TEMPERATURE] = direct, format 144 drivers/hwmon/pmbus/max8688.c .format[PSC_CURRENT_OUT] = direct, format 126 drivers/hwmon/pmbus/pmbus.c info->format[PSC_VOLTAGE_OUT] = vid; format 130 drivers/hwmon/pmbus/pmbus.c info->format[PSC_VOLTAGE_OUT] = direct; format 150 drivers/hwmon/pmbus/pmbus.c if (info->format[PSC_VOLTAGE_OUT] == direct) { format 384 drivers/hwmon/pmbus/pmbus.h enum pmbus_data_format format[PSC_NUM_CLASSES]; format 723 drivers/hwmon/pmbus/pmbus_core.c switch (data->info->format[sensor->class]) { format 861 drivers/hwmon/pmbus/pmbus_core.c switch (data->info->format[sensor->class]) { format 2083 drivers/hwmon/pmbus/pmbus_core.c if (data->info->format[PSC_VOLTAGE_OUT] != linear) format 2089 drivers/hwmon/pmbus/pmbus_core.c if (data->info->format[PSC_VOLTAGE_OUT] != vid) format 2093 drivers/hwmon/pmbus/pmbus_core.c if (data->info->format[PSC_VOLTAGE_OUT] != direct) format 50 drivers/hwmon/pmbus/pxe1610.c .format[PSC_VOLTAGE_IN] = linear, format 51 drivers/hwmon/pmbus/pxe1610.c .format[PSC_VOLTAGE_OUT] = vid, format 52 drivers/hwmon/pmbus/pxe1610.c .format[PSC_CURRENT_IN] = linear, format 53 drivers/hwmon/pmbus/pxe1610.c .format[PSC_CURRENT_OUT] = linear, format 54 drivers/hwmon/pmbus/pxe1610.c .format[PSC_TEMPERATURE] = linear, format 55 drivers/hwmon/pmbus/pxe1610.c .format[PSC_POWER] = linear, format 17 drivers/hwmon/pmbus/tps40422.c .format[PSC_VOLTAGE_IN] = linear, format 18 drivers/hwmon/pmbus/tps40422.c .format[PSC_VOLTAGE_OUT] = linear, format 19 drivers/hwmon/pmbus/tps40422.c .format[PSC_TEMPERATURE] = linear, format 55 drivers/hwmon/pmbus/tps53679.c .format[PSC_VOLTAGE_IN] = linear, format 56 drivers/hwmon/pmbus/tps53679.c .format[PSC_VOLTAGE_OUT] = vid, format 57 drivers/hwmon/pmbus/tps53679.c .format[PSC_TEMPERATURE] = linear, format 58 drivers/hwmon/pmbus/tps53679.c .format[PSC_CURRENT_OUT] = linear, format 59 drivers/hwmon/pmbus/tps53679.c .format[PSC_POWER] = linear, format 23 drivers/i2c/algos/i2c-algo-bit.c #define bit_dbg(level, dev, format, args...) \ format 26 drivers/i2c/algos/i2c-algo-bit.c dev_dbg(dev, format, ##args); \ format 29 drivers/i2c/algos/i2c-algo-bit.c #define bit_dbg(level, dev, format, args...) \ format 56 drivers/ide/cs5530.c unsigned int format = (inl(basereg + 4) >> 31) & 1; format 59 drivers/ide/cs5530.c outl(cs5530_pio_timings[format][pio], basereg + ((drive->dn & 1)<<3)); format 1037 drivers/ide/ide-cd.c int format, char *buf, int buflen) format 1049 drivers/ide/ide-cd.c cmd[9] = (format << 6); format 85 drivers/ide/sc1200.c unsigned int basereg = hwif->channel ? 0x50 : 0x40, format = 0; format 87 drivers/ide/sc1200.c pci_read_config_dword(pdev, basereg + 4, &format); format 88 drivers/ide/sc1200.c format = (format >> 31) & 1; format 89 drivers/ide/sc1200.c if (format) format 90 drivers/ide/sc1200.c format += sc1200_get_pci_clock(); format 92 drivers/ide/sc1200.c sc1200_pio_timings[format][pio]); format 18 drivers/iio/common/ssp_sensors/ssp.h #define ssp_dbg(format, ...) pr_info("[SSP] "format, ##__VA_ARGS__) format 20 drivers/iio/common/ssp_sensors/ssp.h #define ssp_dbg(format, ...) format 215 drivers/infiniband/core/device.c const char *format, ...) format 220 drivers/infiniband/core/device.c va_start(args, format); format 222 drivers/infiniband/core/device.c vaf.fmt = format; format 2350 drivers/infiniband/hw/hfi1/hfi.h #define opa_get_lid(lid, format) \ format 2351 drivers/infiniband/hw/hfi1/hfi.h __opa_get_lid(lid, OPA_PORT_PACKET_FORMAT_##format) format 2354 drivers/infiniband/hw/hfi1/hfi.h static inline u32 __opa_get_lid(u32 lid, u8 format) format 2358 drivers/infiniband/hw/hfi1/hfi.h switch (format) { format 140 drivers/infiniband/hw/hfi1/vnic.h #define v_dbg(format, arg...) \ format 141 drivers/infiniband/hw/hfi1/vnic.h netdev_dbg(vinfo->netdev, format, ## arg) format 142 drivers/infiniband/hw/hfi1/vnic.h #define v_err(format, arg...) \ format 143 drivers/infiniband/hw/hfi1/vnic.h netdev_err(vinfo->netdev, format, ## arg) format 144 drivers/infiniband/hw/hfi1/vnic.h #define v_info(format, arg...) \ format 145 drivers/infiniband/hw/hfi1/vnic.h netdev_info(vinfo->netdev, format, ## arg) format 50 drivers/infiniband/hw/mlx4/mcg.c #define mcg_warn_group(group, format, arg...) \ format 51 drivers/infiniband/hw/mlx4/mcg.c pr_warn("%s-%d: %16s (port %d): WARNING: " format, __func__, __LINE__,\ format 54 drivers/infiniband/hw/mlx4/mcg.c #define mcg_debug_group(group, format, arg...) \ format 55 drivers/infiniband/hw/mlx4/mcg.c pr_debug("%s-%d: %16s (port %d): WARNING: " format, __func__, __LINE__,\ format 58 drivers/infiniband/hw/mlx4/mcg.c #define mcg_error_group(group, format, arg...) \ format 59 drivers/infiniband/hw/mlx4/mcg.c pr_err(" %16s: " format, (group)->name, ## arg) format 59 drivers/infiniband/hw/mlx4/mlx4_ib.h #define mlx4_ib_warn(ibdev, format, arg...) \ format 60 drivers/infiniband/hw/mlx4/mlx4_ib.h dev_warn((ibdev)->dev.parent, MLX4_IB_DRV_NAME ": " format, ## arg) format 688 drivers/infiniband/hw/mlx5/cq.c static int mini_cqe_res_format_to_hw(struct mlx5_ib_dev *dev, u8 format) format 690 drivers/infiniband/hw/mlx5/cq.c switch (format) { format 55 drivers/infiniband/hw/mlx5/mlx5_ib.h #define mlx5_ib_dbg(_dev, format, arg...) \ format 56 drivers/infiniband/hw/mlx5/mlx5_ib.h dev_dbg(&(_dev)->ib_dev.dev, "%s:%d:(pid %d): " format, __func__, \ format 59 drivers/infiniband/hw/mlx5/mlx5_ib.h #define mlx5_ib_err(_dev, format, arg...) \ format 60 drivers/infiniband/hw/mlx5/mlx5_ib.h dev_err(&(_dev)->ib_dev.dev, "%s:%d:(pid %d): " format, __func__, \ format 63 drivers/infiniband/hw/mlx5/mlx5_ib.h #define mlx5_ib_warn(_dev, format, arg...) \ format 64 drivers/infiniband/hw/mlx5/mlx5_ib.h dev_warn(&(_dev)->ib_dev.dev, "%s:%d:(pid %d): " format, __func__, \ format 366 drivers/infiniband/hw/mthca/mthca_dev.h #define mthca_dbg(mdev, format, arg...) \ format 369 drivers/infiniband/hw/mthca/mthca_dev.h dev_printk(KERN_DEBUG, &mdev->pdev->dev, format, ## arg); \ format 374 drivers/infiniband/hw/mthca/mthca_dev.h #define mthca_dbg(mdev, format, arg...) do { (void) mdev; } while (0) format 378 drivers/infiniband/hw/mthca/mthca_dev.h #define mthca_err(mdev, format, arg...) \ format 379 drivers/infiniband/hw/mthca/mthca_dev.h dev_err(&mdev->pdev->dev, format, ## arg) format 380 drivers/infiniband/hw/mthca/mthca_dev.h #define mthca_info(mdev, format, arg...) \ format 381 drivers/infiniband/hw/mthca/mthca_dev.h dev_info(&mdev->pdev->dev, format, ## arg) format 382 drivers/infiniband/hw/mthca/mthca_dev.h #define mthca_warn(mdev, format, arg...) \ format 383 drivers/infiniband/hw/mthca/mthca_dev.h dev_warn(&mdev->pdev->dev, format, ## arg) format 506 drivers/infiniband/ulp/ipoib/ipoib.h const char *format); format 507 drivers/infiniband/ulp/ipoib/ipoib.h int ipoib_intf_init(struct ib_device *hca, u8 port, const char *format, format 796 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_printk(level, priv, format, arg...) \ format 797 drivers/infiniband/ulp/ipoib/ipoib.h printk(level "%s: " format, ((struct ipoib_dev_priv *) priv)->dev->name , ## arg) format 798 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_warn(priv, format, arg...) \ format 804 drivers/infiniband/ulp/ipoib/ipoib.h ipoib_printk(KERN_WARNING, priv, format , ## arg);\ format 815 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_dbg(priv, format, arg...) \ format 818 drivers/infiniband/ulp/ipoib/ipoib.h ipoib_printk(KERN_DEBUG, priv, format , ## arg); \ format 820 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_dbg_mcast(priv, format, arg...) \ format 823 drivers/infiniband/ulp/ipoib/ipoib.h ipoib_printk(KERN_DEBUG, priv, format , ## arg); \ format 826 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_dbg(priv, format, arg...) \ format 828 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_dbg_mcast(priv, format, arg...) \ format 833 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_dbg_data(priv, format, arg...) \ format 836 drivers/infiniband/ulp/ipoib/ipoib.h ipoib_printk(KERN_DEBUG, priv, format , ## arg); \ format 839 drivers/infiniband/ulp/ipoib/ipoib.h #define ipoib_dbg_data(priv, format, arg...) \ format 2440 drivers/infiniband/ulp/ipoib/ipoib_main.c static struct net_device *ipoib_add_port(const char *format, format 2449 drivers/infiniband/ulp/ipoib/ipoib_main.c ndev = ipoib_intf_alloc(hca, port, format); format 245 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define v_dbg(format, arg...) \ format 246 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h netdev_dbg(adapter->netdev, format, ## arg) format 247 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define v_err(format, arg...) \ format 248 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h netdev_err(adapter->netdev, format, ## arg) format 249 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define v_info(format, arg...) \ format 250 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h netdev_info(adapter->netdev, format, ## arg) format 251 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define v_warn(format, arg...) \ format 252 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h netdev_warn(adapter->netdev, format, ## arg) format 254 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define c_err(format, arg...) \ format 255 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h dev_err(&cport->ibdev->dev, format, ## arg) format 256 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define c_info(format, arg...) \ format 257 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h dev_info(&cport->ibdev->dev, format, ## arg) format 258 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define c_dbg(format, arg...) \ format 259 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h dev_dbg(&cport->ibdev->dev, format, ## arg) format 29 drivers/input/joystick/grip_mp.c #define dbg(format, arg...) printk(KERN_ERR __FILE__ ": " format "\n" , ## arg) format 31 drivers/input/joystick/grip_mp.c #define dbg(format, arg...) do {} while (0) format 46 drivers/input/joystick/sidewinder.c #define dbg(format, arg...) printk(KERN_DEBUG __FILE__ ": " format "\n" , ## arg) format 48 drivers/input/joystick/sidewinder.c #define dbg(format, arg...) do {} while (0) format 228 drivers/input/mouse/appletouch.c #define dprintk(format, a...) \ format 231 drivers/input/mouse/appletouch.c printk(KERN_DEBUG format, ##a); \ format 159 drivers/input/mouse/bcm5974.c #define dprintk(level, format, a...)\ format 160 drivers/input/mouse/bcm5974.c { if (debug >= level) printk(KERN_DEBUG format, ##a); } format 198 drivers/input/mouse/psmouse.h #define psmouse_dbg(psmouse, format, ...) \ format 200 drivers/input/mouse/psmouse.h psmouse_fmt(format), ##__VA_ARGS__) format 201 drivers/input/mouse/psmouse.h #define psmouse_info(psmouse, format, ...) \ format 203 drivers/input/mouse/psmouse.h psmouse_fmt(format), ##__VA_ARGS__) format 204 drivers/input/mouse/psmouse.h #define psmouse_warn(psmouse, format, ...) \ format 206 drivers/input/mouse/psmouse.h psmouse_fmt(format), ##__VA_ARGS__) format 207 drivers/input/mouse/psmouse.h #define psmouse_err(psmouse, format, ...) \ format 209 drivers/input/mouse/psmouse.h psmouse_fmt(format), ##__VA_ARGS__) format 210 drivers/input/mouse/psmouse.h #define psmouse_notice(psmouse, format, ...) \ format 212 drivers/input/mouse/psmouse.h psmouse_fmt(format), ##__VA_ARGS__) format 213 drivers/input/mouse/psmouse.h #define psmouse_printk(level, psmouse, format, ...) \ format 216 drivers/input/mouse/psmouse.h psmouse_fmt(format), ##__VA_ARGS__) format 115 drivers/input/rmi4/rmi_f54.c struct v4l2_pix_format format; format 404 drivers/input/rmi4/rmi_f54.c struct v4l2_pix_format *f = &f54->format; format 448 drivers/input/rmi4/rmi_f54.c f->fmt.pix = f54->format; format 464 drivers/input/rmi4/rmi_f54.c fmt->pixelformat = f54->format.pixelformat; format 67 drivers/input/serio/i8042.h #define dbg(format, arg...) \ format 70 drivers/input/serio/i8042.h printk(KERN_DEBUG KBUILD_MODNAME ": [%d] " format, \ format 74 drivers/input/serio/i8042.h #define filter_dbg(filter, data, format, args...) \ format 80 drivers/input/serio/i8042.h dbg("%02x " format, data, ##args); \ format 82 drivers/input/serio/i8042.h dbg("** " format, ##args); \ format 86 drivers/input/serio/i8042.h #define dbg(format, arg...) \ format 89 drivers/input/serio/i8042.h printk(KERN_DEBUG pr_fmt(format), ##arg); \ format 92 drivers/input/serio/i8042.h #define filter_dbg(filter, data, format, args...) do { } while (0) format 246 drivers/input/touchscreen/atmel_mxt_ts.c struct v4l2_pix_format format; format 2438 drivers/input/touchscreen/atmel_mxt_ts.c struct v4l2_pix_format *f = &data->dbg.format; format 2479 drivers/input/touchscreen/atmel_mxt_ts.c f->fmt.pix = data->dbg.format; format 398 drivers/iommu/amd_iommu_types.h #define DUMP_printk(format, arg...) \ format 401 drivers/iommu/amd_iommu_types.h printk(KERN_INFO "AMD-Vi: " format, ## arg); \ format 1285 drivers/iommu/intel_irq_remapping.c entry->format = 1; format 31 drivers/ipack/ipack.c if ((id->format == IPACK_ANY_FORMAT || format 32 drivers/ipack/ipack.c id->format == device->id_format) && format 8 drivers/isdn/capi/capilib.c #define DBG(format, arg...) do { \ format 9 drivers/isdn/capi/capilib.c printk(KERN_DEBUG "%s: " format "\n" , __func__ , ## arg); \ format 19 drivers/isdn/capi/kcapi.h #define DBG(format, arg...) do { \ format 20 drivers/isdn/capi/kcapi.h printk(KERN_DEBUG "%s: " format "\n" , __func__ , ## arg); \ format 23 drivers/isdn/capi/kcapi.h #define DBG(format, arg...) /* */ format 149 drivers/md/dm-zoned.h #define dmz_dev_info(dev, format, args...) \ format 150 drivers/md/dm-zoned.h DMINFO("(%s): " format, (dev)->name, ## args) format 152 drivers/md/dm-zoned.h #define dmz_dev_err(dev, format, args...) \ format 153 drivers/md/dm-zoned.h DMERR("(%s): " format, (dev)->name, ## args) format 155 drivers/md/dm-zoned.h #define dmz_dev_warn(dev, format, args...) \ format 156 drivers/md/dm-zoned.h DMWARN("(%s): " format, (dev)->name, ## args) format 158 drivers/md/dm-zoned.h #define dmz_dev_debug(dev, format, args...) \ format 159 drivers/md/dm-zoned.h DMDEBUG("(%s): " format, (dev)->name, ## args) format 30 drivers/media/common/b2c2/flexcop-common.h #define err(format, arg...) \ format 31 drivers/media/common/b2c2/flexcop-common.h printk(KERN_ERR FC_LOG_PREFIX ": " format "\n" , ## arg) format 33 drivers/media/common/b2c2/flexcop-common.h #define info(format, arg...) \ format 34 drivers/media/common/b2c2/flexcop-common.h printk(KERN_INFO FC_LOG_PREFIX ": " format "\n" , ## arg) format 36 drivers/media/common/b2c2/flexcop-common.h #define warn(format, arg...) \ format 37 drivers/media/common/b2c2/flexcop-common.h printk(KERN_WARNING FC_LOG_PREFIX ": " format "\n" , ## arg) format 695 drivers/media/common/videobuf2/videobuf2-v4l2.c struct v4l2_format *f = &create->format; format 932 drivers/media/common/videobuf2/videobuf2-v4l2.c p->format.type); format 15 drivers/media/dvb-frontends/bcm3510_priv.h #define err(format, arg...) printk(KERN_ERR "bcm3510: " format "\n" , ## arg) format 17 drivers/media/dvb-frontends/bcm3510_priv.h #define info(format, arg...) printk(KERN_INFO "bcm3510: " format "\n" , ## arg) format 19 drivers/media/dvb-frontends/bcm3510_priv.h #define warn(format, arg...) printk(KERN_WARNING "bcm3510: " format "\n" , ## arg) format 1520 drivers/media/dvb-frontends/drx39xyj/drx_driver.h enum drxi2s_format format; /*< I2S wordstrobe delay to data */ format 30 drivers/media/dvb-frontends/isl6423.c #define dprintk(__y, __z, format, arg...) do { \ format 33 drivers/media/dvb-frontends/isl6423.c printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \ format 35 drivers/media/dvb-frontends/isl6423.c printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \ format 37 drivers/media/dvb-frontends/isl6423.c printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \ format 39 drivers/media/dvb-frontends/isl6423.c printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \ format 42 drivers/media/dvb-frontends/isl6423.c printk(format, ##arg); \ format 48 drivers/media/dvb-frontends/m88rs2000.c #define info(format, arg...) \ format 49 drivers/media/dvb-frontends/m88rs2000.c printk(KERN_INFO "m88rs2000-fe: " format "\n" , ## arg) format 43 drivers/media/dvb-frontends/mb86a16.c #define dprintk(x, y, z, format, arg...) do { \ format 46 drivers/media/dvb-frontends/mb86a16.c printk(KERN_ERR "%s: " format "\n", __func__, ##arg); \ format 48 drivers/media/dvb-frontends/mb86a16.c printk(KERN_NOTICE "%s: " format "\n", __func__, ##arg); \ format 50 drivers/media/dvb-frontends/mb86a16.c printk(KERN_INFO "%s: " format "\n", __func__, ##arg); \ format 52 drivers/media/dvb-frontends/mb86a16.c printk(KERN_DEBUG "%s: " format "\n", __func__, ##arg); \ format 55 drivers/media/dvb-frontends/mb86a16.c printk(format, ##arg); \ format 22 drivers/media/dvb-frontends/stb0899_priv.h #define dprintk(x, y, z, format, arg...) do { \ format 25 drivers/media/dvb-frontends/stb0899_priv.h printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \ format 27 drivers/media/dvb-frontends/stb0899_priv.h printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \ format 29 drivers/media/dvb-frontends/stb0899_priv.h printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \ format 31 drivers/media/dvb-frontends/stb0899_priv.h printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \ format 34 drivers/media/dvb-frontends/stb0899_priv.h printk(format, ##arg); \ format 30 drivers/media/dvb-frontends/stb6100.c #define dprintk(x, y, z, format, arg...) do { \ format 33 drivers/media/dvb-frontends/stb6100.c printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \ format 35 drivers/media/dvb-frontends/stb6100.c printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \ format 37 drivers/media/dvb-frontends/stb6100.c printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \ format 39 drivers/media/dvb-frontends/stb6100.c printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \ format 42 drivers/media/dvb-frontends/stb6100.c printk(format, ##arg); \ format 21 drivers/media/dvb-frontends/stv090x_priv.h #define dprintk(__y, __z, format, arg...) do { \ format 24 drivers/media/dvb-frontends/stv090x_priv.h printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \ format 26 drivers/media/dvb-frontends/stv090x_priv.h printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \ format 28 drivers/media/dvb-frontends/stv090x_priv.h printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \ format 30 drivers/media/dvb-frontends/stv090x_priv.h printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \ format 33 drivers/media/dvb-frontends/stv090x_priv.h printk(format, ##arg); \ format 20 drivers/media/dvb-frontends/stv6110x_priv.h #define dprintk(__y, __z, format, arg...) do { \ format 23 drivers/media/dvb-frontends/stv6110x_priv.h printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \ format 25 drivers/media/dvb-frontends/stv6110x_priv.h printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \ format 27 drivers/media/dvb-frontends/stv6110x_priv.h printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \ format 29 drivers/media/dvb-frontends/stv6110x_priv.h printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \ format 32 drivers/media/dvb-frontends/stv6110x_priv.h printk(format, ##arg); \ format 265 drivers/media/i2c/adv7170.c struct v4l2_subdev_format *format) format 267 drivers/media/i2c/adv7170.c struct v4l2_mbus_framefmt *mf = &format->format; format 270 drivers/media/i2c/adv7170.c if (format->pad) format 288 drivers/media/i2c/adv7170.c struct v4l2_subdev_format *format) format 290 drivers/media/i2c/adv7170.c struct v4l2_mbus_framefmt *mf = &format->format; format 293 drivers/media/i2c/adv7170.c if (format->pad) format 311 drivers/media/i2c/adv7170.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 303 drivers/media/i2c/adv7175.c struct v4l2_subdev_format *format) format 305 drivers/media/i2c/adv7175.c struct v4l2_mbus_framefmt *mf = &format->format; format 308 drivers/media/i2c/adv7175.c if (format->pad) format 326 drivers/media/i2c/adv7175.c struct v4l2_subdev_format *format) format 328 drivers/media/i2c/adv7175.c struct v4l2_mbus_framefmt *mf = &format->format; format 332 drivers/media/i2c/adv7175.c if (format->pad) format 350 drivers/media/i2c/adv7175.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 703 drivers/media/i2c/adv7180.c struct v4l2_subdev_format *format) format 707 drivers/media/i2c/adv7180.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 708 drivers/media/i2c/adv7180.c format->format = *v4l2_subdev_get_try_format(sd, cfg, 0); format 710 drivers/media/i2c/adv7180.c adv7180_mbus_fmt(sd, &format->format); format 711 drivers/media/i2c/adv7180.c format->format.field = state->field; format 719 drivers/media/i2c/adv7180.c struct v4l2_subdev_format *format) format 725 drivers/media/i2c/adv7180.c switch (format->format.field) { format 731 drivers/media/i2c/adv7180.c format->format.field = V4L2_FIELD_ALTERNATE; format 735 drivers/media/i2c/adv7180.c ret = adv7180_mbus_fmt(sd, &format->format); format 737 drivers/media/i2c/adv7180.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { format 738 drivers/media/i2c/adv7180.c if (state->field != format->format.field) { format 739 drivers/media/i2c/adv7180.c state->field = format->format.field; format 746 drivers/media/i2c/adv7180.c *framefmt = format->format; format 424 drivers/media/i2c/adv7183.c struct v4l2_subdev_format *format) format 427 drivers/media/i2c/adv7183.c struct v4l2_mbus_framefmt *fmt = &format->format; format 429 drivers/media/i2c/adv7183.c if (format->pad) format 443 drivers/media/i2c/adv7183.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 452 drivers/media/i2c/adv7183.c struct v4l2_subdev_format *format) format 456 drivers/media/i2c/adv7183.c if (format->pad) format 459 drivers/media/i2c/adv7183.c format->format = decoder->fmt; format 603 drivers/media/i2c/adv7183.c fmt.format.width = 720; format 604 drivers/media/i2c/adv7183.c fmt.format.height = 576; format 358 drivers/media/i2c/adv748x/adv748x-afe.c sdformat->format = *mbusformat; format 360 drivers/media/i2c/adv748x/adv748x-afe.c adv748x_afe_fill_format(afe, &sdformat->format); format 381 drivers/media/i2c/adv748x/adv748x-afe.c *mbusformat = sdformat->format; format 153 drivers/media/i2c/adv748x/adv748x-csi2.c return &tx->format; format 171 drivers/media/i2c/adv748x/adv748x-csi2.c sdformat->format = *mbusformat; format 206 drivers/media/i2c/adv748x/adv748x-csi2.c sdformat->format = *sink_fmt; format 209 drivers/media/i2c/adv748x/adv748x-csi2.c *mbusformat = sdformat->format; format 435 drivers/media/i2c/adv748x/adv748x-hdmi.c sdformat->format = *mbusformat; format 437 drivers/media/i2c/adv748x/adv748x-hdmi.c adv748x_hdmi_fill_format(hdmi, &sdformat->format); format 457 drivers/media/i2c/adv748x/adv748x-hdmi.c *mbusformat = sdformat->format; format 78 drivers/media/i2c/adv748x/adv748x.h struct v4l2_mbus_framefmt format; format 119 drivers/media/i2c/adv748x/adv748x.h struct v4l2_mbus_framefmt format; format 154 drivers/media/i2c/adv748x/adv748x.h struct v4l2_mbus_framefmt format; format 1253 drivers/media/i2c/adv7511-v4l2.c struct v4l2_mbus_framefmt *format) format 1255 drivers/media/i2c/adv7511-v4l2.c format->width = state->dv_timings.bt.width; format 1256 drivers/media/i2c/adv7511-v4l2.c format->height = state->dv_timings.bt.height; format 1257 drivers/media/i2c/adv7511-v4l2.c format->field = V4L2_FIELD_NONE; format 1262 drivers/media/i2c/adv7511-v4l2.c struct v4l2_subdev_format *format) format 1266 drivers/media/i2c/adv7511-v4l2.c if (format->pad != 0) format 1269 drivers/media/i2c/adv7511-v4l2.c memset(&format->format, 0, sizeof(format->format)); format 1270 drivers/media/i2c/adv7511-v4l2.c adv7511_fill_format(state, &format->format); format 1272 drivers/media/i2c/adv7511-v4l2.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1275 drivers/media/i2c/adv7511-v4l2.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 1276 drivers/media/i2c/adv7511-v4l2.c format->format.code = fmt->code; format 1277 drivers/media/i2c/adv7511-v4l2.c format->format.colorspace = fmt->colorspace; format 1278 drivers/media/i2c/adv7511-v4l2.c format->format.ycbcr_enc = fmt->ycbcr_enc; format 1279 drivers/media/i2c/adv7511-v4l2.c format->format.quantization = fmt->quantization; format 1280 drivers/media/i2c/adv7511-v4l2.c format->format.xfer_func = fmt->xfer_func; format 1282 drivers/media/i2c/adv7511-v4l2.c format->format.code = state->fmt_code; format 1283 drivers/media/i2c/adv7511-v4l2.c format->format.colorspace = state->colorspace; format 1284 drivers/media/i2c/adv7511-v4l2.c format->format.ycbcr_enc = state->ycbcr_enc; format 1285 drivers/media/i2c/adv7511-v4l2.c format->format.quantization = state->quantization; format 1286 drivers/media/i2c/adv7511-v4l2.c format->format.xfer_func = state->xfer_func; format 1294 drivers/media/i2c/adv7511-v4l2.c struct v4l2_subdev_format *format) format 1315 drivers/media/i2c/adv7511-v4l2.c if (format->pad != 0) format 1317 drivers/media/i2c/adv7511-v4l2.c switch (format->format.code) { format 1326 drivers/media/i2c/adv7511-v4l2.c adv7511_fill_format(state, &format->format); format 1327 drivers/media/i2c/adv7511-v4l2.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1330 drivers/media/i2c/adv7511-v4l2.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 1331 drivers/media/i2c/adv7511-v4l2.c fmt->code = format->format.code; format 1332 drivers/media/i2c/adv7511-v4l2.c fmt->colorspace = format->format.colorspace; format 1333 drivers/media/i2c/adv7511-v4l2.c fmt->ycbcr_enc = format->format.ycbcr_enc; format 1334 drivers/media/i2c/adv7511-v4l2.c fmt->quantization = format->format.quantization; format 1335 drivers/media/i2c/adv7511-v4l2.c fmt->xfer_func = format->format.xfer_func; format 1339 drivers/media/i2c/adv7511-v4l2.c switch (format->format.code) { format 1356 drivers/media/i2c/adv7511-v4l2.c state->fmt_code = format->format.code; format 1357 drivers/media/i2c/adv7511-v4l2.c state->colorspace = format->format.colorspace; format 1358 drivers/media/i2c/adv7511-v4l2.c state->ycbcr_enc = format->format.ycbcr_enc; format 1359 drivers/media/i2c/adv7511-v4l2.c state->quantization = format->format.quantization; format 1360 drivers/media/i2c/adv7511-v4l2.c state->xfer_func = format->format.xfer_func; format 1362 drivers/media/i2c/adv7511-v4l2.c switch (format->format.colorspace) { format 1370 drivers/media/i2c/adv7511-v4l2.c if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV601) { format 1377 drivers/media/i2c/adv7511-v4l2.c if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_XV709) { format 1389 drivers/media/i2c/adv7511-v4l2.c if (y && format->format.ycbcr_enc == V4L2_YCBCR_ENC_BT2020_CONST_LUM) format 1411 drivers/media/i2c/adv7511-v4l2.c switch (format->format.quantization) { format 176 drivers/media/i2c/adv7604.c const struct adv76xx_format_info *format; format 1826 drivers/media/i2c/adv7604.c struct v4l2_mbus_framefmt *format) format 1828 drivers/media/i2c/adv7604.c memset(format, 0, sizeof(*format)); format 1830 drivers/media/i2c/adv7604.c format->width = state->timings.bt.width; format 1831 drivers/media/i2c/adv7604.c format->height = state->timings.bt.height; format 1832 drivers/media/i2c/adv7604.c format->field = V4L2_FIELD_NONE; format 1833 drivers/media/i2c/adv7604.c format->colorspace = V4L2_COLORSPACE_SRGB; format 1836 drivers/media/i2c/adv7604.c format->colorspace = (state->timings.bt.height <= 576) ? format 1874 drivers/media/i2c/adv7604.c return op_ch_sel[state->pdata.bus_order][state->format->op_ch_sel >> 5]; format 1882 drivers/media/i2c/adv7604.c state->format->rgb_out ? ADV76XX_RGB_OUT : 0); format 1883 drivers/media/i2c/adv7604.c io_write(sd, 0x03, state->format->op_format_sel | format 1887 drivers/media/i2c/adv7604.c state->format->swap_cb_cr ? ADV76XX_OP_SWAP_CB_CR : 0); format 1893 drivers/media/i2c/adv7604.c struct v4l2_subdev_format *format) format 1897 drivers/media/i2c/adv7604.c if (format->pad != state->source_pad) format 1900 drivers/media/i2c/adv7604.c adv76xx_fill_format(state, &format->format); format 1902 drivers/media/i2c/adv7604.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1905 drivers/media/i2c/adv7604.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 1906 drivers/media/i2c/adv7604.c format->format.code = fmt->code; format 1908 drivers/media/i2c/adv7604.c format->format.code = state->format->code; format 1936 drivers/media/i2c/adv7604.c struct v4l2_subdev_format *format) format 1941 drivers/media/i2c/adv7604.c if (format->pad != state->source_pad) format 1944 drivers/media/i2c/adv7604.c info = adv76xx_format_info(state, format->format.code); format 1948 drivers/media/i2c/adv7604.c adv76xx_fill_format(state, &format->format); format 1949 drivers/media/i2c/adv7604.c format->format.code = info->code; format 1951 drivers/media/i2c/adv7604.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1954 drivers/media/i2c/adv7604.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 1955 drivers/media/i2c/adv7604.c fmt->code = format->format.code; format 1957 drivers/media/i2c/adv7604.c state->format = info; format 3408 drivers/media/i2c/adv7604.c state->format = adv76xx_format_info(state, MEDIA_BUS_FMT_YUYV8_2X8); format 97 drivers/media/i2c/adv7842.c const struct adv7842_format_info *format; format 2008 drivers/media/i2c/adv7842.c struct v4l2_mbus_framefmt *format) format 2010 drivers/media/i2c/adv7842.c memset(format, 0, sizeof(*format)); format 2012 drivers/media/i2c/adv7842.c format->width = state->timings.bt.width; format 2013 drivers/media/i2c/adv7842.c format->height = state->timings.bt.height; format 2014 drivers/media/i2c/adv7842.c format->field = V4L2_FIELD_NONE; format 2015 drivers/media/i2c/adv7842.c format->colorspace = V4L2_COLORSPACE_SRGB; format 2018 drivers/media/i2c/adv7842.c format->colorspace = (state->timings.bt.height <= 576) ? format 2056 drivers/media/i2c/adv7842.c return op_ch_sel[state->pdata.bus_order][state->format->op_ch_sel >> 5]; format 2064 drivers/media/i2c/adv7842.c state->format->rgb_out ? ADV7842_RGB_OUT : 0); format 2065 drivers/media/i2c/adv7842.c io_write(sd, 0x03, state->format->op_format_sel | format 2069 drivers/media/i2c/adv7842.c state->format->swap_cb_cr ? ADV7842_OP_SWAP_CB_CR : 0); format 2075 drivers/media/i2c/adv7842.c struct v4l2_subdev_format *format) format 2079 drivers/media/i2c/adv7842.c if (format->pad != ADV7842_PAD_SOURCE) format 2086 drivers/media/i2c/adv7842.c format->format.code = MEDIA_BUS_FMT_YUYV8_2X8; format 2087 drivers/media/i2c/adv7842.c format->format.width = 720; format 2090 drivers/media/i2c/adv7842.c format->format.height = 480; format 2092 drivers/media/i2c/adv7842.c format->format.height = 576; format 2093 drivers/media/i2c/adv7842.c format->format.colorspace = V4L2_COLORSPACE_SMPTE170M; format 2097 drivers/media/i2c/adv7842.c adv7842_fill_format(state, &format->format); format 2099 drivers/media/i2c/adv7842.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 2102 drivers/media/i2c/adv7842.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 2103 drivers/media/i2c/adv7842.c format->format.code = fmt->code; format 2105 drivers/media/i2c/adv7842.c format->format.code = state->format->code; format 2113 drivers/media/i2c/adv7842.c struct v4l2_subdev_format *format) format 2118 drivers/media/i2c/adv7842.c if (format->pad != ADV7842_PAD_SOURCE) format 2122 drivers/media/i2c/adv7842.c return adv7842_get_format(sd, cfg, format); format 2124 drivers/media/i2c/adv7842.c info = adv7842_format_info(state, format->format.code); format 2128 drivers/media/i2c/adv7842.c adv7842_fill_format(state, &format->format); format 2129 drivers/media/i2c/adv7842.c format->format.code = info->code; format 2131 drivers/media/i2c/adv7842.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 2134 drivers/media/i2c/adv7842.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 2135 drivers/media/i2c/adv7842.c fmt->code = format->format.code; format 2137 drivers/media/i2c/adv7842.c state->format = info; format 3467 drivers/media/i2c/adv7842.c state->format = adv7842_format_info(state, MEDIA_BUS_FMT_YUYV8_2X8); format 95 drivers/media/i2c/ak881x.c struct v4l2_subdev_format *format) format 97 drivers/media/i2c/ak881x.c struct v4l2_mbus_framefmt *mf = &format->format; format 101 drivers/media/i2c/ak881x.c if (format->pad) format 1750 drivers/media/i2c/cx25840/cx25840-core.c struct v4l2_subdev_format *format) format 1752 drivers/media/i2c/cx25840/cx25840-core.c struct v4l2_mbus_framefmt *fmt = &format->format; format 1759 drivers/media/i2c/cx25840/cx25840-core.c if (format->pad || fmt->code != MEDIA_BUS_FMT_FIXED) format 1817 drivers/media/i2c/cx25840/cx25840-core.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 43 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_mbus_framefmt format; format 409 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_mbus_framefmt format; format 429 drivers/media/i2c/et8ek8/et8ek8_driver.c et8ek8_reglist_to_mbus(*list, &format); format 431 drivers/media/i2c/et8ek8/et8ek8_driver.c dist = min(fmt->width, format.width) format 432 drivers/media/i2c/et8ek8/et8ek8_driver.c * min(fmt->height, format.height); format 433 drivers/media/i2c/et8ek8/et8ek8_driver.c dist = format.width * format.height format 437 drivers/media/i2c/et8ek8/et8ek8_driver.c if (fmt->code == format.code) { format 928 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_mbus_framefmt format; format 937 drivers/media/i2c/et8ek8/et8ek8_driver.c et8ek8_reglist_to_mbus(*list, &format); format 938 drivers/media/i2c/et8ek8/et8ek8_driver.c if (fse->code != format.code) format 942 drivers/media/i2c/et8ek8/et8ek8_driver.c if (format.width == cmp_width && format.height == cmp_height) format 945 drivers/media/i2c/et8ek8/et8ek8_driver.c cmp_width = format.width; format 946 drivers/media/i2c/et8ek8/et8ek8_driver.c cmp_height = format.height; format 949 drivers/media/i2c/et8ek8/et8ek8_driver.c fse->min_width = format.width; format 950 drivers/media/i2c/et8ek8/et8ek8_driver.c fse->min_height = format.height; format 951 drivers/media/i2c/et8ek8/et8ek8_driver.c fse->max_width = format.width; format 952 drivers/media/i2c/et8ek8/et8ek8_driver.c fse->max_height = format.height; format 966 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_mbus_framefmt format; format 975 drivers/media/i2c/et8ek8/et8ek8_driver.c et8ek8_reglist_to_mbus(*list, &format); format 976 drivers/media/i2c/et8ek8/et8ek8_driver.c if (fie->code != format.code) format 979 drivers/media/i2c/et8ek8/et8ek8_driver.c if (fie->width != format.width || fie->height != format.height) format 1000 drivers/media/i2c/et8ek8/et8ek8_driver.c return &sensor->format; format 1011 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_mbus_framefmt *format; format 1013 drivers/media/i2c/et8ek8/et8ek8_driver.c format = __et8ek8_get_pad_format(sensor, cfg, fmt->pad, fmt->which); format 1014 drivers/media/i2c/et8ek8/et8ek8_driver.c if (!format) format 1017 drivers/media/i2c/et8ek8/et8ek8_driver.c fmt->format = *format; format 1027 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_mbus_framefmt *format; format 1030 drivers/media/i2c/et8ek8/et8ek8_driver.c format = __et8ek8_get_pad_format(sensor, cfg, fmt->pad, fmt->which); format 1031 drivers/media/i2c/et8ek8/et8ek8_driver.c if (!format) format 1034 drivers/media/i2c/et8ek8/et8ek8_driver.c reglist = et8ek8_reglist_find_mode_fmt(&meta_reglist, &fmt->format); format 1035 drivers/media/i2c/et8ek8/et8ek8_driver.c et8ek8_reglist_to_mbus(reglist, &fmt->format); format 1036 drivers/media/i2c/et8ek8/et8ek8_driver.c *format = fmt->format; format 1200 drivers/media/i2c/et8ek8/et8ek8_driver.c et8ek8_reglist_to_mbus(sensor->current_reglist, &sensor->format); format 1326 drivers/media/i2c/et8ek8/et8ek8_driver.c struct v4l2_mbus_framefmt *format; format 1330 drivers/media/i2c/et8ek8/et8ek8_driver.c format = __et8ek8_get_pad_format(sensor, fh->pad, 0, format 1332 drivers/media/i2c/et8ek8/et8ek8_driver.c et8ek8_reglist_to_mbus(reglist, format); format 552 drivers/media/i2c/imx214.c struct v4l2_subdev_format *format) format 557 drivers/media/i2c/imx214.c format->format = *__imx214_get_pad_format(imx214, cfg, format->pad, format 558 drivers/media/i2c/imx214.c format->which); format 580 drivers/media/i2c/imx214.c struct v4l2_subdev_format *format) format 589 drivers/media/i2c/imx214.c __crop = __imx214_get_pad_crop(imx214, cfg, format->pad, format->which); format 593 drivers/media/i2c/imx214.c format->format.width, format 594 drivers/media/i2c/imx214.c format->format.height); format 599 drivers/media/i2c/imx214.c __format = __imx214_get_pad_format(imx214, cfg, format->pad, format 600 drivers/media/i2c/imx214.c format->which); format 611 drivers/media/i2c/imx214.c format->format = *__format; format 640 drivers/media/i2c/imx214.c fmt.format.width = imx214_modes[0].width; format 641 drivers/media/i2c/imx214.c fmt.format.height = imx214_modes[0].height; format 825 drivers/media/i2c/imx258.c fmt->format.width = mode->width; format 826 drivers/media/i2c/imx258.c fmt->format.height = mode->height; format 827 drivers/media/i2c/imx258.c fmt->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 828 drivers/media/i2c/imx258.c fmt->format.field = V4L2_FIELD_NONE; format 836 drivers/media/i2c/imx258.c fmt->format = *v4l2_subdev_get_try_format(&imx258->sd, cfg, format 874 drivers/media/i2c/imx258.c fmt->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 878 drivers/media/i2c/imx258.c fmt->format.width, fmt->format.height); format 882 drivers/media/i2c/imx258.c *framefmt = fmt->format; format 513 drivers/media/i2c/imx274.c struct v4l2_mbus_framefmt format; format 891 drivers/media/i2c/imx274.c tgt_fmt = &imx274->format; format 942 drivers/media/i2c/imx274.c fmt->format = imx274->format; format 959 drivers/media/i2c/imx274.c struct v4l2_subdev_format *format) format 961 drivers/media/i2c/imx274.c struct v4l2_mbus_framefmt *fmt = &format->format; format 967 drivers/media/i2c/imx274.c err = __imx274_change_compose(imx274, cfg, format->which, format 979 drivers/media/i2c/imx274.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 982 drivers/media/i2c/imx274.c imx274->format = *fmt; format 1015 drivers/media/i2c/imx274.c src_fmt = &imx274->format; format 1841 drivers/media/i2c/imx274.c imx274->format.width = imx274->crop.width / imx274->mode->bin_ratio; format 1842 drivers/media/i2c/imx274.c imx274->format.height = imx274->crop.height / imx274->mode->bin_ratio; format 1843 drivers/media/i2c/imx274.c imx274->format.field = V4L2_FIELD_NONE; format 1844 drivers/media/i2c/imx274.c imx274->format.code = MEDIA_BUS_FMT_SRGGB10_1X10; format 1845 drivers/media/i2c/imx274.c imx274->format.colorspace = V4L2_COLORSPACE_SRGB; format 1993 drivers/media/i2c/imx319.c fmt->format.width = mode->width; format 1994 drivers/media/i2c/imx319.c fmt->format.height = mode->height; format 1995 drivers/media/i2c/imx319.c fmt->format.code = imx319_get_format_code(imx319); format 1996 drivers/media/i2c/imx319.c fmt->format.field = V4L2_FIELD_NONE; format 2008 drivers/media/i2c/imx319.c fmt->format = *framefmt; format 2050 drivers/media/i2c/imx319.c fmt->format.code = imx319_get_format_code(imx319); format 2055 drivers/media/i2c/imx319.c fmt->format.width, fmt->format.height); format 2059 drivers/media/i2c/imx319.c *framefmt = fmt->format; format 1294 drivers/media/i2c/imx355.c fmt->format.width = mode->width; format 1295 drivers/media/i2c/imx355.c fmt->format.height = mode->height; format 1296 drivers/media/i2c/imx355.c fmt->format.code = imx355_get_format_code(imx355); format 1297 drivers/media/i2c/imx355.c fmt->format.field = V4L2_FIELD_NONE; format 1309 drivers/media/i2c/imx355.c fmt->format = *framefmt; format 1351 drivers/media/i2c/imx355.c fmt->format.code = imx355_get_format_code(imx355); format 1356 drivers/media/i2c/imx355.c fmt->format.width, fmt->format.height); format 1360 drivers/media/i2c/imx355.c *framefmt = fmt->format; format 556 drivers/media/i2c/m5mols/m5mols_core.c struct v4l2_mbus_framefmt *format; format 561 drivers/media/i2c/m5mols/m5mols_core.c format = __find_format(info, cfg, fmt->which, info->res_type); format 562 drivers/media/i2c/m5mols/m5mols_core.c if (format) format 563 drivers/media/i2c/m5mols/m5mols_core.c fmt->format = *format; format 575 drivers/media/i2c/m5mols/m5mols_core.c struct v4l2_mbus_framefmt *format = &fmt->format; format 581 drivers/media/i2c/m5mols/m5mols_core.c ret = __find_resolution(sd, format, &type, &resolution); format 591 drivers/media/i2c/m5mols/m5mols_core.c format->code = m5mols_default_ffmt[type].code; format 592 drivers/media/i2c/m5mols/m5mols_core.c format->colorspace = V4L2_COLORSPACE_JPEG; format 593 drivers/media/i2c/m5mols/m5mols_core.c format->field = V4L2_FIELD_NONE; format 596 drivers/media/i2c/m5mols/m5mols_core.c *sfmt = *format; format 911 drivers/media/i2c/m5mols/m5mols_core.c struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); format 913 drivers/media/i2c/m5mols/m5mols_core.c *format = m5mols_default_ffmt[0]; format 204 drivers/media/i2c/ml86v7667.c struct v4l2_subdev_format *format) format 207 drivers/media/i2c/ml86v7667.c struct v4l2_mbus_framefmt *fmt = &format->format; format 209 drivers/media/i2c/ml86v7667.c if (format->pad) format 323 drivers/media/i2c/mt9m001.c struct v4l2_subdev_format *format) format 327 drivers/media/i2c/mt9m001.c struct v4l2_mbus_framefmt *mf = &format->format; format 329 drivers/media/i2c/mt9m001.c if (format->pad) format 332 drivers/media/i2c/mt9m001.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 334 drivers/media/i2c/mt9m001.c format->format = *mf; format 380 drivers/media/i2c/mt9m001.c struct v4l2_subdev_format *format) format 382 drivers/media/i2c/mt9m001.c struct v4l2_mbus_framefmt *mf = &format->format; format 387 drivers/media/i2c/mt9m001.c if (format->pad) format 411 drivers/media/i2c/mt9m001.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 149 drivers/media/i2c/mt9m032.c struct v4l2_mbus_framefmt format; format 370 drivers/media/i2c/mt9m032.c return &sensor->format; format 383 drivers/media/i2c/mt9m032.c fmt->format = *__mt9m032_get_pad_format(sensor, cfg, fmt->which); format 404 drivers/media/i2c/mt9m032.c fmt->format = *__mt9m032_get_pad_format(sensor, cfg, fmt->which); format 433 drivers/media/i2c/mt9m032.c struct v4l2_mbus_framefmt *format; format 471 drivers/media/i2c/mt9m032.c format = __mt9m032_get_pad_format(sensor, cfg, sel->which); format 472 drivers/media/i2c/mt9m032.c format->width = rect.width; format 473 drivers/media/i2c/mt9m032.c format->height = rect.height; format 753 drivers/media/i2c/mt9m032.c sensor->format.width = sensor->crop.width; format 754 drivers/media/i2c/mt9m032.c sensor->format.height = sensor->crop.height; format 755 drivers/media/i2c/mt9m032.c sensor->format.code = MEDIA_BUS_FMT_Y8_1X8; format 756 drivers/media/i2c/mt9m032.c sensor->format.field = V4L2_FIELD_NONE; format 757 drivers/media/i2c/mt9m032.c sensor->format.colorspace = V4L2_COLORSPACE_SRGB; format 522 drivers/media/i2c/mt9m111.c struct v4l2_subdev_format *format) format 524 drivers/media/i2c/mt9m111.c struct v4l2_mbus_framefmt *mf = &format->format; format 527 drivers/media/i2c/mt9m111.c if (format->pad) format 530 drivers/media/i2c/mt9m111.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 532 drivers/media/i2c/mt9m111.c mf = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 533 drivers/media/i2c/mt9m111.c format->format = *mf; format 628 drivers/media/i2c/mt9m111.c struct v4l2_subdev_format *format) format 630 drivers/media/i2c/mt9m111.c struct v4l2_mbus_framefmt *mf = &format->format; format 641 drivers/media/i2c/mt9m111.c if (format->pad) format 680 drivers/media/i2c/mt9m111.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1125 drivers/media/i2c/mt9m111.c struct v4l2_mbus_framefmt *format = format 1128 drivers/media/i2c/mt9m111.c format->width = MT9M111_MAX_WIDTH; format 1129 drivers/media/i2c/mt9m111.c format->height = MT9M111_MAX_HEIGHT; format 1130 drivers/media/i2c/mt9m111.c format->code = mt9m111_colour_fmts[0].code; format 1131 drivers/media/i2c/mt9m111.c format->colorspace = mt9m111_colour_fmts[0].colorspace; format 1132 drivers/media/i2c/mt9m111.c format->field = V4L2_FIELD_NONE; format 1133 drivers/media/i2c/mt9m111.c format->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; format 1134 drivers/media/i2c/mt9m111.c format->quantization = V4L2_QUANTIZATION_DEFAULT; format 1135 drivers/media/i2c/mt9m111.c format->xfer_func = V4L2_XFER_FUNC_DEFAULT; format 123 drivers/media/i2c/mt9p031.c struct v4l2_mbus_framefmt format; format 383 drivers/media/i2c/mt9p031.c struct v4l2_mbus_framefmt *format = &mt9p031->format; format 415 drivers/media/i2c/mt9p031.c xskip = DIV_ROUND_CLOSEST(crop->width, format->width); format 416 drivers/media/i2c/mt9p031.c yskip = DIV_ROUND_CLOSEST(crop->height, format->height); format 482 drivers/media/i2c/mt9p031.c code->code = mt9p031->format.code; format 492 drivers/media/i2c/mt9p031.c if (fse->index >= 8 || fse->code != mt9p031->format.code) format 512 drivers/media/i2c/mt9p031.c return &mt9p031->format; format 538 drivers/media/i2c/mt9p031.c fmt->format = *__mt9p031_get_pad_format(mt9p031, cfg, fmt->pad, format 545 drivers/media/i2c/mt9p031.c struct v4l2_subdev_format *format) format 555 drivers/media/i2c/mt9p031.c __crop = __mt9p031_get_pad_crop(mt9p031, cfg, format->pad, format 556 drivers/media/i2c/mt9p031.c format->which); format 559 drivers/media/i2c/mt9p031.c width = clamp_t(unsigned int, ALIGN(format->format.width, 2), format 563 drivers/media/i2c/mt9p031.c height = clamp_t(unsigned int, ALIGN(format->format.height, 2), format 571 drivers/media/i2c/mt9p031.c __format = __mt9p031_get_pad_format(mt9p031, cfg, format->pad, format 572 drivers/media/i2c/mt9p031.c format->which); format 576 drivers/media/i2c/mt9p031.c format->format = *__format; format 943 drivers/media/i2c/mt9p031.c struct v4l2_mbus_framefmt *format; format 952 drivers/media/i2c/mt9p031.c format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); format 955 drivers/media/i2c/mt9p031.c format->code = MEDIA_BUS_FMT_Y12_1X12; format 957 drivers/media/i2c/mt9p031.c format->code = MEDIA_BUS_FMT_SGRBG12_1X12; format 959 drivers/media/i2c/mt9p031.c format->width = MT9P031_WINDOW_WIDTH_DEF; format 960 drivers/media/i2c/mt9p031.c format->height = MT9P031_WINDOW_HEIGHT_DEF; format 961 drivers/media/i2c/mt9p031.c format->field = V4L2_FIELD_NONE; format 962 drivers/media/i2c/mt9p031.c format->colorspace = V4L2_COLORSPACE_SRGB; format 1125 drivers/media/i2c/mt9p031.c mt9p031->format.code = MEDIA_BUS_FMT_Y12_1X12; format 1127 drivers/media/i2c/mt9p031.c mt9p031->format.code = MEDIA_BUS_FMT_SGRBG12_1X12; format 1129 drivers/media/i2c/mt9p031.c mt9p031->format.width = MT9P031_WINDOW_WIDTH_DEF; format 1130 drivers/media/i2c/mt9p031.c mt9p031->format.height = MT9P031_WINDOW_HEIGHT_DEF; format 1131 drivers/media/i2c/mt9p031.c mt9p031->format.field = V4L2_FIELD_NONE; format 1132 drivers/media/i2c/mt9p031.c mt9p031->format.colorspace = V4L2_COLORSPACE_SRGB; format 125 drivers/media/i2c/mt9t001.c struct v4l2_mbus_framefmt format; format 262 drivers/media/i2c/mt9t001.c return &mt9t001->format; format 288 drivers/media/i2c/mt9t001.c struct v4l2_mbus_framefmt *format = &mt9t001->format; format 306 drivers/media/i2c/mt9t001.c hratio = DIV_ROUND_CLOSEST(crop->width, format->width); format 307 drivers/media/i2c/mt9t001.c vratio = DIV_ROUND_CLOSEST(crop->height, format->height); format 365 drivers/media/i2c/mt9t001.c struct v4l2_subdev_format *format) format 369 drivers/media/i2c/mt9t001.c format->format = *__mt9t001_get_pad_format(mt9t001, cfg, format->pad, format 370 drivers/media/i2c/mt9t001.c format->which); format 376 drivers/media/i2c/mt9t001.c struct v4l2_subdev_format *format) format 386 drivers/media/i2c/mt9t001.c __crop = __mt9t001_get_pad_crop(mt9t001, cfg, format->pad, format 387 drivers/media/i2c/mt9t001.c format->which); format 390 drivers/media/i2c/mt9t001.c width = clamp_t(unsigned int, ALIGN(format->format.width, 2), format 394 drivers/media/i2c/mt9t001.c height = clamp_t(unsigned int, ALIGN(format->format.height, 2), format 402 drivers/media/i2c/mt9t001.c __format = __mt9t001_get_pad_format(mt9t001, cfg, format->pad, format 403 drivers/media/i2c/mt9t001.c format->which); format 407 drivers/media/i2c/mt9t001.c format->format = *__format; format 798 drivers/media/i2c/mt9t001.c struct v4l2_mbus_framefmt *format; format 807 drivers/media/i2c/mt9t001.c format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); format 808 drivers/media/i2c/mt9t001.c format->code = MEDIA_BUS_FMT_SGRBG10_1X10; format 809 drivers/media/i2c/mt9t001.c format->width = MT9T001_WINDOW_WIDTH_DEF + 1; format 810 drivers/media/i2c/mt9t001.c format->height = MT9T001_WINDOW_HEIGHT_DEF + 1; format 811 drivers/media/i2c/mt9t001.c format->field = V4L2_FIELD_NONE; format 812 drivers/media/i2c/mt9t001.c format->colorspace = V4L2_COLORSPACE_SRGB; format 933 drivers/media/i2c/mt9t001.c mt9t001->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 934 drivers/media/i2c/mt9t001.c mt9t001->format.width = MT9T001_WINDOW_WIDTH_DEF + 1; format 935 drivers/media/i2c/mt9t001.c mt9t001->format.height = MT9T001_WINDOW_HEIGHT_DEF + 1; format 936 drivers/media/i2c/mt9t001.c mt9t001->format.field = V4L2_FIELD_NONE; format 937 drivers/media/i2c/mt9t001.c mt9t001->format.colorspace = V4L2_COLORSPACE_SRGB; format 97 drivers/media/i2c/mt9t112.c const struct mt9t112_format *format; format 827 drivers/media/i2c/mt9t112.c mt9t112_mcu_write(ret, client, VAR(26, 7), priv->format->fmt); format 828 drivers/media/i2c/mt9t112.c mt9t112_mcu_write(ret, client, VAR(26, 9), priv->format->order); format 835 drivers/media/i2c/mt9t112.c dev_dbg(&client->dev, "format : %d\n", priv->format->code); format 869 drivers/media/i2c/mt9t112.c priv->format = mt9t112_cfmts + i; format 911 drivers/media/i2c/mt9t112.c return mt9t112_set_params(priv, rect, priv->format->code); format 916 drivers/media/i2c/mt9t112.c struct v4l2_subdev_format *format) format 918 drivers/media/i2c/mt9t112.c struct v4l2_mbus_framefmt *mf = &format->format; format 922 drivers/media/i2c/mt9t112.c if (format->pad) format 927 drivers/media/i2c/mt9t112.c mf->colorspace = priv->format->colorspace; format 928 drivers/media/i2c/mt9t112.c mf->code = priv->format->code; format 950 drivers/media/i2c/mt9t112.c mf->colorspace = priv->format->colorspace; format 957 drivers/media/i2c/mt9t112.c struct v4l2_subdev_format *format) format 960 drivers/media/i2c/mt9t112.c struct v4l2_mbus_framefmt *mf = &format->format; format 964 drivers/media/i2c/mt9t112.c if (format->pad) format 983 drivers/media/i2c/mt9t112.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 342 drivers/media/i2c/mt9v011.c struct v4l2_subdev_format *format) format 344 drivers/media/i2c/mt9v011.c struct v4l2_mbus_framefmt *fmt = &format->format; format 347 drivers/media/i2c/mt9v011.c if (format->pad || fmt->code != MEDIA_BUS_FMT_SGRBG8_1X8) format 355 drivers/media/i2c/mt9v011.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { format 188 drivers/media/i2c/mt9v032.c struct v4l2_mbus_framefmt format; format 359 drivers/media/i2c/mt9v032.c return &mt9v032->format; format 436 drivers/media/i2c/mt9v032.c code->code = mt9v032->format.code; format 448 drivers/media/i2c/mt9v032.c if (mt9v032->format.code != fse->code) format 461 drivers/media/i2c/mt9v032.c struct v4l2_subdev_format *format) format 465 drivers/media/i2c/mt9v032.c format->format = *__mt9v032_get_pad_format(mt9v032, cfg, format->pad, format 466 drivers/media/i2c/mt9v032.c format->which); format 496 drivers/media/i2c/mt9v032.c struct v4l2_subdev_format *format) format 506 drivers/media/i2c/mt9v032.c __crop = __mt9v032_get_pad_crop(mt9v032, cfg, format->pad, format 507 drivers/media/i2c/mt9v032.c format->which); format 510 drivers/media/i2c/mt9v032.c width = clamp(ALIGN(format->format.width, 2), format 514 drivers/media/i2c/mt9v032.c height = clamp(ALIGN(format->format.height, 2), format 522 drivers/media/i2c/mt9v032.c __format = __mt9v032_get_pad_format(mt9v032, cfg, format->pad, format 523 drivers/media/i2c/mt9v032.c format->which); format 527 drivers/media/i2c/mt9v032.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { format 533 drivers/media/i2c/mt9v032.c format->format = *__format; format 922 drivers/media/i2c/mt9v032.c struct v4l2_mbus_framefmt *format; format 931 drivers/media/i2c/mt9v032.c format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); format 934 drivers/media/i2c/mt9v032.c format->code = MEDIA_BUS_FMT_SGRBG10_1X10; format 936 drivers/media/i2c/mt9v032.c format->code = MEDIA_BUS_FMT_Y10_1X10; format 938 drivers/media/i2c/mt9v032.c format->width = MT9V032_WINDOW_WIDTH_DEF; format 939 drivers/media/i2c/mt9v032.c format->height = MT9V032_WINDOW_HEIGHT_DEF; format 940 drivers/media/i2c/mt9v032.c format->field = V4L2_FIELD_NONE; format 941 drivers/media/i2c/mt9v032.c format->colorspace = V4L2_COLORSPACE_SRGB; format 1148 drivers/media/i2c/mt9v032.c mt9v032->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 1150 drivers/media/i2c/mt9v032.c mt9v032->format.code = MEDIA_BUS_FMT_Y10_1X10; format 1152 drivers/media/i2c/mt9v032.c mt9v032->format.width = MT9V032_WINDOW_WIDTH_DEF; format 1153 drivers/media/i2c/mt9v032.c mt9v032->format.height = MT9V032_WINDOW_HEIGHT_DEF; format 1154 drivers/media/i2c/mt9v032.c mt9v032->format.field = V4L2_FIELD_NONE; format 1155 drivers/media/i2c/mt9v032.c mt9v032->format.colorspace = V4L2_COLORSPACE_SRGB; format 864 drivers/media/i2c/mt9v111.c struct v4l2_subdev_format *format) format 868 drivers/media/i2c/mt9v111.c if (format->pad) format 872 drivers/media/i2c/mt9v111.c format->format = *__mt9v111_get_pad_format(mt9v111, cfg, format->pad, format 873 drivers/media/i2c/mt9v111.c format->which); format 881 drivers/media/i2c/mt9v111.c struct v4l2_subdev_format *format) format 896 drivers/media/i2c/mt9v111.c if (format->pad) { format 903 drivers/media/i2c/mt9v111.c if (format->format.code == mt9v111_formats[i].code) { format 913 drivers/media/i2c/mt9v111.c format->format.width) + format 915 drivers/media/i2c/mt9v111.c format->format.height); format 928 drivers/media/i2c/mt9v111.c __fmt = __mt9v111_get_pad_format(mt9v111, cfg, format->pad, format 929 drivers/media/i2c/mt9v111.c format->which); format 942 drivers/media/i2c/mt9v111.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 949 drivers/media/i2c/mt9v111.c format->format = *__fmt; format 511 drivers/media/i2c/noon010pc30.c fmt->format = *mf; format 515 drivers/media/i2c/noon010pc30.c mf = &fmt->format; format 551 drivers/media/i2c/noon010pc30.c nf = noon010_try_fmt(sd, &fmt->format); format 552 drivers/media/i2c/noon010pc30.c noon010_try_frame_size(&fmt->format, &size); format 553 drivers/media/i2c/noon010pc30.c fmt->format.colorspace = V4L2_COLORSPACE_JPEG; format 554 drivers/media/i2c/noon010pc30.c fmt->format.field = V4L2_FIELD_NONE; format 559 drivers/media/i2c/noon010pc30.c *mf = fmt->format; format 1310 drivers/media/i2c/ov13858.c fmt->format.width = mode->width; format 1311 drivers/media/i2c/ov13858.c fmt->format.height = mode->height; format 1312 drivers/media/i2c/ov13858.c fmt->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 1313 drivers/media/i2c/ov13858.c fmt->format.field = V4L2_FIELD_NONE; format 1325 drivers/media/i2c/ov13858.c fmt->format = *framefmt; format 1364 drivers/media/i2c/ov13858.c if (fmt->format.code != MEDIA_BUS_FMT_SGRBG10_1X10) format 1365 drivers/media/i2c/ov13858.c fmt->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 1370 drivers/media/i2c/ov13858.c fmt->format.width, fmt->format.height); format 1374 drivers/media/i2c/ov13858.c *framefmt = fmt->format; format 917 drivers/media/i2c/ov2640.c struct v4l2_subdev_format *format) format 919 drivers/media/i2c/ov2640.c struct v4l2_mbus_framefmt *mf = &format->format; format 923 drivers/media/i2c/ov2640.c if (format->pad) format 926 drivers/media/i2c/ov2640.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 929 drivers/media/i2c/ov2640.c format->format = *mf; format 950 drivers/media/i2c/ov2640.c struct v4l2_subdev_format *format) format 952 drivers/media/i2c/ov2640.c struct v4l2_mbus_framefmt *mf = &format->format; format 958 drivers/media/i2c/ov2640.c if (format->pad) format 987 drivers/media/i2c/ov2640.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { format 224 drivers/media/i2c/ov2659.c struct v4l2_mbus_framefmt format; format 967 drivers/media/i2c/ov2659.c static void ov2659_get_default_format(struct v4l2_mbus_framefmt *format) format 969 drivers/media/i2c/ov2659.c format->width = ov2659_framesizes[2].width; format 970 drivers/media/i2c/ov2659.c format->height = ov2659_framesizes[2].height; format 971 drivers/media/i2c/ov2659.c format->colorspace = V4L2_COLORSPACE_SRGB; format 972 drivers/media/i2c/ov2659.c format->code = ov2659_formats[0].code; format 973 drivers/media/i2c/ov2659.c format->field = V4L2_FIELD_NONE; format 1058 drivers/media/i2c/ov2659.c fmt->format = *mf; format 1067 drivers/media/i2c/ov2659.c fmt->format = ov2659->format; format 1071 drivers/media/i2c/ov2659.c ov2659->format.code, ov2659->format.width, format 1072 drivers/media/i2c/ov2659.c ov2659->format.height); format 1111 drivers/media/i2c/ov2659.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 1137 drivers/media/i2c/ov2659.c *mf = fmt->format; format 1148 drivers/media/i2c/ov2659.c ov2659->format = fmt->format; format 1152 drivers/media/i2c/ov2659.c if (ov2659->format.code != MEDIA_BUS_FMT_SBGGR8_1X8) format 1276 drivers/media/i2c/ov2659.c struct v4l2_mbus_framefmt *format = format 1281 drivers/media/i2c/ov2659.c ov2659_get_default_format(format); format 1465 drivers/media/i2c/ov2659.c ov2659_get_default_format(&ov2659->format); format 663 drivers/media/i2c/ov2680.c struct v4l2_subdev_format *format) format 669 drivers/media/i2c/ov2680.c if (format->pad != 0) format 674 drivers/media/i2c/ov2680.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 676 drivers/media/i2c/ov2680.c fmt = v4l2_subdev_get_try_format(&sensor->sd, cfg, format->pad); format 685 drivers/media/i2c/ov2680.c format->format = *fmt; format 694 drivers/media/i2c/ov2680.c struct v4l2_subdev_format *format) format 697 drivers/media/i2c/ov2680.c struct v4l2_mbus_framefmt *fmt = &format->format; format 704 drivers/media/i2c/ov2680.c if (format->pad != 0) format 722 drivers/media/i2c/ov2680.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 725 drivers/media/i2c/ov2680.c format->format = *try_fmt; format 736 drivers/media/i2c/ov2680.c sensor->fmt = format->format; format 751 drivers/media/i2c/ov2680.c .format = { format 335 drivers/media/i2c/ov2685.c struct v4l2_mbus_framefmt *mbus_fmt = &fmt->format; format 348 drivers/media/i2c/ov2685.c struct v4l2_mbus_framefmt *mbus_fmt = &fmt->format; format 1894 drivers/media/i2c/ov5640.c struct v4l2_mbus_framefmt *format); format 2146 drivers/media/i2c/ov5640.c struct v4l2_subdev_format *format) format 2151 drivers/media/i2c/ov5640.c if (format->pad != 0) format 2156 drivers/media/i2c/ov5640.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 2158 drivers/media/i2c/ov5640.c format->pad); format 2162 drivers/media/i2c/ov5640.c format->format = *fmt; format 2204 drivers/media/i2c/ov5640.c struct v4l2_subdev_format *format) format 2208 drivers/media/i2c/ov5640.c struct v4l2_mbus_framefmt *mbus_fmt = &format->format; format 2212 drivers/media/i2c/ov5640.c if (format->pad != 0) format 2227 drivers/media/i2c/ov5640.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 2247 drivers/media/i2c/ov5640.c struct v4l2_mbus_framefmt *format) format 2253 drivers/media/i2c/ov5640.c switch (format->code) { format 887 drivers/media/i2c/ov5645.c struct v4l2_subdev_format *format) format 891 drivers/media/i2c/ov5645.c format->format = *__ov5645_get_pad_format(ov5645, cfg, format->pad, format 892 drivers/media/i2c/ov5645.c format->which); format 912 drivers/media/i2c/ov5645.c struct v4l2_subdev_format *format) format 920 drivers/media/i2c/ov5645.c __crop = __ov5645_get_pad_crop(ov5645, cfg, format->pad, format 921 drivers/media/i2c/ov5645.c format->which); format 926 drivers/media/i2c/ov5645.c format->format.width, format->format.height); format 931 drivers/media/i2c/ov5645.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { format 945 drivers/media/i2c/ov5645.c __format = __ov5645_get_pad_format(ov5645, cfg, format->pad, format 946 drivers/media/i2c/ov5645.c format->which); format 953 drivers/media/i2c/ov5645.c format->format = *__format; format 964 drivers/media/i2c/ov5645.c fmt.format.width = 1920; format 965 drivers/media/i2c/ov5645.c fmt.format.height = 1080; format 84 drivers/media/i2c/ov5647.c struct v4l2_mbus_framefmt format; format 509 drivers/media/i2c/ov5647.c struct v4l2_mbus_framefmt *format = format 519 drivers/media/i2c/ov5647.c format->code = MEDIA_BUS_FMT_SBGGR8_1X8; format 521 drivers/media/i2c/ov5647.c format->width = OV5647_WINDOW_WIDTH_DEF; format 522 drivers/media/i2c/ov5647.c format->height = OV5647_WINDOW_HEIGHT_DEF; format 523 drivers/media/i2c/ov5647.c format->field = V4L2_FIELD_NONE; format 524 drivers/media/i2c/ov5647.c format->colorspace = V4L2_COLORSPACE_SRGB; format 2176 drivers/media/i2c/ov5670.c fmt->format.width = mode->width; format 2177 drivers/media/i2c/ov5670.c fmt->format.height = mode->height; format 2178 drivers/media/i2c/ov5670.c fmt->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 2179 drivers/media/i2c/ov5670.c fmt->format.field = V4L2_FIELD_NONE; format 2187 drivers/media/i2c/ov5670.c fmt->format = *v4l2_subdev_get_try_format(&ov5670->sd, cfg, format 2220 drivers/media/i2c/ov5670.c fmt->format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 2225 drivers/media/i2c/ov5670.c fmt->format.width, fmt->format.height); format 2228 drivers/media/i2c/ov5670.c *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = fmt->format; format 869 drivers/media/i2c/ov5675.c height, fmt->format.width, format 870 drivers/media/i2c/ov5675.c fmt->format.height); format 873 drivers/media/i2c/ov5675.c ov5675_update_pad_format(mode, &fmt->format); format 875 drivers/media/i2c/ov5675.c *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = fmt->format; format 908 drivers/media/i2c/ov5675.c fmt->format = *v4l2_subdev_get_try_format(&ov5675->sd, cfg, format 911 drivers/media/i2c/ov5675.c ov5675_update_pad_format(ov5675->cur_mode, &fmt->format); format 791 drivers/media/i2c/ov5695.c struct v4l2_mbus_framefmt *framefmt = &fmt->format; format 819 drivers/media/i2c/ov5695.c fmt->format.code = MEDIA_BUS_FMT_SBGGR10_1X10; format 820 drivers/media/i2c/ov5695.c fmt->format.width = mode->width; format 821 drivers/media/i2c/ov5695.c fmt->format.height = mode->height; format 822 drivers/media/i2c/ov5695.c fmt->format.field = V4L2_FIELD_NONE; format 825 drivers/media/i2c/ov5695.c *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = fmt->format; format 853 drivers/media/i2c/ov5695.c fmt->format = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); format 859 drivers/media/i2c/ov5695.c fmt->format.width = mode->width; format 860 drivers/media/i2c/ov5695.c fmt->format.height = mode->height; format 861 drivers/media/i2c/ov5695.c fmt->format.code = MEDIA_BUS_FMT_SBGGR10_1X10; format 862 drivers/media/i2c/ov5695.c fmt->format.field = V4L2_FIELD_NONE; format 518 drivers/media/i2c/ov6650.c struct v4l2_subdev_format *format) format 520 drivers/media/i2c/ov6650.c struct v4l2_mbus_framefmt *mf = &format->format; format 524 drivers/media/i2c/ov6650.c if (format->pad) format 531 drivers/media/i2c/ov6650.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 683 drivers/media/i2c/ov6650.c struct v4l2_subdev_format *format) format 685 drivers/media/i2c/ov6650.c struct v4l2_mbus_framefmt *mf = &format->format; format 689 drivers/media/i2c/ov6650.c if (format->pad) format 713 drivers/media/i2c/ov6650.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 969 drivers/media/i2c/ov7251.c struct v4l2_subdev_format *format) format 974 drivers/media/i2c/ov7251.c format->format = *__ov7251_get_pad_format(ov7251, cfg, format->pad, format 975 drivers/media/i2c/ov7251.c format->which); format 1031 drivers/media/i2c/ov7251.c struct v4l2_subdev_format *format) format 1041 drivers/media/i2c/ov7251.c __crop = __ov7251_get_pad_crop(ov7251, cfg, format->pad, format->which); format 1046 drivers/media/i2c/ov7251.c format->format.width, format->format.height); format 1051 drivers/media/i2c/ov7251.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { format 1080 drivers/media/i2c/ov7251.c __format = __ov7251_get_pad_format(ov7251, cfg, format->pad, format 1081 drivers/media/i2c/ov7251.c format->which); format 1092 drivers/media/i2c/ov7251.c format->format = *__format; format 1106 drivers/media/i2c/ov7251.c .format = { format 240 drivers/media/i2c/ov7670.c struct v4l2_mbus_framefmt format; format 1018 drivers/media/i2c/ov7670.c info->format = *fmt; format 1095 drivers/media/i2c/ov7670.c struct v4l2_subdev_format *format) format 1103 drivers/media/i2c/ov7670.c if (format->pad) format 1106 drivers/media/i2c/ov7670.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1107 drivers/media/i2c/ov7670.c ret = ov7670_try_fmt_internal(sd, &format->format, NULL, NULL); format 1111 drivers/media/i2c/ov7670.c mbus_fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 1112 drivers/media/i2c/ov7670.c *mbus_fmt = format->format; format 1117 drivers/media/i2c/ov7670.c ret = ov7670_try_fmt_internal(sd, &format->format, &info->fmt, &info->wsize); format 1134 drivers/media/i2c/ov7670.c struct v4l2_subdev_format *format) format 1141 drivers/media/i2c/ov7670.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1144 drivers/media/i2c/ov7670.c format->format = *mbus_fmt; format 1150 drivers/media/i2c/ov7670.c format->format = info->format; format 1696 drivers/media/i2c/ov7670.c struct v4l2_mbus_framefmt *format) format 1700 drivers/media/i2c/ov7670.c format->width = info->devtype->win_sizes[0].width; format 1701 drivers/media/i2c/ov7670.c format->height = info->devtype->win_sizes[0].height; format 1702 drivers/media/i2c/ov7670.c format->colorspace = info->fmt->colorspace; format 1703 drivers/media/i2c/ov7670.c format->code = info->fmt->mbus_code; format 1704 drivers/media/i2c/ov7670.c format->field = V4L2_FIELD_NONE; format 1710 drivers/media/i2c/ov7670.c struct v4l2_mbus_framefmt *format = format 1713 drivers/media/i2c/ov7670.c ov7670_get_default_format(sd, format); format 1919 drivers/media/i2c/ov7670.c ov7670_get_default_format(sd, &info->format); format 1162 drivers/media/i2c/ov772x.c struct v4l2_subdev_format *format) format 1164 drivers/media/i2c/ov772x.c struct v4l2_mbus_framefmt *mf = &format->format; format 1167 drivers/media/i2c/ov772x.c if (format->pad) format 1181 drivers/media/i2c/ov772x.c struct v4l2_subdev_format *format) format 1184 drivers/media/i2c/ov772x.c struct v4l2_mbus_framefmt *mf = &format->format; format 1189 drivers/media/i2c/ov772x.c if (format->pad) format 1203 drivers/media/i2c/ov772x.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 89 drivers/media/i2c/ov7740.c struct v4l2_mbus_framefmt format; format 800 drivers/media/i2c/ov7740.c ov7740->format = *fmt; format 807 drivers/media/i2c/ov7740.c struct v4l2_subdev_format *format) format 818 drivers/media/i2c/ov7740.c if (format->pad) { format 823 drivers/media/i2c/ov7740.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 824 drivers/media/i2c/ov7740.c ret = ov7740_try_fmt_internal(sd, &format->format, NULL, NULL); format 828 drivers/media/i2c/ov7740.c mbus_fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 829 drivers/media/i2c/ov7740.c *mbus_fmt = format->format; format 835 drivers/media/i2c/ov7740.c ret = ov7740_try_fmt_internal(sd, &format->format, &ovfmt, &fsize); format 852 drivers/media/i2c/ov7740.c struct v4l2_subdev_format *format) format 861 drivers/media/i2c/ov7740.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 864 drivers/media/i2c/ov7740.c format->format = *mbus_fmt; format 870 drivers/media/i2c/ov7740.c format->format = ov7740->format; format 892 drivers/media/i2c/ov7740.c struct v4l2_mbus_framefmt *format) format 896 drivers/media/i2c/ov7740.c format->width = ov7740->frmsize->width; format 897 drivers/media/i2c/ov7740.c format->height = ov7740->frmsize->height; format 898 drivers/media/i2c/ov7740.c format->colorspace = ov7740->fmt->colorspace; format 899 drivers/media/i2c/ov7740.c format->code = ov7740->fmt->mbus_code; format 900 drivers/media/i2c/ov7740.c format->field = V4L2_FIELD_NONE; format 907 drivers/media/i2c/ov7740.c struct v4l2_mbus_framefmt *format = format 911 drivers/media/i2c/ov7740.c ov7740_get_default_format(sd, format); format 1142 drivers/media/i2c/ov7740.c ov7740_get_default_format(sd, &ov7740->format); format 959 drivers/media/i2c/ov8856.c height, fmt->format.width, format 960 drivers/media/i2c/ov8856.c fmt->format.height); format 963 drivers/media/i2c/ov8856.c ov8856_update_pad_format(mode, &fmt->format); format 965 drivers/media/i2c/ov8856.c *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = fmt->format; format 998 drivers/media/i2c/ov8856.c fmt->format = *v4l2_subdev_get_try_format(&ov8856->sd, cfg, format 1001 drivers/media/i2c/ov8856.c ov8856_update_pad_format(ov8856->cur_mode, &fmt->format); format 523 drivers/media/i2c/ov9640.c struct v4l2_subdev_format *format) format 525 drivers/media/i2c/ov9640.c struct v4l2_mbus_framefmt *mf = &format->format; format 527 drivers/media/i2c/ov9640.c if (format->pad) format 547 drivers/media/i2c/ov9640.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 269 drivers/media/i2c/ov9650.c struct v4l2_mbus_framefmt format; format 1121 drivers/media/i2c/ov9650.c struct v4l2_mbus_framefmt *mbus_fmt = &ov965x->format; format 1178 drivers/media/i2c/ov9650.c fmt->format = *mf; format 1183 drivers/media/i2c/ov9650.c fmt->format = ov965x->format; format 1219 drivers/media/i2c/ov9650.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 1239 drivers/media/i2c/ov9650.c *mf = fmt->format; format 1246 drivers/media/i2c/ov9650.c ov965x->format = fmt->format; format 1561 drivers/media/i2c/ov9650.c ov965x_get_default_format(&ov965x->format); format 607 drivers/media/i2c/rj54n1cb0c.c struct v4l2_subdev_format *format) format 609 drivers/media/i2c/rj54n1cb0c.c struct v4l2_mbus_framefmt *mf = &format->format; format 613 drivers/media/i2c/rj54n1cb0c.c if (format->pad) format 977 drivers/media/i2c/rj54n1cb0c.c struct v4l2_subdev_format *format) format 979 drivers/media/i2c/rj54n1cb0c.c struct v4l2_mbus_framefmt *mf = &format->format; format 992 drivers/media/i2c/rj54n1cb0c.c if (format->pad) format 1011 drivers/media/i2c/rj54n1cb0c.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 829 drivers/media/i2c/s5c73m3/s5c73m3-core.c *fs = s5c73m3_find_frame_size(&fmt->format, RES_ISP); format 833 drivers/media/i2c/s5c73m3/s5c73m3-core.c *fs = s5c73m3_find_frame_size(&fmt->format, RES_JPEG); format 838 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fmt->format.code == S5C73M3_JPEG_FMT) format 853 drivers/media/i2c/s5c73m3/s5c73m3-core.c s5c73m3_fill_mbus_fmt(&fmt->format, *fs, code); format 864 drivers/media/i2c/s5c73m3/s5c73m3-core.c *fs = s5c73m3_find_frame_size(&fmt->format, RES_ISP); format 867 drivers/media/i2c/s5c73m3/s5c73m3-core.c *fs = s5c73m3_find_frame_size(&fmt->format, RES_JPEG); format 871 drivers/media/i2c/s5c73m3/s5c73m3-core.c s5c73m3_fill_mbus_fmt(&fmt->format, *fs, code); format 995 drivers/media/i2c/s5c73m3/s5c73m3-core.c fmt->format = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); format 1014 drivers/media/i2c/s5c73m3/s5c73m3-core.c s5c73m3_fill_mbus_fmt(&fmt->format, fs, code); format 1029 drivers/media/i2c/s5c73m3/s5c73m3-core.c fmt->format = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); format 1052 drivers/media/i2c/s5c73m3/s5c73m3-core.c s5c73m3_fill_mbus_fmt(&fmt->format, fs, code); format 1073 drivers/media/i2c/s5c73m3/s5c73m3-core.c *mf = fmt->format; format 1112 drivers/media/i2c/s5c73m3/s5c73m3-core.c *mf = fmt->format; format 1115 drivers/media/i2c/s5c73m3/s5c73m3-core.c mf->width = fmt->format.width; format 1116 drivers/media/i2c/s5c73m3/s5c73m3-core.c mf->height = fmt->format.height; format 1127 drivers/media/i2c/s5c73m3/s5c73m3-core.c state->mbus_code = fmt->format.code; format 547 drivers/media/i2c/s5k4ecgx.c fmt->format = *mf; format 552 drivers/media/i2c/s5k4ecgx.c mf = &fmt->format; format 587 drivers/media/i2c/s5k4ecgx.c pf = s5k4ecgx_try_fmt(sd, &fmt->format); format 588 drivers/media/i2c/s5k4ecgx.c s5k4ecgx_try_frame_size(&fmt->format, &fsize); format 589 drivers/media/i2c/s5k4ecgx.c fmt->format.colorspace = V4L2_COLORSPACE_JPEG; format 590 drivers/media/i2c/s5k4ecgx.c fmt->format.field = V4L2_FIELD_NONE; format 595 drivers/media/i2c/s5k4ecgx.c *mf = fmt->format; format 1287 drivers/media/i2c/s5k5baf.c fmt->format = *mf; format 1291 drivers/media/i2c/s5k5baf.c mf = &fmt->format; format 1311 drivers/media/i2c/s5k5baf.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 64 drivers/media/i2c/s5k6a3.c struct v4l2_mbus_framefmt format; format 132 drivers/media/i2c/s5k6a3.c return &sensor->format; format 142 drivers/media/i2c/s5k6a3.c s5k6a3_try_format(&fmt->format); format 147 drivers/media/i2c/s5k6a3.c *mf = fmt->format; format 163 drivers/media/i2c/s5k6a3.c fmt->format = *mf; format 176 drivers/media/i2c/s5k6a3.c struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); format 178 drivers/media/i2c/s5k6a3.c *format = s5k6a3_formats[0]; format 179 drivers/media/i2c/s5k6a3.c format->width = S5K6A3_DEFAULT_WIDTH; format 180 drivers/media/i2c/s5k6a3.c format->height = S5K6A3_DEFAULT_HEIGHT; format 329 drivers/media/i2c/s5k6a3.c sensor->format.code = s5k6a3_formats[0].code; format 330 drivers/media/i2c/s5k6a3.c sensor->format.width = S5K6A3_DEFAULT_WIDTH; format 331 drivers/media/i2c/s5k6a3.c sensor->format.height = S5K6A3_DEFAULT_HEIGHT; format 1101 drivers/media/i2c/s5k6aa.c fmt->format = *mf; format 1106 drivers/media/i2c/s5k6aa.c fmt->format = s5k6aa->preset->mbus_fmt; format 1122 drivers/media/i2c/s5k6aa.c s5k6aa_try_format(s5k6aa, &fmt->format); format 1142 drivers/media/i2c/s5k6aa.c *mf = fmt->format; format 1428 drivers/media/i2c/s5k6aa.c struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); format 1431 drivers/media/i2c/s5k6aa.c format->colorspace = s5k6aa_formats[0].colorspace; format 1432 drivers/media/i2c/s5k6aa.c format->code = s5k6aa_formats[0].code; format 1433 drivers/media/i2c/s5k6aa.c format->width = S5K6AA_OUT_WIDTH_DEF; format 1434 drivers/media/i2c/s5k6aa.c format->height = S5K6AA_OUT_HEIGHT_DEF; format 1435 drivers/media/i2c/s5k6aa.c format->field = V4L2_FIELD_NONE; format 547 drivers/media/i2c/saa6752hs.c struct v4l2_subdev_format *format) format 549 drivers/media/i2c/saa6752hs.c struct v4l2_mbus_framefmt *f = &format->format; format 552 drivers/media/i2c/saa6752hs.c if (format->pad) format 567 drivers/media/i2c/saa6752hs.c struct v4l2_subdev_format *format) format 569 drivers/media/i2c/saa6752hs.c struct v4l2_mbus_framefmt *f = &format->format; format 573 drivers/media/i2c/saa6752hs.c if (format->pad) format 597 drivers/media/i2c/saa6752hs.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1171 drivers/media/i2c/saa7115.c struct v4l2_subdev_format *format) format 1173 drivers/media/i2c/saa7115.c struct v4l2_mbus_framefmt *fmt = &format->format; format 1175 drivers/media/i2c/saa7115.c if (format->pad || fmt->code != MEDIA_BUS_FMT_FIXED) format 1179 drivers/media/i2c/saa7115.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 984 drivers/media/i2c/saa717x.c struct v4l2_subdev_format *format) format 986 drivers/media/i2c/saa717x.c struct v4l2_mbus_framefmt *fmt = &format->format; format 991 drivers/media/i2c/saa717x.c if (format->pad || fmt->code != MEDIA_BUS_FMT_FIXED) format 1003 drivers/media/i2c/saa717x.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 1630 drivers/media/i2c/smiapp/smiapp-core.c fmt->format = *v4l2_subdev_get_try_format(subdev, cfg, format 1640 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.code = __smiapp_get_mbus_code(subdev, fmt->pad); format 1641 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.width = r->width; format 1642 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.height = r->height; format 1643 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.field = V4L2_FIELD_NONE; format 1750 drivers/media/i2c/smiapp/smiapp-core.c u32 code = fmt->format.code; format 1767 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.code = csi_format->code; format 1816 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.code = __smiapp_get_mbus_code(subdev, fmt->pad); format 1817 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.width &= ~1; format 1818 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.height &= ~1; format 1819 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.field = V4L2_FIELD_NONE; format 1821 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.width = format 1822 drivers/media/i2c/smiapp/smiapp-core.c clamp(fmt->format.width, format 1825 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.height = format 1826 drivers/media/i2c/smiapp/smiapp-core.c clamp(fmt->format.height, format 1834 drivers/media/i2c/smiapp/smiapp-core.c crops[ssd->sink_pad]->width = fmt->format.width; format 1835 drivers/media/i2c/smiapp/smiapp-core.c crops[ssd->sink_pad]->height = fmt->format.height; format 484 drivers/media/i2c/sr030pc30.c struct v4l2_subdev_format *format) format 489 drivers/media/i2c/sr030pc30.c if (!format || format->pad) format 492 drivers/media/i2c/sr030pc30.c mf = &format->format; format 529 drivers/media/i2c/sr030pc30.c struct v4l2_subdev_format *format) format 535 drivers/media/i2c/sr030pc30.c if (!sd || !format) format 538 drivers/media/i2c/sr030pc30.c mf = &format->format; format 539 drivers/media/i2c/sr030pc30.c if (format->pad) format 543 drivers/media/i2c/sr030pc30.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 675 drivers/media/i2c/st-mipid02.c struct v4l2_subdev_format *format) format 677 drivers/media/i2c/st-mipid02.c struct v4l2_mbus_framefmt *mbus_fmt = &format->format; format 682 drivers/media/i2c/st-mipid02.c dev_dbg(&client->dev, "%s probe %d", __func__, format->pad); format 684 drivers/media/i2c/st-mipid02.c if (format->pad >= MIPID02_PAD_NB) format 687 drivers/media/i2c/st-mipid02.c if (format->pad == MIPID02_SINK_1) format 690 drivers/media/i2c/st-mipid02.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 691 drivers/media/i2c/st-mipid02.c fmt = v4l2_subdev_get_try_format(&bridge->sd, cfg, format->pad); format 699 drivers/media/i2c/st-mipid02.c if (format->pad == MIPID02_SOURCE) format 709 drivers/media/i2c/st-mipid02.c struct v4l2_subdev_format *format) format 714 drivers/media/i2c/st-mipid02.c format->format = bridge->fmt; format 716 drivers/media/i2c/st-mipid02.c format->format.code = serial_to_parallel_code(format->format.code); format 719 drivers/media/i2c/st-mipid02.c if (format->which != V4L2_SUBDEV_FORMAT_TRY) format 722 drivers/media/i2c/st-mipid02.c *v4l2_subdev_get_try_format(sd, cfg, format->pad) = format->format; format 727 drivers/media/i2c/st-mipid02.c struct v4l2_subdev_format *format) format 732 drivers/media/i2c/st-mipid02.c format->format.code = get_fmt_code(format->format.code); format 734 drivers/media/i2c/st-mipid02.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 735 drivers/media/i2c/st-mipid02.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 739 drivers/media/i2c/st-mipid02.c *fmt = format->format; format 744 drivers/media/i2c/st-mipid02.c struct v4l2_subdev_format *format) format 750 drivers/media/i2c/st-mipid02.c dev_dbg(&client->dev, "%s for %d", __func__, format->pad); format 752 drivers/media/i2c/st-mipid02.c if (format->pad >= MIPID02_PAD_NB) format 755 drivers/media/i2c/st-mipid02.c if (format->pad == MIPID02_SINK_1) format 765 drivers/media/i2c/st-mipid02.c if (format->pad == MIPID02_SOURCE) format 766 drivers/media/i2c/st-mipid02.c mipid02_set_fmt_source(sd, cfg, format); format 768 drivers/media/i2c/st-mipid02.c mipid02_set_fmt_sink(sd, cfg, format); format 1667 drivers/media/i2c/tc358743.c struct v4l2_subdev_format *format) format 1672 drivers/media/i2c/tc358743.c if (format->pad != 0) format 1675 drivers/media/i2c/tc358743.c format->format.code = state->mbus_fmt_code; format 1676 drivers/media/i2c/tc358743.c format->format.width = state->timings.bt.width; format 1677 drivers/media/i2c/tc358743.c format->format.height = state->timings.bt.height; format 1678 drivers/media/i2c/tc358743.c format->format.field = V4L2_FIELD_NONE; format 1683 drivers/media/i2c/tc358743.c format->format.colorspace = V4L2_COLORSPACE_SRGB; format 1687 drivers/media/i2c/tc358743.c format->format.colorspace = V4L2_COLORSPACE_SMPTE170M; format 1691 drivers/media/i2c/tc358743.c format->format.colorspace = V4L2_COLORSPACE_REC709; format 1694 drivers/media/i2c/tc358743.c format->format.colorspace = 0; format 1703 drivers/media/i2c/tc358743.c struct v4l2_subdev_format *format) format 1707 drivers/media/i2c/tc358743.c u32 code = format->format.code; /* is overwritten by get_fmt */ format 1708 drivers/media/i2c/tc358743.c int ret = tc358743_get_fmt(sd, cfg, format); format 1710 drivers/media/i2c/tc358743.c format->format.code = code; format 1723 drivers/media/i2c/tc358743.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 1726 drivers/media/i2c/tc358743.c state->mbus_fmt_code = format->format.code; format 1751 drivers/media/i2c/tda1997x.c struct v4l2_mbus_framefmt *format) format 1755 drivers/media/i2c/tda1997x.c memset(format, 0, sizeof(*format)); format 1757 drivers/media/i2c/tda1997x.c format->width = bt->width; format 1758 drivers/media/i2c/tda1997x.c format->height = bt->height; format 1759 drivers/media/i2c/tda1997x.c format->colorspace = state->colorimetry.colorspace; format 1760 drivers/media/i2c/tda1997x.c format->field = (bt->interlaced) ? format 1766 drivers/media/i2c/tda1997x.c struct v4l2_subdev_format *format) format 1771 drivers/media/i2c/tda1997x.c __func__, format->pad, format->which); format 1773 drivers/media/i2c/tda1997x.c tda1997x_fill_format(state, &format->format); format 1775 drivers/media/i2c/tda1997x.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1778 drivers/media/i2c/tda1997x.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 1779 drivers/media/i2c/tda1997x.c format->format.code = fmt->code; format 1781 drivers/media/i2c/tda1997x.c format->format.code = state->mbus_code; format 1788 drivers/media/i2c/tda1997x.c struct v4l2_subdev_format *format) format 1795 drivers/media/i2c/tda1997x.c __func__, format->pad, format->which, format->format.code); format 1798 drivers/media/i2c/tda1997x.c if (format->format.code == state->mbus_codes[i]) { format 1806 drivers/media/i2c/tda1997x.c tda1997x_fill_format(state, &format->format); format 1807 drivers/media/i2c/tda1997x.c format->format.code = code; format 1809 drivers/media/i2c/tda1997x.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 1812 drivers/media/i2c/tda1997x.c fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); format 1813 drivers/media/i2c/tda1997x.c *fmt = format->format; format 1815 drivers/media/i2c/tda1997x.c int ret = tda1997x_setup_format(state, format->format.code); format 119 drivers/media/i2c/tvp514x.c struct v4l2_mbus_framefmt format; format 890 drivers/media/i2c/tvp514x.c struct v4l2_subdev_format *format) format 893 drivers/media/i2c/tvp514x.c __u32 which = format->which; format 895 drivers/media/i2c/tvp514x.c if (format->pad) format 899 drivers/media/i2c/tvp514x.c format->format = decoder->format; format 903 drivers/media/i2c/tvp514x.c format->format.code = MEDIA_BUS_FMT_UYVY8_2X8; format 904 drivers/media/i2c/tvp514x.c format->format.width = tvp514x_std_list[decoder->current_std].width; format 905 drivers/media/i2c/tvp514x.c format->format.height = tvp514x_std_list[decoder->current_std].height; format 906 drivers/media/i2c/tvp514x.c format->format.colorspace = V4L2_COLORSPACE_SMPTE170M; format 907 drivers/media/i2c/tvp514x.c format->format.field = V4L2_FIELD_INTERLACED; format 926 drivers/media/i2c/tvp514x.c if (fmt->format.field != V4L2_FIELD_INTERLACED || format 927 drivers/media/i2c/tvp514x.c fmt->format.code != MEDIA_BUS_FMT_UYVY8_2X8 || format 928 drivers/media/i2c/tvp514x.c fmt->format.colorspace != V4L2_COLORSPACE_SMPTE170M || format 929 drivers/media/i2c/tvp514x.c fmt->format.width != tvp514x_std_list[decoder->current_std].width || format 930 drivers/media/i2c/tvp514x.c fmt->format.height != tvp514x_std_list[decoder->current_std].height) format 933 drivers/media/i2c/tvp514x.c decoder->format = fmt->format; format 991 drivers/media/i2c/tvp5150.c struct v4l2_subdev_format *format) format 996 drivers/media/i2c/tvp5150.c if (!format || (format->pad != TVP5150_PAD_VID_OUT)) format 999 drivers/media/i2c/tvp5150.c f = &format->format; format 824 drivers/media/i2c/tvp7002.c fmt->format.code = MEDIA_BUS_FMT_YUYV10_1X20; format 825 drivers/media/i2c/tvp7002.c fmt->format.width = tvp7002->current_timings->timings.bt.width; format 826 drivers/media/i2c/tvp7002.c fmt->format.height = tvp7002->current_timings->timings.bt.height; format 827 drivers/media/i2c/tvp7002.c fmt->format.field = tvp7002->current_timings->scanmode; format 828 drivers/media/i2c/tvp7002.c fmt->format.colorspace = tvp7002->current_timings->color_space; format 750 drivers/media/i2c/tw9910.c struct v4l2_subdev_format *format) format 752 drivers/media/i2c/tw9910.c struct v4l2_mbus_framefmt *mf = &format->format; format 756 drivers/media/i2c/tw9910.c if (format->pad) format 801 drivers/media/i2c/tw9910.c struct v4l2_subdev_format *format) format 803 drivers/media/i2c/tw9910.c struct v4l2_mbus_framefmt *mf = &format->format; format 808 drivers/media/i2c/tw9910.c if (format->pad) format 829 drivers/media/i2c/tw9910.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 93 drivers/media/i2c/video-i2c.c const struct v4l2_fmtdesc *format; format 362 drivers/media/i2c/video-i2c.c .format = &amg88xx_format, format 375 drivers/media/i2c/video-i2c.c .format = &mlx90640_format, format 615 drivers/media/i2c/video-i2c.c *fmt = *data->chip->format; format 631 drivers/media/i2c/video-i2c.c if (fsize->pixel_format != data->chip->format->pixelformat) format 669 drivers/media/i2c/video-i2c.c pix->pixelformat = data->chip->format->pixelformat; format 561 drivers/media/i2c/vs6624.c struct v4l2_subdev_format *format) format 563 drivers/media/i2c/vs6624.c struct v4l2_mbus_framefmt *fmt = &format->format; format 567 drivers/media/i2c/vs6624.c if (format->pad) format 589 drivers/media/i2c/vs6624.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 641 drivers/media/i2c/vs6624.c struct v4l2_subdev_format *format) format 645 drivers/media/i2c/vs6624.c if (format->pad) format 648 drivers/media/i2c/vs6624.c format->format = sensor->fmt; format 26 drivers/media/pci/bt8xx/dst_ca.c #define dprintk(x, y, z, format, arg...) do { \ format 29 drivers/media/pci/bt8xx/dst_ca.c printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \ format 31 drivers/media/pci/bt8xx/dst_ca.c printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \ format 33 drivers/media/pci/bt8xx/dst_ca.c printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \ format 35 drivers/media/pci/bt8xx/dst_ca.c printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \ format 38 drivers/media/pci/bt8xx/dst_ca.c printk(format, ## arg); \ format 125 drivers/media/pci/cobalt/cobalt-alsa-pcm.c is_s32 = runtime->format == SNDRV_PCM_FORMAT_S32_LE; format 373 drivers/media/pci/cobalt/cobalt-alsa-pcm.c is_s32 = runtime->format == SNDRV_PCM_FORMAT_S32_LE; format 496 drivers/media/pci/cobalt/cobalt-driver.c .format.code = MEDIA_BUS_FMT_YUYV8_1X16, format 578 drivers/media/pci/cobalt/cobalt-driver.c .format.code = MEDIA_BUS_FMT_YUYV8_1X16, format 161 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.colorspace = s->colorspace; format 162 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.xfer_func = s->xfer_func; format 163 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.ycbcr_enc = s->ycbcr_enc; format 164 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.quantization = s->quantization; format 165 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.width = bt->width; format 166 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.height = bt->height; format 171 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.code = MEDIA_BUS_FMT_UYVY8_1X16; format 174 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.code = MEDIA_BUS_FMT_RGB888_1X24; format 207 drivers/media/pci/cobalt/cobalt-v4l2.c .format.code = MEDIA_BUS_FMT_YUYV8_1X16, format 212 drivers/media/pci/cobalt/cobalt-v4l2.c .format.code = MEDIA_BUS_FMT_RGB888_1X24, format 724 drivers/media/pci/cobalt/cobalt-v4l2.c v4l2_fill_pix_format(pix, &sd_fmt.format); format 766 drivers/media/pci/cobalt/cobalt-v4l2.c v4l2_fill_pix_format(pix, &sd_fmt.format); format 941 drivers/media/pci/cobalt/cobalt-v4l2.c v4l2_fill_mbus_format(&sd_fmt.format, pix, code); format 934 drivers/media/pci/cx18/cx18-av-core.c struct v4l2_subdev_format *format) format 936 drivers/media/pci/cx18/cx18-av-core.c struct v4l2_mbus_framefmt *fmt = &format->format; format 942 drivers/media/pci/cx18/cx18-av-core.c if (format->pad || fmt->code != MEDIA_BUS_FMT_FIXED) format 977 drivers/media/pci/cx18/cx18-av-core.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 79 drivers/media/pci/cx18/cx18-controls.c struct v4l2_subdev_format format = { format 82 drivers/media/pci/cx18/cx18-controls.c struct v4l2_mbus_framefmt *fmt = &format.format; format 88 drivers/media/pci/cx18/cx18-controls.c v4l2_subdev_call(cx->sd_av, pad, set_fmt, NULL, &format); format 256 drivers/media/pci/cx18/cx18-ioctl.c struct v4l2_subdev_format format = { format 287 drivers/media/pci/cx18/cx18-ioctl.c format.format.width = cx->cxhdl.width = w; format 288 drivers/media/pci/cx18/cx18-ioctl.c format.format.height = cx->cxhdl.height = h; format 289 drivers/media/pci/cx18/cx18-ioctl.c format.format.code = MEDIA_BUS_FMT_FIXED; format 290 drivers/media/pci/cx18/cx18-ioctl.c v4l2_subdev_call(cx->sd_av, pad, set_fmt, NULL, &format); format 108 drivers/media/pci/cx23885/cx23885-video.c struct v4l2_subdev_format format = { format 110 drivers/media/pci/cx23885/cx23885-video.c .format.code = MEDIA_BUS_FMT_FIXED, format 134 drivers/media/pci/cx23885/cx23885-video.c format.format.width = dev->width; format 135 drivers/media/pci/cx23885/cx23885-video.c format.format.height = dev->height; format 136 drivers/media/pci/cx23885/cx23885-video.c format.format.field = dev->field; format 137 drivers/media/pci/cx23885/cx23885-video.c call_all(dev, pad, set_fmt, NULL, &format); format 597 drivers/media/pci/cx23885/cx23885-video.c struct v4l2_subdev_format format = { format 618 drivers/media/pci/cx23885/cx23885-video.c v4l2_fill_mbus_format(&format.format, &f->fmt.pix, MEDIA_BUS_FMT_FIXED); format 619 drivers/media/pci/cx23885/cx23885-video.c call_all(dev, pad, set_fmt, NULL, &format); format 620 drivers/media/pci/cx23885/cx23885-video.c v4l2_fill_pix_format(&f->fmt.pix, &format.format); format 759 drivers/media/pci/cx25821/cx25821-core.c u32 format) format 763 drivers/media/pci/cx25821/cx25821-core.c format); format 765 drivers/media/pci/cx25821/cx25821-core.c dev->channels[channel_select].pixel_formats = format; format 425 drivers/media/pci/cx25821/cx25821.h u32 format); format 816 drivers/media/pci/intel/ipu3/ipu3-cio2.c *num_planes = q->format.num_planes; format 819 drivers/media/pci/intel/ipu3/ipu3-cio2.c sizes[i] = q->format.plane_fmt[i].sizeimage; format 957 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.plane_fmt[j].sizeimage); format 1091 drivers/media/pci/intel/ipu3/ipu3-cio2.c f->fmt.pix_mp = q->format; format 1135 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format = f->fmt.pix_mp; format 1211 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct v4l2_mbus_framefmt *format; format 1224 drivers/media/pci/intel/ipu3/ipu3-cio2.c format = v4l2_subdev_get_try_format(sd, fh->pad, CIO2_PAD_SINK); format 1225 drivers/media/pci/intel/ipu3/ipu3-cio2.c *format = fmt_default; format 1228 drivers/media/pci/intel/ipu3/ipu3-cio2.c format = v4l2_subdev_get_try_format(sd, fh->pad, CIO2_PAD_SOURCE); format 1229 drivers/media/pci/intel/ipu3/ipu3-cio2.c *format = fmt_default; format 1246 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct v4l2_subdev_format format; format 1250 drivers/media/pci/intel/ipu3/ipu3-cio2.c fmt->format = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); format 1255 drivers/media/pci/intel/ipu3/ipu3-cio2.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 1257 drivers/media/pci/intel/ipu3/ipu3-cio2.c &format); format 1262 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->subdev_fmt.colorspace = format.format.colorspace; format 1263 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->subdev_fmt.ycbcr_enc = format.format.ycbcr_enc; format 1264 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->subdev_fmt.quantization = format.format.quantization; format 1265 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->subdev_fmt.xfer_func = format.format.xfer_func; format 1268 drivers/media/pci/intel/ipu3/ipu3-cio2.c fmt->format = q->subdev_fmt; format 1294 drivers/media/pci/intel/ipu3/ipu3-cio2.c *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = fmt->format; format 1297 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->subdev_fmt.width = fmt->format.width; format 1298 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->subdev_fmt.height = fmt->format.height; format 1299 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->subdev_fmt.code = fmt->format.code; format 1300 drivers/media/pci/intel/ipu3/ipu3-cio2.c fmt->format = q->subdev_fmt; format 1351 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (source_fmt.format.width != q->format.width || format 1352 drivers/media/pci/intel/ipu3/ipu3-cio2.c source_fmt.format.height != q->format.height) { format 1355 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.width, q->format.height, format 1356 drivers/media/pci/intel/ipu3/ipu3-cio2.c source_fmt.format.width, source_fmt.format.height); format 1360 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (!cio2_find_format(&q->format.pixelformat, &source_fmt.format.code)) format 1569 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.width = default_width; format 1570 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.height = default_height; format 1571 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.pixelformat = dflt_fmt.fourcc; format 1572 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.colorspace = V4L2_COLORSPACE_RAW; format 1573 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.field = V4L2_FIELD_NONE; format 1574 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.num_planes = 1; format 1575 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.plane_fmt[0].bytesperline = format 1576 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_bytesperline(q->format.width); format 1577 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.plane_fmt[0].sizeimage = q->format.plane_fmt[0].bytesperline * format 1578 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.height; format 342 drivers/media/pci/intel/ipu3/ipu3-cio2.h struct v4l2_pix_format_mplane format; format 55 drivers/media/pci/ivtv/ivtv-controls.c struct v4l2_subdev_format format = { format 60 drivers/media/pci/ivtv/ivtv-controls.c format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); format 61 drivers/media/pci/ivtv/ivtv-controls.c format.format.height = cxhdl->height; format 62 drivers/media/pci/ivtv/ivtv-controls.c format.format.code = MEDIA_BUS_FMT_FIXED; format 63 drivers/media/pci/ivtv/ivtv-controls.c v4l2_subdev_call(itv->sd_video, pad, set_fmt, NULL, &format); format 249 drivers/media/pci/ivtv/ivtv-ioctl.c dc->start.format = V4L2_DEC_START_FMT_GOP; format 251 drivers/media/pci/ivtv/ivtv-ioctl.c dc->start.format = V4L2_DEC_START_FMT_NONE; format 576 drivers/media/pci/ivtv/ivtv-ioctl.c struct v4l2_subdev_format format = { format 596 drivers/media/pci/ivtv/ivtv-ioctl.c format.format.width = fmt->fmt.pix.width; format 597 drivers/media/pci/ivtv/ivtv-ioctl.c format.format.height = h; format 598 drivers/media/pci/ivtv/ivtv-ioctl.c format.format.code = MEDIA_BUS_FMT_FIXED; format 599 drivers/media/pci/ivtv/ivtv-ioctl.c v4l2_subdev_call(itv->sd_video, pad, set_fmt, NULL, &format); format 27 drivers/media/pci/mantis/mantis_common.h #define dprintk(y, z, format, arg...) do { \ format 30 drivers/media/pci/mantis/mantis_common.h printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ format 32 drivers/media/pci/mantis/mantis_common.h printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ format 34 drivers/media/pci/mantis/mantis_common.h printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ format 36 drivers/media/pci/mantis/mantis_common.h printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ format 38 drivers/media/pci/mantis/mantis_common.h printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \ format 41 drivers/media/pci/mantis/mantis_common.h printk(format , ##arg); \ format 869 drivers/media/pci/ngene/ngene.h int format; format 509 drivers/media/pci/saa7134/saa7134-alsa.c if (snd_pcm_format_width(runtime->format) == 8) format 514 drivers/media/pci/saa7134/saa7134-alsa.c if (snd_pcm_format_signed(runtime->format)) format 519 drivers/media/pci/saa7134/saa7134-alsa.c if (snd_pcm_format_big_endian(runtime->format)) format 554 drivers/media/pci/saa7134/saa7134-alsa.c runtime->format, runtime->channels, fmt, format 105 drivers/media/pci/saa7134/saa7134-empress.c struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; format 121 drivers/media/pci/saa7134/saa7134-empress.c struct v4l2_subdev_format format = { format 125 drivers/media/pci/saa7134/saa7134-empress.c v4l2_fill_mbus_format(&format.format, &f->fmt.pix, MEDIA_BUS_FMT_FIXED); format 126 drivers/media/pci/saa7134/saa7134-empress.c saa_call_all(dev, pad, set_fmt, NULL, &format); format 127 drivers/media/pci/saa7134/saa7134-empress.c v4l2_fill_pix_format(&f->fmt.pix, &format.format); format 141 drivers/media/pci/saa7134/saa7134-empress.c struct v4l2_subdev_format format = { format 145 drivers/media/pci/saa7134/saa7134-empress.c v4l2_fill_mbus_format(&format.format, &f->fmt.pix, MEDIA_BUS_FMT_FIXED); format 146 drivers/media/pci/saa7134/saa7134-empress.c saa_call_all(dev, pad, set_fmt, &pad_cfg, &format); format 147 drivers/media/pci/saa7134/saa7134-empress.c v4l2_fill_pix_format(&f->fmt.pix, &format.format); format 122 drivers/media/pci/sta2x11/sta2x11_vip.c struct v4l2_pix_format format; format 217 drivers/media/pci/sta2x11/sta2x11_vip.c if (vip->format.field == V4L2_FIELD_INTERLACED) format 218 drivers/media/pci/sta2x11/sta2x11_vip.c offset = vip->format.width * 2; format 262 drivers/media/pci/sta2x11/sta2x11_vip.c sizes[0] = vip->format.sizeimage; format 288 drivers/media/pci/sta2x11/sta2x11_vip.c size = vip->format.sizeimage; format 444 drivers/media/pci/sta2x11/sta2x11_vip.c vip->format = formats_60[0]; format 446 drivers/media/pci/sta2x11/sta2x11_vip.c vip->format = formats_50[0]; format 657 drivers/media/pci/sta2x11/sta2x11_vip.c vip->format = f->fmt.pix; format 658 drivers/media/pci/sta2x11/sta2x11_vip.c switch (vip->format.field) { format 660 drivers/media/pci/sta2x11/sta2x11_vip.c t_stop = ((vip->format.height / 2 - 1) << 16) | format 661 drivers/media/pci/sta2x11/sta2x11_vip.c (2 * vip->format.width - 1); format 663 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 4 * vip->format.width; format 666 drivers/media/pci/sta2x11/sta2x11_vip.c t_stop = ((vip->format.height - 1) << 16) | format 667 drivers/media/pci/sta2x11/sta2x11_vip.c (2 * vip->format.width - 1); format 668 drivers/media/pci/sta2x11/sta2x11_vip.c b_stop = (0 << 16) | (2 * vip->format.width - 1); format 669 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 2 * vip->format.width; format 672 drivers/media/pci/sta2x11/sta2x11_vip.c t_stop = (0 << 16) | (2 * vip->format.width - 1); format 673 drivers/media/pci/sta2x11/sta2x11_vip.c b_stop = (vip->format.height << 16) | format 674 drivers/media/pci/sta2x11/sta2x11_vip.c (2 * vip->format.width - 1); format 675 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 2 * vip->format.width; format 713 drivers/media/pci/sta2x11/sta2x11_vip.c f->fmt.pix = vip->format; format 1020 drivers/media/pci/sta2x11/sta2x11_vip.c vip->format = formats_50[0]; format 1224 drivers/media/pci/ttpci/av7110_av.c video_displayformat_t format = (video_displayformat_t) arg; format 1225 drivers/media/pci/ttpci/av7110_av.c switch (format) { format 1240 drivers/media/pci/ttpci/av7110_av.c av7110->videostate.display_format = format; format 856 drivers/media/pci/ttpci/av7110_hw.c u16 format; format 865 drivers/media/pci/ttpci/av7110_hw.c format = bpp2bit[av7110->osdbpp[av7110->osdwin]]; format 868 drivers/media/pci/ttpci/av7110_hw.c if (format == OSD_BITMAP8) { format 870 drivers/media/pci/ttpci/av7110_hw.c } else if (format == OSD_BITMAP4) { format 872 drivers/media/pci/ttpci/av7110_hw.c } else if (format == OSD_BITMAP2) { format 874 drivers/media/pci/ttpci/av7110_hw.c } else if (format == OSD_BITMAP1) { format 892 drivers/media/pci/ttpci/av7110_hw.c if (format != OSD_BITMAP8) { format 904 drivers/media/pci/ttpci/av7110_hw.c ret = av7110_fw_cmd(av7110, COMTYPE_OSD, LoadBmp, 3, format, dx, dy); format 122 drivers/media/pci/tw68/tw68-video.c .format = VideoFormatPALBDGHI, format 134 drivers/media/pci/tw68/tw68-video.c .format = VideoFormatNTSC, format 146 drivers/media/pci/tw68/tw68-video.c .format = VideoFormatSECAM, format 158 drivers/media/pci/tw68/tw68-video.c .format = VideoFormatPALM, format 170 drivers/media/pci/tw68/tw68-video.c .format = VideoFormatPALNC, format 190 drivers/media/pci/tw68/tw68-video.c .format = VideoFormatPAL60, format 904 drivers/media/pci/tw68/tw68-video.c tw_andorb(TW68_SDT, 0x07, dev->tvnorm->format); format 84 drivers/media/pci/tw68/tw68.h u32 format; format 112 drivers/media/pci/tw686x/tw686x-video.c len = (vc->width * vc->height * vc->format->depth) >> 3; format 237 drivers/media/pci/tw686x/tw686x-video.c buf_len = (vc->width * vc->height * vc->format->depth) >> 3; format 428 drivers/media/pci/tw686x/tw686x-video.c (vc->width * vc->height * vc->format->depth) >> 3; format 568 drivers/media/pci/tw686x/tw686x-video.c (vc->width * vc->height * vc->format->depth) >> 3; format 632 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.pixelformat = vc->format->fourcc; format 634 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.bytesperline = (f->fmt.pix.width * vc->format->depth) / 8; format 645 drivers/media/pci/tw686x/tw686x-video.c const struct tw686x_format *format; format 647 drivers/media/pci/tw686x/tw686x-video.c format = format_by_fourcc(f->fmt.pix.pixelformat); format 648 drivers/media/pci/tw686x/tw686x-video.c if (!format) { format 649 drivers/media/pci/tw686x/tw686x-video.c format = &formats[0]; format 650 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.pixelformat = format->fourcc; format 663 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.bytesperline = (f->fmt.pix.width * format->depth) / 8; format 679 drivers/media/pci/tw686x/tw686x-video.c vc->format = format_by_fourcc(pixelformat); format 724 drivers/media/pci/tw686x/tw686x-video.c val |= vc->format->mode << 20; format 89 drivers/media/pci/tw686x/tw686x.h const struct tw686x_format *format; format 182 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_format *format, unsigned int *bpp); format 1408 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_format *format, unsigned int *bpp) format 1427 drivers/media/platform/am437x/am437x-vpfe.c v4l2_fill_pix_format(&format->fmt.pix, &fmt.format); format 1428 drivers/media/platform/am437x/am437x-vpfe.c mbus_to_pix(vpfe, &fmt.format, &format->fmt.pix, bpp); format 1436 drivers/media/platform/am437x/am437x-vpfe.c v4l2_fill_pix_format(&format->fmt.pix, &mbus_fmt); format 1437 drivers/media/platform/am437x/am437x-vpfe.c mbus_to_pix(vpfe, &mbus_fmt, &format->fmt.pix, bpp); format 1440 drivers/media/platform/am437x/am437x-vpfe.c format->type = vpfe->fmt.type; format 1444 drivers/media/platform/am437x/am437x-vpfe.c __func__, format->fmt.pix.width, format->fmt.pix.height, format 1445 drivers/media/platform/am437x/am437x-vpfe.c print_fourcc(format->fmt.pix.pixelformat), format 1446 drivers/media/platform/am437x/am437x-vpfe.c format->fmt.pix.bytesperline, format->fmt.pix.sizeimage, *bpp); format 1453 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_format *format, unsigned int *bpp) format 1468 drivers/media/platform/am437x/am437x-vpfe.c pix_to_mbus(vpfe, &format->fmt.pix, &fmt.format); format 1474 drivers/media/platform/am437x/am437x-vpfe.c v4l2_fill_pix_format(&format->fmt.pix, &fmt.format); format 1475 drivers/media/platform/am437x/am437x-vpfe.c mbus_to_pix(vpfe, &fmt.format, &format->fmt.pix, bpp); format 1477 drivers/media/platform/am437x/am437x-vpfe.c format->type = vpfe->fmt.type; format 1481 drivers/media/platform/am437x/am437x-vpfe.c __func__, format->fmt.pix.width, format->fmt.pix.height, format 1482 drivers/media/platform/am437x/am437x-vpfe.c print_fourcc(format->fmt.pix.pixelformat), format 1483 drivers/media/platform/am437x/am437x-vpfe.c format->fmt.pix.bytesperline, format->fmt.pix.sizeimage, *bpp); format 1550 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_format format; format 1562 drivers/media/platform/am437x/am437x-vpfe.c ret = __vpfe_get_format(vpfe, &format, &bpp); format 1567 drivers/media/platform/am437x/am437x-vpfe.c if (!cmp_v4l2_format(fmt, &format)) { format 1575 drivers/media/platform/am437x/am437x-vpfe.c *fmt = format; format 1197 drivers/media/platform/atmel/atmel-isc-base.c struct v4l2_subdev_format format = { format 1293 drivers/media/platform/atmel/atmel-isc-base.c v4l2_fill_mbus_format(&format.format, pixfmt, mbus_code); format 1295 drivers/media/platform/atmel/atmel-isc-base.c &pad_cfg, &format); format 1299 drivers/media/platform/atmel/atmel-isc-base.c v4l2_fill_pix_format(pixfmt, &format.format); format 1320 drivers/media/platform/atmel/atmel-isc-base.c struct v4l2_subdev_format format = { format 1330 drivers/media/platform/atmel/atmel-isc-base.c v4l2_fill_mbus_format(&format.format, &f->fmt.pix, mbus_code); format 1332 drivers/media/platform/atmel/atmel-isc-base.c set_fmt, NULL, &format); format 563 drivers/media/platform/atmel/atmel-isi.c struct v4l2_subdev_format format = { format 578 drivers/media/platform/atmel/atmel-isi.c v4l2_fill_mbus_format(&format.format, pixfmt, isi_fmt->mbus_code); format 580 drivers/media/platform/atmel/atmel-isi.c &pad_cfg, &format); format 584 drivers/media/platform/atmel/atmel-isi.c v4l2_fill_pix_format(pixfmt, &format.format); format 598 drivers/media/platform/atmel/atmel-isi.c struct v4l2_subdev_format format = { format 608 drivers/media/platform/atmel/atmel-isi.c v4l2_fill_mbus_format(&format.format, &f->fmt.pix, format 611 drivers/media/platform/atmel/atmel-isi.c set_fmt, NULL, &format); format 188 drivers/media/platform/cadence/cdns-csi2tx.c const struct v4l2_mbus_framefmt *format; format 194 drivers/media/platform/cadence/cdns-csi2tx.c format = __csi2tx_get_pad_format(subdev, cfg, fmt); format 195 drivers/media/platform/cadence/cdns-csi2tx.c if (!format) format 198 drivers/media/platform/cadence/cdns-csi2tx.c fmt->format = *format; format 207 drivers/media/platform/cadence/cdns-csi2tx.c const struct v4l2_mbus_framefmt *src_format = &fmt->format; format 214 drivers/media/platform/cadence/cdns-csi2tx.c if (!csi2tx_get_fmt_from_mbus(fmt->format.code)) format 301 drivers/media/platform/davinci/vpfe_capture.c struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; format 998 drivers/media/platform/davinci/vpif_capture.c struct v4l2_subdev_format format = { format 1001 drivers/media/platform/davinci/vpif_capture.c struct v4l2_mbus_framefmt *mbus_fmt = &format.format; format 1012 drivers/media/platform/davinci/vpif_capture.c ret = v4l2_subdev_call(ch->sd, pad, get_fmt, NULL, &format); format 777 drivers/media/platform/exynos4-is/fimc-capture.c struct v4l2_mbus_framefmt *mf = &sfmt.format; format 788 drivers/media/platform/exynos4-is/fimc-capture.c sfmt.format = *tfmt; format 1140 drivers/media/platform/exynos4-is/fimc-capture.c sink_fmt.format.width = ff->f_width; format 1141 drivers/media/platform/exynos4-is/fimc-capture.c sink_fmt.format.height = ff->f_height; format 1142 drivers/media/platform/exynos4-is/fimc-capture.c sink_fmt.format.code = ff->fmt ? ff->fmt->mbus_code : 0; format 1159 drivers/media/platform/exynos4-is/fimc-capture.c if (src_fmt.format.width != sink_fmt.format.width || format 1160 drivers/media/platform/exynos4-is/fimc-capture.c src_fmt.format.height != sink_fmt.format.height || format 1161 drivers/media/platform/exynos4-is/fimc-capture.c src_fmt.format.code != sink_fmt.format.code) format 1165 drivers/media/platform/exynos4-is/fimc-capture.c fimc_user_defined_mbus_fmt(src_fmt.format.code)) { format 1500 drivers/media/platform/exynos4-is/fimc-capture.c fmt->format = *mf; format 1504 drivers/media/platform/exynos4-is/fimc-capture.c mf = &fmt->format; format 1535 drivers/media/platform/exynos4-is/fimc-capture.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 1555 drivers/media/platform/exynos4-is/fimc-capture.c *mf = fmt->format; format 697 drivers/media/platform/exynos4-is/fimc-is-param.c isp->otf_input.format = OTF_INPUT_FORMAT_STRGEN_COLORBAR_BAYER; format 699 drivers/media/platform/exynos4-is/fimc-is-param.c isp->otf_input.format = OTF_INPUT_FORMAT_BAYER; format 709 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma1_input.format = 0; format 721 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma2_input.format = 0; format 775 drivers/media/platform/exynos4-is/fimc-is-param.c isp->otf_output.format = OTF_OUTPUT_FORMAT_YUV444; format 784 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma1_output.format = 0; format 800 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma2_output.format = 0; format 828 drivers/media/platform/exynos4-is/fimc-is-param.c drc->otf_input.format = OTF_INPUT_FORMAT_YUV444; format 836 drivers/media/platform/exynos4-is/fimc-is-param.c drc->dma_input.format = 0; format 851 drivers/media/platform/exynos4-is/fimc-is-param.c drc->otf_output.format = OTF_OUTPUT_FORMAT_YUV444; format 867 drivers/media/platform/exynos4-is/fimc-is-param.c fd->otf_input.format = OTF_INPUT_FORMAT_YUV444; format 875 drivers/media/platform/exynos4-is/fimc-is-param.c fd->dma_input.format = 0; format 463 drivers/media/platform/exynos4-is/fimc-is-param.h u32 format; format 480 drivers/media/platform/exynos4-is/fimc-is-param.h u32 format; format 494 drivers/media/platform/exynos4-is/fimc-is-param.h u32 format; format 505 drivers/media/platform/exynos4-is/fimc-is-param.h u32 format; format 44 drivers/media/platform/exynos4-is/fimc-isp-video.c const struct fimc_fmt *fmt = isp->video_capture.format; format 99 drivers/media/platform/exynos4-is/fimc-isp-video.c video->buf_count, video->format->memplanes, format 157 drivers/media/platform/exynos4-is/fimc-isp-video.c if (video->format == NULL) format 160 drivers/media/platform/exynos4-is/fimc-isp-video.c for (i = 0; i < video->format->memplanes; i++) { format 201 drivers/media/platform/exynos4-is/fimc-isp-video.c unsigned int num_planes = video->format->memplanes; format 427 drivers/media/platform/exynos4-is/fimc-isp-video.c dma->format = DMA_OUTPUT_FORMAT_BAYER; format 436 drivers/media/platform/exynos4-is/fimc-isp-video.c isp->video_capture.format = ifmt; format 476 drivers/media/platform/exynos4-is/fimc-isp-video.c if (src_fmt.format.width != sink_fmt.format.width || format 477 drivers/media/platform/exynos4-is/fimc-isp-video.c src_fmt.format.height != sink_fmt.format.height || format 478 drivers/media/platform/exynos4-is/fimc-isp-video.c src_fmt.format.code != sink_fmt.format.code) format 581 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->format = fimc_isp_find_format(NULL, NULL, 0); format 584 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.pixelformat = iv->format->fourcc; format 126 drivers/media/platform/exynos4-is/fimc-isp.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 162 drivers/media/platform/exynos4-is/fimc-isp.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 163 drivers/media/platform/exynos4-is/fimc-isp.c struct v4l2_mbus_framefmt *format; format 175 drivers/media/platform/exynos4-is/fimc-isp.c format = v4l2_subdev_get_try_format(&isp->subdev, cfg, format 178 drivers/media/platform/exynos4-is/fimc-isp.c format = &isp->sink_fmt; format 181 drivers/media/platform/exynos4-is/fimc-isp.c mf->width = format->width - FIMC_ISP_CAC_MARGIN_WIDTH; format 182 drivers/media/platform/exynos4-is/fimc-isp.c mf->height = format->height - FIMC_ISP_CAC_MARGIN_HEIGHT; format 188 drivers/media/platform/exynos4-is/fimc-isp.c mf->code = format->code; format 199 drivers/media/platform/exynos4-is/fimc-isp.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 210 drivers/media/platform/exynos4-is/fimc-isp.c *mf = fmt->format; format 214 drivers/media/platform/exynos4-is/fimc-isp.c struct v4l2_subdev_format format = *fmt; format 219 drivers/media/platform/exynos4-is/fimc-isp.c format.pad = pad; format 220 drivers/media/platform/exynos4-is/fimc-isp.c __isp_subdev_try_format(isp, cfg, &format); format 222 drivers/media/platform/exynos4-is/fimc-isp.c *mf = format.format; format 228 drivers/media/platform/exynos4-is/fimc-isp.c struct v4l2_subdev_format format = *fmt; format 232 drivers/media/platform/exynos4-is/fimc-isp.c format.pad = FIMC_ISP_SD_PAD_SRC_DMA; format 233 drivers/media/platform/exynos4-is/fimc-isp.c __isp_subdev_try_format(isp, cfg, &format); format 235 drivers/media/platform/exynos4-is/fimc-isp.c isp->src_fmt = format.format; format 363 drivers/media/platform/exynos4-is/fimc-isp.c struct v4l2_mbus_framefmt *format; format 372 drivers/media/platform/exynos4-is/fimc-isp.c format = v4l2_subdev_get_try_format(sd, fh->pad, FIMC_ISP_SD_PAD_SINK); format 373 drivers/media/platform/exynos4-is/fimc-isp.c *format = fmt; format 375 drivers/media/platform/exynos4-is/fimc-isp.c format = v4l2_subdev_get_try_format(sd, fh->pad, FIMC_ISP_SD_PAD_SRC_FIFO); format 378 drivers/media/platform/exynos4-is/fimc-isp.c *format = fmt; format 380 drivers/media/platform/exynos4-is/fimc-isp.c format = v4l2_subdev_get_try_format(sd, fh->pad, FIMC_ISP_SD_PAD_SRC_DMA); format 381 drivers/media/platform/exynos4-is/fimc-isp.c *format = fmt; format 137 drivers/media/platform/exynos4-is/fimc-isp.h const struct fimc_fmt *format; format 552 drivers/media/platform/exynos4-is/fimc-lite.c struct v4l2_subdev_format *format) format 555 drivers/media/platform/exynos4-is/fimc-lite.c struct v4l2_mbus_framefmt *mf = &format->format; format 558 drivers/media/platform/exynos4-is/fimc-lite.c if (format->pad == FLITE_SD_PAD_SINK) { format 574 drivers/media/platform/exynos4-is/fimc-lite.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 780 drivers/media/platform/exynos4-is/fimc-lite.c sink_fmt.format.width = ff->f_width; format 781 drivers/media/platform/exynos4-is/fimc-lite.c sink_fmt.format.height = ff->f_height; format 782 drivers/media/platform/exynos4-is/fimc-lite.c sink_fmt.format.code = fimc->inp_frame.fmt->mbus_code; format 803 drivers/media/platform/exynos4-is/fimc-lite.c if (src_fmt.format.width != sink_fmt.format.width || format 804 drivers/media/platform/exynos4-is/fimc-lite.c src_fmt.format.height != sink_fmt.format.height || format 805 drivers/media/platform/exynos4-is/fimc-lite.c src_fmt.format.code != sink_fmt.format.code) format 1043 drivers/media/platform/exynos4-is/fimc-lite.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 1048 drivers/media/platform/exynos4-is/fimc-lite.c fmt->format = *mf; format 1074 drivers/media/platform/exynos4-is/fimc-lite.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 1098 drivers/media/platform/exynos4-is/fimc-lite.c *mf = fmt->format; format 221 drivers/media/platform/exynos4-is/mipi-csis.c struct v4l2_mbus_framefmt format; format 331 drivers/media/platform/exynos4-is/mipi-csis.c struct v4l2_mbus_framefmt *mf = &state->format; format 574 drivers/media/platform/exynos4-is/mipi-csis.c return &state->format; format 589 drivers/media/platform/exynos4-is/mipi-csis.c fmt->format = *mf; format 594 drivers/media/platform/exynos4-is/mipi-csis.c csis_fmt = s5pcsis_try_format(&fmt->format); format 597 drivers/media/platform/exynos4-is/mipi-csis.c *mf = fmt->format; format 616 drivers/media/platform/exynos4-is/mipi-csis.c fmt->format = *mf; format 847 drivers/media/platform/exynos4-is/mipi-csis.c state->format.code = s5pcsis_formats[0].code; format 848 drivers/media/platform/exynos4-is/mipi-csis.c state->format.width = S5PCSIS_DEF_PIX_WIDTH; format 849 drivers/media/platform/exynos4-is/mipi-csis.c state->format.height = S5PCSIS_DEF_PIX_HEIGHT; format 1030 drivers/media/platform/marvell-ccic/mcam-core.c struct v4l2_subdev_format format = { format 1035 drivers/media/platform/marvell-ccic/mcam-core.c v4l2_fill_mbus_format(&format.format, &cam->pix_format, cam->mbus_code); format 1038 drivers/media/platform/marvell-ccic/mcam-core.c ret = sensor_call(cam, pad, set_fmt, NULL, &format); format 1372 drivers/media/platform/marvell-ccic/mcam-core.c struct v4l2_subdev_format format = { format 1379 drivers/media/platform/marvell-ccic/mcam-core.c v4l2_fill_mbus_format(&format.format, pix, f->mbus_code); format 1380 drivers/media/platform/marvell-ccic/mcam-core.c ret = sensor_call(cam, pad, set_fmt, &pad_cfg, &format); format 1381 drivers/media/platform/marvell-ccic/mcam-core.c v4l2_fill_pix_format(pix, &format.format); format 92 drivers/media/platform/mtk-mdp/mtk_mdp_ipi.h int32_t format; format 96 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->format = mtk_mdp_map_color_format(frame->fmt->pixelformat); format 127 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->format = mtk_mdp_map_color_format(frame->fmt->pixelformat); format 135 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt *format; format 161 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, NULL, CCDC_PAD_SINK, format 163 drivers/media/platform/omap3isp/ispccdc.c input_width = format->width; format 164 drivers/media/platform/omap3isp/ispccdc.c input_height = format->height; format 262 drivers/media/platform/omap3isp/ispccdc.c const struct v4l2_mbus_framefmt *format = format 266 drivers/media/platform/omap3isp/ispccdc.c if ((format->code != MEDIA_BUS_FMT_SGRBG10_1X10) && format 267 drivers/media/platform/omap3isp/ispccdc.c (format->code != MEDIA_BUS_FMT_SRGGB10_1X10) && format 268 drivers/media/platform/omap3isp/ispccdc.c (format->code != MEDIA_BUS_FMT_SBGGR10_1X10) && format 269 drivers/media/platform/omap3isp/ispccdc.c (format->code != MEDIA_BUS_FMT_SGBRG10_1X10)) format 808 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt *format; format 814 drivers/media/platform/omap3isp/ispccdc.c format = &ccdc->formats[CCDC_PAD_SOURCE_VP]; format 816 drivers/media/platform/omap3isp/ispccdc.c if (!format->code) { format 825 drivers/media/platform/omap3isp/ispccdc.c (format->width << ISPCCDC_FMT_HORZ_FMTLNH_SHIFT), format 828 drivers/media/platform/omap3isp/ispccdc.c ((format->height + 1) << ISPCCDC_FMT_VERT_FMTLNV_SHIFT), format 831 drivers/media/platform/omap3isp/ispccdc.c isp_reg_writel(isp, (format->width << ISPCCDC_VP_OUT_HORZ_NUM_SHIFT) | format 832 drivers/media/platform/omap3isp/ispccdc.c (format->height << ISPCCDC_VP_OUT_VERT_NUM_SHIFT), format 967 drivers/media/platform/omap3isp/ispccdc.c const struct v4l2_mbus_framefmt *format; format 970 drivers/media/platform/omap3isp/ispccdc.c format = &ccdc->formats[CCDC_PAD_SINK]; format 972 drivers/media/platform/omap3isp/ispccdc.c if (format->code == MEDIA_BUS_FMT_YUYV8_2X8 || format 973 drivers/media/platform/omap3isp/ispccdc.c format->code == MEDIA_BUS_FMT_UYVY8_2X8) { format 1021 drivers/media/platform/omap3isp/ispccdc.c if (format->code == MEDIA_BUS_FMT_UYVY8_2X8) format 1118 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt *format; format 1147 drivers/media/platform/omap3isp/ispccdc.c format = &ccdc->formats[CCDC_PAD_SINK]; format 1155 drivers/media/platform/omap3isp/ispccdc.c fmt_info = omap3isp_video_format_info(fmt_src.format.code); format 1159 drivers/media/platform/omap3isp/ispccdc.c fmt_info = omap3isp_video_format_info(format->code); format 1195 drivers/media/platform/omap3isp/ispccdc.c switch (format->code) { format 1218 drivers/media/platform/omap3isp/ispccdc.c isp_reg_writel(isp, ((format->height - 2) << ISPCCDC_VDINT_0_SHIFT) | format 1219 drivers/media/platform/omap3isp/ispccdc.c ((format->height * 2 / 3) << ISPCCDC_VDINT_1_SHIFT), format 1223 drivers/media/platform/omap3isp/ispccdc.c format = &ccdc->formats[CCDC_PAD_SOURCE_OF]; format 1250 drivers/media/platform/omap3isp/ispccdc.c format->field); format 1257 drivers/media/platform/omap3isp/ispccdc.c (format->field == V4L2_FIELD_INTERLACED_TB || format 1258 drivers/media/platform/omap3isp/ispccdc.c format->field == V4L2_FIELD_INTERLACED_BT)) format 1264 drivers/media/platform/omap3isp/ispccdc.c if (format->code == MEDIA_BUS_FMT_YUYV8_1X16) format 1275 drivers/media/platform/omap3isp/ispccdc.c if (omap3isp_video_format_info(format->code)->width <= 8 || ccdc->bt656) format 2118 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt *format; format 2129 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, code->pad, format 2132 drivers/media/platform/omap3isp/ispccdc.c if (format->code == MEDIA_BUS_FMT_YUYV8_2X8 || format 2133 drivers/media/platform/omap3isp/ispccdc.c format->code == MEDIA_BUS_FMT_UYVY8_2X8) { format 2146 drivers/media/platform/omap3isp/ispccdc.c code->code = format->code; format 2160 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, code->pad, format 2166 drivers/media/platform/omap3isp/ispccdc.c if (format->code == 0) format 2169 drivers/media/platform/omap3isp/ispccdc.c code->code = format->code; format 2184 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt format; format 2189 drivers/media/platform/omap3isp/ispccdc.c format.code = fse->code; format 2190 drivers/media/platform/omap3isp/ispccdc.c format.width = 1; format 2191 drivers/media/platform/omap3isp/ispccdc.c format.height = 1; format 2192 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which); format 2193 drivers/media/platform/omap3isp/ispccdc.c fse->min_width = format.width; format 2194 drivers/media/platform/omap3isp/ispccdc.c fse->min_height = format.height; format 2196 drivers/media/platform/omap3isp/ispccdc.c if (format.code != fse->code) format 2199 drivers/media/platform/omap3isp/ispccdc.c format.code = fse->code; format 2200 drivers/media/platform/omap3isp/ispccdc.c format.width = -1; format 2201 drivers/media/platform/omap3isp/ispccdc.c format.height = -1; format 2202 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which); format 2203 drivers/media/platform/omap3isp/ispccdc.c fse->max_width = format.width; format 2204 drivers/media/platform/omap3isp/ispccdc.c fse->max_height = format.height; format 2224 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt *format; format 2236 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, CCDC_PAD_SINK, sel->which); format 2237 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_crop(ccdc, format, &sel->r); format 2266 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt *format; format 2285 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, CCDC_PAD_SINK, sel->which); format 2286 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_crop(ccdc, format, &sel->r); format 2290 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, CCDC_PAD_SOURCE_OF, sel->which); format 2291 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_format(ccdc, cfg, CCDC_PAD_SOURCE_OF, format, sel->which); format 2309 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt *format; format 2311 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, fmt->pad, fmt->which); format 2312 drivers/media/platform/omap3isp/ispccdc.c if (format == NULL) format 2315 drivers/media/platform/omap3isp/ispccdc.c fmt->format = *format; format 2332 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_mbus_framefmt *format; format 2335 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, fmt->pad, fmt->which); format 2336 drivers/media/platform/omap3isp/ispccdc.c if (format == NULL) format 2339 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_format(ccdc, cfg, fmt->pad, &fmt->format, fmt->which); format 2340 drivers/media/platform/omap3isp/ispccdc.c *format = fmt->format; format 2348 drivers/media/platform/omap3isp/ispccdc.c crop->width = fmt->format.width; format 2349 drivers/media/platform/omap3isp/ispccdc.c crop->height = fmt->format.height; format 2351 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_crop(ccdc, &fmt->format, crop); format 2354 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, CCDC_PAD_SOURCE_OF, format 2356 drivers/media/platform/omap3isp/ispccdc.c *format = fmt->format; format 2357 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_format(ccdc, cfg, CCDC_PAD_SOURCE_OF, format, format 2360 drivers/media/platform/omap3isp/ispccdc.c format = __ccdc_get_format(ccdc, cfg, CCDC_PAD_SOURCE_VP, format 2362 drivers/media/platform/omap3isp/ispccdc.c *format = fmt->format; format 2363 drivers/media/platform/omap3isp/ispccdc.c ccdc_try_format(ccdc, cfg, CCDC_PAD_SOURCE_VP, format, format 2408 drivers/media/platform/omap3isp/ispccdc.c if (source_fmt->format.width != sink_fmt->format.width || format 2409 drivers/media/platform/omap3isp/ispccdc.c source_fmt->format.height != sink_fmt->format.height) format 2424 drivers/media/platform/omap3isp/ispccdc.c if (!ccdc_is_shiftable(source_fmt->format.code, format 2425 drivers/media/platform/omap3isp/ispccdc.c sink_fmt->format.code, parallel_shift)) format 2442 drivers/media/platform/omap3isp/ispccdc.c struct v4l2_subdev_format format; format 2444 drivers/media/platform/omap3isp/ispccdc.c memset(&format, 0, sizeof(format)); format 2445 drivers/media/platform/omap3isp/ispccdc.c format.pad = CCDC_PAD_SINK; format 2446 drivers/media/platform/omap3isp/ispccdc.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 2447 drivers/media/platform/omap3isp/ispccdc.c format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 2448 drivers/media/platform/omap3isp/ispccdc.c format.format.width = 4096; format 2449 drivers/media/platform/omap3isp/ispccdc.c format.format.height = 4096; format 2450 drivers/media/platform/omap3isp/ispccdc.c ccdc_set_format(sd, fh ? fh->pad : NULL, &format); format 289 drivers/media/platform/omap3isp/ispccp2.c u32 val, format; format 291 drivers/media/platform/omap3isp/ispccp2.c switch (config->format) { format 293 drivers/media/platform/omap3isp/ispccp2.c format = ISPCCP2_LCx_CTRL_FORMAT_RAW8_DPCM10_VP; format 297 drivers/media/platform/omap3isp/ispccp2.c format = ISPCCP2_LCx_CTRL_FORMAT_RAW10_VP; /* RAW10+VP */ format 311 drivers/media/platform/omap3isp/ispccp2.c ISPCCP2_LCx_CTRL_FORMAT_MASK_15_0, format); format 318 drivers/media/platform/omap3isp/ispccp2.c ISPCCP2_LCx_CTRL_FORMAT_MASK, format); format 352 drivers/media/platform/omap3isp/ispccp2.c struct v4l2_mbus_framefmt *format; format 372 drivers/media/platform/omap3isp/ispccp2.c format = &ccp2->formats[CCP2_PAD_SINK]; format 376 drivers/media/platform/omap3isp/ispccp2.c ccp2->if_cfg.format = format->code; format 377 drivers/media/platform/omap3isp/ispccp2.c ccp2->if_cfg.data_size = format->height; format 643 drivers/media/platform/omap3isp/ispccp2.c struct v4l2_mbus_framefmt *format; format 673 drivers/media/platform/omap3isp/ispccp2.c format = __ccp2_get_format(ccp2, cfg, CCP2_PAD_SINK, which); format 674 drivers/media/platform/omap3isp/ispccp2.c memcpy(fmt, format, sizeof(*fmt)); format 695 drivers/media/platform/omap3isp/ispccp2.c struct v4l2_mbus_framefmt *format; format 706 drivers/media/platform/omap3isp/ispccp2.c format = __ccp2_get_format(ccp2, cfg, CCP2_PAD_SINK, format 708 drivers/media/platform/omap3isp/ispccp2.c code->code = format->code; format 719 drivers/media/platform/omap3isp/ispccp2.c struct v4l2_mbus_framefmt format; format 724 drivers/media/platform/omap3isp/ispccp2.c format.code = fse->code; format 725 drivers/media/platform/omap3isp/ispccp2.c format.width = 1; format 726 drivers/media/platform/omap3isp/ispccp2.c format.height = 1; format 727 drivers/media/platform/omap3isp/ispccp2.c ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); format 728 drivers/media/platform/omap3isp/ispccp2.c fse->min_width = format.width; format 729 drivers/media/platform/omap3isp/ispccp2.c fse->min_height = format.height; format 731 drivers/media/platform/omap3isp/ispccp2.c if (format.code != fse->code) format 734 drivers/media/platform/omap3isp/ispccp2.c format.code = fse->code; format 735 drivers/media/platform/omap3isp/ispccp2.c format.width = -1; format 736 drivers/media/platform/omap3isp/ispccp2.c format.height = -1; format 737 drivers/media/platform/omap3isp/ispccp2.c ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); format 738 drivers/media/platform/omap3isp/ispccp2.c fse->max_width = format.width; format 739 drivers/media/platform/omap3isp/ispccp2.c fse->max_height = format.height; format 755 drivers/media/platform/omap3isp/ispccp2.c struct v4l2_mbus_framefmt *format; format 757 drivers/media/platform/omap3isp/ispccp2.c format = __ccp2_get_format(ccp2, cfg, fmt->pad, fmt->which); format 758 drivers/media/platform/omap3isp/ispccp2.c if (format == NULL) format 761 drivers/media/platform/omap3isp/ispccp2.c fmt->format = *format; format 776 drivers/media/platform/omap3isp/ispccp2.c struct v4l2_mbus_framefmt *format; format 778 drivers/media/platform/omap3isp/ispccp2.c format = __ccp2_get_format(ccp2, cfg, fmt->pad, fmt->which); format 779 drivers/media/platform/omap3isp/ispccp2.c if (format == NULL) format 782 drivers/media/platform/omap3isp/ispccp2.c ccp2_try_format(ccp2, cfg, fmt->pad, &fmt->format, fmt->which); format 783 drivers/media/platform/omap3isp/ispccp2.c *format = fmt->format; format 787 drivers/media/platform/omap3isp/ispccp2.c format = __ccp2_get_format(ccp2, cfg, CCP2_PAD_SOURCE, format 789 drivers/media/platform/omap3isp/ispccp2.c *format = fmt->format; format 790 drivers/media/platform/omap3isp/ispccp2.c ccp2_try_format(ccp2, cfg, CCP2_PAD_SOURCE, format, fmt->which); format 807 drivers/media/platform/omap3isp/ispccp2.c struct v4l2_subdev_format format; format 809 drivers/media/platform/omap3isp/ispccp2.c memset(&format, 0, sizeof(format)); format 810 drivers/media/platform/omap3isp/ispccp2.c format.pad = CCP2_PAD_SINK; format 811 drivers/media/platform/omap3isp/ispccp2.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 812 drivers/media/platform/omap3isp/ispccp2.c format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 813 drivers/media/platform/omap3isp/ispccp2.c format.format.width = 4096; format 814 drivers/media/platform/omap3isp/ispccp2.c format.format.height = 4096; format 815 drivers/media/platform/omap3isp/ispccp2.c ccp2_set_format(sd, fh ? fh->pad : NULL, &format); format 861 drivers/media/platform/omap3isp/ispccp2.c struct v4l2_mbus_framefmt *format; format 863 drivers/media/platform/omap3isp/ispccp2.c format = &ccp2->formats[CCP2_PAD_SINK]; format 865 drivers/media/platform/omap3isp/ispccp2.c ccp2->mem_cfg.hsize_count = format->width; format 866 drivers/media/platform/omap3isp/ispccp2.c ccp2->mem_cfg.vsize_count = format->height; format 47 drivers/media/platform/omap3isp/ispccp2.h u32 format; format 845 drivers/media/platform/omap3isp/ispcsi2.c struct v4l2_mbus_framefmt *format; format 870 drivers/media/platform/omap3isp/ispcsi2.c format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, which); format 871 drivers/media/platform/omap3isp/ispcsi2.c memcpy(fmt, format, sizeof(*fmt)); format 900 drivers/media/platform/omap3isp/ispcsi2.c struct v4l2_mbus_framefmt *format; format 909 drivers/media/platform/omap3isp/ispcsi2.c format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, format 914 drivers/media/platform/omap3isp/ispcsi2.c code->code = format->code; format 918 drivers/media/platform/omap3isp/ispcsi2.c info = omap3isp_video_format_info(format->code); format 919 drivers/media/platform/omap3isp/ispcsi2.c if (info->uncompressed == format->code) format 937 drivers/media/platform/omap3isp/ispcsi2.c struct v4l2_mbus_framefmt format; format 942 drivers/media/platform/omap3isp/ispcsi2.c format.code = fse->code; format 943 drivers/media/platform/omap3isp/ispcsi2.c format.width = 1; format 944 drivers/media/platform/omap3isp/ispcsi2.c format.height = 1; format 945 drivers/media/platform/omap3isp/ispcsi2.c csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); format 946 drivers/media/platform/omap3isp/ispcsi2.c fse->min_width = format.width; format 947 drivers/media/platform/omap3isp/ispcsi2.c fse->min_height = format.height; format 949 drivers/media/platform/omap3isp/ispcsi2.c if (format.code != fse->code) format 952 drivers/media/platform/omap3isp/ispcsi2.c format.code = fse->code; format 953 drivers/media/platform/omap3isp/ispcsi2.c format.width = -1; format 954 drivers/media/platform/omap3isp/ispcsi2.c format.height = -1; format 955 drivers/media/platform/omap3isp/ispcsi2.c csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); format 956 drivers/media/platform/omap3isp/ispcsi2.c fse->max_width = format.width; format 957 drivers/media/platform/omap3isp/ispcsi2.c fse->max_height = format.height; format 973 drivers/media/platform/omap3isp/ispcsi2.c struct v4l2_mbus_framefmt *format; format 975 drivers/media/platform/omap3isp/ispcsi2.c format = __csi2_get_format(csi2, cfg, fmt->pad, fmt->which); format 976 drivers/media/platform/omap3isp/ispcsi2.c if (format == NULL) format 979 drivers/media/platform/omap3isp/ispcsi2.c fmt->format = *format; format 994 drivers/media/platform/omap3isp/ispcsi2.c struct v4l2_mbus_framefmt *format; format 996 drivers/media/platform/omap3isp/ispcsi2.c format = __csi2_get_format(csi2, cfg, fmt->pad, fmt->which); format 997 drivers/media/platform/omap3isp/ispcsi2.c if (format == NULL) format 1000 drivers/media/platform/omap3isp/ispcsi2.c csi2_try_format(csi2, cfg, fmt->pad, &fmt->format, fmt->which); format 1001 drivers/media/platform/omap3isp/ispcsi2.c *format = fmt->format; format 1005 drivers/media/platform/omap3isp/ispcsi2.c format = __csi2_get_format(csi2, cfg, CSI2_PAD_SOURCE, format 1007 drivers/media/platform/omap3isp/ispcsi2.c *format = fmt->format; format 1008 drivers/media/platform/omap3isp/ispcsi2.c csi2_try_format(csi2, cfg, CSI2_PAD_SOURCE, format, fmt->which); format 1025 drivers/media/platform/omap3isp/ispcsi2.c struct v4l2_subdev_format format; format 1027 drivers/media/platform/omap3isp/ispcsi2.c memset(&format, 0, sizeof(format)); format 1028 drivers/media/platform/omap3isp/ispcsi2.c format.pad = CSI2_PAD_SINK; format 1029 drivers/media/platform/omap3isp/ispcsi2.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 1030 drivers/media/platform/omap3isp/ispcsi2.c format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 1031 drivers/media/platform/omap3isp/ispcsi2.c format.format.width = 4096; format 1032 drivers/media/platform/omap3isp/ispcsi2.c format.format.height = 4096; format 1033 drivers/media/platform/omap3isp/ispcsi2.c csi2_set_format(sd, fh ? fh->pad : NULL, &format); format 1064 drivers/media/platform/omap3isp/isppreview.c const struct v4l2_mbus_framefmt *format = &prev->formats[PREV_PAD_SINK]; format 1072 drivers/media/platform/omap3isp/isppreview.c if (format->code != MEDIA_BUS_FMT_Y8_1X8 && format 1073 drivers/media/platform/omap3isp/isppreview.c format->code != MEDIA_BUS_FMT_Y10_1X10) { format 1315 drivers/media/platform/omap3isp/isppreview.c params->cfa.format = OMAP3ISP_CFAFMT_BAYER; format 1382 drivers/media/platform/omap3isp/isppreview.c struct v4l2_mbus_framefmt *format; format 1394 drivers/media/platform/omap3isp/isppreview.c format = &prev->formats[PREV_PAD_SINK]; format 1395 drivers/media/platform/omap3isp/isppreview.c info = omap3isp_video_format_info(format->code); format 1405 drivers/media/platform/omap3isp/isppreview.c preview_config_inlineoffset(prev, ALIGN(format->width, 0x20) * format 1411 drivers/media/platform/omap3isp/isppreview.c format = &prev->formats[PREV_PAD_SOURCE]; format 1429 drivers/media/platform/omap3isp/isppreview.c ALIGN(format->width, 0x10) * 2); format 1432 drivers/media/platform/omap3isp/isppreview.c preview_config_ycpos(prev, format->code); format 1893 drivers/media/platform/omap3isp/isppreview.c struct v4l2_mbus_framefmt format; format 1898 drivers/media/platform/omap3isp/isppreview.c format.code = fse->code; format 1899 drivers/media/platform/omap3isp/isppreview.c format.width = 1; format 1900 drivers/media/platform/omap3isp/isppreview.c format.height = 1; format 1901 drivers/media/platform/omap3isp/isppreview.c preview_try_format(prev, cfg, fse->pad, &format, fse->which); format 1902 drivers/media/platform/omap3isp/isppreview.c fse->min_width = format.width; format 1903 drivers/media/platform/omap3isp/isppreview.c fse->min_height = format.height; format 1905 drivers/media/platform/omap3isp/isppreview.c if (format.code != fse->code) format 1908 drivers/media/platform/omap3isp/isppreview.c format.code = fse->code; format 1909 drivers/media/platform/omap3isp/isppreview.c format.width = -1; format 1910 drivers/media/platform/omap3isp/isppreview.c format.height = -1; format 1911 drivers/media/platform/omap3isp/isppreview.c preview_try_format(prev, cfg, fse->pad, &format, fse->which); format 1912 drivers/media/platform/omap3isp/isppreview.c fse->max_width = format.width; format 1913 drivers/media/platform/omap3isp/isppreview.c fse->max_height = format.height; format 1933 drivers/media/platform/omap3isp/isppreview.c struct v4l2_mbus_framefmt *format; format 1945 drivers/media/platform/omap3isp/isppreview.c format = __preview_get_format(prev, cfg, PREV_PAD_SINK, format 1947 drivers/media/platform/omap3isp/isppreview.c preview_try_crop(prev, format, &sel->r); format 1976 drivers/media/platform/omap3isp/isppreview.c struct v4l2_mbus_framefmt *format; format 1995 drivers/media/platform/omap3isp/isppreview.c format = __preview_get_format(prev, cfg, PREV_PAD_SINK, sel->which); format 1996 drivers/media/platform/omap3isp/isppreview.c preview_try_crop(prev, format, &sel->r); format 2000 drivers/media/platform/omap3isp/isppreview.c format = __preview_get_format(prev, cfg, PREV_PAD_SOURCE, sel->which); format 2001 drivers/media/platform/omap3isp/isppreview.c preview_try_format(prev, cfg, PREV_PAD_SOURCE, format, sel->which); format 2017 drivers/media/platform/omap3isp/isppreview.c struct v4l2_mbus_framefmt *format; format 2019 drivers/media/platform/omap3isp/isppreview.c format = __preview_get_format(prev, cfg, fmt->pad, fmt->which); format 2020 drivers/media/platform/omap3isp/isppreview.c if (format == NULL) format 2023 drivers/media/platform/omap3isp/isppreview.c fmt->format = *format; format 2038 drivers/media/platform/omap3isp/isppreview.c struct v4l2_mbus_framefmt *format; format 2041 drivers/media/platform/omap3isp/isppreview.c format = __preview_get_format(prev, cfg, fmt->pad, fmt->which); format 2042 drivers/media/platform/omap3isp/isppreview.c if (format == NULL) format 2045 drivers/media/platform/omap3isp/isppreview.c preview_try_format(prev, cfg, fmt->pad, &fmt->format, fmt->which); format 2046 drivers/media/platform/omap3isp/isppreview.c *format = fmt->format; format 2054 drivers/media/platform/omap3isp/isppreview.c crop->width = fmt->format.width; format 2055 drivers/media/platform/omap3isp/isppreview.c crop->height = fmt->format.height; format 2057 drivers/media/platform/omap3isp/isppreview.c preview_try_crop(prev, &fmt->format, crop); format 2060 drivers/media/platform/omap3isp/isppreview.c format = __preview_get_format(prev, cfg, PREV_PAD_SOURCE, format 2062 drivers/media/platform/omap3isp/isppreview.c preview_try_format(prev, cfg, PREV_PAD_SOURCE, format, format 2081 drivers/media/platform/omap3isp/isppreview.c struct v4l2_subdev_format format; format 2083 drivers/media/platform/omap3isp/isppreview.c memset(&format, 0, sizeof(format)); format 2084 drivers/media/platform/omap3isp/isppreview.c format.pad = PREV_PAD_SINK; format 2085 drivers/media/platform/omap3isp/isppreview.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 2086 drivers/media/platform/omap3isp/isppreview.c format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 2087 drivers/media/platform/omap3isp/isppreview.c format.format.width = 4096; format 2088 drivers/media/platform/omap3isp/isppreview.c format.format.height = 4096; format 2089 drivers/media/platform/omap3isp/isppreview.c preview_set_format(sd, fh ? fh->pad : NULL, &format); format 1378 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_mbus_framefmt *format; format 1395 drivers/media/platform/omap3isp/ispresizer.c format = __resizer_get_format(res, cfg, RESZ_PAD_SINK, which); format 1396 drivers/media/platform/omap3isp/ispresizer.c fmt->code = format->code; format 1419 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_mbus_framefmt *format; format 1430 drivers/media/platform/omap3isp/ispresizer.c format = __resizer_get_format(res, cfg, RESZ_PAD_SINK, format 1432 drivers/media/platform/omap3isp/ispresizer.c code->code = format->code; format 1443 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_mbus_framefmt format; format 1448 drivers/media/platform/omap3isp/ispresizer.c format.code = fse->code; format 1449 drivers/media/platform/omap3isp/ispresizer.c format.width = 1; format 1450 drivers/media/platform/omap3isp/ispresizer.c format.height = 1; format 1451 drivers/media/platform/omap3isp/ispresizer.c resizer_try_format(res, cfg, fse->pad, &format, fse->which); format 1452 drivers/media/platform/omap3isp/ispresizer.c fse->min_width = format.width; format 1453 drivers/media/platform/omap3isp/ispresizer.c fse->min_height = format.height; format 1455 drivers/media/platform/omap3isp/ispresizer.c if (format.code != fse->code) format 1458 drivers/media/platform/omap3isp/ispresizer.c format.code = fse->code; format 1459 drivers/media/platform/omap3isp/ispresizer.c format.width = -1; format 1460 drivers/media/platform/omap3isp/ispresizer.c format.height = -1; format 1461 drivers/media/platform/omap3isp/ispresizer.c resizer_try_format(res, cfg, fse->pad, &format, fse->which); format 1462 drivers/media/platform/omap3isp/ispresizer.c fse->max_width = format.width; format 1463 drivers/media/platform/omap3isp/ispresizer.c fse->max_height = format.height; format 1479 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_mbus_framefmt *format; format 1481 drivers/media/platform/omap3isp/ispresizer.c format = __resizer_get_format(res, cfg, fmt->pad, fmt->which); format 1482 drivers/media/platform/omap3isp/ispresizer.c if (format == NULL) format 1485 drivers/media/platform/omap3isp/ispresizer.c fmt->format = *format; format 1500 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_mbus_framefmt *format; format 1503 drivers/media/platform/omap3isp/ispresizer.c format = __resizer_get_format(res, cfg, fmt->pad, fmt->which); format 1504 drivers/media/platform/omap3isp/ispresizer.c if (format == NULL) format 1507 drivers/media/platform/omap3isp/ispresizer.c resizer_try_format(res, cfg, fmt->pad, &fmt->format, fmt->which); format 1508 drivers/media/platform/omap3isp/ispresizer.c *format = fmt->format; format 1515 drivers/media/platform/omap3isp/ispresizer.c crop->width = fmt->format.width; format 1516 drivers/media/platform/omap3isp/ispresizer.c crop->height = fmt->format.height; format 1519 drivers/media/platform/omap3isp/ispresizer.c format = __resizer_get_format(res, cfg, RESZ_PAD_SOURCE, format 1521 drivers/media/platform/omap3isp/ispresizer.c *format = fmt->format; format 1522 drivers/media/platform/omap3isp/ispresizer.c resizer_try_format(res, cfg, RESZ_PAD_SOURCE, format, format 1532 drivers/media/platform/omap3isp/ispresizer.c resizer_calc_ratios(res, &res->crop.active, format, format 1565 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_subdev_format format; format 1567 drivers/media/platform/omap3isp/ispresizer.c memset(&format, 0, sizeof(format)); format 1568 drivers/media/platform/omap3isp/ispresizer.c format.pad = RESZ_PAD_SINK; format 1569 drivers/media/platform/omap3isp/ispresizer.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 1570 drivers/media/platform/omap3isp/ispresizer.c format.format.code = MEDIA_BUS_FMT_YUYV8_1X16; format 1571 drivers/media/platform/omap3isp/ispresizer.c format.format.width = 4096; format 1572 drivers/media/platform/omap3isp/ispresizer.c format.format.height = 4096; format 1573 drivers/media/platform/omap3isp/ispresizer.c resizer_set_format(sd, fh ? fh->pad : NULL, &format); format 278 drivers/media/platform/omap3isp/ispvideo.c __isp_video_get_format(struct isp_video *video, struct v4l2_format *format) format 299 drivers/media/platform/omap3isp/ispvideo.c format->type = video->type; format 300 drivers/media/platform/omap3isp/ispvideo.c return isp_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix); format 306 drivers/media/platform/omap3isp/ispvideo.c struct v4l2_format format; format 309 drivers/media/platform/omap3isp/ispvideo.c memcpy(&format, &vfh->format, sizeof(format)); format 310 drivers/media/platform/omap3isp/ispvideo.c ret = __isp_video_get_format(video, &format); format 314 drivers/media/platform/omap3isp/ispvideo.c if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || format 315 drivers/media/platform/omap3isp/ispvideo.c vfh->format.fmt.pix.height != format.fmt.pix.height || format 316 drivers/media/platform/omap3isp/ispvideo.c vfh->format.fmt.pix.width != format.fmt.pix.width || format 317 drivers/media/platform/omap3isp/ispvideo.c vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || format 318 drivers/media/platform/omap3isp/ispvideo.c vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || format 319 drivers/media/platform/omap3isp/ispvideo.c vfh->format.fmt.pix.field != format.fmt.pix.field) format 338 drivers/media/platform/omap3isp/ispvideo.c sizes[0] = vfh->format.fmt.pix.sizeimage; format 372 drivers/media/platform/omap3isp/ispvideo.c vfh->format.fmt.pix.sizeimage); format 666 drivers/media/platform/omap3isp/ispvideo.c isp_video_get_format(struct file *file, void *fh, struct v4l2_format *format) format 671 drivers/media/platform/omap3isp/ispvideo.c if (format->type != video->type) format 675 drivers/media/platform/omap3isp/ispvideo.c *format = vfh->format; format 682 drivers/media/platform/omap3isp/ispvideo.c isp_video_set_format(struct file *file, void *fh, struct v4l2_format *format) format 688 drivers/media/platform/omap3isp/ispvideo.c if (format->type != video->type) format 692 drivers/media/platform/omap3isp/ispvideo.c switch (format->fmt.pix.field) { format 699 drivers/media/platform/omap3isp/ispvideo.c format->fmt.pix.field = V4L2_FIELD_NONE; format 706 drivers/media/platform/omap3isp/ispvideo.c format->fmt.pix.field = V4L2_FIELD_INTERLACED_TB; format 712 drivers/media/platform/omap3isp/ispvideo.c format->fmt.pix.field = V4L2_FIELD_NONE; format 722 drivers/media/platform/omap3isp/ispvideo.c format->fmt.pix.field = V4L2_FIELD_NONE; format 729 drivers/media/platform/omap3isp/ispvideo.c isp_video_pix_to_mbus(&format->fmt.pix, &fmt); format 730 drivers/media/platform/omap3isp/ispvideo.c isp_video_mbus_to_pix(video, &fmt, &format->fmt.pix); format 733 drivers/media/platform/omap3isp/ispvideo.c vfh->format = *format; format 740 drivers/media/platform/omap3isp/ispvideo.c isp_video_try_format(struct file *file, void *fh, struct v4l2_format *format) format 748 drivers/media/platform/omap3isp/ispvideo.c if (format->type != video->type) format 755 drivers/media/platform/omap3isp/ispvideo.c isp_video_pix_to_mbus(&format->fmt.pix, &fmt.format); format 763 drivers/media/platform/omap3isp/ispvideo.c isp_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix); format 771 drivers/media/platform/omap3isp/ispvideo.c struct v4l2_subdev_format format; format 810 drivers/media/platform/omap3isp/ispvideo.c format.pad = pad; format 811 drivers/media/platform/omap3isp/ispvideo.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 812 drivers/media/platform/omap3isp/ispvideo.c ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &format); format 818 drivers/media/platform/omap3isp/ispvideo.c sel->r.width = format.format.width; format 819 drivers/media/platform/omap3isp/ispvideo.c sel->r.height = format.format.height; format 1014 drivers/media/platform/omap3isp/ispvideo.c omap3isp_video_format_info(fmt.format.code)->width; format 1120 drivers/media/platform/omap3isp/ispvideo.c video->bpl_value = vfh->format.fmt.pix.bytesperline; format 1152 drivers/media/platform/omap3isp/ispvideo.c pipe->field = vfh->format.fmt.pix.field; format 1336 drivers/media/platform/omap3isp/ispvideo.c memset(&handle->format, 0, sizeof(handle->format)); format 1337 drivers/media/platform/omap3isp/ispvideo.c handle->format.type = video->type; format 186 drivers/media/platform/omap3isp/ispvideo.h struct v4l2_format format; format 1846 drivers/media/platform/pxa_camera.c const struct pxa_mbus_pixelfmt *format; format 1853 drivers/media/platform/pxa_camera.c format = pcdev->user_formats[f->index].host_fmt; format 1854 drivers/media/platform/pxa_camera.c f->pixelformat = format->fourcc; format 1883 drivers/media/platform/pxa_camera.c struct v4l2_subdev_format format = { format 1886 drivers/media/platform/pxa_camera.c struct v4l2_mbus_framefmt *mf = &format.format; format 1907 drivers/media/platform/pxa_camera.c ret = sensor_call(pcdev, pad, set_fmt, &pad_cfg, &format); format 1946 drivers/media/platform/pxa_camera.c struct v4l2_subdev_format format = { format 1969 drivers/media/platform/pxa_camera.c v4l2_fill_mbus_format(&format.format, pix, xlate->code); format 1970 drivers/media/platform/pxa_camera.c ret = sensor_call(pcdev, pad, set_fmt, NULL, &format); format 2141 drivers/media/platform/pxa_camera.c struct v4l2_subdev_format format = { format 2144 drivers/media/platform/pxa_camera.c struct v4l2_mbus_framefmt *mf = &format.format; format 2182 drivers/media/platform/pxa_camera.c err = sensor_call(pcdev, pad, set_fmt, NULL, &format); format 648 drivers/media/platform/qcom/camss/camss-csid.c const struct csid_format *format = csid_get_fmt_entry( format 651 drivers/media/platform/qcom/camss/camss-csid.c f->width * format->bpp * format->spp / 8; format 667 drivers/media/platform/qcom/camss/camss-csid.c dt = format->data_type; format 679 drivers/media/platform/qcom/camss/camss-csid.c df = format->decode_format; format 683 drivers/media/platform/qcom/camss/camss-csid.c const struct csid_format *format = csid_get_fmt_entry( format 699 drivers/media/platform/qcom/camss/camss-csid.c dt = format->data_type; format 700 drivers/media/platform/qcom/camss/camss-csid.c df = format->decode_format; format 894 drivers/media/platform/qcom/camss/camss-csid.c struct v4l2_mbus_framefmt format; format 899 drivers/media/platform/qcom/camss/camss-csid.c format.code = fse->code; format 900 drivers/media/platform/qcom/camss/camss-csid.c format.width = 1; format 901 drivers/media/platform/qcom/camss/camss-csid.c format.height = 1; format 902 drivers/media/platform/qcom/camss/camss-csid.c csid_try_format(csid, cfg, fse->pad, &format, fse->which); format 903 drivers/media/platform/qcom/camss/camss-csid.c fse->min_width = format.width; format 904 drivers/media/platform/qcom/camss/camss-csid.c fse->min_height = format.height; format 906 drivers/media/platform/qcom/camss/camss-csid.c if (format.code != fse->code) format 909 drivers/media/platform/qcom/camss/camss-csid.c format.code = fse->code; format 910 drivers/media/platform/qcom/camss/camss-csid.c format.width = -1; format 911 drivers/media/platform/qcom/camss/camss-csid.c format.height = -1; format 912 drivers/media/platform/qcom/camss/camss-csid.c csid_try_format(csid, cfg, fse->pad, &format, fse->which); format 913 drivers/media/platform/qcom/camss/camss-csid.c fse->max_width = format.width; format 914 drivers/media/platform/qcom/camss/camss-csid.c fse->max_height = format.height; format 932 drivers/media/platform/qcom/camss/camss-csid.c struct v4l2_mbus_framefmt *format; format 934 drivers/media/platform/qcom/camss/camss-csid.c format = __csid_get_format(csid, cfg, fmt->pad, fmt->which); format 935 drivers/media/platform/qcom/camss/camss-csid.c if (format == NULL) format 938 drivers/media/platform/qcom/camss/camss-csid.c fmt->format = *format; format 956 drivers/media/platform/qcom/camss/camss-csid.c struct v4l2_mbus_framefmt *format; format 958 drivers/media/platform/qcom/camss/camss-csid.c format = __csid_get_format(csid, cfg, fmt->pad, fmt->which); format 959 drivers/media/platform/qcom/camss/camss-csid.c if (format == NULL) format 962 drivers/media/platform/qcom/camss/camss-csid.c csid_try_format(csid, cfg, fmt->pad, &fmt->format, fmt->which); format 963 drivers/media/platform/qcom/camss/camss-csid.c *format = fmt->format; format 967 drivers/media/platform/qcom/camss/camss-csid.c format = __csid_get_format(csid, cfg, MSM_CSID_PAD_SRC, format 970 drivers/media/platform/qcom/camss/camss-csid.c *format = fmt->format; format 971 drivers/media/platform/qcom/camss/camss-csid.c csid_try_format(csid, cfg, MSM_CSID_PAD_SRC, format, format 989 drivers/media/platform/qcom/camss/camss-csid.c struct v4l2_subdev_format format = { format 993 drivers/media/platform/qcom/camss/camss-csid.c .format = { format 1000 drivers/media/platform/qcom/camss/camss-csid.c return csid_set_format(sd, fh ? fh->pad : NULL, &format); format 1243 drivers/media/platform/qcom/camss/camss-csid.c struct v4l2_subdev_format format = { 0 }; format 1268 drivers/media/platform/qcom/camss/camss-csid.c format.pad = MSM_CSID_PAD_SRC; format 1269 drivers/media/platform/qcom/camss/camss-csid.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 1270 drivers/media/platform/qcom/camss/camss-csid.c csid_set_format(&csid->subdev, NULL, &format); format 387 drivers/media/platform/qcom/camss/camss-csiphy.c struct v4l2_mbus_framefmt *format; format 398 drivers/media/platform/qcom/camss/camss-csiphy.c format = __csiphy_get_format(csiphy, cfg, MSM_CSIPHY_PAD_SINK, format 401 drivers/media/platform/qcom/camss/camss-csiphy.c code->code = format->code; format 419 drivers/media/platform/qcom/camss/camss-csiphy.c struct v4l2_mbus_framefmt format; format 424 drivers/media/platform/qcom/camss/camss-csiphy.c format.code = fse->code; format 425 drivers/media/platform/qcom/camss/camss-csiphy.c format.width = 1; format 426 drivers/media/platform/qcom/camss/camss-csiphy.c format.height = 1; format 427 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_try_format(csiphy, cfg, fse->pad, &format, fse->which); format 428 drivers/media/platform/qcom/camss/camss-csiphy.c fse->min_width = format.width; format 429 drivers/media/platform/qcom/camss/camss-csiphy.c fse->min_height = format.height; format 431 drivers/media/platform/qcom/camss/camss-csiphy.c if (format.code != fse->code) format 434 drivers/media/platform/qcom/camss/camss-csiphy.c format.code = fse->code; format 435 drivers/media/platform/qcom/camss/camss-csiphy.c format.width = -1; format 436 drivers/media/platform/qcom/camss/camss-csiphy.c format.height = -1; format 437 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_try_format(csiphy, cfg, fse->pad, &format, fse->which); format 438 drivers/media/platform/qcom/camss/camss-csiphy.c fse->max_width = format.width; format 439 drivers/media/platform/qcom/camss/camss-csiphy.c fse->max_height = format.height; format 457 drivers/media/platform/qcom/camss/camss-csiphy.c struct v4l2_mbus_framefmt *format; format 459 drivers/media/platform/qcom/camss/camss-csiphy.c format = __csiphy_get_format(csiphy, cfg, fmt->pad, fmt->which); format 460 drivers/media/platform/qcom/camss/camss-csiphy.c if (format == NULL) format 463 drivers/media/platform/qcom/camss/camss-csiphy.c fmt->format = *format; format 481 drivers/media/platform/qcom/camss/camss-csiphy.c struct v4l2_mbus_framefmt *format; format 483 drivers/media/platform/qcom/camss/camss-csiphy.c format = __csiphy_get_format(csiphy, cfg, fmt->pad, fmt->which); format 484 drivers/media/platform/qcom/camss/camss-csiphy.c if (format == NULL) format 487 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_try_format(csiphy, cfg, fmt->pad, &fmt->format, fmt->which); format 488 drivers/media/platform/qcom/camss/camss-csiphy.c *format = fmt->format; format 492 drivers/media/platform/qcom/camss/camss-csiphy.c format = __csiphy_get_format(csiphy, cfg, MSM_CSIPHY_PAD_SRC, format 495 drivers/media/platform/qcom/camss/camss-csiphy.c *format = fmt->format; format 496 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_try_format(csiphy, cfg, MSM_CSIPHY_PAD_SRC, format, format 515 drivers/media/platform/qcom/camss/camss-csiphy.c struct v4l2_subdev_format format = { format 519 drivers/media/platform/qcom/camss/camss-csiphy.c .format = { format 526 drivers/media/platform/qcom/camss/camss-csiphy.c return csiphy_set_format(sd, fh ? fh->pad : NULL, &format); format 915 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_mbus_framefmt *format; format 926 drivers/media/platform/qcom/camss/camss-ispif.c format = __ispif_get_format(line, cfg, MSM_ISPIF_PAD_SINK, format 929 drivers/media/platform/qcom/camss/camss-ispif.c code->code = format->code; format 947 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_mbus_framefmt format; format 952 drivers/media/platform/qcom/camss/camss-ispif.c format.code = fse->code; format 953 drivers/media/platform/qcom/camss/camss-ispif.c format.width = 1; format 954 drivers/media/platform/qcom/camss/camss-ispif.c format.height = 1; format 955 drivers/media/platform/qcom/camss/camss-ispif.c ispif_try_format(line, cfg, fse->pad, &format, fse->which); format 956 drivers/media/platform/qcom/camss/camss-ispif.c fse->min_width = format.width; format 957 drivers/media/platform/qcom/camss/camss-ispif.c fse->min_height = format.height; format 959 drivers/media/platform/qcom/camss/camss-ispif.c if (format.code != fse->code) format 962 drivers/media/platform/qcom/camss/camss-ispif.c format.code = fse->code; format 963 drivers/media/platform/qcom/camss/camss-ispif.c format.width = -1; format 964 drivers/media/platform/qcom/camss/camss-ispif.c format.height = -1; format 965 drivers/media/platform/qcom/camss/camss-ispif.c ispif_try_format(line, cfg, fse->pad, &format, fse->which); format 966 drivers/media/platform/qcom/camss/camss-ispif.c fse->max_width = format.width; format 967 drivers/media/platform/qcom/camss/camss-ispif.c fse->max_height = format.height; format 985 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_mbus_framefmt *format; format 987 drivers/media/platform/qcom/camss/camss-ispif.c format = __ispif_get_format(line, cfg, fmt->pad, fmt->which); format 988 drivers/media/platform/qcom/camss/camss-ispif.c if (format == NULL) format 991 drivers/media/platform/qcom/camss/camss-ispif.c fmt->format = *format; format 1009 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_mbus_framefmt *format; format 1011 drivers/media/platform/qcom/camss/camss-ispif.c format = __ispif_get_format(line, cfg, fmt->pad, fmt->which); format 1012 drivers/media/platform/qcom/camss/camss-ispif.c if (format == NULL) format 1015 drivers/media/platform/qcom/camss/camss-ispif.c ispif_try_format(line, cfg, fmt->pad, &fmt->format, fmt->which); format 1016 drivers/media/platform/qcom/camss/camss-ispif.c *format = fmt->format; format 1020 drivers/media/platform/qcom/camss/camss-ispif.c format = __ispif_get_format(line, cfg, MSM_ISPIF_PAD_SRC, format 1023 drivers/media/platform/qcom/camss/camss-ispif.c *format = fmt->format; format 1024 drivers/media/platform/qcom/camss/camss-ispif.c ispif_try_format(line, cfg, MSM_ISPIF_PAD_SRC, format, format 1042 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_subdev_format format = { format 1046 drivers/media/platform/qcom/camss/camss-ispif.c .format = { format 1053 drivers/media/platform/qcom/camss/camss-ispif.c return ispif_set_format(sd, fh ? fh->pad : NULL, &format); format 288 drivers/media/platform/qcom/camss/camss-vfe-4-1.c static int vfe_word_per_line(u32 format, u32 pixel_per_line) format 292 drivers/media/platform/qcom/camss/camss-vfe-4-1.c switch (format) { format 324 drivers/media/platform/qcom/camss/camss-vfe-4-7.c static int vfe_word_per_line_by_pixel(u32 format, u32 pixel_per_line) format 328 drivers/media/platform/qcom/camss/camss-vfe-4-7.c switch (format) { format 1710 drivers/media/platform/qcom/camss/camss-vfe.c struct v4l2_mbus_framefmt format; format 1715 drivers/media/platform/qcom/camss/camss-vfe.c format.code = fse->code; format 1716 drivers/media/platform/qcom/camss/camss-vfe.c format.width = 1; format 1717 drivers/media/platform/qcom/camss/camss-vfe.c format.height = 1; format 1718 drivers/media/platform/qcom/camss/camss-vfe.c vfe_try_format(line, cfg, fse->pad, &format, fse->which); format 1719 drivers/media/platform/qcom/camss/camss-vfe.c fse->min_width = format.width; format 1720 drivers/media/platform/qcom/camss/camss-vfe.c fse->min_height = format.height; format 1722 drivers/media/platform/qcom/camss/camss-vfe.c if (format.code != fse->code) format 1725 drivers/media/platform/qcom/camss/camss-vfe.c format.code = fse->code; format 1726 drivers/media/platform/qcom/camss/camss-vfe.c format.width = -1; format 1727 drivers/media/platform/qcom/camss/camss-vfe.c format.height = -1; format 1728 drivers/media/platform/qcom/camss/camss-vfe.c vfe_try_format(line, cfg, fse->pad, &format, fse->which); format 1729 drivers/media/platform/qcom/camss/camss-vfe.c fse->max_width = format.width; format 1730 drivers/media/platform/qcom/camss/camss-vfe.c fse->max_height = format.height; format 1748 drivers/media/platform/qcom/camss/camss-vfe.c struct v4l2_mbus_framefmt *format; format 1750 drivers/media/platform/qcom/camss/camss-vfe.c format = __vfe_get_format(line, cfg, fmt->pad, fmt->which); format 1751 drivers/media/platform/qcom/camss/camss-vfe.c if (format == NULL) format 1754 drivers/media/platform/qcom/camss/camss-vfe.c fmt->format = *format; format 1776 drivers/media/platform/qcom/camss/camss-vfe.c struct v4l2_mbus_framefmt *format; format 1778 drivers/media/platform/qcom/camss/camss-vfe.c format = __vfe_get_format(line, cfg, fmt->pad, fmt->which); format 1779 drivers/media/platform/qcom/camss/camss-vfe.c if (format == NULL) format 1782 drivers/media/platform/qcom/camss/camss-vfe.c vfe_try_format(line, cfg, fmt->pad, &fmt->format, fmt->which); format 1783 drivers/media/platform/qcom/camss/camss-vfe.c *format = fmt->format; format 1790 drivers/media/platform/qcom/camss/camss-vfe.c format = __vfe_get_format(line, cfg, MSM_VFE_PAD_SRC, format 1793 drivers/media/platform/qcom/camss/camss-vfe.c *format = fmt->format; format 1794 drivers/media/platform/qcom/camss/camss-vfe.c vfe_try_format(line, cfg, MSM_VFE_PAD_SRC, format, format 1804 drivers/media/platform/qcom/camss/camss-vfe.c sel.r.width = fmt->format.width; format 1805 drivers/media/platform/qcom/camss/camss-vfe.c sel.r.height = fmt->format.height; format 1845 drivers/media/platform/qcom/camss/camss-vfe.c sel->r.width = fmt.format.width; format 1846 drivers/media/platform/qcom/camss/camss-vfe.c sel->r.height = fmt.format.height; format 1938 drivers/media/platform/qcom/camss/camss-vfe.c fmt.format.width = rect->width; format 1939 drivers/media/platform/qcom/camss/camss-vfe.c fmt.format.height = rect->height; format 1959 drivers/media/platform/qcom/camss/camss-vfe.c struct v4l2_subdev_format format = { format 1963 drivers/media/platform/qcom/camss/camss-vfe.c .format = { format 1970 drivers/media/platform/qcom/camss/camss-vfe.c return vfe_set_format(sd, fh ? fh->pad : NULL, &format); format 286 drivers/media/platform/qcom/camss/camss-video.c struct v4l2_format *format) format 304 drivers/media/platform/qcom/camss/camss-video.c ret = video_find_format(fmt.format.code, format 305 drivers/media/platform/qcom/camss/camss-video.c format->fmt.pix_mp.pixelformat, format 310 drivers/media/platform/qcom/camss/camss-video.c format->type = video->type; format 312 drivers/media/platform/qcom/camss/camss-video.c return video_mbus_to_pix_mp(&fmt.format, &format->fmt.pix_mp, format 325 drivers/media/platform/qcom/camss/camss-video.c const struct v4l2_pix_format_mplane *format = format 330 drivers/media/platform/qcom/camss/camss-video.c if (*num_planes != format->num_planes) format 334 drivers/media/platform/qcom/camss/camss-video.c if (sizes[i] < format->plane_fmt[i].sizeimage) format 340 drivers/media/platform/qcom/camss/camss-video.c *num_planes = format->num_planes; format 343 drivers/media/platform/qcom/camss/camss-video.c sizes[i] = format->plane_fmt[i].sizeimage; format 354 drivers/media/platform/qcom/camss/camss-video.c const struct v4l2_pix_format_mplane *format = format 359 drivers/media/platform/qcom/camss/camss-video.c for (i = 0; i < format->num_planes; i++) { format 367 drivers/media/platform/qcom/camss/camss-video.c if (format->pixelformat == V4L2_PIX_FMT_NV12 || format 368 drivers/media/platform/qcom/camss/camss-video.c format->pixelformat == V4L2_PIX_FMT_NV21 || format 369 drivers/media/platform/qcom/camss/camss-video.c format->pixelformat == V4L2_PIX_FMT_NV16 || format 370 drivers/media/platform/qcom/camss/camss-video.c format->pixelformat == V4L2_PIX_FMT_NV61) format 372 drivers/media/platform/qcom/camss/camss-video.c format->plane_fmt[0].bytesperline * format 373 drivers/media/platform/qcom/camss/camss-video.c format->height; format 382 drivers/media/platform/qcom/camss/camss-video.c const struct v4l2_pix_format_mplane *format = format 386 drivers/media/platform/qcom/camss/camss-video.c for (i = 0; i < format->num_planes; i++) { format 387 drivers/media/platform/qcom/camss/camss-video.c if (format->plane_fmt[i].sizeimage > vb2_plane_size(vb, i)) format 390 drivers/media/platform/qcom/camss/camss-video.c vb2_set_plane_payload(vb, i, format->plane_fmt[i].sizeimage); format 411 drivers/media/platform/qcom/camss/camss-video.c struct v4l2_format format; format 412 drivers/media/platform/qcom/camss/camss-video.c struct v4l2_pix_format_mplane *sd_pix = &format.fmt.pix_mp; format 416 drivers/media/platform/qcom/camss/camss-video.c ret = video_get_subdev_format(video, &format); format 424 drivers/media/platform/qcom/camss/camss-video.c pix->field != format.fmt.pix_mp.field) format 819 drivers/media/platform/qcom/camss/camss-video.c struct v4l2_format format = { format 828 drivers/media/platform/qcom/camss/camss-video.c ret = __video_try_fmt(video, &format); format 832 drivers/media/platform/qcom/camss/camss-video.c video->active_fmt = format; format 861 drivers/media/platform/qcom/venus/helpers.c fmt.format = hfi_format; format 431 drivers/media/platform/qcom/venus/hfi_cmds.c hfi->format = in->format; format 480 drivers/media/platform/qcom/venus/hfi_cmds.c fmt->format = in->format; format 699 drivers/media/platform/qcom/venus/hfi_helper.h u32 format; format 703 drivers/media/platform/qcom/venus/hfi_helper.h u32 format; format 849 drivers/media/platform/qcom/venus/hfi_helper.h u32 format; format 860 drivers/media/platform/qcom/venus/hfi_helper.h u32 format; format 1070 drivers/media/platform/qcom/venus/hfi_helper.h u32 format; format 158 drivers/media/platform/qcom/venus/hfi_parser.c rawfmts[i].fmt = pinfo->format; format 276 drivers/media/platform/qcom/venus/vdec.c struct v4l2_format format; format 291 drivers/media/platform/qcom/venus/vdec.c memset(&format, 0, sizeof(format)); format 293 drivers/media/platform/qcom/venus/vdec.c format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; format 294 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.pixelformat = pixfmt_out; format 295 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.width = orig_pixmp.width; format 296 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.height = orig_pixmp.height; format 297 drivers/media/platform/qcom/venus/vdec.c vdec_try_fmt_common(inst, &format); format 300 drivers/media/platform/qcom/venus/vdec.c inst->out_width = format.fmt.pix_mp.width; format 301 drivers/media/platform/qcom/venus/vdec.c inst->out_height = format.fmt.pix_mp.height; format 309 drivers/media/platform/qcom/venus/vdec.c memset(&format, 0, sizeof(format)); format 311 drivers/media/platform/qcom/venus/vdec.c format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; format 312 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.pixelformat = pixfmt_cap; format 313 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.width = orig_pixmp.width; format 314 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.height = orig_pixmp.height; format 315 drivers/media/platform/qcom/venus/vdec.c vdec_try_fmt_common(inst, &format); format 317 drivers/media/platform/qcom/venus/vdec.c inst->width = format.fmt.pix_mp.width; format 318 drivers/media/platform/qcom/venus/vdec.c inst->height = format.fmt.pix_mp.height; format 1173 drivers/media/platform/qcom/venus/vdec.c struct v4l2_format format = {}; format 1177 drivers/media/platform/qcom/venus/vdec.c format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; format 1178 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.pixelformat = inst->fmt_cap->pixfmt; format 1179 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.width = ev_data->width; format 1180 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.height = ev_data->height; format 1182 drivers/media/platform/qcom/venus/vdec.c vdec_try_fmt_common(inst, &format); format 1184 drivers/media/platform/qcom/venus/vdec.c inst->width = format.fmt.pix_mp.width; format 1185 drivers/media/platform/qcom/venus/vdec.c inst->height = format.fmt.pix_mp.height; format 357 drivers/media/platform/qcom/venus/venc.c struct v4l2_format format; format 374 drivers/media/platform/qcom/venus/venc.c memset(&format, 0, sizeof(format)); format 376 drivers/media/platform/qcom/venus/venc.c format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; format 377 drivers/media/platform/qcom/venus/venc.c format.fmt.pix_mp.pixelformat = pixfmt_out; format 378 drivers/media/platform/qcom/venus/venc.c format.fmt.pix_mp.width = orig_pixmp.width; format 379 drivers/media/platform/qcom/venus/venc.c format.fmt.pix_mp.height = orig_pixmp.height; format 380 drivers/media/platform/qcom/venus/venc.c venc_try_fmt_common(inst, &format); format 383 drivers/media/platform/qcom/venus/venc.c inst->out_width = format.fmt.pix_mp.width; format 384 drivers/media/platform/qcom/venus/venc.c inst->out_height = format.fmt.pix_mp.height; format 391 drivers/media/platform/qcom/venus/venc.c memset(&format, 0, sizeof(format)); format 393 drivers/media/platform/qcom/venus/venc.c format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; format 394 drivers/media/platform/qcom/venus/venc.c format.fmt.pix_mp.pixelformat = pixfmt_cap; format 395 drivers/media/platform/qcom/venus/venc.c format.fmt.pix_mp.width = orig_pixmp.width; format 396 drivers/media/platform/qcom/venus/venc.c format.fmt.pix_mp.height = orig_pixmp.height; format 397 drivers/media/platform/qcom/venus/venc.c venc_try_fmt_common(inst, &format); format 399 drivers/media/platform/qcom/venus/venc.c inst->width = format.fmt.pix_mp.width; format 400 drivers/media/platform/qcom/venus/venc.c inst->height = format.fmt.pix_mp.height; format 481 drivers/media/platform/rcar-vin/rcar-csi2.c const struct rcar_csi2_format *format; format 491 drivers/media/platform/rcar-vin/rcar-csi2.c format = rcsi2_code_to_fmt(priv->mf.code); format 505 drivers/media/platform/rcar-vin/rcar-csi2.c VCDT_SEL_DT(format->datatype); format 527 drivers/media/platform/rcar-vin/rcar-csi2.c mbps = rcsi2_calc_mbps(priv, format->bpp); format 649 drivers/media/platform/rcar-vin/rcar-csi2.c struct v4l2_subdev_format *format) format 654 drivers/media/platform/rcar-vin/rcar-csi2.c if (!rcsi2_code_to_fmt(format->format.code)) format 655 drivers/media/platform/rcar-vin/rcar-csi2.c format->format.code = rcar_csi2_formats[0].code; format 657 drivers/media/platform/rcar-vin/rcar-csi2.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) { format 658 drivers/media/platform/rcar-vin/rcar-csi2.c priv->mf = format->format; format 661 drivers/media/platform/rcar-vin/rcar-csi2.c *framefmt = format->format; format 669 drivers/media/platform/rcar-vin/rcar-csi2.c struct v4l2_subdev_format *format) format 673 drivers/media/platform/rcar-vin/rcar-csi2.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 674 drivers/media/platform/rcar-vin/rcar-csi2.c format->format = priv->mf; format 676 drivers/media/platform/rcar-vin/rcar-csi2.c format->format = *v4l2_subdev_get_try_format(sd, cfg, 0); format 559 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->format.width - 1, VNEPPOC_REG); format 560 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.field) { format 564 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->format.height / 2 - 1, VNELPOC_REG); format 567 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->format.height - 1, VNELPOC_REG); format 574 drivers/media/platform/rcar-vin/rcar-dma.c vin->crop.top, ys, xs, vin->format.width, vin->format.height, format 587 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.field) { format 606 drivers/media/platform/rcar-vin/rcar-dma.c fmt = rvin_format_from_pixel(vin, vin->format.pixelformat); format 607 drivers/media/platform/rcar-vin/rcar-dma.c stride = vin->format.bytesperline / fmt->bpp; format 620 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.field) { format 712 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.pixelformat) { format 715 drivers/media/platform/rcar-vin/rcar-dma.c ALIGN(vin->format.width * vin->format.height, 0x80), format 746 drivers/media/platform/rcar-vin/rcar-dma.c vin->format.pixelformat); format 808 drivers/media/platform/rcar-vin/rcar-dma.c fmt = rvin_format_from_pixel(vin, vin->format.pixelformat); format 815 drivers/media/platform/rcar-vin/rcar-dma.c offsety = vin->compose.top * vin->format.bytesperline; format 951 drivers/media/platform/rcar-vin/rcar-dma.c vin->queue_buf[slot]->field = vin->format.field; format 1002 drivers/media/platform/rcar-vin/rcar-dma.c return sizes[0] < vin->format.sizeimage ? -EINVAL : 0; format 1005 drivers/media/platform/rcar-vin/rcar-dma.c sizes[0] = vin->format.sizeimage; format 1013 drivers/media/platform/rcar-vin/rcar-dma.c unsigned long size = vin->format.sizeimage; format 1050 drivers/media/platform/rcar-vin/rcar-dma.c switch (fmt.format.code) { format 1056 drivers/media/platform/rcar-vin/rcar-dma.c vin->mbus_code = fmt.format.code; format 1062 drivers/media/platform/rcar-vin/rcar-dma.c switch (fmt.format.field) { format 1074 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.field) { format 1085 drivers/media/platform/rcar-vin/rcar-dma.c fmt.format.height *= 2; format 1095 drivers/media/platform/rcar-vin/rcar-dma.c if (fmt.format.width != vin->format.width || format 1096 drivers/media/platform/rcar-vin/rcar-dma.c fmt.format.height != vin->format.height || format 1097 drivers/media/platform/rcar-vin/rcar-dma.c fmt.format.code != vin->mbus_code) format 1164 drivers/media/platform/rcar-vin/rcar-dma.c vin->scratch = dma_alloc_coherent(vin->dev, vin->format.sizeimage, format 1195 drivers/media/platform/rcar-vin/rcar-dma.c dma_free_coherent(vin->dev, vin->format.sizeimage, vin->scratch, format 1248 drivers/media/platform/rcar-vin/rcar-dma.c dma_free_coherent(vin->dev, vin->format.sizeimage, vin->scratch, format 1370 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.pixelformat) { format 136 drivers/media/platform/rcar-vin/rcar-v4l2.c walign = vin->format.pixelformat == V4L2_PIX_FMT_NV16 ? 5 : 1; format 165 drivers/media/platform/rcar-vin/rcar-v4l2.c v4l2_fill_pix_format(&vin->format, &fmt.format); format 167 drivers/media/platform/rcar-vin/rcar-v4l2.c rvin_format_align(vin, &vin->format); format 171 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->source.width = vin->format.width; format 172 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->source.height = vin->format.height; format 186 drivers/media/platform/rcar-vin/rcar-v4l2.c struct v4l2_subdev_format format = { format 201 drivers/media/platform/rcar-vin/rcar-v4l2.c v4l2_fill_mbus_format(&format.format, pix, vin->mbus_code); format 208 drivers/media/platform/rcar-vin/rcar-v4l2.c ret = v4l2_subdev_call(sd, pad, set_fmt, pad_cfg, &format); format 213 drivers/media/platform/rcar-vin/rcar-v4l2.c v4l2_fill_pix_format(pix, &format.format); format 285 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format = f->fmt.pix; format 298 drivers/media/platform/rcar-vin/rcar-v4l2.c f->fmt.pix = vin->format; format 335 drivers/media/platform/rcar-vin/rcar-v4l2.c s->r.width = vin->format.width; format 336 drivers/media/platform/rcar-vin/rcar-v4l2.c s->r.height = vin->format.height; format 388 drivers/media/platform/rcar-vin/rcar-v4l2.c max_rect.width = vin->format.width; format 389 drivers/media/platform/rcar-vin/rcar-v4l2.c max_rect.height = vin->format.height; format 397 drivers/media/platform/rcar-vin/rcar-v4l2.c while ((r.top * vin->format.bytesperline) & HW_BUFFER_MASK) format 400 drivers/media/platform/rcar-vin/rcar-v4l2.c fmt = rvin_format_from_pixel(vin, vin->format.pixelformat); format 408 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.width, vin->format.height); format 712 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format = f->fmt.pix; format 716 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop.width = vin->format.width; format 717 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop.height = vin->format.height; format 910 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.pixelformat = RVIN_DEFAULT_FORMAT; format 911 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.width = RVIN_DEFAULT_WIDTH; format 912 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.height = RVIN_DEFAULT_HEIGHT; format 913 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.field = RVIN_DEFAULT_FIELD; format 914 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.colorspace = RVIN_DEFAULT_COLORSPACE; format 923 drivers/media/platform/rcar-vin/rcar-v4l2.c rvin_format_align(vin, &vin->format); format 214 drivers/media/platform/rcar-vin/rcar-vin.h struct v4l2_pix_format format; format 475 drivers/media/platform/rcar_fdp1.c struct v4l2_pix_format_mplane format; format 817 drivers/media/platform/rcar_fdp1.c unsigned int hsize = src_q_data->format.width; format 818 drivers/media/platform/rcar_fdp1.c unsigned int vsize = src_q_data->format.height; format 885 drivers/media/platform/rcar_fdp1.c u32 format; format 891 drivers/media/platform/rcar_fdp1.c picture_size = (q_data->format.width << FD1_RPF_SIZE_H_SHIFT) format 896 drivers/media/platform/rcar_fdp1.c if (q_data->format.num_planes > 1) format 900 drivers/media/platform/rcar_fdp1.c format = q_data->fmt->fmt; format 902 drivers/media/platform/rcar_fdp1.c format |= FD1_RPF_FORMAT_RSPYCS; format 905 drivers/media/platform/rcar_fdp1.c format |= FD1_RPF_FORMAT_RSPUVS; format 908 drivers/media/platform/rcar_fdp1.c format |= FD1_RPF_FORMAT_CF; /* Set for Bottom field */ format 916 drivers/media/platform/rcar_fdp1.c format |= FD1_RPF_FORMAT_CIPM; format 918 drivers/media/platform/rcar_fdp1.c fdp1_write(fdp1, format, FD1_RPF_FORMAT); format 945 drivers/media/platform/rcar_fdp1.c u32 format; format 949 drivers/media/platform/rcar_fdp1.c pstride = q_data->format.plane_fmt[0].bytesperline format 952 drivers/media/platform/rcar_fdp1.c if (q_data->format.num_planes > 1) format 953 drivers/media/platform/rcar_fdp1.c pstride |= q_data->format.plane_fmt[1].bytesperline format 956 drivers/media/platform/rcar_fdp1.c format = q_data->fmt->fmt; /* Output Format Code */ format 959 drivers/media/platform/rcar_fdp1.c format |= FD1_WPF_FORMAT_WSPYCS; format 962 drivers/media/platform/rcar_fdp1.c format |= FD1_WPF_FORMAT_WSPUVS; format 966 drivers/media/platform/rcar_fdp1.c format |= FD1_WPF_FORMAT_CSC; format 969 drivers/media/platform/rcar_fdp1.c if (src_q_data->format.ycbcr_enc == V4L2_YCBCR_ENC_709) format 970 drivers/media/platform/rcar_fdp1.c format |= FD1_WPF_FORMAT_WRTM_709_16; format 971 drivers/media/platform/rcar_fdp1.c else if (src_q_data->format.quantization == format 973 drivers/media/platform/rcar_fdp1.c format |= FD1_WPF_FORMAT_WRTM_601_0; format 975 drivers/media/platform/rcar_fdp1.c format |= FD1_WPF_FORMAT_WRTM_601_16; format 979 drivers/media/platform/rcar_fdp1.c format |= ctx->alpha << FD1_WPF_FORMAT_PDV_SHIFT; format 989 drivers/media/platform/rcar_fdp1.c fdp1_write(fdp1, format, FD1_WPF_FORMAT); format 1148 drivers/media/platform/rcar_fdp1.c if (V4L2_FIELD_HAS_BOTH(src_q_data->format.field)) format 1416 drivers/media/platform/rcar_fdp1.c f->fmt.pix_mp = q_data->format; format 1532 drivers/media/platform/rcar_fdp1.c colorspace = src_data->format.colorspace; format 1534 drivers/media/platform/rcar_fdp1.c ycbcr_enc = src_data->format.ycbcr_enc; format 1538 drivers/media/platform/rcar_fdp1.c quantization = src_data->format.quantization; format 1564 drivers/media/platform/rcar_fdp1.c pix->colorspace = src_data->format.colorspace; format 1565 drivers/media/platform/rcar_fdp1.c pix->xfer_func = src_data->format.xfer_func; format 1571 drivers/media/platform/rcar_fdp1.c pix->ycbcr_enc = src_data->format.ycbcr_enc; format 1572 drivers/media/platform/rcar_fdp1.c pix->quantization = src_data->format.quantization; format 1580 drivers/media/platform/rcar_fdp1.c pix->width = src_data->format.width; format 1581 drivers/media/platform/rcar_fdp1.c if (src_data->format.field == V4L2_FIELD_ALTERNATE) format 1582 drivers/media/platform/rcar_fdp1.c pix->height = 2 * src_data->format.height; format 1584 drivers/media/platform/rcar_fdp1.c pix->height = src_data->format.height; format 1619 drivers/media/platform/rcar_fdp1.c q_data->format = *pix; format 1644 drivers/media/platform/rcar_fdp1.c dst_data->format = q_data->format; format 1645 drivers/media/platform/rcar_fdp1.c memset(dst_data->format.plane_fmt, 0, format 1646 drivers/media/platform/rcar_fdp1.c sizeof(dst_data->format.plane_fmt)); format 1648 drivers/media/platform/rcar_fdp1.c dst_data->format.field = V4L2_FIELD_NONE; format 1650 drivers/media/platform/rcar_fdp1.c dst_data->format.height *= 2; format 1652 drivers/media/platform/rcar_fdp1.c fdp1_try_fmt_capture(ctx, &dst_data->fmt, &dst_data->format); format 1654 drivers/media/platform/rcar_fdp1.c dst_data->vsize = dst_data->format.height; format 1655 drivers/media/platform/rcar_fdp1.c dst_data->stride_y = dst_data->format.plane_fmt[0].bytesperline; format 1656 drivers/media/platform/rcar_fdp1.c dst_data->stride_c = dst_data->format.plane_fmt[1].bytesperline; format 1689 drivers/media/platform/rcar_fdp1.c if (V4L2_FIELD_HAS_BOTH(src_q_data->format.field)) format 1781 drivers/media/platform/rcar_fdp1.c *nplanes = q_data->format.num_planes; format 1784 drivers/media/platform/rcar_fdp1.c sizes[i] = q_data->format.plane_fmt[i].sizeimage; format 1813 drivers/media/platform/rcar_fdp1.c fbuf->field = (q_data->format.height < 576) == field_num format 1863 drivers/media/platform/rcar_fdp1.c switch (q_data->format.field) { format 1880 drivers/media/platform/rcar_fdp1.c if (vbuf->field != q_data->format.field) format 1888 drivers/media/platform/rcar_fdp1.c vbuf->field, q_data->format.field); format 1896 drivers/media/platform/rcar_fdp1.c for (i = 0; i < q_data->format.num_planes; i++) { format 1897 drivers/media/platform/rcar_fdp1.c unsigned long size = q_data->format.plane_fmt[i].sizeimage; format 1902 drivers/media/platform/rcar_fdp1.c i, q_data->format.num_planes, format 1937 drivers/media/platform/rcar_fdp1.c if (q_data->format.field == V4L2_FIELD_NONE) format 1945 drivers/media/platform/rcar_fdp1.c stride = round_up(q_data->format.width, 8); format 2082 drivers/media/platform/rcar_fdp1.c struct v4l2_pix_format_mplane format; format 2133 drivers/media/platform/rcar_fdp1.c memset(&format, 0, sizeof(format)); format 2134 drivers/media/platform/rcar_fdp1.c fdp1_set_format(ctx, &format, V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE); format 262 drivers/media/platform/rcar_jpu.c struct v4l2_pix_format_mplane format; format 870 drivers/media/platform/rcar_jpu.c q_data->format = f->fmt.pix_mp; format 885 drivers/media/platform/rcar_jpu.c f->fmt.pix_mp = q_data->format; format 931 drivers/media/platform/rcar_jpu.c adj.format.width = ref->format.width; format 932 drivers/media/platform/rcar_jpu.c adj.format.height = ref->format.height; format 934 drivers/media/platform/rcar_jpu.c __jpu_try_fmt(ctx, NULL, &adj.format, adj_type); format 936 drivers/media/platform/rcar_jpu.c if (adj.format.width != orig->format.width || format 937 drivers/media/platform/rcar_jpu.c adj.format.height != orig->format.height) { format 1019 drivers/media/platform/rcar_jpu.c if (*nplanes != q_data->format.num_planes) format 1023 drivers/media/platform/rcar_jpu.c unsigned int q_size = q_data->format.plane_fmt[i].sizeimage; format 1031 drivers/media/platform/rcar_jpu.c *nplanes = q_data->format.num_planes; format 1034 drivers/media/platform/rcar_jpu.c sizes[i] = q_data->format.plane_fmt[i].sizeimage; format 1058 drivers/media/platform/rcar_jpu.c for (i = 0; i < q_data->format.num_planes; i++) { format 1059 drivers/media/platform/rcar_jpu.c unsigned long size = q_data->format.plane_fmt[i].sizeimage; format 1098 drivers/media/platform/rcar_jpu.c adjust.format.width = width; format 1099 drivers/media/platform/rcar_jpu.c adjust.format.height = height; format 1101 drivers/media/platform/rcar_jpu.c __jpu_try_fmt(ctx, &adjust.fmtinfo, &adjust.format, format 1104 drivers/media/platform/rcar_jpu.c if (adjust.format.width != q_data->format.width || format 1105 drivers/media/platform/rcar_jpu.c adjust.format.height != q_data->format.height) format 1145 drivers/media/platform/rcar_jpu.c cpu_to_be16(q_data->format.height); format 1147 drivers/media/platform/rcar_jpu.c cpu_to_be16(q_data->format.width); format 1249 drivers/media/platform/rcar_jpu.c __jpu_try_fmt(ctx, &ctx->out_q.fmtinfo, &ctx->out_q.format, format 1251 drivers/media/platform/rcar_jpu.c __jpu_try_fmt(ctx, &ctx->cap_q.fmtinfo, &ctx->cap_q.format, format 1383 drivers/media/platform/rcar_jpu.c w = q_data->format.width; format 1384 drivers/media/platform/rcar_jpu.c h = q_data->format.height; format 1385 drivers/media/platform/rcar_jpu.c bpl = q_data->format.plane_fmt[0].bytesperline; format 845 drivers/media/platform/renesas-ceu.c v4l2_fill_mbus_format_mplane(&sd_format.format, pix); format 852 drivers/media/platform/renesas-ceu.c sd_format.format.code = mbus_code; format 857 drivers/media/platform/renesas-ceu.c sd_format.format.code = mbus_code_old; format 867 drivers/media/platform/renesas-ceu.c v4l2_fill_pix_format_mplane(pix, &sd_format.format); format 873 drivers/media/platform/renesas-ceu.c *sd_mbus_code = sd_format.format.code; format 902 drivers/media/platform/renesas-ceu.c struct v4l2_subdev_format format = { format 910 drivers/media/platform/renesas-ceu.c format.format.code = mbus_code; format 911 drivers/media/platform/renesas-ceu.c v4l2_fill_mbus_format_mplane(&format.format, &v4l2_fmt->fmt.pix_mp); format 912 drivers/media/platform/renesas-ceu.c ret = v4l2_subdev_call(v4l2_sd, pad, set_fmt, NULL, &format); format 198 drivers/media/platform/rockchip/rga/rga-hw.c src_info.data.format = ctx->in.fmt->hw_format; format 200 drivers/media/platform/rockchip/rga/rga-hw.c dst_info.data.format = ctx->out.fmt->hw_format; format 196 drivers/media/platform/rockchip/rga/rga-hw.h unsigned int format:4; format 305 drivers/media/platform/rockchip/rga/rga-hw.h unsigned int format:4; format 824 drivers/media/platform/s3c-camif/camif-capture.c if (src_fmt.format.width != camif->mbus_fmt.width || format 825 drivers/media/platform/s3c-camif/camif-capture.c src_fmt.format.height != camif->mbus_fmt.height || format 826 drivers/media/platform/s3c-camif/camif-capture.c src_fmt.format.code != camif->mbus_fmt.code) format 1217 drivers/media/platform/s3c-camif/camif-capture.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 1221 drivers/media/platform/s3c-camif/camif-capture.c fmt->format = *mf; format 1285 drivers/media/platform/s3c-camif/camif-capture.c struct v4l2_mbus_framefmt *mf = &fmt->format; format 1310 drivers/media/platform/s3c-camif/camif-capture.c *mf = fmt->format; format 192 drivers/media/platform/s3c-camif/camif-core.c struct v4l2_subdev_format format; format 221 drivers/media/platform/s3c-camif/camif-core.c format.pad = 0; format 222 drivers/media/platform/s3c-camif/camif-core.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 223 drivers/media/platform/s3c-camif/camif-core.c ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &format); format 228 drivers/media/platform/s3c-camif/camif-core.c format.pad = CAMIF_SD_PAD_SINK; format 229 drivers/media/platform/s3c-camif/camif-core.c v4l2_subdev_call(&camif->subdev, pad, set_fmt, NULL, &format); format 232 drivers/media/platform/s3c-camif/camif-core.c format.format.width, format.format.height, format 233 drivers/media/platform/s3c-camif/camif-core.c format.format.code); format 35 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h void exynos3250_jpeg_outform_raw(void __iomem *regs, unsigned long format); format 237 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c void s5p_jpeg_outform_raw(void __iomem *regs, unsigned long format) format 242 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c if (format == S5P_JPEG_RAW_OUT_422) format 244 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c else if (format == S5P_JPEG_RAW_OUT_420) format 46 drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.h void s5p_jpeg_outform_raw(void __iomem *regs, unsigned long format); format 692 drivers/media/platform/sh_vou.c struct v4l2_subdev_format format = { format 695 drivers/media/platform/sh_vou.c .format.code = MEDIA_BUS_FMT_YUYV8_2X8, format 696 drivers/media/platform/sh_vou.c .format.field = V4L2_FIELD_INTERLACED, format 697 drivers/media/platform/sh_vou.c .format.colorspace = V4L2_COLORSPACE_SMPTE170M, format 699 drivers/media/platform/sh_vou.c struct v4l2_mbus_framefmt *mbfmt = &format.format; format 719 drivers/media/platform/sh_vou.c set_fmt, NULL, &format); format 934 drivers/media/platform/sh_vou.c struct v4l2_subdev_format format = { format 937 drivers/media/platform/sh_vou.c .format.code = MEDIA_BUS_FMT_YUYV8_2X8, format 938 drivers/media/platform/sh_vou.c .format.field = V4L2_FIELD_INTERLACED, format 939 drivers/media/platform/sh_vou.c .format.colorspace = V4L2_COLORSPACE_SMPTE170M, format 980 drivers/media/platform/sh_vou.c format.format.width = geo.output.width; format 981 drivers/media/platform/sh_vou.c format.format.height = geo.output.height; format 983 drivers/media/platform/sh_vou.c set_fmt, NULL, &format); format 989 drivers/media/platform/sh_vou.c if ((unsigned)format.format.width > VOU_MAX_IMAGE_WIDTH || format 990 drivers/media/platform/sh_vou.c (unsigned)format.format.height > img_height_max || format 991 drivers/media/platform/sh_vou.c format.format.code != MEDIA_BUS_FMT_YUYV8_2X8) format 994 drivers/media/platform/sh_vou.c geo.output.width = format.format.width; format 995 drivers/media/platform/sh_vou.c geo.output.height = format.format.height; format 745 drivers/media/platform/sti/bdisp/bdisp-v4l2.c const struct bdisp_fmt *format; format 748 drivers/media/platform/sti/bdisp/bdisp-v4l2.c format = bdisp_find_fmt(pix->pixelformat); format 749 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (!format) { format 756 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if ((format->pixelformat == V4L2_PIX_FMT_YUV420) && format 772 drivers/media/platform/sti/bdisp/bdisp-v4l2.c ffs(format->w_align) - 1, format 775 drivers/media/platform/sti/bdisp/bdisp-v4l2.c ffs(format->h_align) - 1, format 782 drivers/media/platform/sti/bdisp/bdisp-v4l2.c pix->bytesperline = (pix->width * format->bpp_plane0) / 8; format 783 drivers/media/platform/sti/bdisp/bdisp-v4l2.c pix->sizeimage = (pix->width * pix->height * format->bpp) / 8; format 296 drivers/media/platform/sti/delta/delta-v4l2.c static void register_format(u32 format, u32 formats[], u32 *nb_of_formats) format 301 drivers/media/platform/sti/delta/delta-v4l2.c if (format == formats[i]) format 305 drivers/media/platform/sti/delta/delta-v4l2.c formats[(*nb_of_formats)++] = format; format 138 drivers/media/platform/sti/hva/hva-v4l2.c static void register_format(u32 format, u32 formats[], u32 *nb_of_formats) format 144 drivers/media/platform/sti/hva/hva-v4l2.c if (format == formats[i]) { format 151 drivers/media/platform/sti/hva/hva-v4l2.c formats[(*nb_of_formats)++] = format; format 610 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_subdev_format *format) format 617 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_subdev_format fmt = *format; format 647 drivers/media/platform/stm32/stm32-dcmi.c subdev->name, pad->index, format->format.code, format 648 drivers/media/platform/stm32/stm32-dcmi.c format->format.width, format->format.height); format 654 drivers/media/platform/stm32/stm32-dcmi.c __func__, format->format.code, format 655 drivers/media/platform/stm32/stm32-dcmi.c format->format.width, format->format.height, format 660 drivers/media/platform/stm32/stm32-dcmi.c if (fmt.format.code != format->format.code || format 661 drivers/media/platform/stm32/stm32-dcmi.c fmt.format.width != format->format.width || format 662 drivers/media/platform/stm32/stm32-dcmi.c fmt.format.height != format->format.height) { format 664 drivers/media/platform/stm32/stm32-dcmi.c subdev->name, pad->index, fmt.format.code, format 665 drivers/media/platform/stm32/stm32-dcmi.c fmt.format.width, fmt.format.height); format 675 drivers/media/platform/stm32/stm32-dcmi.c *format = fmt; format 971 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_subdev_format format = { format 1004 drivers/media/platform/stm32/stm32-dcmi.c v4l2_fill_mbus_format(&format.format, pix, sd_fmt->mbus_code); format 1006 drivers/media/platform/stm32/stm32-dcmi.c &pad_cfg, &format); format 1011 drivers/media/platform/stm32/stm32-dcmi.c v4l2_fill_pix_format(pix, &format.format); format 1053 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_subdev_format format = { format 1058 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_mbus_framefmt *mf = &format.format; format 1082 drivers/media/platform/stm32/stm32-dcmi.c ret = dcmi_pipeline_s_fmt(dcmi, NULL, &format); format 1142 drivers/media/platform/stm32/stm32-dcmi.c v4l2_fill_pix_format(pix, &fmt.format); format 1151 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_subdev_format format = { format 1166 drivers/media/platform/stm32/stm32-dcmi.c v4l2_fill_mbus_format(&format.format, pix, sd_fmt->mbus_code); format 1168 drivers/media/platform/stm32/stm32-dcmi.c &pad_cfg, &format); format 299 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c fmt->format = *subdev_fmt; format 319 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c subdev_fmt->width = fmt->format.width; format 320 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c subdev_fmt->height = fmt->format.height; format 321 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c subdev_fmt->code = fmt->format.code; format 324 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c fmt->format = *subdev_fmt; format 569 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c source_fmt.format.code)) { format 573 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c source_fmt.format.code); format 577 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c if (source_fmt.format.width != video->fmt.fmt.pix.width || format 578 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c source_fmt.format.height != video->fmt.fmt.pix.height) { format 582 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c source_fmt.format.width, source_fmt.format.height); format 586 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c video->mbus_code = source_fmt.format.code; format 937 drivers/media/platform/ti-vpe/cal.c struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; format 959 drivers/media/platform/ti-vpe/cal.c struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; format 255 drivers/media/platform/via-camera.c struct v4l2_subdev_format format = { format 260 drivers/media/platform/via-camera.c v4l2_fill_mbus_format(&format.format, &cam->sensor_format, cam->mbus_code); format 263 drivers/media/platform/via-camera.c ret = sensor_call(cam, pad, set_fmt, NULL, &format); format 847 drivers/media/platform/via-camera.c struct v4l2_subdev_format format = { format 854 drivers/media/platform/via-camera.c v4l2_fill_mbus_format(&format.format, spix, f->mbus_code); format 855 drivers/media/platform/via-camera.c ret = sensor_call(cam, pad, set_fmt, &pad_cfg, &format); format 856 drivers/media/platform/via-camera.c v4l2_fill_pix_format(spix, &format.format); format 157 drivers/media/platform/video-mux.c sdformat->format = *__video_mux_get_pad_format(sd, cfg, sdformat->pad, format 185 drivers/media/platform/video-mux.c v4l_bound_align_image(&sdformat->format.width, 1, 65536, 0, format 186 drivers/media/platform/video-mux.c &sdformat->format.height, 1, 65536, 0, 0); format 189 drivers/media/platform/video-mux.c switch (sdformat->format.code) { format 280 drivers/media/platform/video-mux.c sdformat->format.code = MEDIA_BUS_FMT_Y8_1X8; format 283 drivers/media/platform/video-mux.c if (sdformat->format.field == V4L2_FIELD_ANY) format 284 drivers/media/platform/video-mux.c sdformat->format.field = V4L2_FIELD_NONE; format 290 drivers/media/platform/video-mux.c sdformat->format = vmux->format_mbus[vmux->active]; format 292 drivers/media/platform/video-mux.c *mbusformat = sdformat->format; format 296 drivers/media/platform/video-mux.c *source_mbusformat = sdformat->format; format 25 drivers/media/platform/vimc/vimc-capture.c struct v4l2_pix_format format; format 77 drivers/media/platform/vimc/vimc-capture.c *fmt = vcap->format; format 85 drivers/media/platform/vimc/vimc-capture.c f->fmt.pix = vcap->format; format 93 drivers/media/platform/vimc/vimc-capture.c struct v4l2_pix_format *format = &f->fmt.pix; format 96 drivers/media/platform/vimc/vimc-capture.c format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, format 98 drivers/media/platform/vimc/vimc-capture.c format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT, format 102 drivers/media/platform/vimc/vimc-capture.c vpix = vimc_pix_map_by_pixelformat(format->pixelformat); format 104 drivers/media/platform/vimc/vimc-capture.c format->pixelformat = fmt_default.pixelformat; format 105 drivers/media/platform/vimc/vimc-capture.c vpix = vimc_pix_map_by_pixelformat(format->pixelformat); format 108 drivers/media/platform/vimc/vimc-capture.c format->bytesperline = format->width * vpix->bpp; format 109 drivers/media/platform/vimc/vimc-capture.c format->sizeimage = format->bytesperline * format->height; format 111 drivers/media/platform/vimc/vimc-capture.c if (format->field == V4L2_FIELD_ANY) format 112 drivers/media/platform/vimc/vimc-capture.c format->field = fmt_default.field; format 114 drivers/media/platform/vimc/vimc-capture.c vimc_colorimetry_clamp(format); format 137 drivers/media/platform/vimc/vimc-capture.c vcap->format.width, vcap->format.height, format 138 drivers/media/platform/vimc/vimc-capture.c vcap->format.pixelformat, vcap->format.colorspace, format 139 drivers/media/platform/vimc/vimc-capture.c vcap->format.quantization, vcap->format.xfer_func, format 140 drivers/media/platform/vimc/vimc-capture.c vcap->format.ycbcr_enc, format 147 drivers/media/platform/vimc/vimc-capture.c vcap->format = f->fmt.pix; format 295 drivers/media/platform/vimc/vimc-capture.c return sizes[0] < vcap->format.sizeimage ? -EINVAL : 0; format 298 drivers/media/platform/vimc/vimc-capture.c sizes[0] = vcap->format.sizeimage; format 306 drivers/media/platform/vimc/vimc-capture.c unsigned long size = vcap->format.sizeimage; format 381 drivers/media/platform/vimc/vimc-capture.c vimc_buf->vb2.field = vcap->format.field; format 385 drivers/media/platform/vimc/vimc-capture.c memcpy(vbuf, frame, vcap->format.sizeimage); format 389 drivers/media/platform/vimc/vimc-capture.c vcap->format.sizeimage); format 453 drivers/media/platform/vimc/vimc-capture.c vcap->format = fmt_default; format 454 drivers/media/platform/vimc/vimc-capture.c vpix = vimc_pix_map_by_pixelformat(vcap->format.pixelformat); format 455 drivers/media/platform/vimc/vimc-capture.c vcap->format.bytesperline = vcap->format.width * vpix->bpp; format 456 drivers/media/platform/vimc/vimc-capture.c vcap->format.sizeimage = vcap->format.bytesperline * format 457 drivers/media/platform/vimc/vimc-capture.c vcap->format.height; format 278 drivers/media/platform/vimc/vimc-common.c v4l2_fill_mbus_format(&fmt->format, &vdev_fmt, vpix->code); format 304 drivers/media/platform/vimc/vimc-common.c source_fmt.format.width, source_fmt.format.height, format 305 drivers/media/platform/vimc/vimc-common.c source_fmt.format.code, source_fmt.format.colorspace, format 306 drivers/media/platform/vimc/vimc-common.c source_fmt.format.quantization, source_fmt.format.xfer_func, format 307 drivers/media/platform/vimc/vimc-common.c source_fmt.format.ycbcr_enc, format 310 drivers/media/platform/vimc/vimc-common.c sink_fmt.format.width, sink_fmt.format.height, format 311 drivers/media/platform/vimc/vimc-common.c sink_fmt.format.code, sink_fmt.format.colorspace, format 312 drivers/media/platform/vimc/vimc-common.c sink_fmt.format.quantization, sink_fmt.format.xfer_func, format 313 drivers/media/platform/vimc/vimc-common.c sink_fmt.format.ycbcr_enc); format 316 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.width != sink_fmt.format.width format 317 drivers/media/platform/vimc/vimc-common.c || source_fmt.format.height != sink_fmt.format.height format 318 drivers/media/platform/vimc/vimc-common.c || source_fmt.format.code != sink_fmt.format.code) format 326 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.field != sink_fmt.format.field && format 327 drivers/media/platform/vimc/vimc-common.c sink_fmt.format.field != V4L2_FIELD_NONE) format 334 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.colorspace == V4L2_COLORSPACE_DEFAULT format 335 drivers/media/platform/vimc/vimc-common.c || sink_fmt.format.colorspace == V4L2_COLORSPACE_DEFAULT) format 339 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.colorspace != sink_fmt.format.colorspace) format 343 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT format 344 drivers/media/platform/vimc/vimc-common.c && sink_fmt.format.ycbcr_enc != V4L2_YCBCR_ENC_DEFAULT format 345 drivers/media/platform/vimc/vimc-common.c && source_fmt.format.ycbcr_enc != sink_fmt.format.ycbcr_enc) format 348 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.quantization != V4L2_QUANTIZATION_DEFAULT format 349 drivers/media/platform/vimc/vimc-common.c && sink_fmt.format.quantization != V4L2_QUANTIZATION_DEFAULT format 350 drivers/media/platform/vimc/vimc-common.c && source_fmt.format.quantization != sink_fmt.format.quantization) format 353 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.xfer_func != V4L2_XFER_FUNC_DEFAULT format 354 drivers/media/platform/vimc/vimc-common.c && sink_fmt.format.xfer_func != V4L2_XFER_FUNC_DEFAULT format 355 drivers/media/platform/vimc/vimc-common.c && source_fmt.format.xfer_func != sink_fmt.format.xfer_func) format 213 drivers/media/platform/vimc/vimc-debayer.c fmt->format = fmt->which == V4L2_SUBDEV_FORMAT_TRY ? format 219 drivers/media/platform/vimc/vimc-debayer.c fmt->format.code = vdeb->src_code; format 266 drivers/media/platform/vimc/vimc-debayer.c fmt->format = *sink_fmt; format 268 drivers/media/platform/vimc/vimc-debayer.c fmt->format.code = vdeb->src_code; format 271 drivers/media/platform/vimc/vimc-debayer.c vimc_deb_adjust_sink_fmt(&fmt->format); format 281 drivers/media/platform/vimc/vimc-debayer.c fmt->format.width, fmt->format.height, fmt->format.code, format 282 drivers/media/platform/vimc/vimc-debayer.c fmt->format.colorspace, fmt->format.quantization, format 283 drivers/media/platform/vimc/vimc-debayer.c fmt->format.xfer_func, fmt->format.ycbcr_enc); format 285 drivers/media/platform/vimc/vimc-debayer.c *sink_fmt = fmt->format; format 114 drivers/media/platform/vimc/vimc-scaler.c struct v4l2_subdev_format *format) format 119 drivers/media/platform/vimc/vimc-scaler.c format->format = (format->which == V4L2_SUBDEV_FORMAT_TRY) ? format 124 drivers/media/platform/vimc/vimc-scaler.c if (IS_SRC(format->pad)) { format 125 drivers/media/platform/vimc/vimc-scaler.c format->format.width = vsca->sink_fmt.width * sca_mult; format 126 drivers/media/platform/vimc/vimc-scaler.c format->format.height = vsca->sink_fmt.height * sca_mult; format 174 drivers/media/platform/vimc/vimc-scaler.c fmt->format = *sink_fmt; format 175 drivers/media/platform/vimc/vimc-scaler.c fmt->format.width = sink_fmt->width * sca_mult; format 176 drivers/media/platform/vimc/vimc-scaler.c fmt->format.height = sink_fmt->height * sca_mult; format 179 drivers/media/platform/vimc/vimc-scaler.c vimc_sca_adjust_sink_fmt(&fmt->format); format 189 drivers/media/platform/vimc/vimc-scaler.c fmt->format.width, fmt->format.height, fmt->format.code, format 190 drivers/media/platform/vimc/vimc-scaler.c fmt->format.colorspace, fmt->format.quantization, format 191 drivers/media/platform/vimc/vimc-scaler.c fmt->format.xfer_func, fmt->format.ycbcr_enc); format 193 drivers/media/platform/vimc/vimc-scaler.c *sink_fmt = fmt->format; format 100 drivers/media/platform/vimc/vimc-sensor.c fmt->format = fmt->which == V4L2_SUBDEV_FORMAT_TRY ? format 164 drivers/media/platform/vimc/vimc-sensor.c vimc_sen_adjust_fmt(&fmt->format); format 174 drivers/media/platform/vimc/vimc-sensor.c fmt->format.width, fmt->format.height, fmt->format.code, format 175 drivers/media/platform/vimc/vimc-sensor.c fmt->format.colorspace, fmt->format.quantization, format 176 drivers/media/platform/vimc/vimc-sensor.c fmt->format.xfer_func, fmt->format.ycbcr_enc); format 178 drivers/media/platform/vimc/vimc-sensor.c *mf = fmt->format; format 110 drivers/media/platform/vsp1/vsp1_brx.c struct v4l2_mbus_framefmt *format; format 122 drivers/media/platform/vsp1/vsp1_brx.c format = vsp1_entity_get_pad_format(&brx->entity, config, format 124 drivers/media/platform/vsp1/vsp1_brx.c fmt->code = format->code; format 140 drivers/media/platform/vsp1/vsp1_brx.c struct v4l2_mbus_framefmt *format; format 151 drivers/media/platform/vsp1/vsp1_brx.c brx_try_format(brx, config, fmt->pad, &fmt->format); format 153 drivers/media/platform/vsp1/vsp1_brx.c format = vsp1_entity_get_pad_format(&brx->entity, config, fmt->pad); format 154 drivers/media/platform/vsp1/vsp1_brx.c *format = fmt->format; format 163 drivers/media/platform/vsp1/vsp1_brx.c compose->width = format->width; format 164 drivers/media/platform/vsp1/vsp1_brx.c compose->height = format->height; format 172 drivers/media/platform/vsp1/vsp1_brx.c format = vsp1_entity_get_pad_format(&brx->entity, format 174 drivers/media/platform/vsp1/vsp1_brx.c format->code = fmt->format.code; format 223 drivers/media/platform/vsp1/vsp1_brx.c struct v4l2_mbus_framefmt *format; format 245 drivers/media/platform/vsp1/vsp1_brx.c format = vsp1_entity_get_pad_format(&brx->entity, config, format 247 drivers/media/platform/vsp1/vsp1_brx.c sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); format 248 drivers/media/platform/vsp1/vsp1_brx.c sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); format 254 drivers/media/platform/vsp1/vsp1_brx.c format = vsp1_entity_get_pad_format(&brx->entity, config, sel->pad); format 255 drivers/media/platform/vsp1/vsp1_brx.c sel->r.width = format->width; format 256 drivers/media/platform/vsp1/vsp1_brx.c sel->r.height = format->height; format 290 drivers/media/platform/vsp1/vsp1_brx.c struct v4l2_mbus_framefmt *format; format 294 drivers/media/platform/vsp1/vsp1_brx.c format = vsp1_entity_get_pad_format(&brx->entity, brx->entity.config, format 308 drivers/media/platform/vsp1/vsp1_brx.c flags = pipe->output ? pipe->output->format.flags : 0; format 318 drivers/media/platform/vsp1/vsp1_brx.c (format->width << VI6_BRU_VIRRPF_SIZE_HSIZE_SHIFT) | format 319 drivers/media/platform/vsp1/vsp1_brx.c (format->height << VI6_BRU_VIRRPF_SIZE_VSIZE_SHIFT)); format 350 drivers/media/platform/vsp1/vsp1_brx.c premultiplied = brx->inputs[i].rpf->format.flags format 178 drivers/media/platform/vsp1/vsp1_clu.c struct v4l2_mbus_framefmt *format; format 184 drivers/media/platform/vsp1/vsp1_clu.c format = vsp1_entity_get_pad_format(&clu->entity, format 187 drivers/media/platform/vsp1/vsp1_clu.c clu->yuv_mode = format->code == MEDIA_BUS_FMT_AYUV8_1X32; format 69 drivers/media/platform/vsp1/vsp1_drm.c struct v4l2_subdev_format format; format 85 drivers/media/platform/vsp1/vsp1_drm.c memset(&format, 0, sizeof(format)); format 86 drivers/media/platform/vsp1/vsp1_drm.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 87 drivers/media/platform/vsp1/vsp1_drm.c format.pad = prev_pad; format 89 drivers/media/platform/vsp1/vsp1_drm.c ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); format 93 drivers/media/platform/vsp1/vsp1_drm.c format.pad = UIF_PAD_SINK; format 95 drivers/media/platform/vsp1/vsp1_drm.c ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); format 100 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, format 101 drivers/media/platform/vsp1/vsp1_drm.c format.format.code); format 122 drivers/media/platform/vsp1/vsp1_drm.c struct v4l2_subdev_format format; format 132 drivers/media/platform/vsp1/vsp1_drm.c memset(&format, 0, sizeof(format)); format 133 drivers/media/platform/vsp1/vsp1_drm.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 134 drivers/media/platform/vsp1/vsp1_drm.c format.pad = RWPF_PAD_SINK; format 135 drivers/media/platform/vsp1/vsp1_drm.c format.format.width = crop->width + crop->left; format 136 drivers/media/platform/vsp1/vsp1_drm.c format.format.height = crop->height + crop->top; format 137 drivers/media/platform/vsp1/vsp1_drm.c format.format.code = rpf->fmtinfo->mbus; format 138 drivers/media/platform/vsp1/vsp1_drm.c format.format.field = V4L2_FIELD_NONE; format 141 drivers/media/platform/vsp1/vsp1_drm.c &format); format 147 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, format 148 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, rpf->entity.index); format 170 drivers/media/platform/vsp1/vsp1_drm.c format.pad = RWPF_PAD_SOURCE; format 173 drivers/media/platform/vsp1/vsp1_drm.c &format); format 179 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, format 180 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, rpf->entity.index); format 182 drivers/media/platform/vsp1/vsp1_drm.c format.format.code = MEDIA_BUS_FMT_ARGB8888_1X32; format 185 drivers/media/platform/vsp1/vsp1_drm.c &format); format 196 drivers/media/platform/vsp1/vsp1_drm.c format.pad = brx_input; format 199 drivers/media/platform/vsp1/vsp1_drm.c &format); format 204 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, format 205 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, BRX_NAME(pipe->brx), format.pad); format 232 drivers/media/platform/vsp1/vsp1_drm.c struct v4l2_subdev_format format = { format 338 drivers/media/platform/vsp1/vsp1_drm.c format.pad = brx->source_pad; format 339 drivers/media/platform/vsp1/vsp1_drm.c format.format.width = drm_pipe->width; format 340 drivers/media/platform/vsp1/vsp1_drm.c format.format.height = drm_pipe->height; format 341 drivers/media/platform/vsp1/vsp1_drm.c format.format.field = V4L2_FIELD_NONE; format 344 drivers/media/platform/vsp1/vsp1_drm.c &format); format 349 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, format 350 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, BRX_NAME(brx), brx->source_pad); format 352 drivers/media/platform/vsp1/vsp1_drm.c if (format.format.width != drm_pipe->width || format 353 drivers/media/platform/vsp1/vsp1_drm.c format.format.height != drm_pipe->height) { format 480 drivers/media/platform/vsp1/vsp1_drm.c struct v4l2_subdev_format format = { 0, }; format 483 drivers/media/platform/vsp1/vsp1_drm.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 484 drivers/media/platform/vsp1/vsp1_drm.c format.pad = RWPF_PAD_SINK; format 485 drivers/media/platform/vsp1/vsp1_drm.c format.format.width = drm_pipe->width; format 486 drivers/media/platform/vsp1/vsp1_drm.c format.format.height = drm_pipe->height; format 487 drivers/media/platform/vsp1/vsp1_drm.c format.format.code = MEDIA_BUS_FMT_ARGB8888_1X32; format 488 drivers/media/platform/vsp1/vsp1_drm.c format.format.field = V4L2_FIELD_NONE; format 491 drivers/media/platform/vsp1/vsp1_drm.c &format); format 496 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, format 497 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->output->entity.index); format 499 drivers/media/platform/vsp1/vsp1_drm.c format.pad = RWPF_PAD_SOURCE; format 501 drivers/media/platform/vsp1/vsp1_drm.c &format); format 506 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, format 507 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->output->entity.index); format 509 drivers/media/platform/vsp1/vsp1_drm.c format.pad = LIF_PAD_SINK; format 511 drivers/media/platform/vsp1/vsp1_drm.c &format); format 516 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, format 517 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->lif->index); format 523 drivers/media/platform/vsp1/vsp1_drm.c if (format.format.width != drm_pipe->width || format 524 drivers/media/platform/vsp1/vsp1_drm.c format.format.height != drm_pipe->height || format 525 drivers/media/platform/vsp1/vsp1_drm.c format.format.code != MEDIA_BUS_FMT_ARGB8888_1X32) { format 596 drivers/media/platform/vsp1/vsp1_drm.c rwpf->format.num_planes = fmtinfo->planes; format 597 drivers/media/platform/vsp1/vsp1_drm.c rwpf->format.plane_fmt[0].bytesperline = pitch; format 598 drivers/media/platform/vsp1/vsp1_drm.c rwpf->format.plane_fmt[1].bytesperline = pitch / chroma_hsub; format 185 drivers/media/platform/vsp1/vsp1_entity.c struct v4l2_subdev_format format; format 189 drivers/media/platform/vsp1/vsp1_entity.c memset(&format, 0, sizeof(format)); format 191 drivers/media/platform/vsp1/vsp1_entity.c format.pad = pad; format 192 drivers/media/platform/vsp1/vsp1_entity.c format.which = cfg ? V4L2_SUBDEV_FORMAT_TRY format 195 drivers/media/platform/vsp1/vsp1_entity.c v4l2_subdev_call(subdev, pad, set_fmt, cfg, &format); format 222 drivers/media/platform/vsp1/vsp1_entity.c fmt->format = *vsp1_entity_get_pad_format(entity, config, fmt->pad); format 255 drivers/media/platform/vsp1/vsp1_entity.c struct v4l2_mbus_framefmt *format; format 269 drivers/media/platform/vsp1/vsp1_entity.c format = vsp1_entity_get_pad_format(entity, config, 0); format 270 drivers/media/platform/vsp1/vsp1_entity.c code->code = format->code; format 300 drivers/media/platform/vsp1/vsp1_entity.c struct v4l2_mbus_framefmt *format; format 307 drivers/media/platform/vsp1/vsp1_entity.c format = vsp1_entity_get_pad_format(entity, config, fse->pad); format 311 drivers/media/platform/vsp1/vsp1_entity.c if (fse->index || fse->code != format->code) { format 326 drivers/media/platform/vsp1/vsp1_entity.c fse->min_width = format->width; format 327 drivers/media/platform/vsp1/vsp1_entity.c fse->max_width = format->width; format 328 drivers/media/platform/vsp1/vsp1_entity.c fse->min_height = format->height; format 329 drivers/media/platform/vsp1/vsp1_entity.c fse->max_height = format->height; format 364 drivers/media/platform/vsp1/vsp1_entity.c struct v4l2_mbus_framefmt *format; format 377 drivers/media/platform/vsp1/vsp1_entity.c format = vsp1_entity_get_pad_format(entity, config, fmt->pad); format 381 drivers/media/platform/vsp1/vsp1_entity.c fmt->format = *format; format 390 drivers/media/platform/vsp1/vsp1_entity.c if (fmt->format.code == codes[i]) format 394 drivers/media/platform/vsp1/vsp1_entity.c format->code = i < ncodes ? codes[i] : codes[0]; format 395 drivers/media/platform/vsp1/vsp1_entity.c format->width = clamp_t(unsigned int, fmt->format.width, format 397 drivers/media/platform/vsp1/vsp1_entity.c format->height = clamp_t(unsigned int, fmt->format.height, format 399 drivers/media/platform/vsp1/vsp1_entity.c format->field = V4L2_FIELD_NONE; format 400 drivers/media/platform/vsp1/vsp1_entity.c format->colorspace = V4L2_COLORSPACE_SRGB; format 402 drivers/media/platform/vsp1/vsp1_entity.c fmt->format = *format; format 405 drivers/media/platform/vsp1/vsp1_entity.c format = vsp1_entity_get_pad_format(entity, config, entity->source_pad); format 406 drivers/media/platform/vsp1/vsp1_entity.c *format = fmt->format; format 413 drivers/media/platform/vsp1/vsp1_entity.c selection->width = format->width; format 414 drivers/media/platform/vsp1/vsp1_entity.c selection->height = format->height; format 420 drivers/media/platform/vsp1/vsp1_entity.c selection->width = format->width; format 421 drivers/media/platform/vsp1/vsp1_entity.c selection->height = format->height; format 205 drivers/media/platform/vsp1/vsp1_histo.c struct v4l2_mbus_framefmt *format; format 234 drivers/media/platform/vsp1/vsp1_histo.c format = vsp1_entity_get_pad_format(&histo->entity, config, format 238 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = format->width; format 239 drivers/media/platform/vsp1/vsp1_histo.c sel->r.height = format->height; format 263 drivers/media/platform/vsp1/vsp1_histo.c struct v4l2_mbus_framefmt *format; format 267 drivers/media/platform/vsp1/vsp1_histo.c format = vsp1_entity_get_pad_format(&histo->entity, config, format 269 drivers/media/platform/vsp1/vsp1_histo.c sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); format 270 drivers/media/platform/vsp1/vsp1_histo.c sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); format 272 drivers/media/platform/vsp1/vsp1_histo.c format->width - sel->r.left); format 274 drivers/media/platform/vsp1/vsp1_histo.c format->height - sel->r.top); format 376 drivers/media/platform/vsp1/vsp1_histo.c fmt->format.code = MEDIA_BUS_FMT_FIXED; format 377 drivers/media/platform/vsp1/vsp1_histo.c fmt->format.width = 0; format 378 drivers/media/platform/vsp1/vsp1_histo.c fmt->format.height = 0; format 379 drivers/media/platform/vsp1/vsp1_histo.c fmt->format.field = V4L2_FIELD_NONE; format 380 drivers/media/platform/vsp1/vsp1_histo.c fmt->format.colorspace = V4L2_COLORSPACE_RAW; format 453 drivers/media/platform/vsp1/vsp1_histo.c struct v4l2_format *format) format 457 drivers/media/platform/vsp1/vsp1_histo.c struct v4l2_meta_format *meta = &format->fmt.meta; format 459 drivers/media/platform/vsp1/vsp1_histo.c if (format->type != histo->queue.type) format 69 drivers/media/platform/vsp1/vsp1_hsit.c struct v4l2_mbus_framefmt *format; format 80 drivers/media/platform/vsp1/vsp1_hsit.c format = vsp1_entity_get_pad_format(&hsit->entity, config, fmt->pad); format 87 drivers/media/platform/vsp1/vsp1_hsit.c fmt->format = *format; format 91 drivers/media/platform/vsp1/vsp1_hsit.c format->code = hsit->inverse ? MEDIA_BUS_FMT_AHSV8888_1X32 format 93 drivers/media/platform/vsp1/vsp1_hsit.c format->width = clamp_t(unsigned int, fmt->format.width, format 95 drivers/media/platform/vsp1/vsp1_hsit.c format->height = clamp_t(unsigned int, fmt->format.height, format 97 drivers/media/platform/vsp1/vsp1_hsit.c format->field = V4L2_FIELD_NONE; format 98 drivers/media/platform/vsp1/vsp1_hsit.c format->colorspace = V4L2_COLORSPACE_SRGB; format 100 drivers/media/platform/vsp1/vsp1_hsit.c fmt->format = *format; format 103 drivers/media/platform/vsp1/vsp1_hsit.c format = vsp1_entity_get_pad_format(&hsit->entity, config, format 105 drivers/media/platform/vsp1/vsp1_hsit.c *format = fmt->format; format 106 drivers/media/platform/vsp1/vsp1_hsit.c format->code = hsit->inverse ? MEDIA_BUS_FMT_ARGB8888_1X32 format 90 drivers/media/platform/vsp1/vsp1_lif.c const struct v4l2_mbus_framefmt *format; format 96 drivers/media/platform/vsp1/vsp1_lif.c format = vsp1_entity_get_pad_format(&lif->entity, lif->entity.config, format 103 drivers/media/platform/vsp1/vsp1_lif.c obth = min(128U, (format->width + 1) / 2 * format->height - 4); format 128 drivers/media/platform/vsp1/vsp1_lif.c (format->code == 0 ? VI6_LIF_CTRL_CFMT : 0) | format 65 drivers/media/platform/vsp1/vsp1_rpf.c const struct v4l2_pix_format_mplane *format = &rpf->format; format 74 drivers/media/platform/vsp1/vsp1_rpf.c pstride = format->plane_fmt[0].bytesperline format 76 drivers/media/platform/vsp1/vsp1_rpf.c if (format->num_planes > 1) format 77 drivers/media/platform/vsp1/vsp1_rpf.c pstride |= format->plane_fmt[1].bytesperline format 170 drivers/media/platform/vsp1/vsp1_rpf.c bool premultiplied = format->flags format 199 drivers/media/platform/vsp1/vsp1_rpf.c const struct v4l2_pix_format_mplane *format = &rpf->format; format 216 drivers/media/platform/vsp1/vsp1_rpf.c offset_y = format->plane_fmt[0].bytesperline; format 217 drivers/media/platform/vsp1/vsp1_rpf.c offset_c = format->plane_fmt[1].bytesperline; format 250 drivers/media/platform/vsp1/vsp1_rpf.c const struct v4l2_pix_format_mplane *format = &rpf->format; format 290 drivers/media/platform/vsp1/vsp1_rpf.c mem.addr[0] += crop.top * format->plane_fmt[0].bytesperline format 293 drivers/media/platform/vsp1/vsp1_rpf.c if (format->num_planes > 1) { format 296 drivers/media/platform/vsp1/vsp1_rpf.c offset = crop.top * format->plane_fmt[1].bytesperline format 307 drivers/media/platform/vsp1/vsp1_rpf.c if (vsp1->info->gen == 3 && format->num_planes == 3 && format 65 drivers/media/platform/vsp1/vsp1_rwpf.c struct v4l2_mbus_framefmt *format; format 77 drivers/media/platform/vsp1/vsp1_rwpf.c if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && format 78 drivers/media/platform/vsp1/vsp1_rwpf.c fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && format 79 drivers/media/platform/vsp1/vsp1_rwpf.c fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) format 80 drivers/media/platform/vsp1/vsp1_rwpf.c fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; format 82 drivers/media/platform/vsp1/vsp1_rwpf.c format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); format 89 drivers/media/platform/vsp1/vsp1_rwpf.c format->code = fmt->format.code; format 90 drivers/media/platform/vsp1/vsp1_rwpf.c fmt->format = *format; format 94 drivers/media/platform/vsp1/vsp1_rwpf.c format->code = fmt->format.code; format 95 drivers/media/platform/vsp1/vsp1_rwpf.c format->width = clamp_t(unsigned int, fmt->format.width, format 97 drivers/media/platform/vsp1/vsp1_rwpf.c format->height = clamp_t(unsigned int, fmt->format.height, format 99 drivers/media/platform/vsp1/vsp1_rwpf.c format->field = V4L2_FIELD_NONE; format 100 drivers/media/platform/vsp1/vsp1_rwpf.c format->colorspace = V4L2_COLORSPACE_SRGB; format 102 drivers/media/platform/vsp1/vsp1_rwpf.c fmt->format = *format; format 111 drivers/media/platform/vsp1/vsp1_rwpf.c crop->width = fmt->format.width; format 112 drivers/media/platform/vsp1/vsp1_rwpf.c crop->height = fmt->format.height; format 116 drivers/media/platform/vsp1/vsp1_rwpf.c format = vsp1_entity_get_pad_format(&rwpf->entity, config, format 118 drivers/media/platform/vsp1/vsp1_rwpf.c *format = fmt->format; format 121 drivers/media/platform/vsp1/vsp1_rwpf.c format->width = fmt->format.height; format 122 drivers/media/platform/vsp1/vsp1_rwpf.c format->height = fmt->format.width; format 136 drivers/media/platform/vsp1/vsp1_rwpf.c struct v4l2_mbus_framefmt *format; format 160 drivers/media/platform/vsp1/vsp1_rwpf.c format = vsp1_entity_get_pad_format(&rwpf->entity, config, format 164 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.width = format->width; format 165 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.height = format->height; format 184 drivers/media/platform/vsp1/vsp1_rwpf.c struct v4l2_mbus_framefmt *format; format 207 drivers/media/platform/vsp1/vsp1_rwpf.c format = vsp1_entity_get_pad_format(&rwpf->entity, config, format 214 drivers/media/platform/vsp1/vsp1_rwpf.c if (format->code == MEDIA_BUS_FMT_AYUV8_1X32) { format 221 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); format 222 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); format 224 drivers/media/platform/vsp1/vsp1_rwpf.c format->width - sel->r.left); format 226 drivers/media/platform/vsp1/vsp1_rwpf.c format->height - sel->r.top); format 232 drivers/media/platform/vsp1/vsp1_rwpf.c format = vsp1_entity_get_pad_format(&rwpf->entity, config, format 234 drivers/media/platform/vsp1/vsp1_rwpf.c format->width = crop->width; format 235 drivers/media/platform/vsp1/vsp1_rwpf.c format->height = crop->height; format 42 drivers/media/platform/vsp1/vsp1_rwpf.h struct v4l2_pix_format_mplane format; format 127 drivers/media/platform/vsp1/vsp1_sru.c struct v4l2_mbus_framefmt *format; format 134 drivers/media/platform/vsp1/vsp1_sru.c format = vsp1_entity_get_pad_format(&sru->entity, config, SRU_PAD_SINK); format 138 drivers/media/platform/vsp1/vsp1_sru.c if (fse->index || fse->code != format->code) { format 149 drivers/media/platform/vsp1/vsp1_sru.c fse->min_width = format->width; format 150 drivers/media/platform/vsp1/vsp1_sru.c fse->min_height = format->height; format 151 drivers/media/platform/vsp1/vsp1_sru.c if (format->width <= SRU_MAX_SIZE / 2 && format 152 drivers/media/platform/vsp1/vsp1_sru.c format->height <= SRU_MAX_SIZE / 2) { format 153 drivers/media/platform/vsp1/vsp1_sru.c fse->max_width = format->width * 2; format 154 drivers/media/platform/vsp1/vsp1_sru.c fse->max_height = format->height * 2; format 156 drivers/media/platform/vsp1/vsp1_sru.c fse->max_width = format->width; format 157 drivers/media/platform/vsp1/vsp1_sru.c fse->max_height = format->height; format 170 drivers/media/platform/vsp1/vsp1_sru.c struct v4l2_mbus_framefmt *format; format 187 drivers/media/platform/vsp1/vsp1_sru.c format = vsp1_entity_get_pad_format(&sru->entity, config, format 189 drivers/media/platform/vsp1/vsp1_sru.c fmt->code = format->code; format 198 drivers/media/platform/vsp1/vsp1_sru.c input_area = format->width * format->height; format 205 drivers/media/platform/vsp1/vsp1_sru.c fmt->width = format->width * 2; format 206 drivers/media/platform/vsp1/vsp1_sru.c fmt->height = format->height * 2; format 208 drivers/media/platform/vsp1/vsp1_sru.c fmt->width = format->width; format 209 drivers/media/platform/vsp1/vsp1_sru.c fmt->height = format->height; format 224 drivers/media/platform/vsp1/vsp1_sru.c struct v4l2_mbus_framefmt *format; format 235 drivers/media/platform/vsp1/vsp1_sru.c sru_try_format(sru, config, fmt->pad, &fmt->format); format 237 drivers/media/platform/vsp1/vsp1_sru.c format = vsp1_entity_get_pad_format(&sru->entity, config, fmt->pad); format 238 drivers/media/platform/vsp1/vsp1_sru.c *format = fmt->format; format 242 drivers/media/platform/vsp1/vsp1_sru.c format = vsp1_entity_get_pad_format(&sru->entity, config, format 244 drivers/media/platform/vsp1/vsp1_sru.c *format = fmt->format; format 246 drivers/media/platform/vsp1/vsp1_sru.c sru_try_format(sru, config, SRU_PAD_SOURCE, format); format 132 drivers/media/platform/vsp1/vsp1_uds.c struct v4l2_mbus_framefmt *format; format 139 drivers/media/platform/vsp1/vsp1_uds.c format = vsp1_entity_get_pad_format(&uds->entity, config, format 144 drivers/media/platform/vsp1/vsp1_uds.c if (fse->index || fse->code != format->code) { format 155 drivers/media/platform/vsp1/vsp1_uds.c uds_output_limits(format->width, &fse->min_width, format 157 drivers/media/platform/vsp1/vsp1_uds.c uds_output_limits(format->height, &fse->min_height, format 170 drivers/media/platform/vsp1/vsp1_uds.c struct v4l2_mbus_framefmt *format; format 187 drivers/media/platform/vsp1/vsp1_uds.c format = vsp1_entity_get_pad_format(&uds->entity, config, format 189 drivers/media/platform/vsp1/vsp1_uds.c fmt->code = format->code; format 191 drivers/media/platform/vsp1/vsp1_uds.c uds_output_limits(format->width, &minimum, &maximum); format 193 drivers/media/platform/vsp1/vsp1_uds.c uds_output_limits(format->height, &minimum, &maximum); format 208 drivers/media/platform/vsp1/vsp1_uds.c struct v4l2_mbus_framefmt *format; format 219 drivers/media/platform/vsp1/vsp1_uds.c uds_try_format(uds, config, fmt->pad, &fmt->format); format 221 drivers/media/platform/vsp1/vsp1_uds.c format = vsp1_entity_get_pad_format(&uds->entity, config, fmt->pad); format 222 drivers/media/platform/vsp1/vsp1_uds.c *format = fmt->format; format 226 drivers/media/platform/vsp1/vsp1_uds.c format = vsp1_entity_get_pad_format(&uds->entity, config, format 228 drivers/media/platform/vsp1/vsp1_uds.c *format = fmt->format; format 230 drivers/media/platform/vsp1/vsp1_uds.c uds_try_format(uds, config, UDS_PAD_SOURCE, format); format 89 drivers/media/platform/vsp1/vsp1_uif.c struct v4l2_mbus_framefmt *format; format 106 drivers/media/platform/vsp1/vsp1_uif.c format = vsp1_entity_get_pad_format(&uif->entity, config, format 110 drivers/media/platform/vsp1/vsp1_uif.c sel->r.width = format->width; format 111 drivers/media/platform/vsp1/vsp1_uif.c sel->r.height = format->height; format 135 drivers/media/platform/vsp1/vsp1_uif.c struct v4l2_mbus_framefmt *format; format 152 drivers/media/platform/vsp1/vsp1_uif.c format = vsp1_entity_get_pad_format(&uif->entity, config, UIF_PAD_SINK); format 154 drivers/media/platform/vsp1/vsp1_uif.c sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); format 155 drivers/media/platform/vsp1/vsp1_uif.c sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); format 157 drivers/media/platform/vsp1/vsp1_uif.c format->width - sel->r.left); format 159 drivers/media/platform/vsp1/vsp1_uif.c format->height - sel->r.top); format 78 drivers/media/platform/vsp1/vsp1_video.c if (video->rwpf->fmtinfo->mbus != fmt.format.code || format 79 drivers/media/platform/vsp1/vsp1_video.c video->rwpf->format.height != fmt.format.height || format 80 drivers/media/platform/vsp1/vsp1_video.c video->rwpf->format.width != fmt.format.width) format 191 drivers/media/platform/vsp1/vsp1_video.c const struct v4l2_mbus_framefmt *format; format 199 drivers/media/platform/vsp1/vsp1_video.c format = vsp1_entity_get_pad_format(&pipe->output->entity, format 206 drivers/media/platform/vsp1/vsp1_video.c window.width = format->width; format 217 drivers/media/platform/vsp1/vsp1_video.c modulus = format->width % div_size; format 255 drivers/media/platform/vsp1/vsp1_video.c const struct v4l2_mbus_framefmt *format; format 264 drivers/media/platform/vsp1/vsp1_video.c format = vsp1_entity_get_pad_format(&pipe->output->entity, format 267 drivers/media/platform/vsp1/vsp1_video.c div_size = format->width; format 286 drivers/media/platform/vsp1/vsp1_video.c pipe->partitions = DIV_ROUND_UP(format->width, div_size); format 712 drivers/media/platform/vsp1/vsp1_video.c const struct v4l2_pix_format_mplane *format = &video->rwpf->format; format 716 drivers/media/platform/vsp1/vsp1_video.c if (*nplanes != format->num_planes) format 720 drivers/media/platform/vsp1/vsp1_video.c if (sizes[i] < format->plane_fmt[i].sizeimage) format 725 drivers/media/platform/vsp1/vsp1_video.c *nplanes = format->num_planes; format 727 drivers/media/platform/vsp1/vsp1_video.c for (i = 0; i < format->num_planes; ++i) format 728 drivers/media/platform/vsp1/vsp1_video.c sizes[i] = format->plane_fmt[i].sizeimage; format 738 drivers/media/platform/vsp1/vsp1_video.c const struct v4l2_pix_format_mplane *format = &video->rwpf->format; format 741 drivers/media/platform/vsp1/vsp1_video.c if (vb->num_planes < format->num_planes) format 747 drivers/media/platform/vsp1/vsp1_video.c if (vb2_plane_size(vb, i) < format->plane_fmt[i].sizeimage) format 969 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_get_format(struct file *file, void *fh, struct v4l2_format *format) format 974 drivers/media/platform/vsp1/vsp1_video.c if (format->type != video->queue.type) format 978 drivers/media/platform/vsp1/vsp1_video.c format->fmt.pix_mp = video->rwpf->format; format 985 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_try_format(struct file *file, void *fh, struct v4l2_format *format) format 990 drivers/media/platform/vsp1/vsp1_video.c if (format->type != video->queue.type) format 993 drivers/media/platform/vsp1/vsp1_video.c return __vsp1_video_try_format(video, &format->fmt.pix_mp, NULL); format 997 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_set_format(struct file *file, void *fh, struct v4l2_format *format) format 1004 drivers/media/platform/vsp1/vsp1_video.c if (format->type != video->queue.type) format 1007 drivers/media/platform/vsp1/vsp1_video.c ret = __vsp1_video_try_format(video, &format->fmt.pix_mp, &info); format 1018 drivers/media/platform/vsp1/vsp1_video.c video->rwpf->format = format->fmt.pix_mp; format 1286 drivers/media/platform/vsp1/vsp1_video.c rwpf->format.pixelformat = VSP1_VIDEO_DEF_FORMAT; format 1287 drivers/media/platform/vsp1/vsp1_video.c rwpf->format.width = VSP1_VIDEO_DEF_WIDTH; format 1288 drivers/media/platform/vsp1/vsp1_video.c rwpf->format.height = VSP1_VIDEO_DEF_HEIGHT; format 1289 drivers/media/platform/vsp1/vsp1_video.c __vsp1_video_try_format(video, &rwpf->format, &rwpf->fmtinfo); format 280 drivers/media/platform/vsp1/vsp1_wpf.c const struct v4l2_pix_format_mplane *format = &wpf->format; format 297 drivers/media/platform/vsp1/vsp1_wpf.c format->plane_fmt[0].bytesperline); format 298 drivers/media/platform/vsp1/vsp1_wpf.c if (format->num_planes > 1) format 300 drivers/media/platform/vsp1/vsp1_wpf.c format->plane_fmt[1].bytesperline); format 400 drivers/media/platform/vsp1/vsp1_wpf.c const struct v4l2_pix_format_mplane *format = &wpf->format; format 458 drivers/media/platform/vsp1/vsp1_wpf.c offset = format->width - left - width; format 460 drivers/media/platform/vsp1/vsp1_wpf.c offset = format->height - left - width; format 464 drivers/media/platform/vsp1/vsp1_wpf.c for (i = 0; i < format->num_planes; ++i) { format 470 drivers/media/platform/vsp1/vsp1_wpf.c * format->plane_fmt[i].bytesperline; format 486 drivers/media/platform/vsp1/vsp1_wpf.c height = format->height; format 489 drivers/media/platform/vsp1/vsp1_wpf.c * format->plane_fmt[0].bytesperline; format 491 drivers/media/platform/vsp1/vsp1_wpf.c if (format->num_planes > 1) { format 493 drivers/media/platform/vsp1/vsp1_wpf.c * format->plane_fmt[1].bytesperline; format 500 drivers/media/platform/vsp1/vsp1_wpf.c unsigned int hoffset = max(0, (int)format->width - 16); format 506 drivers/media/platform/vsp1/vsp1_wpf.c for (i = 0; i < format->num_planes; ++i) { format 518 drivers/media/platform/vsp1/vsp1_wpf.c if (vsp1->info->gen == 3 && format->num_planes == 3 && format 73 drivers/media/platform/xilinx/xilinx-dma.c if (dma->fmtinfo->code != fmt.format.code || format 74 drivers/media/platform/xilinx/xilinx-dma.c dma->format.height != fmt.format.height || format 75 drivers/media/platform/xilinx/xilinx-dma.c dma->format.width != fmt.format.width || format 76 drivers/media/platform/xilinx/xilinx-dma.c dma->format.colorspace != fmt.format.colorspace) format 311 drivers/media/platform/xilinx/xilinx-dma.c vb2_set_plane_payload(&buf->buf.vb2_buf, 0, dma->format.sizeimage); format 324 drivers/media/platform/xilinx/xilinx-dma.c return sizes[0] < dma->format.sizeimage ? -EINVAL : 0; format 327 drivers/media/platform/xilinx/xilinx-dma.c sizes[0] = dma->format.sizeimage; format 367 drivers/media/platform/xilinx/xilinx-dma.c dma->sgl[0].size = dma->format.width * dma->fmtinfo->bpp; format 368 drivers/media/platform/xilinx/xilinx-dma.c dma->sgl[0].icg = dma->format.bytesperline - dma->sgl[0].size; format 369 drivers/media/platform/xilinx/xilinx-dma.c dma->xt.numf = dma->format.height; format 519 drivers/media/platform/xilinx/xilinx-dma.c f->pixelformat = dma->format.pixelformat; format 525 drivers/media/platform/xilinx/xilinx-dma.c xvip_dma_get_format(struct file *file, void *fh, struct v4l2_format *format) format 530 drivers/media/platform/xilinx/xilinx-dma.c format->fmt.pix = dma->format; format 587 drivers/media/platform/xilinx/xilinx-dma.c xvip_dma_try_format(struct file *file, void *fh, struct v4l2_format *format) format 592 drivers/media/platform/xilinx/xilinx-dma.c __xvip_dma_try_format(dma, &format->fmt.pix, NULL); format 597 drivers/media/platform/xilinx/xilinx-dma.c xvip_dma_set_format(struct file *file, void *fh, struct v4l2_format *format) format 603 drivers/media/platform/xilinx/xilinx-dma.c __xvip_dma_try_format(dma, &format->fmt.pix, &info); format 608 drivers/media/platform/xilinx/xilinx-dma.c dma->format = format->fmt.pix; format 664 drivers/media/platform/xilinx/xilinx-dma.c dma->format.pixelformat = dma->fmtinfo->fourcc; format 665 drivers/media/platform/xilinx/xilinx-dma.c dma->format.colorspace = V4L2_COLORSPACE_SRGB; format 666 drivers/media/platform/xilinx/xilinx-dma.c dma->format.field = V4L2_FIELD_NONE; format 667 drivers/media/platform/xilinx/xilinx-dma.c dma->format.width = XVIP_DMA_DEF_WIDTH; format 668 drivers/media/platform/xilinx/xilinx-dma.c dma->format.height = XVIP_DMA_DEF_HEIGHT; format 669 drivers/media/platform/xilinx/xilinx-dma.c dma->format.bytesperline = dma->format.width * dma->fmtinfo->bpp; format 670 drivers/media/platform/xilinx/xilinx-dma.c dma->format.sizeimage = dma->format.bytesperline * dma->format.height; format 83 drivers/media/platform/xilinx/xilinx-dma.h struct v4l2_pix_format format; format 273 drivers/media/platform/xilinx/xilinx-tpg.c fmt->format = *__xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); format 292 drivers/media/platform/xilinx/xilinx-tpg.c fmt->format = *__format; format 298 drivers/media/platform/xilinx/xilinx-tpg.c bayer_phase = xtpg_get_bayer_phase(fmt->format.code); format 300 drivers/media/platform/xilinx/xilinx-tpg.c __format->code = fmt->format.code; format 305 drivers/media/platform/xilinx/xilinx-tpg.c fmt->format = *__format; format 310 drivers/media/platform/xilinx/xilinx-tpg.c *__format = fmt->format; format 324 drivers/media/platform/xilinx/xilinx-tpg.c struct v4l2_mbus_framefmt *format; format 326 drivers/media/platform/xilinx/xilinx-tpg.c format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); format 328 drivers/media/platform/xilinx/xilinx-tpg.c if (fse->index || fse->code != format->code) format 340 drivers/media/platform/xilinx/xilinx-tpg.c fse->min_width = format->width; format 341 drivers/media/platform/xilinx/xilinx-tpg.c fse->max_width = format->width; format 342 drivers/media/platform/xilinx/xilinx-tpg.c fse->min_height = format->height; format 343 drivers/media/platform/xilinx/xilinx-tpg.c fse->max_height = format->height; format 352 drivers/media/platform/xilinx/xilinx-tpg.c struct v4l2_mbus_framefmt *format; format 354 drivers/media/platform/xilinx/xilinx-tpg.c format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); format 355 drivers/media/platform/xilinx/xilinx-tpg.c *format = xtpg->default_format; format 358 drivers/media/platform/xilinx/xilinx-tpg.c format = v4l2_subdev_get_try_format(subdev, fh->pad, 1); format 359 drivers/media/platform/xilinx/xilinx-tpg.c *format = xtpg->default_format; format 722 drivers/media/platform/xilinx/xilinx-tpg.c const struct xvip_video_format *format; format 728 drivers/media/platform/xilinx/xilinx-tpg.c format = xvip_of_get_format(port); format 729 drivers/media/platform/xilinx/xilinx-tpg.c if (IS_ERR(format)) { format 732 drivers/media/platform/xilinx/xilinx-tpg.c return PTR_ERR(format); format 737 drivers/media/platform/xilinx/xilinx-tpg.c xtpg->vip_format = format; format 738 drivers/media/platform/xilinx/xilinx-tpg.c } else if (xtpg->vip_format != format) { format 58 drivers/media/platform/xilinx/xilinx-vip.c const struct xvip_video_format *format = &xvip_video_formats[i]; format 60 drivers/media/platform/xilinx/xilinx-vip.c if (format->code == code) format 61 drivers/media/platform/xilinx/xilinx-vip.c return format; format 81 drivers/media/platform/xilinx/xilinx-vip.c const struct xvip_video_format *format = &xvip_video_formats[i]; format 83 drivers/media/platform/xilinx/xilinx-vip.c if (format->fourcc == fourcc) format 84 drivers/media/platform/xilinx/xilinx-vip.c return format; format 122 drivers/media/platform/xilinx/xilinx-vip.c const struct xvip_video_format *format = &xvip_video_formats[i]; format 124 drivers/media/platform/xilinx/xilinx-vip.c if (format->vf_code != vf_code || format->width != width) format 128 drivers/media/platform/xilinx/xilinx-vip.c strcmp(pattern, format->pattern)) format 131 drivers/media/platform/xilinx/xilinx-vip.c return format; format 147 drivers/media/platform/xilinx/xilinx-vip.c void xvip_set_format_size(struct v4l2_mbus_framefmt *format, format 150 drivers/media/platform/xilinx/xilinx-vip.c format->width = clamp_t(unsigned int, fmt->format.width, format 152 drivers/media/platform/xilinx/xilinx-vip.c format->height = clamp_t(unsigned int, fmt->format.height, format 252 drivers/media/platform/xilinx/xilinx-vip.c struct v4l2_mbus_framefmt *format; format 263 drivers/media/platform/xilinx/xilinx-vip.c format = v4l2_subdev_get_try_format(subdev, cfg, code->pad); format 265 drivers/media/platform/xilinx/xilinx-vip.c code->code = format->code; format 290 drivers/media/platform/xilinx/xilinx-vip.c struct v4l2_mbus_framefmt *format; format 298 drivers/media/platform/xilinx/xilinx-vip.c format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); format 300 drivers/media/platform/xilinx/xilinx-vip.c if (fse->index || fse->code != format->code) format 312 drivers/media/platform/xilinx/xilinx-vip.c fse->min_width = format->width; format 313 drivers/media/platform/xilinx/xilinx-vip.c fse->max_width = format->width; format 314 drivers/media/platform/xilinx/xilinx-vip.c fse->min_height = format->height; format 315 drivers/media/platform/xilinx/xilinx-vip.c fse->max_height = format->height; format 125 drivers/media/platform/xilinx/xilinx-vip.h void xvip_set_format_size(struct v4l2_mbus_framefmt *format, format 190 drivers/media/platform/xilinx/xilinx-vip.h const struct v4l2_mbus_framefmt *format) format 193 drivers/media/platform/xilinx/xilinx-vip.h (format->height << XVIP_ACTIVE_VSIZE_SHIFT) | format 194 drivers/media/platform/xilinx/xilinx-vip.h (format->width << XVIP_ACTIVE_HSIZE_SHIFT)); format 198 drivers/media/platform/xilinx/xilinx-vip.h struct v4l2_mbus_framefmt *format) format 203 drivers/media/platform/xilinx/xilinx-vip.h format->width = (reg & XVIP_ACTIVE_HSIZE_MASK) >> format 205 drivers/media/platform/xilinx/xilinx-vip.h format->height = (reg & XVIP_ACTIVE_VSIZE_MASK) >> format 38 drivers/media/radio/radio-tea5764.c #define PINFO(format, ...)\ format 40 drivers/media/radio/radio-tea5764.c DRIVER_VERSION ": " format "\n", ## __VA_ARGS__) format 41 drivers/media/radio/radio-tea5764.c #define PWARN(format, ...)\ format 43 drivers/media/radio/radio-tea5764.c DRIVER_VERSION ": " format "\n", ## __VA_ARGS__) format 44 drivers/media/radio/radio-tea5764.c # define PDEBUG(format, ...)\ format 46 drivers/media/radio/radio-tea5764.c DRIVER_VERSION ": " format "\n", ## __VA_ARGS__) format 43 drivers/media/radio/wl128x/fmdrv.h #define fmerr(format, ...) \ format 44 drivers/media/radio/wl128x/fmdrv.h printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__) format 45 drivers/media/radio/wl128x/fmdrv.h #define fmwarn(format, ...) \ format 46 drivers/media/radio/wl128x/fmdrv.h printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__) format 48 drivers/media/radio/wl128x/fmdrv.h #define fmdbg(format, ...) \ format 49 drivers/media/radio/wl128x/fmdrv.h printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__) format 51 drivers/media/radio/wl128x/fmdrv.h #define fmdbg(format, ...) do {} while(0) format 136 drivers/media/rc/ati_remote.c #define dbginfo(dev, format, arg...) \ format 137 drivers/media/rc/ati_remote.c do { if (debug) dev_info(dev , format , ## arg); } while (0) format 139 drivers/media/rc/ati_remote.c #define err(format, arg...) printk(KERN_ERR format , ## arg) format 171 drivers/media/rc/ene_ir.h #define __dbg(level, format, ...) \ format 174 drivers/media/rc/ene_ir.h pr_info(format "\n", ## __VA_ARGS__); \ format 177 drivers/media/rc/ene_ir.h #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__) format 178 drivers/media/rc/ene_ir.h #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__) format 179 drivers/media/rc/ene_ir.h #define dbg_regs(format, ...) __dbg(3, format, ## __VA_ARGS__) format 55 drivers/media/spi/gs1662.c struct v4l2_dv_timings format; format 224 drivers/media/spi/gs1662.c *timings = reg_fmt[i].format; format 237 drivers/media/spi/gs1662.c if (v4l2_match_dv_timings(timings, ®_fmt[i].format, 0, format 440 drivers/media/spi/gs1662.c gs->current_timings = reg_fmt[0].format; format 19 drivers/media/tuners/mc44s803.c #define mc_printk(level, format, arg...) \ format 20 drivers/media/tuners/mc44s803.c printk(level "mc44s803: " format , ## arg) format 131 drivers/media/tuners/tda18271-priv.h __attribute__((format(printf, 4, 5))) format 1132 drivers/media/usb/au0828/au0828-video.c struct v4l2_format *format) format 1135 drivers/media/usb/au0828/au0828-video.c int width = format->fmt.pix.width; format 1136 drivers/media/usb/au0828/au0828-video.c int height = format->fmt.pix.height; format 1140 drivers/media/usb/au0828/au0828-video.c if (format->fmt.pix.pixelformat != V4L2_PIX_FMT_UYVY) format 1149 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.width = width; format 1150 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.height = height; format 1151 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.pixelformat = V4L2_PIX_FMT_UYVY; format 1152 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.bytesperline = width * 2; format 1153 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.sizeimage = width * height * 2; format 1154 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; format 1155 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.field = V4L2_FIELD_INTERLACED; format 1581 drivers/media/usb/au0828/au0828-video.c struct v4l2_format *format) format 1588 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.samples_per_line = dev->vbi_width; format 1589 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; format 1590 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.offset = 0; format 1591 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.flags = 0; format 1592 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; format 1594 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.count[0] = dev->vbi_height; format 1595 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.count[1] = dev->vbi_height; format 1596 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.start[0] = 21; format 1597 drivers/media/usb/au0828/au0828-video.c format->fmt.vbi.start[1] = 284; format 1598 drivers/media/usb/au0828/au0828-video.c memset(format->fmt.vbi.reserved, 0, sizeof(format->fmt.vbi.reserved)); format 1922 drivers/media/usb/cx231xx/cx231xx-417.c struct v4l2_subdev_format format = { format 1927 drivers/media/usb/cx231xx/cx231xx-417.c format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); format 1928 drivers/media/usb/cx231xx/cx231xx-417.c format.format.height = cxhdl->height; format 1929 drivers/media/usb/cx231xx/cx231xx-417.c format.format.code = MEDIA_BUS_FMT_FIXED; format 1930 drivers/media/usb/cx231xx/cx231xx-417.c v4l2_subdev_call(dev->sd_cx25840, pad, set_fmt, NULL, &format); format 522 drivers/media/usb/cx231xx/cx231xx-audio.c unsigned int channels, rate, format; format 524 drivers/media/usb/cx231xx/cx231xx-audio.c format = params_format(hw_params); format 81 drivers/media/usb/cx231xx/cx231xx-video.c static struct cx231xx_fmt format[] = { format 717 drivers/media/usb/cx231xx/cx231xx-video.c *size = (fh->dev->width * fh->dev->height * dev->format->depth + 7)>>3; format 773 drivers/media/usb/cx231xx/cx231xx-video.c buf->vb.size = (fh->dev->width * fh->dev->height * dev->format->depth format 939 drivers/media/usb/cx231xx/cx231xx-video.c f->fmt.pix.pixelformat = dev->format->fourcc; format 940 drivers/media/usb/cx231xx/cx231xx-video.c f->fmt.pix.bytesperline = (dev->width * dev->format->depth + 7) >> 3; format 953 drivers/media/usb/cx231xx/cx231xx-video.c for (i = 0; i < ARRAY_SIZE(format); i++) format 954 drivers/media/usb/cx231xx/cx231xx-video.c if (format[i].fourcc == fourcc) format 955 drivers/media/usb/cx231xx/cx231xx-video.c return &format[i]; format 1000 drivers/media/usb/cx231xx/cx231xx-video.c struct v4l2_subdev_format format = { format 1028 drivers/media/usb/cx231xx/cx231xx-video.c dev->format = fmt; format 1030 drivers/media/usb/cx231xx/cx231xx-video.c v4l2_fill_mbus_format(&format.format, &f->fmt.pix, MEDIA_BUS_FMT_FIXED); format 1031 drivers/media/usb/cx231xx/cx231xx-video.c call_all(dev, pad, set_fmt, NULL, &format); format 1032 drivers/media/usb/cx231xx/cx231xx-video.c v4l2_fill_pix_format(&f->fmt.pix, &format.format); format 1050 drivers/media/usb/cx231xx/cx231xx-video.c struct v4l2_subdev_format format = { format 1076 drivers/media/usb/cx231xx/cx231xx-video.c format.format.code = MEDIA_BUS_FMT_FIXED; format 1077 drivers/media/usb/cx231xx/cx231xx-video.c format.format.width = dev->width; format 1078 drivers/media/usb/cx231xx/cx231xx-video.c format.format.height = dev->height; format 1079 drivers/media/usb/cx231xx/cx231xx-video.c call_all(dev, pad, set_fmt, NULL, &format); format 1577 drivers/media/usb/cx231xx/cx231xx-video.c if (unlikely(f->index >= ARRAY_SIZE(format))) format 1580 drivers/media/usb/cx231xx/cx231xx-video.c f->pixelformat = format[f->index].fourcc; format 2189 drivers/media/usb/cx231xx/cx231xx-video.c dev->format = &format[0]; format 598 drivers/media/usb/cx231xx/cx231xx.h struct cx231xx_fmt *format; format 1030 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.width = f->fmt.pix.width & ~1; format 1031 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.height = f->fmt.pix.height & ~1; format 1032 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.code = MEDIA_BUS_FMT_FIXED; format 1033 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.field = field; format 1034 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.colorspace = V4L2_COLORSPACE_SMPTE170M; format 1040 drivers/media/usb/dvb-usb/cxusb-analog.c f->fmt.pix.width = subfmt.format.width; format 1041 drivers/media/usb/dvb-usb/cxusb-analog.c f->fmt.pix.height = subfmt.format.height; format 1512 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.width = cxdev->width; format 1513 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.height = cxdev->height; format 1514 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.code = MEDIA_BUS_FMT_FIXED; format 1515 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.field = V4L2_FIELD_SEQ_TB; format 1516 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.colorspace = V4L2_COLORSPACE_SMPTE170M; format 1524 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->width = subfmt.format.width; format 1525 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->height = subfmt.format.height; format 54 drivers/media/usb/dvb-usb/dvb-usb.h #define err(format, arg...) printk(KERN_ERR DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) format 56 drivers/media/usb/dvb-usb/dvb-usb.h #define info(format, arg...) printk(KERN_INFO DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) format 58 drivers/media/usb/dvb-usb/dvb-usb.h #define warn(format, arg...) printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg) format 63 drivers/media/usb/dvb-usb/pctv452e.c #define ci_dbg(format, arg...) \ format 67 drivers/media/usb/dvb-usb/pctv452e.c ": " format "\n" , ## arg); \ format 47 drivers/media/usb/dvb-usb/ttusb2.c #define ci_dbg(format, arg...) \ format 51 drivers/media/usb/dvb-usb/ttusb2.c ": %s " format "\n" , __func__, ## arg); \ format 377 drivers/media/usb/em28xx/em28xx-audio.c unsigned int channels, rate, format; format 379 drivers/media/usb/em28xx/em28xx-audio.c format = params_format(hw_params); format 381 drivers/media/usb/em28xx/em28xx-camera.c struct v4l2_subdev_format format = { format 402 drivers/media/usb/em28xx/em28xx-camera.c format.format.code = MEDIA_BUS_FMT_YUYV8_2X8; format 403 drivers/media/usb/em28xx/em28xx-camera.c format.format.width = 640; format 404 drivers/media/usb/em28xx/em28xx-camera.c format.format.height = 480; format 405 drivers/media/usb/em28xx/em28xx-camera.c v4l2_subdev_call(subdev, pad, set_fmt, NULL, &format); format 103 drivers/media/usb/em28xx/em28xx-video.c static struct em28xx_fmt format[] = { format 218 drivers/media/usb/em28xx/em28xx-video.c fmt = v4l2->format->reg; format 1045 drivers/media/usb/em28xx/em28xx-video.c (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3; format 1067 drivers/media/usb/em28xx/em28xx-video.c size = (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3; format 1430 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.pixelformat = v4l2->format->fourcc; format 1431 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.bytesperline = (v4l2->width * v4l2->format->depth + 7) >> 3; format 1448 drivers/media/usb/em28xx/em28xx-video.c for (i = 0; i < ARRAY_SIZE(format); i++) format 1449 drivers/media/usb/em28xx/em28xx-video.c if (format[i].fourcc == fourcc) format 1450 drivers/media/usb/em28xx/em28xx-video.c return &format[i]; format 1469 drivers/media/usb/em28xx/em28xx-video.c fmt = &format[0]; format 1527 drivers/media/usb/em28xx/em28xx-video.c v4l2->format = fmt; format 2003 drivers/media/usb/em28xx/em28xx-video.c if (unlikely(f->index >= ARRAY_SIZE(format))) format 2006 drivers/media/usb/em28xx/em28xx-video.c f->pixelformat = format[f->index].fourcc; format 2056 drivers/media/usb/em28xx/em28xx-video.c struct v4l2_format *format) format 2061 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.samples_per_line = v4l2->vbi_width; format 2062 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; format 2063 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.offset = 0; format 2064 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.flags = 0; format 2065 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; format 2066 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.count[0] = v4l2->vbi_height; format 2067 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.count[1] = v4l2->vbi_height; format 2068 drivers/media/usb/em28xx/em28xx-video.c memset(format->fmt.vbi.reserved, 0, sizeof(format->fmt.vbi.reserved)); format 2073 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.start[0] = 10; format 2074 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.start[1] = 273; format 2077 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.start[0] = 6; format 2078 drivers/media/usb/em28xx/em28xx-video.c format->fmt.vbi.start[1] = 318; format 2693 drivers/media/usb/em28xx/em28xx-video.c v4l2->format = &format[0]; format 2703 drivers/media/usb/em28xx/em28xx-video.c em28xx_set_video_format(dev, format[0].fourcc, format 577 drivers/media/usb/em28xx/em28xx.h struct em28xx_fmt *format; format 501 drivers/media/usb/go7007/go7007-driver.c switch (go->format) { format 589 drivers/media/usb/go7007/go7007-driver.c if ((go->format == V4L2_PIX_FMT_MPEG1 || format 590 drivers/media/usb/go7007/go7007-driver.c go->format == V4L2_PIX_FMT_MPEG2 || format 591 drivers/media/usb/go7007/go7007-driver.c go->format == V4L2_PIX_FMT_MPEG4) && format 644 drivers/media/usb/go7007/go7007-driver.c if (go->format == V4L2_PIX_FMT_MJPEG) format 718 drivers/media/usb/go7007/go7007-driver.c go->format = V4L2_PIX_FMT_MJPEG; format 447 drivers/media/usb/go7007/go7007-fw.c CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 0x7 : 0x4, 4); format 449 drivers/media/usb/go7007/go7007-fw.c CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 0x7 : 0x4, 4); format 458 drivers/media/usb/go7007/go7007-fw.c if (go->format == V4L2_PIX_FMT_MPEG2) { format 529 drivers/media/usb/go7007/go7007-fw.c if (go->format == V4L2_PIX_FMT_MPEG1) { format 579 drivers/media/usb/go7007/go7007-fw.c CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 20000 : 0x3ffff, 18); format 581 drivers/media/usb/go7007/go7007-fw.c CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 112 : 20, 10); format 589 drivers/media/usb/go7007/go7007-fw.c if (go->format == V4L2_PIX_FMT_MPEG2) { format 923 drivers/media/usb/go7007/go7007-fw.c int lambda = (go->format == V4L2_PIX_FMT_MJPEG || go->dvd_mode) ? format 926 drivers/media/usb/go7007/go7007-fw.c int vbv_buffer = go->format == V4L2_PIX_FMT_MJPEG ? format 1089 drivers/media/usb/go7007/go7007-fw.c 0xc6c3, go->format == V4L2_PIX_FMT_MPEG4 ? 0 : format 1090 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_H263 ? 0 : 1), format 1091 drivers/media/usb/go7007/go7007-fw.c 0xc680, go->format == V4L2_PIX_FMT_MPEG4 ? 0xf1 : format 1092 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_H263 ? 0x61 : format 1116 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MPEG4 ? 0x11 : format 1117 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MPEG1 ? 0x02 : format 1118 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MPEG2 ? 0x04 : format 1119 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_H263 ? 0x08 : format 1121 drivers/media/usb/go7007/go7007-fw.c 0xbf0a, (go->format == V4L2_PIX_FMT_MPEG4 ? 8 : format 1122 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MPEG1 ? 1 : format 1123 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MPEG2 ? 2 : format 1124 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_H263 ? 4 : 16)))) | format 1341 drivers/media/usb/go7007/go7007-fw.c go->format == V4L2_PIX_FMT_MPEG4 ? 0x0404 : 0, format 1344 drivers/media/usb/go7007/go7007-fw.c ((go->format == V4L2_PIX_FMT_MPEG4 ? 1 : 0) << 11) | format 1349 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MPEG1 ? 0x89a0 : format 1350 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MPEG2 ? 0x89a0 : format 1351 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MJPEG ? 0x89a0 : format 1352 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_MPEG4 ? 0x8920 : format 1353 drivers/media/usb/go7007/go7007-fw.c (go->format == V4L2_PIX_FMT_H263 ? 0x8920 : 0))))), format 1499 drivers/media/usb/go7007/go7007-fw.c switch (go->format) { format 1518 drivers/media/usb/go7007/go7007-fw.c switch (go->format) { format 1552 drivers/media/usb/go7007/go7007-fw.c switch (go->format) { format 198 drivers/media/usb/go7007/go7007-priv.h u32 format; format 45 drivers/media/usb/go7007/go7007-v4l2.c static u32 get_frame_type_flag(struct go7007_buffer *vb, int format) format 49 drivers/media/usb/go7007/go7007-v4l2.c switch (format) { format 101 drivers/media/usb/go7007/go7007-v4l2.c if (go->format == V4L2_PIX_FMT_MJPEG) { format 114 drivers/media/usb/go7007/go7007-v4l2.c switch (go->format) { format 154 drivers/media/usb/go7007/go7007-v4l2.c if (go->format == V4L2_PIX_FMT_MPEG2) format 238 drivers/media/usb/go7007/go7007-v4l2.c go->format = fmt->fmt.pix.pixelformat; format 245 drivers/media/usb/go7007/go7007-v4l2.c struct v4l2_subdev_format format = { format 249 drivers/media/usb/go7007/go7007-v4l2.c format.format.code = MEDIA_BUS_FMT_FIXED; format 250 drivers/media/usb/go7007/go7007-v4l2.c format.format.width = fmt ? fmt->fmt.pix.width : width; format 251 drivers/media/usb/go7007/go7007-v4l2.c format.format.height = height; format 255 drivers/media/usb/go7007/go7007-v4l2.c call_all(&go->v4l2_dev, pad, set_fmt, NULL, &format); format 315 drivers/media/usb/go7007/go7007-v4l2.c fmt->fmt.pix.pixelformat = go->format; format 389 drivers/media/usb/go7007/go7007-v4l2.c u32 frame_type_flag = get_frame_type_flag(go7007_vb, go->format); format 402 drivers/media/usb/go7007/s2250-board.c struct v4l2_subdev_format *format) format 404 drivers/media/usb/go7007/s2250-board.c struct v4l2_mbus_framefmt *fmt = &format->format; format 408 drivers/media/usb/go7007/s2250-board.c if (format->pad) format 411 drivers/media/usb/go7007/s2250-board.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) format 333 drivers/media/usb/gspca/cpia1.c } format; format 679 drivers/media/usb/gspca/cpia1.c params->format.subSample = SUBSAMPLE_420; format 680 drivers/media/usb/gspca/cpia1.c params->format.yuvOrder = YUVORDER_YUYV; format 790 drivers/media/usb/gspca/cpia1.c sd->params.format.videoSize, format 791 drivers/media/usb/gspca/cpia1.c sd->params.format.subSample, format 792 drivers/media/usb/gspca/cpia1.c sd->params.format.yuvOrder, 0); format 1546 drivers/media/usb/gspca/cpia1.c sd->params.format.videoSize = VIDEOSIZE_QCIF; format 1551 drivers/media/usb/gspca/cpia1.c sd->params.format.videoSize = VIDEOSIZE_CIF; format 1695 drivers/media/usb/gspca/cpia1.c data[16] == sd->params.format.videoSize && format 1696 drivers/media/usb/gspca/cpia1.c data[17] == sd->params.format.subSample && format 1697 drivers/media/usb/gspca/cpia1.c data[18] == sd->params.format.yuvOrder && format 2917 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_subdev_format format = { format 2921 drivers/media/usb/pvrusb2/pvrusb2-hdw.c format.format.width = hdw->res_hor_val; format 2922 drivers/media/usb/pvrusb2/pvrusb2-hdw.c format.format.height = hdw->res_ver_val; format 2923 drivers/media/usb/pvrusb2/pvrusb2-hdw.c format.format.code = MEDIA_BUS_FMT_FIXED; format 2925 drivers/media/usb/pvrusb2/pvrusb2-hdw.c format.format.width, format.format.height); format 2927 drivers/media/usb/pvrusb2/pvrusb2-hdw.c NULL, &format); format 134 drivers/media/usb/s2255/s2255drv.c u32 format; /* input video format (NTSC, PAL) */ format 879 drivers/media/usb/s2255/s2255drv.c else if (mode.format != vc->mode.format) format 912 drivers/media/usb/s2255/s2255drv.c if (mode->format == FORMAT_NTSC) { format 930 drivers/media/usb/s2255/s2255drv.c } else if (mode->format == FORMAT_PAL) { format 969 drivers/media/usb/s2255/s2255drv.c dev_info(dev, "format: %d\nscale %d\n", mode->format, mode->scale); format 1113 drivers/media/usb/s2255/s2255drv.c if (mode.format != FORMAT_NTSC) { format 1115 drivers/media/usb/s2255/s2255drv.c mode.format = FORMAT_NTSC; format 1122 drivers/media/usb/s2255/s2255drv.c if (mode.format != FORMAT_PAL) { format 1124 drivers/media/usb/s2255/s2255drv.c mode.format = FORMAT_PAL; format 1271 drivers/media/usb/s2255/s2255drv.c def_num = (vc->mode.format == FORMAT_NTSC) ? 1001 : 1000; format 1272 drivers/media/usb/s2255/s2255drv.c def_dem = (vc->mode.format == FORMAT_NTSC) ? 30000 : 25000; format 1311 drivers/media/usb/s2255/s2255drv.c def_num = (mode.format == FORMAT_NTSC) ? 1001 : 1000; format 1312 drivers/media/usb/s2255/s2255drv.c def_dem = (mode.format == FORMAT_NTSC) ? 30000 : 25000; format 47 drivers/media/usb/stk1160/stk1160-v4l.c static struct stk1160_fmt format[] = { format 348 drivers/media/usb/stk1160/stk1160-v4l.c f->pixelformat = format[f->index].fourcc; format 826 drivers/media/usb/stk1160/stk1160-v4l.c dev->fmt = &format[0]; format 53 drivers/media/usb/tm6000/tm6000-video.c static struct tm6000_fmt format[] = { format 872 drivers/media/usb/tm6000/tm6000-video.c if (f->index >= ARRAY_SIZE(format)) format 875 drivers/media/usb/tm6000/tm6000-video.c f->pixelformat = format[f->index].fourcc; format 901 drivers/media/usb/tm6000/tm6000-video.c for (i = 0; i < ARRAY_SIZE(format); i++) format 902 drivers/media/usb/tm6000/tm6000-video.c if (format[i].fourcc == fourcc) format 903 drivers/media/usb/tm6000/tm6000-video.c return format+i; format 1336 drivers/media/usb/tm6000/tm6000-video.c dev->fourcc = format[0].fourcc; format 503 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format == V4L2_PIX_FMT_YUYV) { format 508 drivers/media/usb/usbvision/usbvision-core.c switch (frame->v4l2_format.format) { format 537 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format == V4L2_PIX_FMT_YUYV) { format 542 drivers/media/usb/usbvision/usbvision-core.c switch (frame->v4l2_format.format) { format 692 drivers/media/usb/usbvision/usbvision-core.c if ((frame->v4l2_format.format == V4L2_PIX_FMT_YUV422P) || format 693 drivers/media/usb/usbvision/usbvision-core.c (frame->v4l2_format.format == V4L2_PIX_FMT_YVU420)) { /* this is a planar format */ format 699 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format == V4L2_PIX_FMT_YUYV) { /* initialise u and v pointers */ format 705 drivers/media/usb/usbvision/usbvision-core.c } else if (frame->v4l2_format.format == V4L2_PIX_FMT_YVU420) { format 778 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format == V4L2_PIX_FMT_YUYV) { format 781 drivers/media/usb/usbvision/usbvision-core.c } else if (frame->v4l2_format.format == V4L2_PIX_FMT_YUV422P) { format 787 drivers/media/usb/usbvision/usbvision-core.c } else if (frame->v4l2_format.format == V4L2_PIX_FMT_YVU420) { format 797 drivers/media/usb/usbvision/usbvision-core.c switch (frame->v4l2_format.format) { format 829 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format != V4L2_PIX_FMT_YVU420) format 916 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format == V4L2_PIX_FMT_YUYV) { format 926 drivers/media/usb/usbvision/usbvision-core.c switch (frame->v4l2_format.format) { format 959 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format == V4L2_PIX_FMT_YUYV) { format 969 drivers/media/usb/usbvision/usbvision-core.c switch (frame->v4l2_format.format) { format 1004 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format == V4L2_PIX_FMT_YUYV) { format 1014 drivers/media/usb/usbvision/usbvision-core.c switch (frame->v4l2_format.format) { format 1047 drivers/media/usb/usbvision/usbvision-core.c if (frame->v4l2_format.format == V4L2_PIX_FMT_YUYV) { format 1057 drivers/media/usb/usbvision/usbvision-core.c switch (frame->v4l2_format.format) { format 1613 drivers/media/usb/usbvision/usbvision-core.c static int usbvision_set_video_format(struct usb_usbvision *usbvision, int format) format 1622 drivers/media/usb/usbvision/usbvision-core.c PDEBUG(DBG_FUNC, "isoc_mode %#02x", format); format 1624 drivers/media/usb/usbvision/usbvision-core.c if ((format != ISOC_MODE_YUV422) format 1625 drivers/media/usb/usbvision/usbvision-core.c && (format != ISOC_MODE_YUV420) format 1626 drivers/media/usb/usbvision/usbvision-core.c && (format != ISOC_MODE_COMPRESS)) { format 1628 drivers/media/usb/usbvision/usbvision-core.c format); format 1629 drivers/media/usb/usbvision/usbvision-core.c format = ISOC_MODE_YUV420; format 1632 drivers/media/usb/usbvision/usbvision-core.c value[1] = format; /* Sets the VO_MODE register which follows FILT_CONT */ format 1643 drivers/media/usb/usbvision/usbvision-core.c usbvision->isoc_mode = format; format 2204 drivers/media/usb/usbvision/usbvision-core.c int usbvision_setup(struct usb_usbvision *usbvision, int format) format 2208 drivers/media/usb/usbvision/usbvision-core.c usbvision_set_video_format(usbvision, format); format 808 drivers/media/usb/usbvision/usbvision-video.c vfd->pixelformat = usbvision_v4l2_format[vfd->index].format; format 818 drivers/media/usb/usbvision/usbvision-video.c vf->fmt.pix.pixelformat = usbvision->palette.format; format 837 drivers/media/usb/usbvision/usbvision-video.c usbvision_v4l2_format[format_idx].format) { format 266 drivers/media/usb/usbvision/usbvision.h int format; format 480 drivers/media/usb/usbvision/usbvision.h int usbvision_setup(struct usb_usbvision *usbvision, int format); format 406 drivers/media/usb/uvc/uvc_driver.c kfree(stream->format); format 442 drivers/media/usb/uvc/uvc_driver.c struct uvc_streaming *streaming, struct uvc_format *format, format 455 drivers/media/usb/uvc/uvc_driver.c format->type = buffer[2]; format 456 drivers/media/usb/uvc/uvc_driver.c format->index = buffer[3]; format 474 drivers/media/usb/uvc/uvc_driver.c strscpy(format->name, fmtdesc->name, format 475 drivers/media/usb/uvc/uvc_driver.c sizeof(format->name)); format 476 drivers/media/usb/uvc/uvc_driver.c format->fcc = fmtdesc->fcc; format 480 drivers/media/usb/uvc/uvc_driver.c snprintf(format->name, sizeof(format->name), "%pUl\n", format 482 drivers/media/usb/uvc/uvc_driver.c format->fcc = 0; format 485 drivers/media/usb/uvc/uvc_driver.c format->bpp = buffer[21]; format 491 drivers/media/usb/uvc/uvc_driver.c if (format->fcc == V4L2_PIX_FMT_YUYV) { format 492 drivers/media/usb/uvc/uvc_driver.c strscpy(format->name, "Greyscale 8-bit (Y8 )", format 493 drivers/media/usb/uvc/uvc_driver.c sizeof(format->name)); format 494 drivers/media/usb/uvc/uvc_driver.c format->fcc = V4L2_PIX_FMT_GREY; format 495 drivers/media/usb/uvc/uvc_driver.c format->bpp = 8; format 503 drivers/media/usb/uvc/uvc_driver.c v4l2_format_info(format->fcc); format 512 drivers/media/usb/uvc/uvc_driver.c format->bpp = DIV_ROUND_UP(8 * n, div); format 521 drivers/media/usb/uvc/uvc_driver.c format->flags = UVC_FMT_FLAG_COMPRESSED; format 534 drivers/media/usb/uvc/uvc_driver.c strscpy(format->name, "MJPEG", sizeof(format->name)); format 535 drivers/media/usb/uvc/uvc_driver.c format->fcc = V4L2_PIX_FMT_MJPEG; format 536 drivers/media/usb/uvc/uvc_driver.c format->flags = UVC_FMT_FLAG_COMPRESSED; format 537 drivers/media/usb/uvc/uvc_driver.c format->bpp = 0; format 552 drivers/media/usb/uvc/uvc_driver.c strscpy(format->name, "SD-DV", sizeof(format->name)); format 555 drivers/media/usb/uvc/uvc_driver.c strscpy(format->name, "SDL-DV", sizeof(format->name)); format 558 drivers/media/usb/uvc/uvc_driver.c strscpy(format->name, "HD-DV", sizeof(format->name)); format 568 drivers/media/usb/uvc/uvc_driver.c strlcat(format->name, buffer[8] & (1 << 7) ? " 60Hz" : " 50Hz", format 569 drivers/media/usb/uvc/uvc_driver.c sizeof(format->name)); format 571 drivers/media/usb/uvc/uvc_driver.c format->fcc = V4L2_PIX_FMT_DV; format 572 drivers/media/usb/uvc/uvc_driver.c format->flags = UVC_FMT_FLAG_COMPRESSED | UVC_FMT_FLAG_STREAM; format 573 drivers/media/usb/uvc/uvc_driver.c format->bpp = 0; format 577 drivers/media/usb/uvc/uvc_driver.c frame = &format->frame[0]; format 578 drivers/media/usb/uvc/uvc_driver.c memset(&format->frame[0], 0, sizeof(format->frame[0])); format 583 drivers/media/usb/uvc/uvc_driver.c format->nframes = 1; format 597 drivers/media/usb/uvc/uvc_driver.c uvc_trace(UVC_TRACE_DESCR, "Found format %s.\n", format->name); format 607 drivers/media/usb/uvc/uvc_driver.c frame = &format->frame[format->nframes]; format 651 drivers/media/usb/uvc/uvc_driver.c if (!(format->flags & UVC_FMT_FLAG_COMPRESSED)) format 652 drivers/media/usb/uvc/uvc_driver.c frame->dwMaxVideoFrameBufferSize = format->bpp format 685 drivers/media/usb/uvc/uvc_driver.c format->nframes++; format 706 drivers/media/usb/uvc/uvc_driver.c format->colorspace = uvc_colorspace(buffer[3]); format 719 drivers/media/usb/uvc/uvc_driver.c struct uvc_format *format; format 890 drivers/media/usb/uvc/uvc_driver.c size = nformats * sizeof(*format) + nframes * sizeof(*frame) format 892 drivers/media/usb/uvc/uvc_driver.c format = kzalloc(size, GFP_KERNEL); format 893 drivers/media/usb/uvc/uvc_driver.c if (format == NULL) { format 898 drivers/media/usb/uvc/uvc_driver.c frame = (struct uvc_frame *)&format[nformats]; format 901 drivers/media/usb/uvc/uvc_driver.c streaming->format = format; format 911 drivers/media/usb/uvc/uvc_driver.c format->frame = frame; format 912 drivers/media/usb/uvc/uvc_driver.c ret = uvc_parse_format(dev, streaming, format, format 917 drivers/media/usb/uvc/uvc_driver.c frame += format->nframes; format 918 drivers/media/usb/uvc/uvc_driver.c format++; format 42 drivers/media/usb/uvc/uvc_metadata.c struct v4l2_format *format) format 46 drivers/media/usb/uvc/uvc_metadata.c struct v4l2_meta_format *fmt = &format->fmt.meta; format 48 drivers/media/usb/uvc/uvc_metadata.c if (format->type != vfh->vdev->queue->type) format 53 drivers/media/usb/uvc/uvc_metadata.c fmt->dataformat = stream->meta.format; format 60 drivers/media/usb/uvc/uvc_metadata.c struct v4l2_format *format) format 65 drivers/media/usb/uvc/uvc_metadata.c struct v4l2_meta_format *fmt = &format->fmt.meta; format 68 drivers/media/usb/uvc/uvc_metadata.c if (format->type != vfh->vdev->queue->type) format 81 drivers/media/usb/uvc/uvc_metadata.c struct v4l2_format *format) format 85 drivers/media/usb/uvc/uvc_metadata.c struct v4l2_meta_format *fmt = &format->fmt.meta; format 88 drivers/media/usb/uvc/uvc_metadata.c ret = uvc_meta_v4l2_try_format(file, fh, format); format 102 drivers/media/usb/uvc/uvc_metadata.c stream->meta.format = fmt->dataformat; format 165 drivers/media/usb/uvc/uvc_metadata.c stream->meta.format = V4L2_META_FMT_UVC; format 135 drivers/media/usb/uvc/uvc_v4l2.c static u32 uvc_v4l2_get_bytesperline(const struct uvc_format *format, format 138 drivers/media/usb/uvc/uvc_v4l2.c switch (format->fcc) { format 146 drivers/media/usb/uvc/uvc_v4l2.c return format->bpp * frame->wWidth / 8; format 154 drivers/media/usb/uvc/uvc_v4l2.c struct uvc_format *format = NULL; format 176 drivers/media/usb/uvc/uvc_v4l2.c format = &stream->format[i]; format 177 drivers/media/usb/uvc/uvc_v4l2.c if (format->fcc == fmt->fmt.pix.pixelformat) format 182 drivers/media/usb/uvc/uvc_v4l2.c format = stream->def_format; format 183 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.pixelformat = format->fcc; format 194 drivers/media/usb/uvc/uvc_v4l2.c for (i = 0; i < format->nframes; ++i) { format 195 drivers/media/usb/uvc/uvc_v4l2.c u16 w = format->frame[i].wWidth; format 196 drivers/media/usb/uvc/uvc_v4l2.c u16 h = format->frame[i].wHeight; format 202 drivers/media/usb/uvc/uvc_v4l2.c frame = &format->frame[i]; format 224 drivers/media/usb/uvc/uvc_v4l2.c probe->bFormatIndex = format->index; format 253 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.bytesperline = uvc_v4l2_get_bytesperline(format, frame); format 255 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.colorspace = format->colorspace; format 258 drivers/media/usb/uvc/uvc_v4l2.c *uvc_format = format; format 269 drivers/media/usb/uvc/uvc_v4l2.c struct uvc_format *format; format 277 drivers/media/usb/uvc/uvc_v4l2.c format = stream->cur_format; format 280 drivers/media/usb/uvc/uvc_v4l2.c if (format == NULL || frame == NULL) { format 285 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.pixelformat = format->fcc; format 289 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.bytesperline = uvc_v4l2_get_bytesperline(format, frame); format 291 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.colorspace = format->colorspace; format 302 drivers/media/usb/uvc/uvc_v4l2.c struct uvc_format *format; format 309 drivers/media/usb/uvc/uvc_v4l2.c ret = uvc_v4l2_try_format(stream, fmt, &probe, &format, &frame); format 321 drivers/media/usb/uvc/uvc_v4l2.c stream->cur_format = format; format 369 drivers/media/usb/uvc/uvc_v4l2.c struct uvc_format *format; format 395 drivers/media/usb/uvc/uvc_v4l2.c format = stream->cur_format; format 402 drivers/media/usb/uvc/uvc_v4l2.c for (i = 0; i < format->nframes && maxd != 0; i++) { format 405 drivers/media/usb/uvc/uvc_v4l2.c if (&format->frame[i] == stream->cur_frame) format 408 drivers/media/usb/uvc/uvc_v4l2.c if (format->frame[i].wWidth != stream->cur_frame->wWidth || format 409 drivers/media/usb/uvc/uvc_v4l2.c format->frame[i].wHeight != stream->cur_frame->wHeight) format 412 drivers/media/usb/uvc/uvc_v4l2.c ival = uvc_try_frame_interval(&format->frame[i], interval); format 417 drivers/media/usb/uvc/uvc_v4l2.c frame = &format->frame[i]; format 599 drivers/media/usb/uvc/uvc_v4l2.c struct uvc_format *format; format 610 drivers/media/usb/uvc/uvc_v4l2.c format = &stream->format[fmt->index]; format 612 drivers/media/usb/uvc/uvc_v4l2.c if (format->flags & UVC_FMT_FLAG_COMPRESSED) format 614 drivers/media/usb/uvc/uvc_v4l2.c strscpy(fmt->description, format->name, sizeof(fmt->description)); format 616 drivers/media/usb/uvc/uvc_v4l2.c fmt->pixelformat = format->fcc; format 1169 drivers/media/usb/uvc/uvc_v4l2.c struct uvc_format *format = NULL; format 1176 drivers/media/usb/uvc/uvc_v4l2.c if (stream->format[i].fcc == fsize->pixel_format) { format 1177 drivers/media/usb/uvc/uvc_v4l2.c format = &stream->format[i]; format 1181 drivers/media/usb/uvc/uvc_v4l2.c if (format == NULL) format 1185 drivers/media/usb/uvc/uvc_v4l2.c for (i = 0, index = 0; i < format->nframes; i++) { format 1186 drivers/media/usb/uvc/uvc_v4l2.c if (frame && frame->wWidth == format->frame[i].wWidth && format 1187 drivers/media/usb/uvc/uvc_v4l2.c frame->wHeight == format->frame[i].wHeight) format 1189 drivers/media/usb/uvc/uvc_v4l2.c frame = &format->frame[i]; format 1195 drivers/media/usb/uvc/uvc_v4l2.c if (i == format->nframes) format 1209 drivers/media/usb/uvc/uvc_v4l2.c struct uvc_format *format = NULL; format 1217 drivers/media/usb/uvc/uvc_v4l2.c if (stream->format[i].fcc == fival->pixel_format) { format 1218 drivers/media/usb/uvc/uvc_v4l2.c format = &stream->format[i]; format 1222 drivers/media/usb/uvc/uvc_v4l2.c if (format == NULL) format 1226 drivers/media/usb/uvc/uvc_v4l2.c for (i = 0; i < format->nframes; i++) { format 1227 drivers/media/usb/uvc/uvc_v4l2.c if (format->frame[i].wWidth == fival->width && format 1228 drivers/media/usb/uvc/uvc_v4l2.c format->frame[i].wHeight == fival->height) { format 1229 drivers/media/usb/uvc/uvc_v4l2.c frame = &format->frame[i]; format 1236 drivers/media/usb/uvc/uvc_v4l2.c if (i == format->nframes) format 127 drivers/media/usb/uvc/uvc_video.c struct uvc_format *format = NULL; format 132 drivers/media/usb/uvc/uvc_video.c if (stream->format[i].index == ctrl->bFormatIndex) { format 133 drivers/media/usb/uvc/uvc_video.c format = &stream->format[i]; format 138 drivers/media/usb/uvc/uvc_video.c if (format == NULL) format 141 drivers/media/usb/uvc/uvc_video.c for (i = 0; i < format->nframes; ++i) { format 142 drivers/media/usb/uvc/uvc_video.c if (format->frame[i].bFrameIndex == ctrl->bFrameIndex) { format 143 drivers/media/usb/uvc/uvc_video.c frame = &format->frame[i]; format 151 drivers/media/usb/uvc/uvc_video.c if (!(format->flags & UVC_FMT_FLAG_COMPRESSED) || format 165 drivers/media/usb/uvc/uvc_video.c if (!(format->flags & UVC_FMT_FLAG_COMPRESSED) && format 181 drivers/media/usb/uvc/uvc_video.c bandwidth = frame->wWidth * frame->wHeight / 8 * format->bpp; format 1261 drivers/media/usb/uvc/uvc_video.c if (stream->meta.format == V4L2_META_FMT_UVC) format 1985 drivers/media/usb/uvc/uvc_video.c struct uvc_format *format = NULL; format 2026 drivers/media/usb/uvc/uvc_video.c format = &stream->format[i-1]; format 2027 drivers/media/usb/uvc/uvc_video.c if (format->index == probe->bFormatIndex) format 2031 drivers/media/usb/uvc/uvc_video.c if (format->nframes == 0) { format 2042 drivers/media/usb/uvc/uvc_video.c for (i = format->nframes; i > 0; --i) { format 2043 drivers/media/usb/uvc/uvc_video.c frame = &format->frame[i-1]; format 2048 drivers/media/usb/uvc/uvc_video.c probe->bFormatIndex = format->index; format 2051 drivers/media/usb/uvc/uvc_video.c stream->def_format = format; format 2052 drivers/media/usb/uvc/uvc_video.c stream->cur_format = format; format 550 drivers/media/usb/uvc/uvcvideo.h struct uvc_format *format; format 572 drivers/media/usb/uvc/uvcvideo.h u32 format; format 235 drivers/media/v4l2-core/v4l2-common.c const struct v4l2_format_info *v4l2_format_info(u32 format) format 239 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_BGR24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 240 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_RGB24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 241 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_HSV24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 242 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_BGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 243 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_XBGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 244 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_BGRX32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 245 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_RGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 246 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_XRGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 247 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_RGBX32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 248 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_HSV32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 249 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_ARGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 250 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_RGBA32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 251 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_ABGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 252 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_BGRA32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 253 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_GREY, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 256 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUYV, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 }, format 257 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVYU, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 }, format 258 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_UYVY, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 }, format 259 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_VYUY, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 }, format 262 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV12, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 }, format 263 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV21, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 }, format 264 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV16, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 1 }, format 265 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV61, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 1 }, format 266 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV24, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 267 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV42, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 269 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV410, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 4, .vdiv = 4 }, format 270 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU410, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 4, .vdiv = 4 }, format 271 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV411P, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 4, .vdiv = 1 }, format 272 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV420, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 2 }, format 273 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU420, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 2 }, format 274 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV422P, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 1 }, format 277 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV420M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 2 }, format 278 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU420M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 2 }, format 279 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV422M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 1 }, format 280 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU422M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 1 }, format 281 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV444M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 1, .vdiv = 1 }, format 282 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU444M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 1, .vdiv = 1 }, format 284 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV12M, .mem_planes = 2, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 }, format 285 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV21M, .mem_planes = 2, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 }, format 286 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV16M, .mem_planes = 2, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 1 }, format 287 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV61M, .mem_planes = 2, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 1 }, format 290 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 291 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 292 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 293 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 294 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR10, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 295 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG10, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 296 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG10, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 297 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB10, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 298 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR10ALAW8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 299 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG10ALAW8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 300 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG10ALAW8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 301 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB10ALAW8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 302 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR10DPCM8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 303 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG10DPCM8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 304 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG10DPCM8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 305 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB10DPCM8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 306 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR12, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 307 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG12, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 308 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG12, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 309 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB12, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, format 314 drivers/media/v4l2-core/v4l2-common.c if (formats[i].format == format) format 255 drivers/media/v4l2-core/v4l2-compat-ioctl32.c struct v4l2_format32 format; format 349 drivers/media/v4l2-core/v4l2-compat-ioctl32.c return __bufsize_v4l2_format(&p32->format, size); format 358 drivers/media/v4l2-core/v4l2-compat-ioctl32.c offsetof(struct v4l2_create_buffers32, format))) format 360 drivers/media/v4l2-core/v4l2-compat-ioctl32.c return __get_v4l2_format32(&p64->format, &p32->format, format 418 drivers/media/v4l2-core/v4l2-compat-ioctl32.c offsetof(struct v4l2_create_buffers32, format)) || format 422 drivers/media/v4l2-core/v4l2-compat-ioctl32.c return __put_v4l2_format32(&p64->format, &p32->format); format 522 drivers/media/v4l2-core/v4l2-ioctl.c v4l_print_format(&p->format, write_only); format 672 drivers/media/v4l2-core/v4l2-ioctl.c p->start.speed, p->start.format); format 2001 drivers/media/v4l2-core/v4l2-ioctl.c int ret = check_fmt(file, create->format.type); format 2008 drivers/media/v4l2-core/v4l2-ioctl.c v4l_sanitize_format(&create->format); format 2012 drivers/media/v4l2-core/v4l2-ioctl.c if (create->format.type == V4L2_BUF_TYPE_VIDEO_CAPTURE || format 2013 drivers/media/v4l2-core/v4l2-ioctl.c create->format.type == V4L2_BUF_TYPE_VIDEO_OUTPUT) format 2014 drivers/media/v4l2-core/v4l2-ioctl.c create->format.fmt.pix.priv = V4L2_PIX_FMT_PRIV_MAGIC; format 536 drivers/media/v4l2-core/v4l2-mem2mem.c vq = v4l2_m2m_get_vq(m2m_ctx, create->format.type); format 1151 drivers/media/v4l2-core/v4l2-mem2mem.c dc->start.format = V4L2_DEC_START_FMT_NONE; format 149 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_format *format) format 151 drivers/media/v4l2-core/v4l2-subdev.c if (!format) format 154 drivers/media/v4l2-core/v4l2-subdev.c return check_which(format->which) ? : check_pad(sd, format->pad) ? : format 155 drivers/media/v4l2-core/v4l2-subdev.c check_cfg(format->which, cfg); format 160 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_format *format) format 162 drivers/media/v4l2-core/v4l2-subdev.c return check_format(sd, cfg, format) ? : format 163 drivers/media/v4l2-core/v4l2-subdev.c sd->ops->pad->get_fmt(sd, cfg, format); format 168 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_format *format) format 170 drivers/media/v4l2-core/v4l2-subdev.c return check_format(sd, cfg, format) ? : format 171 drivers/media/v4l2-core/v4l2-subdev.c sd->ops->pad->set_fmt(sd, cfg, format); format 446 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_format *format = arg; format 448 drivers/media/v4l2-core/v4l2-subdev.c memset(format->reserved, 0, sizeof(format->reserved)); format 449 drivers/media/v4l2-core/v4l2-subdev.c memset(format->format.reserved, 0, sizeof(format->format.reserved)); format 450 drivers/media/v4l2-core/v4l2-subdev.c return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh->pad, format); format 454 drivers/media/v4l2-core/v4l2-subdev.c struct v4l2_subdev_format *format = arg; format 456 drivers/media/v4l2-core/v4l2-subdev.c memset(format->reserved, 0, sizeof(format->reserved)); format 457 drivers/media/v4l2-core/v4l2-subdev.c memset(format->format.reserved, 0, sizeof(format->format.reserved)); format 458 drivers/media/v4l2-core/v4l2-subdev.c return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh->pad, format); format 681 drivers/media/v4l2-core/v4l2-subdev.c if (source_fmt->format.width != sink_fmt->format.width format 682 drivers/media/v4l2-core/v4l2-subdev.c || source_fmt->format.height != sink_fmt->format.height format 683 drivers/media/v4l2-core/v4l2-subdev.c || source_fmt->format.code != sink_fmt->format.code) format 690 drivers/media/v4l2-core/v4l2-subdev.c if (source_fmt->format.field != sink_fmt->format.field && format 691 drivers/media/v4l2-core/v4l2-subdev.c sink_fmt->format.field != V4L2_FIELD_NONE) format 146 drivers/memstick/core/memstick.c #define MEMSTICK_ATTR(name, format) \ format 152 drivers/memstick/core/memstick.c return sprintf(buf, format, card->id.name); \ format 277 drivers/memstick/core/ms_block.h #define __dbg(level, format, ...) \ format 280 drivers/memstick/core/ms_block.h pr_err(format "\n", ## __VA_ARGS__); \ format 284 drivers/memstick/core/ms_block.h #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__) format 285 drivers/memstick/core/ms_block.h #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__) format 157 drivers/memstick/host/r592.h #define message(format, ...) \ format 158 drivers/memstick/host/r592.h printk(KERN_INFO DRV_NAME ": " format "\n", ## __VA_ARGS__) format 160 drivers/memstick/host/r592.h #define __dbg(level, format, ...) \ format 164 drivers/memstick/host/r592.h ": " format "\n", ## __VA_ARGS__); \ format 168 drivers/memstick/host/r592.h #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__) format 169 drivers/memstick/host/r592.h #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__) format 170 drivers/memstick/host/r592.h #define dbg_reg(format, ...) __dbg(3, format, ## __VA_ARGS__) format 364 drivers/mfd/mc13xxx-core.c const char *format, void *pdata, size_t pdata_size) format 375 drivers/mfd/mc13xxx-core.c if (snprintf(buf, sizeof(buf), format, name) > sizeof(buf)) format 386 drivers/mfd/mc13xxx-core.c static int mc13xxx_add_subdevice(struct mc13xxx *mc13xxx, const char *format) format 388 drivers/mfd/mc13xxx-core.c return mc13xxx_add_subdevice_pdata(mc13xxx, format, NULL, 0); format 50 drivers/mfd/wm8350-core.c #define ldbg(format, arg...) printk(format, ## arg) format 52 drivers/mfd/wm8350-core.c #define ldbg(format, arg...) format 58 drivers/misc/cb710/debug.c const char *const format = cb710_regf_##t; \ format 72 drivers/misc/cb710/debug.c p += sprintf(p, format, reg[j]); \ format 79 drivers/misc/cxl/hcalls.c #define _PRINT_MSG(rc, format, ...) \ format 82 drivers/misc/cxl/hcalls.c pr_err(format, __VA_ARGS__); \ format 84 drivers/misc/cxl/hcalls.c pr_devel(format, __VA_ARGS__); \ format 217 drivers/misc/mei/client.h #define cl_dbg(dev, cl, format, arg...) \ format 218 drivers/misc/mei/client.h dev_dbg((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg) format 220 drivers/misc/mei/client.h #define cl_warn(dev, cl, format, arg...) \ format 221 drivers/misc/mei/client.h dev_warn((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg) format 223 drivers/misc/mei/client.h #define cl_err(dev, cl, format, arg...) \ format 224 drivers/misc/mei/client.h dev_err((dev)->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg) format 24 drivers/mtd/maps/pcmciamtd.c #define info(format, arg...) printk(KERN_INFO "pcmciamtd: " format "\n" , ## arg) format 341 drivers/mtd/maps/pcmciamtd.c cistpl_format_t *t = &parse.format; format 144 drivers/mtd/nand/raw/r852.h #define dbg(format, ...) \ format 146 drivers/mtd/nand/raw/r852.h pr_debug(format "\n", ## __VA_ARGS__) format 148 drivers/mtd/nand/raw/r852.h #define dbg_verbose(format, ...) \ format 150 drivers/mtd/nand/raw/r852.h pr_debug(format "\n", ## __VA_ARGS__) format 153 drivers/mtd/nand/raw/r852.h #define message(format, ...) \ format 154 drivers/mtd/nand/raw/r852.h pr_info(format "\n", ## __VA_ARGS__) format 71 drivers/mtd/sm_ftl.h #define sm_printk(format, ...) \ format 72 drivers/mtd/sm_ftl.h printk(KERN_WARNING "sm_ftl" ": " format "\n", ## __VA_ARGS__) format 74 drivers/mtd/sm_ftl.h #define dbg(format, ...) \ format 76 drivers/mtd/sm_ftl.h printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__) format 78 drivers/mtd/sm_ftl.h #define dbg_verbose(format, ...) \ format 80 drivers/mtd/sm_ftl.h printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__) format 685 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c ssize_t(*format) (struct net_device *, char *)) format 691 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c len = (*format) (to_net_dev(d), buf); format 43 drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h #define fd_format_name(format) { qm_fd_##format, #format } format 51 drivers/net/ethernet/freescale/ucc_geth.c #define ugeth_printk(level, format, arg...) \ format 52 drivers/net/ethernet/freescale/ucc_geth.c printk(level format "\n", ## arg) format 54 drivers/net/ethernet/freescale/ucc_geth.c #define ugeth_dbg(format, arg...) \ format 55 drivers/net/ethernet/freescale/ucc_geth.c ugeth_printk(KERN_DEBUG , format , ## arg) format 316 drivers/net/ethernet/intel/e1000/e1000.h #define e_dbg(format, arg...) \ format 317 drivers/net/ethernet/intel/e1000/e1000.h netdev_dbg(e1000_get_hw_dev(hw), format, ## arg) format 318 drivers/net/ethernet/intel/e1000/e1000.h #define e_err(msglvl, format, arg...) \ format 319 drivers/net/ethernet/intel/e1000/e1000.h netif_err(adapter, msglvl, adapter->netdev, format, ## arg) format 320 drivers/net/ethernet/intel/e1000/e1000.h #define e_info(msglvl, format, arg...) \ format 321 drivers/net/ethernet/intel/e1000/e1000.h netif_info(adapter, msglvl, adapter->netdev, format, ## arg) format 322 drivers/net/ethernet/intel/e1000/e1000.h #define e_warn(msglvl, format, arg...) \ format 323 drivers/net/ethernet/intel/e1000/e1000.h netif_warn(adapter, msglvl, adapter->netdev, format, ## arg) format 324 drivers/net/ethernet/intel/e1000/e1000.h #define e_notice(msglvl, format, arg...) \ format 325 drivers/net/ethernet/intel/e1000/e1000.h netif_notice(adapter, msglvl, adapter->netdev, format, ## arg) format 326 drivers/net/ethernet/intel/e1000/e1000.h #define e_dev_info(format, arg...) \ format 327 drivers/net/ethernet/intel/e1000/e1000.h dev_info(&adapter->pdev->dev, format, ## arg) format 328 drivers/net/ethernet/intel/e1000/e1000.h #define e_dev_warn(format, arg...) \ format 329 drivers/net/ethernet/intel/e1000/e1000.h dev_warn(&adapter->pdev->dev, format, ## arg) format 330 drivers/net/ethernet/intel/e1000/e1000.h #define e_dev_err(format, arg...) \ format 331 drivers/net/ethernet/intel/e1000/e1000.h dev_err(&adapter->pdev->dev, format, ## arg) format 29 drivers/net/ethernet/intel/e1000e/e1000.h #define e_dbg(format, arg...) \ format 30 drivers/net/ethernet/intel/e1000e/e1000.h netdev_dbg(hw->adapter->netdev, format, ## arg) format 31 drivers/net/ethernet/intel/e1000e/e1000.h #define e_err(format, arg...) \ format 32 drivers/net/ethernet/intel/e1000e/e1000.h netdev_err(adapter->netdev, format, ## arg) format 33 drivers/net/ethernet/intel/e1000e/e1000.h #define e_info(format, arg...) \ format 34 drivers/net/ethernet/intel/e1000e/e1000.h netdev_info(adapter->netdev, format, ## arg) format 35 drivers/net/ethernet/intel/e1000e/e1000.h #define e_warn(format, arg...) \ format 36 drivers/net/ethernet/intel/e1000e/e1000.h netdev_warn(adapter->netdev, format, ## arg) format 37 drivers/net/ethernet/intel/e1000e/e1000.h #define e_notice(format, arg...) \ format 38 drivers/net/ethernet/intel/e1000e/e1000.h netdev_notice(adapter->netdev, format, ## arg) format 545 drivers/net/ethernet/intel/igb/e1000_hw.h #define hw_dbg(format, arg...) \ format 546 drivers/net/ethernet/intel/igb/e1000_hw.h netdev_dbg(igb_get_hw_dev(hw), format, ##arg) format 303 drivers/net/ethernet/intel/igc/igc_hw.h #define hw_dbg(format, arg...) \ format 304 drivers/net/ethernet/intel/igc/igc_hw.h netdev_dbg(igc_get_hw_dev(hw), format, ##arg) format 186 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define hw_dbg(hw, format, arg...) \ format 187 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h netdev_dbg(ixgbe_hw_to_netdev(hw), format, ## arg) format 188 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define hw_err(hw, format, arg...) \ format 189 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h netdev_err(ixgbe_hw_to_netdev(hw), format, ## arg) format 190 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define e_dev_info(format, arg...) \ format 191 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h dev_info(&adapter->pdev->dev, format, ## arg) format 192 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define e_dev_warn(format, arg...) \ format 193 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h dev_warn(&adapter->pdev->dev, format, ## arg) format 194 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define e_dev_err(format, arg...) \ format 195 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h dev_err(&adapter->pdev->dev, format, ## arg) format 196 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define e_dev_notice(format, arg...) \ format 197 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h dev_notice(&adapter->pdev->dev, format, ## arg) format 198 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define e_info(msglvl, format, arg...) \ format 199 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h netif_info(adapter, msglvl, adapter->netdev, format, ## arg) format 200 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define e_err(msglvl, format, arg...) \ format 201 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h netif_err(adapter, msglvl, adapter->netdev, format, ## arg) format 202 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define e_warn(msglvl, format, arg...) \ format 203 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h netif_warn(adapter, msglvl, adapter->netdev, format, ## arg) format 204 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h #define e_crit(msglvl, format, arg...) \ format 205 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h netif_crit(adapter, msglvl, adapter->netdev, format, ## arg) format 493 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h #define hw_dbg(hw, format, arg...) \ format 494 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h netdev_dbg(ixgbevf_hw_to_netdev(hw), format, ## arg) format 256 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c u64 format, bool v4, u64 *fidx) format 267 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), format 280 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), format 285 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c u64 format, u64 *fidx) format 295 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), format 304 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c NIX_AF_LSO_FORMATX_FIELDX(format, (*fidx)++), format 82 drivers/net/ethernet/mellanox/mlx4/en_main.c const char *format, ...) format 87 drivers/net/ethernet/mellanox/mlx4/en_main.c va_start(args, format); format 89 drivers/net/ethernet/mellanox/mlx4/en_main.c vaf.fmt = format; format 217 drivers/net/ethernet/mellanox/mlx4/mlx4.h #define mlx4_dbg(mdev, format, ...) \ format 221 drivers/net/ethernet/mellanox/mlx4/mlx4.h &(mdev)->persist->pdev->dev, format, \ format 225 drivers/net/ethernet/mellanox/mlx4/mlx4.h #define mlx4_err(mdev, format, ...) \ format 226 drivers/net/ethernet/mellanox/mlx4/mlx4.h dev_err(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) format 227 drivers/net/ethernet/mellanox/mlx4/mlx4.h #define mlx4_info(mdev, format, ...) \ format 228 drivers/net/ethernet/mellanox/mlx4/mlx4.h dev_info(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) format 229 drivers/net/ethernet/mellanox/mlx4/mlx4.h #define mlx4_warn(mdev, format, ...) \ format 230 drivers/net/ethernet/mellanox/mlx4/mlx4.h dev_warn(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) format 822 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h const char *format, ...); format 824 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define en_dbg(mlevel, priv, format, ...) \ format 827 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h en_print(KERN_DEBUG, priv, format, ##__VA_ARGS__); \ format 829 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define en_warn(priv, format, ...) \ format 830 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h en_print(KERN_WARNING, priv, format, ##__VA_ARGS__) format 831 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define en_err(priv, format, ...) \ format 832 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h en_print(KERN_ERR, priv, format, ##__VA_ARGS__) format 833 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define en_info(priv, format, ...) \ format 834 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h en_print(KERN_INFO, priv, format, ##__VA_ARGS__) format 836 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define mlx4_err(mdev, format, ...) \ format 837 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h pr_err(DRV_NAME " %s: " format, \ format 839 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define mlx4_info(mdev, format, ...) \ format 840 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h pr_info(DRV_NAME " %s: " format, \ format 842 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h #define mlx4_warn(mdev, format, ...) \ format 843 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h pr_warn(DRV_NAME " %s: " format, \ format 53 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c #define PRINT_MASKED_VAL(name, p, format) { \ format 55 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c trace_seq_printf(p, __stringify(name) "=" format " ", name.v); \ format 57 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c #define PRINT_MASKED_VALP(name, cast, p, format) { \ format 59 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c trace_seq_printf(p, __stringify(name) "=" format " ", \ format 133 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c #define PRINT_MASKED_VAL_L2(type, name, fld, p, format) {\ format 135 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c PRINT_MASKED_VAL(name, p, format); \ format 159 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c #define PRINT_MASKED_VAL_MISC(type, name, fld, p, format) {\ format 161 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c PRINT_MASKED_VAL(name, p, format); \ format 153 drivers/net/ethernet/mellanox/mlx5/core/en.h #define mlx5e_dbg(mlevel, priv, format, ...) \ format 156 drivers/net/ethernet/mellanox/mlx5/core/en.h netdev_warn(priv->netdev, format, \ format 95 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_stats.c mlx5e_ipsec_hw_stats_desc[i].format); format 99 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_stats.c mlx5e_ipsec_sw_stats_desc[i].format); format 71 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_stats.c mlx5e_tls_sw_stats_desc[i].format); format 127 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c sw_rep_stats_desc[i].format); format 130 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c vport_rep_stats_desc[j].format); format 159 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c strcpy(data + (idx++) * ETH_GSTRING_LEN, sw_stats_desc[i].format); format 337 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c q_stats_desc[i].format); format 341 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c drop_rq_stats_desc[i].format); format 407 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c vnic_env_stats_steer_desc[i].format); format 411 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c vnic_env_stats_dev_oob_desc[i].format); format 504 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c strcpy(data + (idx++) * ETH_GSTRING_LEN, vport_stats_desc[i].format); format 569 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_802_3_stats_desc[i].format); format 626 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2863_stats_desc[i].format); format 687 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c strcpy(data + (idx++) * ETH_GSTRING_LEN, pport_2819_stats_desc[i].format); format 770 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_phy_statistical_stats_desc[i].format); format 775 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_phy_statistical_err_lanes_stats_desc[i].format); format 852 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_eth_ext_stats_desc[i].format); format 934 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pcie_perf_stats_desc[i].format); format 939 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pcie_perf_stats_desc64[i].format); format 944 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pcie_perf_stall_stats_desc[i].format); format 1033 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_per_tc_prio_stats_desc[i].format, prio); format 1036 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_per_tc_congest_prio_stats_desc[i].format, prio); format 1156 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_per_prio_traffic_stats_desc[i].format, prio); format 1249 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_per_prio_pfc_stats_desc[i].format, pfc_string); format 1256 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_per_prio_pfc_stats_desc[i].format, "global"); format 1262 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c pport_pfc_stall_stats_desc[i].format); format 1366 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c strcpy(data + (idx++) * ETH_GSTRING_LEN, mlx5e_pme_status_desc[i].format); format 1369 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c strcpy(data + (idx++) * ETH_GSTRING_LEN, mlx5e_pme_error_desc[i].format); format 1588 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c ch_stats_desc[j].format, i); format 1593 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c rq_stats_desc[j].format, i); format 1596 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c xskrq_stats_desc[j].format, i); format 1599 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c rq_xdpsq_stats_desc[j].format, i); format 1606 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c sq_stats_desc[j].format, format 1612 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c xsksq_stats_desc[j].format, i); format 1615 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c xdpsq_stats_desc[j].format, i); format 54 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h char format[ETH_GSTRING_LEN]; format 446 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h #define esw_info(__dev, format, ...) \ format 447 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h dev_info((__dev)->device, "E-Switch: " format, ##__VA_ARGS__) format 449 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h #define esw_warn(__dev, format, ...) \ format 450 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h dev_warn((__dev)->device, "E-Switch: " format, ##__VA_ARGS__) format 452 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h #define esw_debug(dev, format, ...) \ format 453 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h mlx5_core_dbg_mask(dev, MLX5_DEBUG_ESWITCH_MASK, format, ##__VA_ARGS__) format 65 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h #define mlx5_fpga_dbg(__adev, format, ...) \ format 66 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h mlx5_core_dbg((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ format 69 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h #define mlx5_fpga_err(__adev, format, ...) \ format 70 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h mlx5_core_err((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ format 73 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h #define mlx5_fpga_warn(__adev, format, ...) \ format 74 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h mlx5_core_warn((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ format 77 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h #define mlx5_fpga_warn_ratelimited(__adev, format, ...) \ format 79 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h format, __func__, __LINE__, ##__VA_ARGS__) format 81 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h #define mlx5_fpga_notice(__adev, format, ...) \ format 82 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h mlx5_core_info((__adev)->mdev, "FPGA: " format, ##__VA_ARGS__) format 84 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h #define mlx5_fpga_info(__adev, format, ...) \ format 85 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h mlx5_core_info((__adev)->mdev, "FPGA: " format, ##__VA_ARGS__) format 51 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_dbg(__dev, format, ...) \ format 52 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h dev_dbg((__dev)->device, "%s:%d:(pid %d): " format, \ format 56 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_dbg_once(__dev, format, ...) \ format 58 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h "%s:%d:(pid %d): " format, \ format 62 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_dbg_mask(__dev, mask, format, ...) \ format 65 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h mlx5_core_dbg(__dev, format, ##__VA_ARGS__); \ format 68 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_err(__dev, format, ...) \ format 69 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h dev_err((__dev)->device, "%s:%d:(pid %d): " format, \ format 73 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_err_rl(__dev, format, ...) \ format 75 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h "%s:%d:(pid %d): " format, \ format 79 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_warn(__dev, format, ...) \ format 80 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h dev_warn((__dev)->device, "%s:%d:(pid %d): " format, \ format 84 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_warn_once(__dev, format, ...) \ format 85 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h dev_warn_once((__dev)->device, "%s:%d:(pid %d): " format, \ format 89 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_warn_rl(__dev, format, ...) \ format 91 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h "%s:%d:(pid %d): " format, \ format 95 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_info(__dev, format, ...) \ format 96 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h dev_info((__dev)->device, format, ##__VA_ARGS__) format 98 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h #define mlx5_core_info_rl(__dev, format, ...) \ format 100 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h "%s:%d:(pid %d): " format, \ format 53 drivers/net/ethernet/netronome/nfp/nfp_main.c int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, format 60 drivers/net/ethernet/netronome/nfp/nfp_main.c snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); format 162 drivers/net/ethernet/netronome/nfp/nfp_main.h int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, format 619 drivers/net/ethernet/netronome/nfp/nfp_net_common.c const char *format, char *name, size_t name_sz, format 627 drivers/net/ethernet/netronome/nfp/nfp_net_common.c snprintf(name, name_sz, format, nfp_net_name(nn)); format 20 drivers/net/ethernet/ti/cpsw_priv.h #define cpsw_info(priv, type, format, ...) \ format 23 drivers/net/ethernet/ti/cpsw_priv.h dev_info(priv->dev, format, ## __VA_ARGS__); \ format 26 drivers/net/ethernet/ti/cpsw_priv.h #define cpsw_err(priv, type, format, ...) \ format 29 drivers/net/ethernet/ti/cpsw_priv.h dev_err(priv->dev, format, ## __VA_ARGS__); \ format 32 drivers/net/ethernet/ti/cpsw_priv.h #define cpsw_dbg(priv, type, format, ...) \ format 35 drivers/net/ethernet/ti/cpsw_priv.h dev_dbg(priv->dev, format, ## __VA_ARGS__); \ format 38 drivers/net/ethernet/ti/cpsw_priv.h #define cpsw_notice(priv, type, format, ...) \ format 41 drivers/net/ethernet/ti/cpsw_priv.h dev_notice(priv->dev, format, ## __VA_ARGS__); \ format 43 drivers/net/ethernet/ti/tlan.h #define TLAN_DBG(lvl, format, args...) \ format 46 drivers/net/ethernet/ti/tlan.h printk(KERN_DEBUG "TLAN: " format, ##args); \ format 74 drivers/net/fddi/skfp/smt.c static void smt_string_swap(char *data, const char *format, int len); format 1868 drivers/net/fddi/skfp/smt.c static void smt_string_swap(char *data, const char *format, int len) format 1873 drivers/net/fddi/skfp/smt.c while (len > 0 && *format) { format 1874 drivers/net/fddi/skfp/smt.c switch (*format) { format 1876 drivers/net/fddi/skfp/smt.c open_paren = format ; format 1879 drivers/net/fddi/skfp/smt.c format = open_paren ; format 1890 drivers/net/fddi/skfp/smt.c data += *format - '0' ; format 1891 drivers/net/fddi/skfp/smt.c len -= *format - '0' ; format 1915 drivers/net/fddi/skfp/smt.c format++ ; format 331 drivers/net/usb/cdc_ncm.c #define NCM_PARM_ATTR(name, format, tocpu) \ format 336 drivers/net/usb/cdc_ncm.c return sprintf(buf, format "\n", tocpu(ctx->ncm_parm.name)); \ format 1387 drivers/net/wimax/i2400m/control.c df.format = 1; format 137 drivers/net/wireless/ath/ar5523/ar5523.h #define ar5523_dbg(ar, format, arg...) \ format 138 drivers/net/wireless/ath/ar5523/ar5523.h dev_dbg(&(ar)->dev->dev, format, ## arg) format 144 drivers/net/wireless/ath/ar5523/ar5523.h #define ar5523_err(ar, format, arg...) \ format 147 drivers/net/wireless/ath/ar5523/ar5523.h dev_err(&(ar)->dev->dev, format, ## arg); \ format 150 drivers/net/wireless/ath/ar5523/ar5523.h #define ar5523_info(ar, format, arg...) \ format 151 drivers/net/wireless/ath/ar5523/ar5523.h dev_info(&(ar)->dev->dev, format, ## arg) format 302 drivers/net/wireless/ath/ath.h static inline __attribute__ ((format (printf, 3, 4))) format 87 drivers/net/wireless/atmel/at76c50x-usb.c #define at76_dbg(bits, format, arg...) \ format 90 drivers/net/wireless/atmel/at76c50x-usb.c printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg); \ format 93 drivers/net/wireless/atmel/at76c50x-usb.c #define at76_dbg_dump(bits, buf, len, format, arg...) \ format 96 drivers/net/wireless/atmel/at76c50x-usb.c printk(KERN_DEBUG DRIVER_NAME ": " format "\n", ##arg); \ format 431 drivers/net/wireless/intel/ipw2x00/libipw.h } format; format 585 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char format[] = "traffic=%d\ndbgfs=%d\nvcmd=%d\nvif_type=%d\n" format 592 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c char buf[sizeof(format) + 1] = {}; format 595 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c len = scnprintf(buf, sizeof(buf) - 1, format, format 102 drivers/net/wireless/intersil/orinoco/orinoco_usb.c #define err(format, arg...) \ format 103 drivers/net/wireless/intersil/orinoco/orinoco_usb.c do { printk(KERN_ERR PFX format "\n", ## arg); } while (0) format 759 drivers/nubus/nubus.c board->format = nubus_get_rom(&rp, 1, bytelanes); format 25 drivers/pci/hotplug/acpi_pcihp.c #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME, ## arg) format 26 drivers/pci/hotplug/acpi_pcihp.c #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg) format 27 drivers/pci/hotplug/acpi_pcihp.c #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg) format 32 drivers/pci/hotplug/cpci_hotplug_core.c #define dbg(format, arg...) \ format 35 drivers/pci/hotplug/cpci_hotplug_core.c printk(KERN_DEBUG "%s: " format "\n", \ format 38 drivers/pci/hotplug/cpci_hotplug_core.c #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME, ## arg) format 39 drivers/pci/hotplug/cpci_hotplug_core.c #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME, ## arg) format 40 drivers/pci/hotplug/cpci_hotplug_core.c #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME, ## arg) format 24 drivers/pci/hotplug/cpci_hotplug_pci.c #define dbg(format, arg...) \ format 27 drivers/pci/hotplug/cpci_hotplug_pci.c printk(KERN_DEBUG "%s: " format "\n", \ format 30 drivers/pci/hotplug/cpci_hotplug_pci.c #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME, ## arg) format 31 drivers/pci/hotplug/cpci_hotplug_pci.c #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME, ## arg) format 32 drivers/pci/hotplug/cpci_hotplug_pci.c #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME, ## arg) format 35 drivers/pci/hotplug/cpcihp_generic.c #define dbg(format, arg...) \ format 38 drivers/pci/hotplug/cpcihp_generic.c printk(KERN_DEBUG "%s: " format "\n", \ format 41 drivers/pci/hotplug/cpcihp_generic.c #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME, ## arg) format 42 drivers/pci/hotplug/cpcihp_generic.c #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME, ## arg) format 43 drivers/pci/hotplug/cpcihp_generic.c #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME, ## arg) format 30 drivers/pci/hotplug/cpcihp_zt5550.c #define dbg(format, arg...) \ format 33 drivers/pci/hotplug/cpcihp_zt5550.c printk(KERN_DEBUG "%s: " format "\n", \ format 36 drivers/pci/hotplug/cpcihp_zt5550.c #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME, ## arg) format 37 drivers/pci/hotplug/cpcihp_zt5550.c #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME, ## arg) format 38 drivers/pci/hotplug/cpcihp_zt5550.c #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME, ## arg) format 26 drivers/pci/hotplug/cpqphp.h #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME, ## arg) format 27 drivers/pci/hotplug/cpqphp.h #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg) format 28 drivers/pci/hotplug/cpqphp.h #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg) format 30 drivers/pci/hotplug/ibmphp.h #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME, ## arg) format 31 drivers/pci/hotplug/ibmphp.h #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg) format 32 drivers/pci/hotplug/ibmphp.h #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg) format 157 drivers/pci/hotplug/ibmphp.h u8 format; format 211 drivers/pci/hotplug/ibmphp.h u8 format; format 233 drivers/pci/hotplug/ibmphp_ebda.c u8 format, num_ctlrs, rio_complete, hs_complete, ebda_sz; format 285 drivers/pci/hotplug/ibmphp_ebda.c format = readb(io_mem + offset); format 288 drivers/pci/hotplug/ibmphp_ebda.c if (format != 4) format 290 drivers/pci/hotplug/ibmphp_ebda.c debug("hot blk format: %x\n", format); format 312 drivers/pci/hotplug/ibmphp_ebda.c hpc_list_ptr->format = format; format 316 drivers/pci/hotplug/ibmphp_ebda.c debug("hot blk format: %x\n", format); format 340 drivers/pci/hotplug/ibmphp_ebda.c rsrc_list_ptr->format = format; format 345 drivers/pci/hotplug/ibmphp_ebda.c debug("format: %x\n", format); format 38 drivers/pci/hotplug/pci_hotplug_core.c #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME, ## arg) format 39 drivers/pci/hotplug/pci_hotplug_core.c #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg) format 40 drivers/pci/hotplug/pci_hotplug_core.c #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg) format 35 drivers/pci/hotplug/pciehp.h #define ctrl_dbg(ctrl, format, arg...) \ format 36 drivers/pci/hotplug/pciehp.h pci_dbg(ctrl->pcie->port, format, ## arg) format 37 drivers/pci/hotplug/pciehp.h #define ctrl_err(ctrl, format, arg...) \ format 38 drivers/pci/hotplug/pciehp.h pci_err(ctrl->pcie->port, format, ## arg) format 39 drivers/pci/hotplug/pciehp.h #define ctrl_info(ctrl, format, arg...) \ format 40 drivers/pci/hotplug/pciehp.h pci_info(ctrl->pcie->port, format, ## arg) format 41 drivers/pci/hotplug/pciehp.h #define ctrl_warn(ctrl, format, arg...) \ format 42 drivers/pci/hotplug/pciehp.h pci_warn(ctrl->pcie->port, format, ## arg) format 36 drivers/pci/hotplug/rpaphp.h #define dbg(format, arg...) \ format 39 drivers/pci/hotplug/rpaphp.h printk(KERN_DEBUG "%s: " format, \ format 42 drivers/pci/hotplug/rpaphp.h #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME, ## arg) format 43 drivers/pci/hotplug/rpaphp.h #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg) format 44 drivers/pci/hotplug/rpaphp.h #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg) format 36 drivers/pci/hotplug/shpchp.h #define dbg(format, arg...) \ format 39 drivers/pci/hotplug/shpchp.h printk(KERN_DEBUG "%s: " format, MY_NAME, ## arg); \ format 41 drivers/pci/hotplug/shpchp.h #define err(format, arg...) \ format 42 drivers/pci/hotplug/shpchp.h printk(KERN_ERR "%s: " format, MY_NAME, ## arg) format 43 drivers/pci/hotplug/shpchp.h #define info(format, arg...) \ format 44 drivers/pci/hotplug/shpchp.h printk(KERN_INFO "%s: " format, MY_NAME, ## arg) format 45 drivers/pci/hotplug/shpchp.h #define warn(format, arg...) \ format 46 drivers/pci/hotplug/shpchp.h printk(KERN_WARNING "%s: " format, MY_NAME, ## arg) format 48 drivers/pci/hotplug/shpchp.h #define ctrl_dbg(ctrl, format, arg...) \ format 52 drivers/pci/hotplug/shpchp.h format, ## arg); \ format 54 drivers/pci/hotplug/shpchp.h #define ctrl_err(ctrl, format, arg...) \ format 55 drivers/pci/hotplug/shpchp.h pci_err(ctrl->pci_dev, format, ## arg) format 56 drivers/pci/hotplug/shpchp.h #define ctrl_info(ctrl, format, arg...) \ format 57 drivers/pci/hotplug/shpchp.h pci_info(ctrl->pci_dev, format, ## arg) format 58 drivers/pci/hotplug/shpchp.h #define ctrl_warn(ctrl, format, arg...) \ format 59 drivers/pci/hotplug/shpchp.h pci_warn(ctrl->pci_dev, format, ## arg) format 1345 drivers/pcmcia/cistpl.c ret = parse_format(tuple, &parse->format); format 1002 drivers/pcmcia/ds.c #define pcmcia_device_attr(field, test, format) \ format 1006 drivers/pcmcia/ds.c return p_dev->test ? sprintf(buf, format, p_dev->field) : -ENODEV; \ format 90 drivers/pinctrl/pinconf-generic.c if (items[i].format) format 91 drivers/pinctrl/pinconf-generic.c seq_printf(s, " %s)", items[i].format); format 398 drivers/platform/x86/thinkpad_acpi.c #define dbg_printk(a_dbg_level, format, arg...) \ format 401 drivers/platform/x86/thinkpad_acpi.c printk(KERN_DEBUG pr_fmt("%s: " format), \ format 410 drivers/platform/x86/thinkpad_acpi.c #define vdbg_printk(a_dbg_level, format, arg...) \ format 411 drivers/platform/x86/thinkpad_acpi.c do { if (0) no_printk(format, ##arg); } while (0) format 420 drivers/platform/x86/thinkpad_acpi.c #define tpacpi_disclose_usertask(what, format, arg...) \ format 424 drivers/platform/x86/thinkpad_acpi.c printk(KERN_DEBUG pr_fmt("%s: PID %d: " format), \ format 182 drivers/pnp/base.h #define pnp_dbg(dev, format, arg...) \ format 183 drivers/pnp/base.h ({ if (pnp_debug) dev_printk(KERN_DEBUG, dev, format, ## arg); 0; }) format 185 drivers/pnp/base.h #define pnp_dbg(dev, format, arg...) \ format 186 drivers/pnp/base.h ({ if (0) dev_printk(KERN_DEBUG, dev, format, ## arg); 0; }) format 406 drivers/ps3/ps3av.c int ps3av_set_audio_mode(u32 ch, u32 fs, u32 word_bits, u32 format, u32 source) format 436 drivers/ps3/ps3av.c fs, word_bits, format, source); format 20 drivers/ps3/ps3av_cmd.c u32 format; format 395 drivers/ps3/ps3av_cmd.c video_mode->video_format = ps3av_video_fmt_table[video_fmt].format; format 420 drivers/ps3/ps3av_cmd.c ps3av_video_fmt_table[video_fmt].format; format 667 drivers/ps3/ps3av_cmd.c u32 ch, u32 fs, u32 word_bits, u32 format, format 673 drivers/ps3/ps3av_cmd.c if (!(ch | fs | format | word_bits | source)) { format 677 drivers/ps3/ps3av_cmd.c format = PS3AV_CMD_AUDIO_FORMAT_PCM; format 690 drivers/ps3/ps3av_cmd.c audio->audio_format = format; format 602 drivers/s390/block/dasd_diag.c info->format = DASD_FORMAT_LDL; format 529 drivers/s390/block/dasd_eckd.c unsigned int format, unsigned int rec_on_trk, int count, format 555 drivers/s390/block/dasd_eckd.c if (format > 1) { format 557 drivers/s390/block/dasd_eckd.c "PFX LRE unknown format 0x%x", format); format 561 drivers/s390/block/dasd_eckd.c pfxdata->format = format; format 585 drivers/s390/block/dasd_eckd.c if (format == 1) { format 961 drivers/s390/block/dasd_eckd.c if (sneq->flags.identifier == 1 && sneq->format == 1) format 963 drivers/s390/block/dasd_eckd.c else if (sneq->flags.identifier == 1 && sneq->format == 4) format 3031 drivers/s390/block/dasd_eckd.c struct dasd_format_entry *format; format 3036 drivers/s390/block/dasd_eckd.c list_for_each_entry(format, &block->format_list, list) { format 3037 drivers/s390/block/dasd_eckd.c if (format->track == to_format->track) { format 3049 drivers/s390/block/dasd_eckd.c static void clear_format_track(struct dasd_format_entry *format, format 3055 drivers/s390/block/dasd_eckd.c list_del_init(&format->list); format 3066 drivers/s390/block/dasd_eckd.c struct dasd_format_entry *format = data; format 3068 drivers/s390/block/dasd_eckd.c clear_format_track(format, cqr->basedev->block); format 3078 drivers/s390/block/dasd_eckd.c struct dasd_format_entry *format; format 3097 drivers/s390/block/dasd_eckd.c format = &startdev->format_entry; format 3114 drivers/s390/block/dasd_eckd.c format->track = curr_trk; format 3116 drivers/s390/block/dasd_eckd.c if (test_and_set_format_track(format, block)) format 3137 drivers/s390/block/dasd_eckd.c fcqr->callback_data = (void *) format; format 4226 drivers/s390/block/dasd_eckd.c pfxdata.format = 1; /* PFX with LRE */ format 4893 drivers/s390/block/dasd_eckd.c info->format = private->uses_cdl ? DASD_FORMAT_CDL : DASD_FORMAT_LDL; format 6542 drivers/s390/block/dasd_eckd.c messages->format == ATTENTION_FORMAT_CUIR) format 6545 drivers/s390/block/dasd_eckd.c messages->format == ATTENTION_FORMAT_OOS) format 228 drivers/s390/block/dasd_eckd.h unsigned char format; format 347 drivers/s390/block/dasd_eckd.h __u16 format; format 360 drivers/s390/block/dasd_eckd.h __u16 format; format 388 drivers/s390/block/dasd_eckd.h __u8 format; format 466 drivers/s390/block/dasd_eckd.h __u8 format; format 477 drivers/s390/block/dasd_eckd.h __u8 format; format 637 drivers/s390/block/dasd_fba.c info->format = DASD_FORMAT_LDL; format 512 drivers/s390/block/dasd_ioctl.c dasd_info->format = DASD_FORMAT_NONE; format 38 drivers/s390/char/tape_34xx.c unsigned int format : 2; format 1103 drivers/s390/char/tape_34xx.c bid->format = (*device->modeset_byte & 0x08) ? format 128 drivers/s390/cio/chsc.h u8 format:4; format 86 drivers/s390/cio/cmf.c static int format = CMF_AUTODETECT; format 87 drivers/s390/cio/cmf.c module_param(format, bint, 0444); format 1273 drivers/s390/cio/cmf.c if (format == CMF_AUTODETECT) { format 1275 drivers/s390/cio/cmf.c format = CMF_BASIC; format 1277 drivers/s390/cio/cmf.c format = CMF_EXTENDED; format 1284 drivers/s390/cio/cmf.c switch (format) { format 85 drivers/s390/cio/fcx.c tcw->format = TCW_FORMAT_DEFAULT; format 259 drivers/s390/cio/fcx.c tccb->tcah.format = TCCB_FORMAT_DEFAULT; format 76 drivers/s390/crypto/zcrypt_msgtype6.h unsigned char format; /* 0x01 (error) or 0x02 (ok) */ format 121 drivers/scsi/BusLogic.h #define blogic_announce(format, args...) \ format 122 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_ANNOUNCE_LEVEL, format, ##args) format 124 drivers/scsi/BusLogic.h #define blogic_info(format, args...) \ format 125 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_INFO_LEVEL, format, ##args) format 127 drivers/scsi/BusLogic.h #define blogic_notice(format, args...) \ format 128 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_NOTICE_LEVEL, format, ##args) format 130 drivers/scsi/BusLogic.h #define blogic_warn(format, args...) \ format 131 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_WARN_LEVEL, format, ##args) format 133 drivers/scsi/BusLogic.h #define blogic_err(format, args...) \ format 134 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_ERR_LEVEL, format, ##args) format 2162 drivers/scsi/advansys.c #define ASC_DBG(lvl, format, arg...) { \ format 2164 drivers/scsi/advansys.c printk(KERN_DEBUG "%s: %s: " format, DRV_NAME, \ format 340 drivers/scsi/aic7xxx/aicasm/aicasm.c f3_instr = &cur_instr->format.format3; format 373 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[0], format 374 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[1], format 375 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[2], format 376 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[3]); format 378 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[3], format 379 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[2], format 380 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[1], format 381 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[0]); format 616 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[0], format 617 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[1], format 618 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[2], format 619 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[3]); format 621 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[3], format 622 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[2], format 623 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[1], format 624 drivers/scsi/aic7xxx/aicasm/aicasm.c cur_instr->format.bytes[0]); format 1666 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y f1_instr = &instr->format.format1; format 1739 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y f2_instr = &instr->format.format2; format 1796 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y f3_instr = &instr->format.format3; format 168 drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h union ins_formats format; format 808 drivers/scsi/bfa/bfa_fc.h u32 format:2; format 1051 drivers/scsi/bfa/bfa_fcbuild.c rscn->event[0].format = FC_RSCN_FORMAT_PORTID; format 5592 drivers/scsi/bfa/bfa_fcs_lport.c enum fc_rscn_format format, format 5599 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(port->fcs, format); format 5607 drivers/scsi/bfa/bfa_fcs_lport.c if (__fc_pid_match(c0, c1, format)) format 5636 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(port->fcs, rscn->event[i].format); format 5654 drivers/scsi/bfa/bfa_fcs_lport.c switch (rscn->event[i].format) { format 5680 drivers/scsi/bfa/bfa_fcs_lport.c rscn->event[i].format, format 112 drivers/scsi/dc395x.c #define dprintkl(level, format, arg...) \ format 113 drivers/scsi/dc395x.c printk(level DC395X_NAME ": " format , ## arg) format 123 drivers/scsi/dc395x.c #define dprintkdbg(type, format, arg...) \ format 126 drivers/scsi/dc395x.c dprintkl(KERN_DEBUG , format , ## arg); \ format 138 drivers/scsi/dc395x.c #define dprintkdbg(type, format, arg...) \ format 118 drivers/scsi/esas2r/esas2r_log.c const char *format, format 155 drivers/scsi/esas2r/esas2r_log.c retval = vsnprintf(buffer, buflen, format, args); format 182 drivers/scsi/esas2r/esas2r_log.c int esas2r_log(const long level, const char *format, ...) format 187 drivers/scsi/esas2r/esas2r_log.c va_start(args, format); format 189 drivers/scsi/esas2r/esas2r_log.c retval = esas2r_log_master(level, NULL, format, args); format 209 drivers/scsi/esas2r/esas2r_log.c const char *format, format 215 drivers/scsi/esas2r/esas2r_log.c va_start(args, format); format 217 drivers/scsi/esas2r/esas2r_log.c retval = esas2r_log_master(level, dev, format, args); format 64 drivers/scsi/esas2r/esas2r_log.h __printf(2, 3) int esas2r_log(const long level, const char *format, ...); format 67 drivers/scsi/esas2r/esas2r_log.h const char *format, format 409 drivers/scsi/fnic/fcpio.h u8 format; format 151 drivers/scsi/fnic/fnic_res.h u32 req_id, u8 format, format 161 drivers/scsi/fnic/fnic_res.h desc->u.flogi_reg.format = format; format 261 drivers/scsi/fnic/fnic_scsi.c enum fcpio_flogi_reg_format_type format; format 279 drivers/scsi/fnic/fnic_scsi.c format = FCPIO_FLOGI_REG_DEF_DEST; format 282 drivers/scsi/fnic/fnic_scsi.c format = FCPIO_FLOGI_REG_GW_DEST; format 295 drivers/scsi/fnic/fnic_scsi.c format, fc_id, gw_mac); format 155 drivers/scsi/ibmvscsi/ibmvfc.c entry->fmt = evt->crq.format; format 188 drivers/scsi/ibmvscsi/ibmvfc.c entry->fmt = evt->crq.format; format 1282 drivers/scsi/ibmvscsi/ibmvfc.c void (*done) (struct ibmvfc_event *), u8 format) format 1286 drivers/scsi/ibmvscsi/ibmvfc.c evt->crq.format = format; format 1407 drivers/scsi/ibmvscsi/ibmvfc.c if (evt->crq.format == IBMVFC_CMD_FORMAT) format 1409 drivers/scsi/ibmvscsi/ibmvfc.c else if (evt->crq.format == IBMVFC_MAD_FORMAT) format 2243 drivers/scsi/ibmvscsi/ibmvfc.c if (evt->crq.format == IBMVFC_CMD_FORMAT && format 2723 drivers/scsi/ibmvscsi/ibmvfc.c switch (crq->format) { format 2738 drivers/scsi/ibmvscsi/ibmvfc.c dev_err(vhost->dev, "Unknown crq message type: %d\n", crq->format); format 2745 drivers/scsi/ibmvscsi/ibmvfc.c if (crq->format == IBMVFC_PARTITION_MIGRATED) { format 2752 drivers/scsi/ibmvscsi/ibmvfc.c } else if (crq->format == IBMVFC_PARTNER_FAILED || crq->format == IBMVFC_PARTNER_DEREGISTER) { format 2753 drivers/scsi/ibmvscsi/ibmvfc.c dev_err(vhost->dev, "Host partner adapter deregistered or failed (rc=%d)\n", crq->format); format 2758 drivers/scsi/ibmvscsi/ibmvfc.c dev_err(vhost->dev, "Received unknown transport event from partner (rc=%d)\n", crq->format); format 2768 drivers/scsi/ibmvscsi/ibmvfc.c if (crq->format == IBMVFC_ASYNC_EVENT) format 545 drivers/scsi/ibmvscsi/ibmvfc.h volatile u8 format; format 583 drivers/scsi/ibmvscsi/ibmvscsi.c u8 format, format 589 drivers/scsi/ibmvscsi/ibmvscsi.c evt_struct->crq.format = format; format 798 drivers/scsi/ibmvscsi/ibmvscsi.c } else if (evt->done && evt->crq.format != VIOSRP_MAD_FORMAT && format 866 drivers/scsi/ibmvscsi/ibmvscsi.c if (evt_struct->crq.format == VIOSRP_SRP_FORMAT) { format 1757 drivers/scsi/ibmvscsi/ibmvscsi.c switch (crq->format) { format 1777 drivers/scsi/ibmvscsi/ibmvscsi.c dev_err(hostdata->dev, "unknown crq message type: %d\n", crq->format); format 1783 drivers/scsi/ibmvscsi/ibmvscsi.c if (crq->format == 0x06) { format 1792 drivers/scsi/ibmvscsi/ibmvscsi.c crq->format); format 1820 drivers/scsi/ibmvscsi/ibmvscsi.c if (crq->format == VIOSRP_SRP_FORMAT) format 109 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq->format = MESSAGE_IN_CRQ; format 330 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static long ibmvscsis_send_init_message(struct scsi_info *vscsi, u8 format) format 338 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq->format = format; format 357 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static long ibmvscsis_check_init_msg(struct scsi_info *vscsi, uint *format) format 365 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c *format = (uint)UNUSED_FORMAT; format 366 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c } else if (crq->valid == VALID_INIT_MSG && crq->format == INIT_MSG) { format 367 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c *format = (uint)INIT_MSG; format 380 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c *format = (uint)(crq->format); format 386 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c *format = (uint)(crq->format); format 779 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (crq->format == INIT_MSG) { format 781 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c } else if (crq->format == INIT_COMPLETE_MSG) { format 786 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (uint)crq->format); format 802 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c uint format; format 824 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rc = ibmvscsis_check_init_msg(vscsi, &format); format 831 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (format == UNUSED_FORMAT) { format 849 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c } else if (format == INIT_MSG) { format 997 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (crq->format != RESUME_FROM_SUSP)))) { format 1010 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (crq->format != RESUME_FROM_SUSP))) format 1036 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (int)crq->format, vscsi->flags, vscsi->state); format 1038 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c switch (crq->format) { format 1043 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (crq->format == MIGRATED) format 1143 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (uint)crq->format); format 1937 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq->format = cmd->rsp.format; format 1999 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cmd->rsp.format = VIOSRP_MAD_FORMAT; format 2315 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cmd->rsp.format = VIOSRP_SRP_FORMAT; format 2364 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cmd->rsp.format = SRP_FORMAT; format 2485 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq->format = (u8)MESSAGE_IN_CRQ; format 2534 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c switch (crq->format) { format 2562 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (uint)crq->format); format 3817 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cmd->rsp.format = SRP_FORMAT; format 3833 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cmd->rsp.format = SRP_FORMAT; format 3867 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c cmd->rsp.format = SRP_FORMAT; format 147 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h u8 format; format 302 drivers/scsi/ibmvscsi_tgt/libsrp.c u8 format; format 314 drivers/scsi/ibmvscsi_tgt/libsrp.c format = srp_cmd->buf_fmt >> 4; format 316 drivers/scsi/ibmvscsi_tgt/libsrp.c format = srp_cmd->buf_fmt & ((1U << 4) - 1); format 318 drivers/scsi/ibmvscsi_tgt/libsrp.c switch (format) { format 331 drivers/scsi/ibmvscsi_tgt/libsrp.c pr_err("Unknown format %d %x\n", dir, format); format 1720 drivers/scsi/ipr.h u32 format; format 82 drivers/scsi/ips.h #define IPS_PRINTK(level, pcidev, format, arg...) \ format 83 drivers/scsi/ips.h dev_printk(level , &((pcidev)->dev) , format , ## arg) format 4987 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_rnid_acc(struct lpfc_vport *vport, uint8_t format, format 5000 drivers/scsi/lpfc/lpfc_els.c if (format) format 5023 drivers/scsi/lpfc/lpfc_els.c rn->Format = format; format 5027 drivers/scsi/lpfc/lpfc_els.c switch (format) { format 2893 drivers/scsi/megaraid/megaraid_sas_base.c megasas_dump(void *buf, int sz, int format) format 2899 drivers/scsi/megaraid/megaraid_sas_base.c if ((i % format) == 0) { format 40 drivers/scsi/mvsas/mv_sas.h #define mv_dprintk(format, arg...) \ format 41 drivers/scsi/mvsas/mv_sas.h printk(KERN_DEBUG"%s %d:" format, __FILE__, __LINE__, ## arg) format 43 drivers/scsi/mvsas/mv_sas.h #define mv_dprintk(format, arg...) format 69 drivers/scsi/pm8001/pm8001_sas.h #define pm8001_printk(format, arg...) printk(KERN_INFO "pm80xx %s %d:" \ format 70 drivers/scsi/pm8001/pm8001_sas.h format, __func__, __LINE__, ## arg) format 559 drivers/scsi/qla1280.c #define dprintk(level, format, a...) \ format 560 drivers/scsi/qla1280.c do { if (ql_debug_level >= level) printk(KERN_ERR format, ##a); } while(0) format 567 drivers/scsi/qla1280.c #define dprintk(level, format, a...) do{}while(0) format 323 drivers/scsi/qla2xxx/qla_dbg.h void __attribute__((format (printf, 4, 5))) format 325 drivers/scsi/qla2xxx/qla_dbg.h void __attribute__((format (printf, 4, 5))) format 327 drivers/scsi/qla2xxx/qla_dbg.h void __attribute__((format (printf, 4, 5))) format 331 drivers/scsi/qla2xxx/qla_dbg.h void __attribute__((format (printf, 4, 5))) format 333 drivers/scsi/qla2xxx/qla_dbg.h void __attribute__((format (printf, 4, 5))) format 336 drivers/scsi/qla2xxx/qla_dbg.h void __attribute__((format (printf, 4, 5))) format 1355 drivers/scsi/qla2xxx/qla_fw.h uint8_t format; format 3854 drivers/scsi/qla2xxx/qla_mbx.c if (rptid_entry->format == 0) { format 3867 drivers/scsi/qla2xxx/qla_mbx.c } else if (rptid_entry->format == 1) { format 4014 drivers/scsi/qla2xxx/qla_mbx.c } else if (rptid_entry->format == 2) { format 4154 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_send_change_request(scsi_qla_host_t *vha, uint16_t format, format 4165 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[1] = format; format 118 drivers/scsi/qla4xxx/ql4_def.h #define ql4_printk(level, ha, format, arg...) \ format 119 drivers/scsi/qla4xxx/ql4_def.h dev_printk(level , &((ha)->pdev->dev) , format , ## arg) format 131 drivers/scsi/scsi_transport_iscsi.c #define show_transport_attr(name, format) \ format 137 drivers/scsi/scsi_transport_iscsi.c return sprintf(buf, format"\n", priv->iscsi_transport->name); \ format 4045 drivers/scsi/scsi_transport_iscsi.c #define iscsi_priv_session_attr_show(field, format) \ format 4054 drivers/scsi/scsi_transport_iscsi.c return sprintf(buf, format"\n", session->field); \ format 4083 drivers/scsi/scsi_transport_iscsi.c #define iscsi_priv_session_rw_attr(field, format) \ format 4084 drivers/scsi/scsi_transport_iscsi.c iscsi_priv_session_attr_show(field, format) \ format 472 drivers/scsi/sr_ioctl.c static int sr_read_cd(Scsi_CD *cd, unsigned char *dest, int lba, int format, int blksize) format 478 drivers/scsi/sr_ioctl.c lba, format, blksize); format 483 drivers/scsi/sr_ioctl.c cgc.cmd[1] = ((format & 7) << 2); format 3333 drivers/scsi/st.c static int format_medium(struct scsi_tape *STp, int format) format 3342 drivers/scsi/st.c scmd[2] = format; format 91 drivers/spi/spi-efm32.c #define efm32_spi_vdbg(ddata, format, arg...) \ format 92 drivers/spi/spi-efm32.c dev_vdbg(ddata_to_dev(ddata), format, ##arg) format 392 drivers/staging/fbtft/fbtft.h #define fbtft_init_dbg(dev, format, arg...) \ format 396 drivers/staging/fbtft/fbtft.h dev_info(dev, format, ##arg); \ format 399 drivers/staging/fbtft/fbtft.h #define fbtft_par_dbg(level, par, format, arg...) \ format 402 drivers/staging/fbtft/fbtft.h dev_info(par->info->device, format, ##arg); \ format 405 drivers/staging/fbtft/fbtft.h #define fbtft_par_dbg_hex(level, par, dev, type, buf, num, format, arg...) \ format 409 drivers/staging/fbtft/fbtft.h (num) * sizeof(type), format, ##arg); \ format 21 drivers/staging/fwserial/dma_fifo.c #define FAIL(fifo, condition, format...) ({ \ format 23 drivers/staging/fwserial/dma_fifo.c WARN(fifo->corrupt, format); \ format 13 drivers/staging/greybus/audio_apbridgea.c __u16 i2s_port, __u32 format, __u32 rate, format 20 drivers/staging/greybus/audio_apbridgea.c req.format = cpu_to_le32(format); format 73 drivers/staging/greybus/audio_apbridgea.h __le32 format; /* AUDIO_APBRIDGEA_PCM_FMT_* */ format 50 drivers/staging/greybus/audio_codec.c u32 format, rate; format 87 drivers/staging/greybus/audio_codec.c format = params->format; format 93 drivers/staging/greybus/audio_codec.c format, rate, channels, sig_bits); format 185 drivers/staging/greybus/audio_codec.c u32 format, rate; format 222 drivers/staging/greybus/audio_codec.c format = params->format; format 228 drivers/staging/greybus/audio_codec.c format, rate, channels, sig_bits); format 415 drivers/staging/greybus/audio_codec.c u32 format, rate; format 456 drivers/staging/greybus/audio_codec.c format = GB_AUDIO_PCM_FMT_S16_LE; format 504 drivers/staging/greybus/audio_codec.c params->format = format; format 57 drivers/staging/greybus/audio_codec.h u32 format, rate; format 187 drivers/staging/greybus/audio_codec.h u16 data_cport, u32 *format, format 191 drivers/staging/greybus/audio_codec.h u16 data_cport, u32 format, format 207 drivers/staging/greybus/audio_codec.h __u16 i2s_port, __u32 format, format 108 drivers/staging/greybus/audio_gb.c u32 *format, u32 *rate, u8 *channels, format 122 drivers/staging/greybus/audio_gb.c *format = le32_to_cpu(resp.format); format 132 drivers/staging/greybus/audio_gb.c u32 format, u32 rate, u8 channels, format 138 drivers/staging/greybus/audio_gb.c req.format = cpu_to_le32(format); format 70 drivers/staging/greybus/camera.c unsigned int format; format 183 drivers/staging/greybus/camera.c #define gcam_dbg(gcam, format...) dev_dbg(&gcam->bundle->dev, format) format 184 drivers/staging/greybus/camera.c #define gcam_info(gcam, format...) dev_info(&gcam->bundle->dev, format) format 185 drivers/staging/greybus/camera.c #define gcam_err(gcam, format...) dev_err(&gcam->bundle->dev, format) format 233 drivers/staging/greybus/camera.c fmt_info = gb_camera_get_format_info(cfg->format); format 236 drivers/staging/greybus/camera.c cfg->format); format 558 drivers/staging/greybus/camera.c cfg->format = cpu_to_le16(streams[i].format); format 594 drivers/staging/greybus/camera.c streams[i].format = le16_to_cpu(cfg->format); format 806 drivers/staging/greybus/camera.c gb_streams[i].format = format 834 drivers/staging/greybus/camera.c gb_camera_gb_to_mbus(gb_streams[i].format); format 971 drivers/staging/greybus/camera.c ret = kstrtouint(token, 16, &stream->format); format 989 drivers/staging/greybus/camera.c stream->format, stream->vc, format 45 drivers/staging/greybus/uart.c __u8 format; format 502 drivers/staging/greybus/uart.c newline.format = termios->c_cflag & CSTOPB ? format 899 drivers/staging/greybus/uart.c gb_tty->line_coding.format = GB_SERIAL_1_STOP_BITS; format 91 drivers/staging/isdn/gigaset/gigaset.h #define gig_dbg(level, format, arg...) \ format 94 drivers/staging/isdn/gigaset/gigaset.h printk(KERN_DEBUG KBUILD_MODNAME ": " format "\n", \ format 101 drivers/staging/isdn/gigaset/gigaset.h #define gig_dbg(level, format, arg...) do {} while (0) format 319 drivers/staging/media/allegro-dvt/allegro-core.c u32 format; format 1020 drivers/staging/media/allegro-dvt/allegro-core.c msg.format = v4l2_pixelformat_to_mcu_format(channel->pixelformat); format 148 drivers/staging/media/imx/imx-ic-prp.c sdformat->format = *fmt; format 178 drivers/staging/media/imx/imx-ic-prp.c v4l_bound_align_image(&sdformat->format.width, MIN_W, MAX_W, format 179 drivers/staging/media/imx/imx-ic-prp.c W_ALIGN, &sdformat->format.height, format 182 drivers/staging/media/imx/imx-ic-prp.c cc = imx_media_find_ipu_format(sdformat->format.code, format 187 drivers/staging/media/imx/imx-ic-prp.c sdformat->format.code = cc->codes[0]; format 190 drivers/staging/media/imx/imx-ic-prp.c if (sdformat->format.field == V4L2_FIELD_ANY) format 191 drivers/staging/media/imx/imx-ic-prp.c sdformat->format.field = V4L2_FIELD_NONE; format 196 drivers/staging/media/imx/imx-ic-prp.c sdformat->format = *infmt; format 200 drivers/staging/media/imx/imx-ic-prp.c imx_media_try_colorimetry(&sdformat->format, true); format 203 drivers/staging/media/imx/imx-ic-prp.c *fmt = sdformat->format; format 875 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format = *fmt; format 888 drivers/staging/media/imx/imx-ic-prpencvf.c *cc = imx_media_find_ipu_format(sdformat->format.code, CS_SEL_ANY); format 894 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.code = (*cc)->codes[0]; format 900 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.field = infmt->field; format 902 drivers/staging/media/imx/imx-ic-prpencvf.c prp_bound_align_output(&sdformat->format, infmt, format 906 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.colorspace = infmt->colorspace; format 907 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.xfer_func = infmt->xfer_func; format 909 drivers/staging/media/imx/imx-ic-prpencvf.c v4l_bound_align_image(&sdformat->format.width, format 911 drivers/staging/media/imx/imx-ic-prpencvf.c &sdformat->format.height, format 915 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->format.field == V4L2_FIELD_ANY) format 916 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.field = V4L2_FIELD_NONE; format 919 drivers/staging/media/imx/imx-ic-prpencvf.c imx_media_try_colorimetry(&sdformat->format, true); format 944 drivers/staging/media/imx/imx-ic-prpencvf.c *fmt = sdformat->format; format 950 drivers/staging/media/imx/imx-ic-prpencvf.c struct v4l2_subdev_format format; format 952 drivers/staging/media/imx/imx-ic-prpencvf.c format.pad = PRPENCVF_SRC_PAD; format 953 drivers/staging/media/imx/imx-ic-prpencvf.c format.which = sdformat->which; format 954 drivers/staging/media/imx/imx-ic-prpencvf.c format.format = sdformat->format; format 955 drivers/staging/media/imx/imx-ic-prpencvf.c prp_try_fmt(priv, cfg, &format, &outcc); format 959 drivers/staging/media/imx/imx-ic-prpencvf.c *outfmt = format.format; format 977 drivers/staging/media/imx/imx-ic-prpencvf.c struct v4l2_subdev_format format = {}; format 986 drivers/staging/media/imx/imx-ic-prpencvf.c format.pad = fse->pad; format 987 drivers/staging/media/imx/imx-ic-prpencvf.c format.which = fse->which; format 988 drivers/staging/media/imx/imx-ic-prpencvf.c format.format.code = fse->code; format 989 drivers/staging/media/imx/imx-ic-prpencvf.c format.format.width = 1; format 990 drivers/staging/media/imx/imx-ic-prpencvf.c format.format.height = 1; format 991 drivers/staging/media/imx/imx-ic-prpencvf.c prp_try_fmt(priv, cfg, &format, &cc); format 992 drivers/staging/media/imx/imx-ic-prpencvf.c fse->min_width = format.format.width; format 993 drivers/staging/media/imx/imx-ic-prpencvf.c fse->min_height = format.format.height; format 995 drivers/staging/media/imx/imx-ic-prpencvf.c if (format.format.code != fse->code) { format 1000 drivers/staging/media/imx/imx-ic-prpencvf.c format.format.code = fse->code; format 1001 drivers/staging/media/imx/imx-ic-prpencvf.c format.format.width = -1; format 1002 drivers/staging/media/imx/imx-ic-prpencvf.c format.format.height = -1; format 1003 drivers/staging/media/imx/imx-ic-prpencvf.c prp_try_fmt(priv, cfg, &format, &cc); format 1004 drivers/staging/media/imx/imx-ic-prpencvf.c fse->max_width = format.format.width; format 1005 drivers/staging/media/imx/imx-ic-prpencvf.c fse->max_height = format.format.height; format 170 drivers/staging/media/imx/imx-media-capture.c cc_src = imx_media_find_ipu_format(fmt_src.format.code, CS_SEL_ANY); format 179 drivers/staging/media/imx/imx-media-capture.c cc_src = imx_media_find_mbus_format(fmt_src.format.code, format 212 drivers/staging/media/imx/imx-media-capture.c cc_src = imx_media_find_ipu_format(fmt_src->format.code, CS_SEL_ANY); format 226 drivers/staging/media/imx/imx-media-capture.c cc_src = imx_media_find_mbus_format(fmt_src->format.code, format 236 drivers/staging/media/imx/imx-media-capture.c switch (fmt_src->format.field) { format 238 drivers/staging/media/imx/imx-media-capture.c fmt_src->format.field = V4L2_FIELD_INTERLACED_TB; format 241 drivers/staging/media/imx/imx-media-capture.c fmt_src->format.field = V4L2_FIELD_INTERLACED_BT; format 248 drivers/staging/media/imx/imx-media-capture.c imx_media_mbus_fmt_to_pix_fmt(&f->fmt.pix, &fmt_src->format, cc); format 256 drivers/staging/media/imx/imx-media-capture.c compose->width = fmt_src->format.width; format 257 drivers/staging/media/imx/imx-media-capture.c compose->height = fmt_src->format.height; format 546 drivers/staging/media/imx/imx-media-capture.c v4l2_fill_pix_format(&f.fmt.pix, &fmt_src.format); format 796 drivers/staging/media/imx/imx-media-capture.c &fmt_src.format, NULL); format 797 drivers/staging/media/imx/imx-media-capture.c vdev->compose.width = fmt_src.format.width; format 798 drivers/staging/media/imx/imx-media-capture.c vdev->compose.height = fmt_src.format.height; format 1363 drivers/staging/media/imx/imx-media-csi.c sdformat->format = *fmt; format 1381 drivers/staging/media/imx/imx-media-csi.c if (sdformat->format.field == V4L2_FIELD_ANY) format 1382 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = V4L2_FIELD_NONE; format 1394 drivers/staging/media/imx/imx-media-csi.c if (!V4L2_FIELD_IS_SEQUENTIAL(sdformat->format.field)) format 1395 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = infmt->field; format 1407 drivers/staging/media/imx/imx-media-csi.c if (!V4L2_FIELD_IS_SEQUENTIAL(sdformat->format.field)) format 1408 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = (infmt->height == 480 / 2) ? format 1413 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = infmt->field; format 1438 drivers/staging/media/imx/imx-media-csi.c sdformat->format.width = compose->width; format 1439 drivers/staging/media/imx/imx-media-csi.c sdformat->format.height = compose->height; format 1442 drivers/staging/media/imx/imx-media-csi.c sdformat->format.code = infmt->code; format 1448 drivers/staging/media/imx/imx-media-csi.c *cc = imx_media_find_ipu_format(sdformat->format.code, format 1453 drivers/staging/media/imx/imx-media-csi.c sdformat->format.code = (*cc)->codes[0]; format 1460 drivers/staging/media/imx/imx-media-csi.c sdformat->format.colorspace = infmt->colorspace; format 1461 drivers/staging/media/imx/imx-media-csi.c sdformat->format.xfer_func = infmt->xfer_func; format 1465 drivers/staging/media/imx/imx-media-csi.c v4l_bound_align_image(&sdformat->format.width, MIN_W, MAX_W, format 1466 drivers/staging/media/imx/imx-media-csi.c W_ALIGN, &sdformat->format.height, format 1469 drivers/staging/media/imx/imx-media-csi.c *cc = imx_media_find_mbus_format(sdformat->format.code, format 1476 drivers/staging/media/imx/imx-media-csi.c sdformat->format.code = (*cc)->codes[0]; format 1484 drivers/staging/media/imx/imx-media-csi.c crop->width = sdformat->format.width; format 1485 drivers/staging/media/imx/imx-media-csi.c crop->height = sdformat->format.height; format 1486 drivers/staging/media/imx/imx-media-csi.c if (sdformat->format.field == V4L2_FIELD_ALTERNATE) format 1488 drivers/staging/media/imx/imx-media-csi.c csi_try_crop(priv, crop, cfg, &sdformat->format, upstream_ep); format 1497 drivers/staging/media/imx/imx-media-csi.c imx_media_try_colorimetry(&sdformat->format, format 1534 drivers/staging/media/imx/imx-media-csi.c *fmt = sdformat->format; format 1543 drivers/staging/media/imx/imx-media-csi.c struct v4l2_subdev_format format; format 1545 drivers/staging/media/imx/imx-media-csi.c format.pad = pad; format 1546 drivers/staging/media/imx/imx-media-csi.c format.which = sdformat->which; format 1547 drivers/staging/media/imx/imx-media-csi.c format.format = sdformat->format; format 1548 drivers/staging/media/imx/imx-media-csi.c csi_try_fmt(priv, &upstream_ep, cfg, &format, format 1552 drivers/staging/media/imx/imx-media-csi.c *outfmt = format.format; format 492 drivers/staging/media/imx/imx-media-utils.c struct v4l2_subdev_format format; format 497 drivers/staging/media/imx/imx-media-utils.c memset(&format, 0, sizeof(format)); format 499 drivers/staging/media/imx/imx-media-utils.c format.pad = pad; format 500 drivers/staging/media/imx/imx-media-utils.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 501 drivers/staging/media/imx/imx-media-utils.c ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &format); format 506 drivers/staging/media/imx/imx-media-utils.c *mf_try = format.format; format 573 drivers/staging/media/imx/imx-media-vdic.c sdformat->format = *fmt; format 586 drivers/staging/media/imx/imx-media-vdic.c *cc = imx_media_find_ipu_format(sdformat->format.code, CS_SEL_YUV); format 592 drivers/staging/media/imx/imx-media-vdic.c sdformat->format.code = (*cc)->codes[0]; format 600 drivers/staging/media/imx/imx-media-vdic.c sdformat->format = *infmt; format 602 drivers/staging/media/imx/imx-media-vdic.c sdformat->format.field = V4L2_FIELD_NONE; format 606 drivers/staging/media/imx/imx-media-vdic.c v4l_bound_align_image(&sdformat->format.width, format 608 drivers/staging/media/imx/imx-media-vdic.c &sdformat->format.height, format 612 drivers/staging/media/imx/imx-media-vdic.c if (!V4L2_FIELD_HAS_BOTH(sdformat->format.field)) format 613 drivers/staging/media/imx/imx-media-vdic.c sdformat->format.field = V4L2_FIELD_SEQ_TB; format 617 drivers/staging/media/imx/imx-media-vdic.c imx_media_try_colorimetry(&sdformat->format, true); format 642 drivers/staging/media/imx/imx-media-vdic.c *fmt = sdformat->format; format 649 drivers/staging/media/imx/imx-media-vdic.c struct v4l2_subdev_format format; format 651 drivers/staging/media/imx/imx-media-vdic.c format.pad = VDIC_SRC_PAD_DIRECT; format 652 drivers/staging/media/imx/imx-media-vdic.c format.which = sdformat->which; format 653 drivers/staging/media/imx/imx-media-vdic.c format.format = sdformat->format; format 654 drivers/staging/media/imx/imx-media-vdic.c vdic_try_fmt(priv, cfg, &format, &outcc); format 658 drivers/staging/media/imx/imx-media-vdic.c *outfmt = format.format; format 463 drivers/staging/media/imx/imx6-mipi-csi2.c sdformat->format = *fmt; format 490 drivers/staging/media/imx/imx6-mipi-csi2.c sdformat->format = csi2->format_mbus; format 494 drivers/staging/media/imx/imx6-mipi-csi2.c *fmt = sdformat->format; format 982 drivers/staging/media/imx/imx7-media-csi.c sdformat->format = *fmt; format 1009 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.width = in_fmt->width; format 1010 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.height = in_fmt->height; format 1011 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.code = in_fmt->code; format 1012 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.field = in_fmt->field; format 1015 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.colorspace = in_fmt->colorspace; format 1016 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.xfer_func = in_fmt->xfer_func; format 1019 drivers/staging/media/imx/imx7-media-csi.c *cc = imx_media_find_mbus_format(sdformat->format.code, format 1025 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.code = (*cc)->codes[0]; format 1028 drivers/staging/media/imx/imx7-media-csi.c if (sdformat->format.field != V4L2_FIELD_INTERLACED) format 1029 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.field = V4L2_FIELD_NONE; format 1035 drivers/staging/media/imx/imx7-media-csi.c imx_media_try_colorimetry(&sdformat->format, false); format 1049 drivers/staging/media/imx/imx7-media-csi.c struct v4l2_subdev_format format; format 1072 drivers/staging/media/imx/imx7-media-csi.c *fmt = sdformat->format; format 1076 drivers/staging/media/imx/imx7-media-csi.c format.pad = IMX7_CSI_PAD_SRC; format 1077 drivers/staging/media/imx/imx7-media-csi.c format.which = sdformat->which; format 1078 drivers/staging/media/imx/imx7-media-csi.c format.format = sdformat->format; format 1079 drivers/staging/media/imx/imx7-media-csi.c if (imx7_csi_try_fmt(csi, cfg, &format, &outcc)) { format 1085 drivers/staging/media/imx/imx7-media-csi.c *outfmt = format.format; format 709 drivers/staging/media/imx/imx7-mipi-csis.c sdformat->format = *fmt; format 713 drivers/staging/media/imx/imx7-mipi-csis.c csis_fmt = mipi_csis_try_format(mipi_sd, &sdformat->format); format 715 drivers/staging/media/imx/imx7-mipi-csis.c sdformat->format = *fmt; format 720 drivers/staging/media/imx/imx7-mipi-csis.c cfg->try_fmt = sdformat->format; format 739 drivers/staging/media/imx/imx7-mipi-csis.c sdformat->format = *fmt; format 916 drivers/staging/media/ipu3/ipu3-abi.h u32 format; format 1022 drivers/staging/media/ipu3/ipu3-abi.h u32 format; /* enum imgu_abi_osys_format */ format 1349 drivers/staging/media/ipu3/ipu3-abi.h u8 format; /* format of the frame data */ format 312 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int format; format 427 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int format = 0; format 467 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_osys_set_format(reso.pin_format[pin], &format, format 473 drivers/staging/media/ipu3/ipu3-css-params.c frame_params[pin].format = format; format 1000 drivers/staging/media/ipu3/ipu3-css-params.c fr_pr->format = frame_params[pin].format; format 1071 drivers/staging/media/ipu3/ipu3-css-params.c if (frame_params[pin].format == format 1073 drivers/staging/media/ipu3/ipu3-css-params.c frame_params[pin].format == format 1152 drivers/staging/media/ipu3/ipu3-css-params.c param->format = frame_params[pin].format; format 740 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->input_info.format = format 752 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->internal_info.format = format 766 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->output_info.format = format 780 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->vf_info.format = format 944 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.format = format 961 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.out[0].info.format = format 984 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.internal_frame_info.format = format 998 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.out_vf.info.format = format 137 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format = imgu_pipe->nodes[pad].pad_fmt; format 140 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format = *mf; format 161 drivers/staging/media/ipu3/ipu3-v4l2.c pipe, pad, fmt->format.width, fmt->format.height); format 169 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format.code = mf->code; format 172 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format.width = clamp(fmt->format.width, format 175 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format.height = clamp(fmt->format.height, format 179 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format.width = clamp(fmt->format.width, format 182 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format.height = clamp(fmt->format.height, format 187 drivers/staging/media/ipu3/ipu3-v4l2.c *mf = fmt->format; format 583 drivers/staging/media/meson/vdec/vdec.c struct v4l2_format format; format 598 drivers/staging/media/meson/vdec/vdec.c memset(&format, 0, sizeof(format)); format 600 drivers/staging/media/meson/vdec/vdec.c format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; format 601 drivers/staging/media/meson/vdec/vdec.c format.fmt.pix_mp.pixelformat = pixfmt_out; format 602 drivers/staging/media/meson/vdec/vdec.c format.fmt.pix_mp.width = orig_pixmp.width; format 603 drivers/staging/media/meson/vdec/vdec.c format.fmt.pix_mp.height = orig_pixmp.height; format 604 drivers/staging/media/meson/vdec/vdec.c vdec_try_fmt_common(sess, num_formats, &format); format 607 drivers/staging/media/meson/vdec/vdec.c sess->width = format.fmt.pix_mp.width; format 608 drivers/staging/media/meson/vdec/vdec.c sess->height = format.fmt.pix_mp.height; format 615 drivers/staging/media/meson/vdec/vdec.c memset(&format, 0, sizeof(format)); format 617 drivers/staging/media/meson/vdec/vdec.c format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; format 618 drivers/staging/media/meson/vdec/vdec.c format.fmt.pix_mp.pixelformat = pixfmt_cap; format 619 drivers/staging/media/meson/vdec/vdec.c format.fmt.pix_mp.width = orig_pixmp.width; format 620 drivers/staging/media/meson/vdec/vdec.c format.fmt.pix_mp.height = orig_pixmp.height; format 621 drivers/staging/media/meson/vdec/vdec.c vdec_try_fmt_common(sess, num_formats, &format); format 623 drivers/staging/media/meson/vdec/vdec.c sess->width = format.fmt.pix_mp.width; format 624 drivers/staging/media/meson/vdec/vdec.c sess->height = format.fmt.pix_mp.height; format 629 drivers/staging/media/meson/vdec/vdec.c sess->pixfmt_cap = format.fmt.pix_mp.pixelformat; format 146 drivers/staging/media/omap4iss/iss.c pipe->external_bpp = omap4iss_video_format_info(fmt.format.code)->bpp; format 846 drivers/staging/media/omap4iss/iss_csi2.c struct v4l2_mbus_framefmt *format; format 871 drivers/staging/media/omap4iss/iss_csi2.c format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, which); format 872 drivers/staging/media/omap4iss/iss_csi2.c memcpy(fmt, format, sizeof(*fmt)); format 901 drivers/staging/media/omap4iss/iss_csi2.c struct v4l2_mbus_framefmt *format; format 910 drivers/staging/media/omap4iss/iss_csi2.c format = __csi2_get_format(csi2, cfg, CSI2_PAD_SINK, format 915 drivers/staging/media/omap4iss/iss_csi2.c code->code = format->code; format 919 drivers/staging/media/omap4iss/iss_csi2.c info = omap4iss_video_format_info(format->code); format 920 drivers/staging/media/omap4iss/iss_csi2.c if (info->uncompressed == format->code) format 938 drivers/staging/media/omap4iss/iss_csi2.c struct v4l2_mbus_framefmt format; format 943 drivers/staging/media/omap4iss/iss_csi2.c format.code = fse->code; format 944 drivers/staging/media/omap4iss/iss_csi2.c format.width = 1; format 945 drivers/staging/media/omap4iss/iss_csi2.c format.height = 1; format 946 drivers/staging/media/omap4iss/iss_csi2.c csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); format 947 drivers/staging/media/omap4iss/iss_csi2.c fse->min_width = format.width; format 948 drivers/staging/media/omap4iss/iss_csi2.c fse->min_height = format.height; format 950 drivers/staging/media/omap4iss/iss_csi2.c if (format.code != fse->code) format 953 drivers/staging/media/omap4iss/iss_csi2.c format.code = fse->code; format 954 drivers/staging/media/omap4iss/iss_csi2.c format.width = -1; format 955 drivers/staging/media/omap4iss/iss_csi2.c format.height = -1; format 956 drivers/staging/media/omap4iss/iss_csi2.c csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); format 957 drivers/staging/media/omap4iss/iss_csi2.c fse->max_width = format.width; format 958 drivers/staging/media/omap4iss/iss_csi2.c fse->max_height = format.height; format 975 drivers/staging/media/omap4iss/iss_csi2.c struct v4l2_mbus_framefmt *format; format 977 drivers/staging/media/omap4iss/iss_csi2.c format = __csi2_get_format(csi2, cfg, fmt->pad, fmt->which); format 978 drivers/staging/media/omap4iss/iss_csi2.c if (!format) format 981 drivers/staging/media/omap4iss/iss_csi2.c fmt->format = *format; format 997 drivers/staging/media/omap4iss/iss_csi2.c struct v4l2_mbus_framefmt *format; format 999 drivers/staging/media/omap4iss/iss_csi2.c format = __csi2_get_format(csi2, cfg, fmt->pad, fmt->which); format 1000 drivers/staging/media/omap4iss/iss_csi2.c if (!format) format 1003 drivers/staging/media/omap4iss/iss_csi2.c csi2_try_format(csi2, cfg, fmt->pad, &fmt->format, fmt->which); format 1004 drivers/staging/media/omap4iss/iss_csi2.c *format = fmt->format; format 1008 drivers/staging/media/omap4iss/iss_csi2.c format = __csi2_get_format(csi2, cfg, CSI2_PAD_SOURCE, format 1010 drivers/staging/media/omap4iss/iss_csi2.c *format = fmt->format; format 1011 drivers/staging/media/omap4iss/iss_csi2.c csi2_try_format(csi2, cfg, CSI2_PAD_SOURCE, format, fmt->which); format 1045 drivers/staging/media/omap4iss/iss_csi2.c struct v4l2_subdev_format format; format 1047 drivers/staging/media/omap4iss/iss_csi2.c memset(&format, 0, sizeof(format)); format 1048 drivers/staging/media/omap4iss/iss_csi2.c format.pad = CSI2_PAD_SINK; format 1049 drivers/staging/media/omap4iss/iss_csi2.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 1050 drivers/staging/media/omap4iss/iss_csi2.c format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 1051 drivers/staging/media/omap4iss/iss_csi2.c format.format.width = 4096; format 1052 drivers/staging/media/omap4iss/iss_csi2.c format.format.height = 4096; format 1053 drivers/staging/media/omap4iss/iss_csi2.c csi2_set_format(sd, fh ? fh->pad : NULL, &format); format 85 drivers/staging/media/omap4iss/iss_ipipe.c struct v4l2_mbus_framefmt *format; format 88 drivers/staging/media/omap4iss/iss_ipipe.c format = &ipipe->formats[IPIPE_PAD_SINK]; format 101 drivers/staging/media/omap4iss/iss_ipipe.c (format->height - 2) & IPIPE_SRC_VSZ_MASK); format 103 drivers/staging/media/omap4iss/iss_ipipe.c (format->width - 1) & IPIPE_SRC_HSZ_MASK); format 115 drivers/staging/media/omap4iss/iss_ipipe.c format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; format 202 drivers/staging/media/omap4iss/iss_ipipe.c struct v4l2_mbus_framefmt *format; format 225 drivers/staging/media/omap4iss/iss_ipipe.c format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SINK, which); format 226 drivers/staging/media/omap4iss/iss_ipipe.c memcpy(fmt, format, sizeof(*fmt)); format 277 drivers/staging/media/omap4iss/iss_ipipe.c struct v4l2_mbus_framefmt format; format 282 drivers/staging/media/omap4iss/iss_ipipe.c format.code = fse->code; format 283 drivers/staging/media/omap4iss/iss_ipipe.c format.width = 1; format 284 drivers/staging/media/omap4iss/iss_ipipe.c format.height = 1; format 285 drivers/staging/media/omap4iss/iss_ipipe.c ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); format 286 drivers/staging/media/omap4iss/iss_ipipe.c fse->min_width = format.width; format 287 drivers/staging/media/omap4iss/iss_ipipe.c fse->min_height = format.height; format 289 drivers/staging/media/omap4iss/iss_ipipe.c if (format.code != fse->code) format 292 drivers/staging/media/omap4iss/iss_ipipe.c format.code = fse->code; format 293 drivers/staging/media/omap4iss/iss_ipipe.c format.width = -1; format 294 drivers/staging/media/omap4iss/iss_ipipe.c format.height = -1; format 295 drivers/staging/media/omap4iss/iss_ipipe.c ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); format 296 drivers/staging/media/omap4iss/iss_ipipe.c fse->max_width = format.width; format 297 drivers/staging/media/omap4iss/iss_ipipe.c fse->max_height = format.height; format 316 drivers/staging/media/omap4iss/iss_ipipe.c struct v4l2_mbus_framefmt *format; format 318 drivers/staging/media/omap4iss/iss_ipipe.c format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); format 319 drivers/staging/media/omap4iss/iss_ipipe.c if (!format) format 322 drivers/staging/media/omap4iss/iss_ipipe.c fmt->format = *format; format 340 drivers/staging/media/omap4iss/iss_ipipe.c struct v4l2_mbus_framefmt *format; format 342 drivers/staging/media/omap4iss/iss_ipipe.c format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); format 343 drivers/staging/media/omap4iss/iss_ipipe.c if (!format) format 346 drivers/staging/media/omap4iss/iss_ipipe.c ipipe_try_format(ipipe, cfg, fmt->pad, &fmt->format, fmt->which); format 347 drivers/staging/media/omap4iss/iss_ipipe.c *format = fmt->format; format 351 drivers/staging/media/omap4iss/iss_ipipe.c format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SOURCE_VP, format 353 drivers/staging/media/omap4iss/iss_ipipe.c *format = fmt->format; format 354 drivers/staging/media/omap4iss/iss_ipipe.c ipipe_try_format(ipipe, cfg, IPIPE_PAD_SOURCE_VP, format, format 366 drivers/staging/media/omap4iss/iss_ipipe.c if (source_fmt->format.width != sink_fmt->format.width || format 367 drivers/staging/media/omap4iss/iss_ipipe.c source_fmt->format.height != sink_fmt->format.height) format 370 drivers/staging/media/omap4iss/iss_ipipe.c if (source_fmt->format.code != sink_fmt->format.code) format 387 drivers/staging/media/omap4iss/iss_ipipe.c struct v4l2_subdev_format format; format 389 drivers/staging/media/omap4iss/iss_ipipe.c memset(&format, 0, sizeof(format)); format 390 drivers/staging/media/omap4iss/iss_ipipe.c format.pad = IPIPE_PAD_SINK; format 391 drivers/staging/media/omap4iss/iss_ipipe.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 392 drivers/staging/media/omap4iss/iss_ipipe.c format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 393 drivers/staging/media/omap4iss/iss_ipipe.c format.format.width = 4096; format 394 drivers/staging/media/omap4iss/iss_ipipe.c format.format.height = 4096; format 395 drivers/staging/media/omap4iss/iss_ipipe.c ipipe_set_format(sd, fh ? fh->pad : NULL, &format); format 125 drivers/staging/media/omap4iss/iss_ipipeif.c struct v4l2_mbus_framefmt *format; format 131 drivers/staging/media/omap4iss/iss_ipipeif.c format = &ipipeif->formats[IPIPEIF_PAD_SINK]; format 138 drivers/staging/media/omap4iss/iss_ipipeif.c switch (format->code) { format 182 drivers/staging/media/omap4iss/iss_ipipeif.c info = omap4iss_video_format_info(format->code); format 195 drivers/staging/media/omap4iss/iss_ipipeif.c (format->width - 1) & ISIF_LNH_MASK); format 197 drivers/staging/media/omap4iss/iss_ipipeif.c (format->height - 1) & ISIF_LNV_MASK); format 201 drivers/staging/media/omap4iss/iss_ipipeif.c format->height - 1); format 204 drivers/staging/media/omap4iss/iss_ipipeif.c format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; format 381 drivers/staging/media/omap4iss/iss_ipipeif.c struct v4l2_mbus_framefmt *format; format 406 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, format 408 drivers/staging/media/omap4iss/iss_ipipeif.c memcpy(fmt, format, sizeof(*fmt)); format 421 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, format 423 drivers/staging/media/omap4iss/iss_ipipeif.c memcpy(fmt, format, sizeof(*fmt)); format 449 drivers/staging/media/omap4iss/iss_ipipeif.c struct v4l2_mbus_framefmt *format; format 465 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, format 468 drivers/staging/media/omap4iss/iss_ipipeif.c code->code = format->code; format 483 drivers/staging/media/omap4iss/iss_ipipeif.c struct v4l2_mbus_framefmt format; format 488 drivers/staging/media/omap4iss/iss_ipipeif.c format.code = fse->code; format 489 drivers/staging/media/omap4iss/iss_ipipeif.c format.width = 1; format 490 drivers/staging/media/omap4iss/iss_ipipeif.c format.height = 1; format 491 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); format 492 drivers/staging/media/omap4iss/iss_ipipeif.c fse->min_width = format.width; format 493 drivers/staging/media/omap4iss/iss_ipipeif.c fse->min_height = format.height; format 495 drivers/staging/media/omap4iss/iss_ipipeif.c if (format.code != fse->code) format 498 drivers/staging/media/omap4iss/iss_ipipeif.c format.code = fse->code; format 499 drivers/staging/media/omap4iss/iss_ipipeif.c format.width = -1; format 500 drivers/staging/media/omap4iss/iss_ipipeif.c format.height = -1; format 501 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); format 502 drivers/staging/media/omap4iss/iss_ipipeif.c fse->max_width = format.width; format 503 drivers/staging/media/omap4iss/iss_ipipeif.c fse->max_height = format.height; format 522 drivers/staging/media/omap4iss/iss_ipipeif.c struct v4l2_mbus_framefmt *format; format 524 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); format 525 drivers/staging/media/omap4iss/iss_ipipeif.c if (!format) format 528 drivers/staging/media/omap4iss/iss_ipipeif.c fmt->format = *format; format 546 drivers/staging/media/omap4iss/iss_ipipeif.c struct v4l2_mbus_framefmt *format; format 548 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); format 549 drivers/staging/media/omap4iss/iss_ipipeif.c if (!format) format 552 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, fmt->pad, &fmt->format, fmt->which); format 553 drivers/staging/media/omap4iss/iss_ipipeif.c *format = fmt->format; format 557 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, format 560 drivers/staging/media/omap4iss/iss_ipipeif.c *format = fmt->format; format 562 drivers/staging/media/omap4iss/iss_ipipeif.c format, fmt->which); format 564 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, format 567 drivers/staging/media/omap4iss/iss_ipipeif.c *format = fmt->format; format 568 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, IPIPEIF_PAD_SOURCE_VP, format, format 581 drivers/staging/media/omap4iss/iss_ipipeif.c if (source_fmt->format.width != sink_fmt->format.width || format 582 drivers/staging/media/omap4iss/iss_ipipeif.c source_fmt->format.height != sink_fmt->format.height) format 585 drivers/staging/media/omap4iss/iss_ipipeif.c if (source_fmt->format.code != sink_fmt->format.code) format 603 drivers/staging/media/omap4iss/iss_ipipeif.c struct v4l2_subdev_format format; format 605 drivers/staging/media/omap4iss/iss_ipipeif.c memset(&format, 0, sizeof(format)); format 606 drivers/staging/media/omap4iss/iss_ipipeif.c format.pad = IPIPEIF_PAD_SINK; format 607 drivers/staging/media/omap4iss/iss_ipipeif.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 608 drivers/staging/media/omap4iss/iss_ipipeif.c format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10; format 609 drivers/staging/media/omap4iss/iss_ipipeif.c format.format.width = 4096; format 610 drivers/staging/media/omap4iss/iss_ipipeif.c format.format.height = 4096; format 611 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_set_format(sd, fh ? fh->pad : NULL, &format); format 441 drivers/staging/media/omap4iss/iss_resizer.c struct v4l2_mbus_framefmt *format; format 464 drivers/staging/media/omap4iss/iss_resizer.c format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK, format 466 drivers/staging/media/omap4iss/iss_resizer.c memcpy(fmt, format, sizeof(*fmt)); format 499 drivers/staging/media/omap4iss/iss_resizer.c struct v4l2_mbus_framefmt *format; format 510 drivers/staging/media/omap4iss/iss_resizer.c format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK, format 514 drivers/staging/media/omap4iss/iss_resizer.c code->code = format->code; format 518 drivers/staging/media/omap4iss/iss_resizer.c switch (format->code) { format 544 drivers/staging/media/omap4iss/iss_resizer.c struct v4l2_mbus_framefmt format; format 549 drivers/staging/media/omap4iss/iss_resizer.c format.code = fse->code; format 550 drivers/staging/media/omap4iss/iss_resizer.c format.width = 1; format 551 drivers/staging/media/omap4iss/iss_resizer.c format.height = 1; format 552 drivers/staging/media/omap4iss/iss_resizer.c resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); format 553 drivers/staging/media/omap4iss/iss_resizer.c fse->min_width = format.width; format 554 drivers/staging/media/omap4iss/iss_resizer.c fse->min_height = format.height; format 556 drivers/staging/media/omap4iss/iss_resizer.c if (format.code != fse->code) format 559 drivers/staging/media/omap4iss/iss_resizer.c format.code = fse->code; format 560 drivers/staging/media/omap4iss/iss_resizer.c format.width = -1; format 561 drivers/staging/media/omap4iss/iss_resizer.c format.height = -1; format 562 drivers/staging/media/omap4iss/iss_resizer.c resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); format 563 drivers/staging/media/omap4iss/iss_resizer.c fse->max_width = format.width; format 564 drivers/staging/media/omap4iss/iss_resizer.c fse->max_height = format.height; format 583 drivers/staging/media/omap4iss/iss_resizer.c struct v4l2_mbus_framefmt *format; format 585 drivers/staging/media/omap4iss/iss_resizer.c format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which); format 586 drivers/staging/media/omap4iss/iss_resizer.c if (!format) format 589 drivers/staging/media/omap4iss/iss_resizer.c fmt->format = *format; format 607 drivers/staging/media/omap4iss/iss_resizer.c struct v4l2_mbus_framefmt *format; format 609 drivers/staging/media/omap4iss/iss_resizer.c format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which); format 610 drivers/staging/media/omap4iss/iss_resizer.c if (!format) format 613 drivers/staging/media/omap4iss/iss_resizer.c resizer_try_format(resizer, cfg, fmt->pad, &fmt->format, fmt->which); format 614 drivers/staging/media/omap4iss/iss_resizer.c *format = fmt->format; format 618 drivers/staging/media/omap4iss/iss_resizer.c format = __resizer_get_format(resizer, cfg, format 621 drivers/staging/media/omap4iss/iss_resizer.c *format = fmt->format; format 622 drivers/staging/media/omap4iss/iss_resizer.c resizer_try_format(resizer, cfg, RESIZER_PAD_SOURCE_MEM, format, format 635 drivers/staging/media/omap4iss/iss_resizer.c if (source_fmt->format.width != sink_fmt->format.width || format 636 drivers/staging/media/omap4iss/iss_resizer.c source_fmt->format.height != sink_fmt->format.height) format 639 drivers/staging/media/omap4iss/iss_resizer.c if (source_fmt->format.code != sink_fmt->format.code) format 657 drivers/staging/media/omap4iss/iss_resizer.c struct v4l2_subdev_format format; format 659 drivers/staging/media/omap4iss/iss_resizer.c memset(&format, 0, sizeof(format)); format 660 drivers/staging/media/omap4iss/iss_resizer.c format.pad = RESIZER_PAD_SINK; format 661 drivers/staging/media/omap4iss/iss_resizer.c format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; format 662 drivers/staging/media/omap4iss/iss_resizer.c format.format.code = MEDIA_BUS_FMT_UYVY8_1X16; format 663 drivers/staging/media/omap4iss/iss_resizer.c format.format.width = 4096; format 664 drivers/staging/media/omap4iss/iss_resizer.c format.format.height = 4096; format 665 drivers/staging/media/omap4iss/iss_resizer.c resizer_set_format(sd, fh ? fh->pad : NULL, &format); format 245 drivers/staging/media/omap4iss/iss_video.c struct v4l2_mbus_framefmt *format) format 267 drivers/staging/media/omap4iss/iss_video.c *format = fmt.format; format 274 drivers/staging/media/omap4iss/iss_video.c struct v4l2_mbus_framefmt format; format 278 drivers/staging/media/omap4iss/iss_video.c ret = __iss_video_get_format(video, &format); format 283 drivers/staging/media/omap4iss/iss_video.c ret = iss_video_mbus_to_pix(video, &format, &pixfmt); format 285 drivers/staging/media/omap4iss/iss_video.c if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || format 286 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.height != pixfmt.height || format 287 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.width != pixfmt.width || format 288 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || format 289 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) format 310 drivers/staging/media/omap4iss/iss_video.c sizes[0] = vfh->format.fmt.pix.sizeimage; format 334 drivers/staging/media/omap4iss/iss_video.c unsigned long size = vfh->format.fmt.pix.sizeimage; format 546 drivers/staging/media/omap4iss/iss_video.c struct v4l2_mbus_framefmt format; format 554 drivers/staging/media/omap4iss/iss_video.c ret = __iss_video_get_format(video, &format); format 561 drivers/staging/media/omap4iss/iss_video.c if (format.code != info->code) format 576 drivers/staging/media/omap4iss/iss_video.c iss_video_get_format(struct file *file, void *fh, struct v4l2_format *format) format 581 drivers/staging/media/omap4iss/iss_video.c if (format->type != video->type) format 585 drivers/staging/media/omap4iss/iss_video.c *format = vfh->format; format 592 drivers/staging/media/omap4iss/iss_video.c iss_video_set_format(struct file *file, void *fh, struct v4l2_format *format) format 598 drivers/staging/media/omap4iss/iss_video.c if (format->type != video->type) format 607 drivers/staging/media/omap4iss/iss_video.c iss_video_pix_to_mbus(&format->fmt.pix, &fmt); format 608 drivers/staging/media/omap4iss/iss_video.c iss_video_mbus_to_pix(video, &fmt, &format->fmt.pix); format 610 drivers/staging/media/omap4iss/iss_video.c vfh->format = *format; format 617 drivers/staging/media/omap4iss/iss_video.c iss_video_try_format(struct file *file, void *fh, struct v4l2_format *format) format 625 drivers/staging/media/omap4iss/iss_video.c if (format->type != video->type) format 632 drivers/staging/media/omap4iss/iss_video.c iss_video_pix_to_mbus(&format->fmt.pix, &fmt.format); format 640 drivers/staging/media/omap4iss/iss_video.c iss_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix); format 648 drivers/staging/media/omap4iss/iss_video.c struct v4l2_subdev_format format; format 688 drivers/staging/media/omap4iss/iss_video.c format.pad = pad; format 689 drivers/staging/media/omap4iss/iss_video.c format.which = V4L2_SUBDEV_FORMAT_ACTIVE; format 690 drivers/staging/media/omap4iss/iss_video.c ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &format); format 696 drivers/staging/media/omap4iss/iss_video.c sel->r.width = format.format.width; format 697 drivers/staging/media/omap4iss/iss_video.c sel->r.height = format.format.height; format 906 drivers/staging/media/omap4iss/iss_video.c video->bpl_value = vfh->format.fmt.pix.bytesperline; format 1137 drivers/staging/media/omap4iss/iss_video.c memset(&handle->format, 0, sizeof(handle->format)); format 1138 drivers/staging/media/omap4iss/iss_video.c handle->format.type = video->type; format 177 drivers/staging/media/omap4iss/iss_video.h struct v4l2_format format; format 154 drivers/staging/media/soc_camera/imx074.c struct v4l2_subdev_format *format) format 156 drivers/staging/media/soc_camera/imx074.c struct v4l2_mbus_framefmt *mf = &format->format; format 161 drivers/staging/media/soc_camera/imx074.c if (format->pad) format 168 drivers/staging/media/soc_camera/imx074.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 178 drivers/staging/media/soc_camera/imx074.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 188 drivers/staging/media/soc_camera/imx074.c struct v4l2_subdev_format *format) format 190 drivers/staging/media/soc_camera/imx074.c struct v4l2_mbus_framefmt *mf = &format->format; format 196 drivers/staging/media/soc_camera/imx074.c if (format->pad) format 344 drivers/staging/media/soc_camera/mt9t031.c struct v4l2_subdev_format *format) format 346 drivers/staging/media/soc_camera/mt9t031.c struct v4l2_mbus_framefmt *mf = &format->format; format 350 drivers/staging/media/soc_camera/mt9t031.c if (format->pad) format 368 drivers/staging/media/soc_camera/mt9t031.c struct v4l2_subdev_format *format) format 370 drivers/staging/media/soc_camera/mt9t031.c struct v4l2_mbus_framefmt *mf = &format->format; format 376 drivers/staging/media/soc_camera/mt9t031.c if (format->pad) format 385 drivers/staging/media/soc_camera/mt9t031.c if (format->which == V4L2_SUBDEV_FORMAT_TRY) { format 863 drivers/staging/media/soc_camera/soc_camera.c const struct soc_mbus_pixelfmt *format; format 870 drivers/staging/media/soc_camera/soc_camera.c format = icd->user_formats[f->index].host_fmt; format 872 drivers/staging/media/soc_camera/soc_camera.c f->pixelformat = format->fourcc; format 1170 drivers/staging/media/soc_camera/soc_camera.c struct v4l2_mbus_framefmt *mf = &fmt.format; format 382 drivers/staging/media/soc_camera/soc_mt9v022.c struct v4l2_subdev_format *format) format 384 drivers/staging/media/soc_camera/soc_mt9v022.c struct v4l2_mbus_framefmt *mf = &format->format; format 388 drivers/staging/media/soc_camera/soc_mt9v022.c if (format->pad) format 449 drivers/staging/media/soc_camera/soc_mt9v022.c struct v4l2_subdev_format *format) format 451 drivers/staging/media/soc_camera/soc_mt9v022.c struct v4l2_mbus_framefmt *mf = &format->format; format 458 drivers/staging/media/soc_camera/soc_mt9v022.c if (format->pad) format 475 drivers/staging/media/soc_camera/soc_mt9v022.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 789 drivers/staging/media/soc_camera/soc_ov5642.c struct v4l2_subdev_format *format) format 791 drivers/staging/media/soc_camera/soc_ov5642.c struct v4l2_mbus_framefmt *mf = &format->format; format 796 drivers/staging/media/soc_camera/soc_ov5642.c if (format->pad) format 803 drivers/staging/media/soc_camera/soc_ov5642.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 811 drivers/staging/media/soc_camera/soc_ov5642.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 820 drivers/staging/media/soc_camera/soc_ov5642.c struct v4l2_subdev_format *format) format 822 drivers/staging/media/soc_camera/soc_ov5642.c struct v4l2_mbus_framefmt *mf = &format->format; format 828 drivers/staging/media/soc_camera/soc_ov5642.c if (format->pad) format 689 drivers/staging/media/soc_camera/soc_ov9740.c struct v4l2_subdev_format *format) format 691 drivers/staging/media/soc_camera/soc_ov9740.c struct v4l2_mbus_framefmt *mf = &format->format; format 693 drivers/staging/media/soc_camera/soc_ov9740.c if (format->pad) format 702 drivers/staging/media/soc_camera/soc_ov9740.c if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) format 379 drivers/staging/most/sound/sound.c int width = snd_pcm_format_physical_width(runtime->format); format 384 drivers/staging/most/sound/sound.c if (snd_pcm_format_big_endian(runtime->format) || width == 8) format 393 drivers/staging/most/sound/sound.c if (snd_pcm_format_big_endian(runtime->format) || width == 8) format 230 drivers/staging/most/video/video.c struct v4l2_format *format) format 232 drivers/staging/most/video/video.c if (format->fmt.pix.pixelformat != V4L2_PIX_FMT_MPEG) format 238 drivers/staging/most/video/video.c comp_set_format_struct(format); format 267 drivers/staging/rtl8723bs/include/osdep_service.h #define rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) format 226 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c snd_pcm_format_width(runtime->format)); format 1063 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->format.encoding = MMAL_ENCODING_OPAQUE; format 1065 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->format.encoding = mfmt->mmal; format 1068 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (camera_port->format.encoding == MMAL_ENCODING_RGB24) format 1069 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->format.encoding = MMAL_ENCODING_BGR24; format 1070 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c else if (camera_port->format.encoding == MMAL_ENCODING_BGR24) format 1071 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->format.encoding = MMAL_ENCODING_RGB24; format 1080 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->format.encoding_variant = 0; format 1180 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->format.encoding = mfmt->mmal; format 1181 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->format.encoding_variant = 0; format 1185 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->format.bitrate = format 1223 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (port->format.encoding == format 1262 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->format.encoding, format 1544 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c struct mmal_es_format_local *format; format 1608 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format = &camera->output[CAM_PORT_PREVIEW].format; format 1610 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->encoding = MMAL_ENCODING_OPAQUE; format 1611 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->encoding_variant = MMAL_ENCODING_I420; format 1613 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.width = 1024; format 1614 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.height = 768; format 1615 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.x = 0; format 1616 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.y = 0; format 1617 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 1024; format 1618 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.height = 768; format 1619 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.frame_rate.num = 0; /* Rely on fps_range */ format 1620 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.frame_rate.den = 1; format 1622 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format = &camera->output[CAM_PORT_VIDEO].format; format 1624 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->encoding = MMAL_ENCODING_OPAQUE; format 1625 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->encoding_variant = MMAL_ENCODING_I420; format 1627 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.width = 1024; format 1628 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.height = 768; format 1629 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.x = 0; format 1630 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.y = 0; format 1631 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 1024; format 1632 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.height = 768; format 1633 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.frame_rate.num = 0; /* Rely on fps_range */ format 1634 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.frame_rate.den = 1; format 1636 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format = &camera->output[CAM_PORT_CAPTURE].format; format 1638 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->encoding = MMAL_ENCODING_OPAQUE; format 1640 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.width = 2592; format 1641 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.height = 1944; format 1642 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.x = 0; format 1643 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.y = 0; format 1644 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 2592; format 1645 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.height = 1944; format 1646 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.frame_rate.num = 0; /* Rely on fps_range */ format 1647 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.frame_rate.den = 1; format 1649 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->capture.width = format->es->video.width; format 1650 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->capture.height = format->es->video.height; format 1703 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c encoder_port->format.encoding = MMAL_ENCODING_H264; format 56 drivers/staging/vc04_services/bcm2835-camera/mmal-msg-port.h u32 format; /* Format of the elementary stream */ format 164 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h struct mmal_es_format format; /* elementary stream format */ format 175 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h struct mmal_es_format format; format 189 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h struct mmal_es_format format; format 721 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.type, format 722 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.encoding, port->format.encoding_variant); format 725 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.bitrate, port->format.flags); format 727 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c if (port->format.type == MMAL_ES_TYPE_VIDEO) { format 785 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.type = port->format.type; format 786 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.encoding = port->format.encoding; format 787 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.encoding_variant = format 788 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.encoding_variant; format 789 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.bitrate = port->format.bitrate; format 790 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.flags = port->format.flags; format 795 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.format.extradata_size = port->format.extradata_size; format 796 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(&m.u.port_info_set.extradata, port->format.extradata, format 797 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.extradata_size); format 886 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.type = rmsg->u.port_info_get_reply.format.type; format 887 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.encoding = rmsg->u.port_info_get_reply.format.encoding; format 888 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.encoding_variant = format 889 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.format.encoding_variant; format 890 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.bitrate = rmsg->u.port_info_get_reply.format.bitrate; format 891 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.flags = rmsg->u.port_info_get_reply.format.flags; format 897 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.es = &port->es; format 899 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.extradata_size = format 900 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c rmsg->u.port_info_get_reply.format.extradata_size; format 901 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c memcpy(port->format.extradata, format 903 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->format.extradata_size); format 1526 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c dst->format.encoding = src->format.encoding; format 67 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h struct mmal_es_format_local format; format 19 drivers/target/tcm_fc/tcm_fc.h __u8 format; format 41 drivers/thunderbolt/ctl.c #define tb_ctl_WARN(ctl, format, arg...) \ format 42 drivers/thunderbolt/ctl.c dev_WARN(&(ctl)->nhi->pdev->dev, format, ## arg) format 44 drivers/thunderbolt/ctl.c #define tb_ctl_err(ctl, format, arg...) \ format 45 drivers/thunderbolt/ctl.c dev_err(&(ctl)->nhi->pdev->dev, format, ## arg) format 47 drivers/thunderbolt/ctl.c #define tb_ctl_warn(ctl, format, arg...) \ format 48 drivers/thunderbolt/ctl.c dev_warn(&(ctl)->nhi->pdev->dev, format, ## arg) format 50 drivers/thunderbolt/ctl.c #define tb_ctl_info(ctl, format, arg...) \ format 51 drivers/thunderbolt/ctl.c dev_info(&(ctl)->nhi->pdev->dev, format, ## arg) format 53 drivers/thunderbolt/ctl.c #define tb_ctl_dbg(ctl, format, arg...) \ format 54 drivers/thunderbolt/ctl.c dev_dbg(&(ctl)->nhi->pdev->dev, format, ## arg) format 83 drivers/tty/n_r3964.c #define TRACE(format, args...) printk("r3964: " format "\n" , ## args) format 86 drivers/tty/n_r3964.c #define TRACE_M(format, args...) printk("r3964: " format "\n" , ## args) format 91 drivers/tty/n_r3964.c #define TRACE_PS(format, args...) printk("r3964: " format "\n" , ## args) format 96 drivers/tty/n_r3964.c #define TRACE_PE(format, args...) printk("r3964: " format "\n" , ## args) format 101 drivers/tty/n_r3964.c #define TRACE_L(format, args...) printk("r3964: " format "\n" , ## args) format 106 drivers/tty/n_r3964.c #define TRACE_Q(format, args...) printk("r3964: " format "\n" , ## args) format 89 drivers/tty/serial/efm32-uart.c #define efm_debug(efm_port, format, arg...) \ format 90 drivers/tty/serial/efm32-uart.c dev_dbg(efm_port->port.dev, format, ##arg) format 38 drivers/usb/atm/ueagle-atm.c #define uea_dbg(usb_dev, format, args...) \ format 42 drivers/usb/atm/ueagle-atm.c "[ueagle-atm dbg] %s: " format, \ format 46 drivers/usb/atm/ueagle-atm.c #define uea_vdbg(usb_dev, format, args...) \ format 50 drivers/usb/atm/ueagle-atm.c "[ueagle-atm vdbg] " format, ##args); \ format 59 drivers/usb/atm/ueagle-atm.c #define uea_err(usb_dev, format, args...) \ format 60 drivers/usb/atm/ueagle-atm.c dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args) format 62 drivers/usb/atm/ueagle-atm.c #define uea_warn(usb_dev, format, args...) \ format 63 drivers/usb/atm/ueagle-atm.c dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args) format 65 drivers/usb/atm/ueagle-atm.c #define uea_info(usb_dev, format, args...) \ format 66 drivers/usb/atm/ueagle-atm.c dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##args) format 29 drivers/usb/atm/usbatm.h #define usb_err(instance, format, arg...) \ format 30 drivers/usb/atm/usbatm.h dev_err(&(instance)->usb_intf->dev , format , ## arg) format 31 drivers/usb/atm/usbatm.h #define usb_info(instance, format, arg...) \ format 32 drivers/usb/atm/usbatm.h dev_info(&(instance)->usb_intf->dev , format , ## arg) format 33 drivers/usb/atm/usbatm.h #define usb_warn(instance, format, arg...) \ format 34 drivers/usb/atm/usbatm.h dev_warn(&(instance)->usb_intf->dev , format , ## arg) format 35 drivers/usb/atm/usbatm.h #define usb_dbg(instance, format, arg...) \ format 36 drivers/usb/atm/usbatm.h dev_dbg(&(instance)->usb_intf->dev , format , ## arg) format 39 drivers/usb/atm/usbatm.h #define atm_printk(level, instance, format, arg...) \ format 40 drivers/usb/atm/usbatm.h printk(level "ATM dev %d: " format , \ format 43 drivers/usb/atm/usbatm.h #define atm_err(instance, format, arg...) \ format 44 drivers/usb/atm/usbatm.h atm_printk(KERN_ERR, instance , format , ## arg) format 45 drivers/usb/atm/usbatm.h #define atm_info(instance, format, arg...) \ format 46 drivers/usb/atm/usbatm.h atm_printk(KERN_INFO, instance , format , ## arg) format 47 drivers/usb/atm/usbatm.h #define atm_warn(instance, format, arg...) \ format 48 drivers/usb/atm/usbatm.h atm_printk(KERN_WARNING, instance , format , ## arg) format 49 drivers/usb/atm/usbatm.h #define atm_dbg(instance, format, ...) \ format 50 drivers/usb/atm/usbatm.h pr_debug("ATM dev %d: " format, \ format 52 drivers/usb/atm/usbatm.h #define atm_rldbg(instance, format, ...) \ format 53 drivers/usb/atm/usbatm.h pr_debug_ratelimited("ATM dev %d: " format, \ format 120 drivers/usb/core/devio.c #define snoop(dev, format, arg...) \ format 123 drivers/usb/core/devio.c dev_info(dev, format, ## arg); \ format 764 drivers/usb/gadget/function/f_ncm.c uint16_t format; format 768 drivers/usb/gadget/function/f_ncm.c format = (ncm->parser_opts == &ndp16_opts) ? 0x0000 : 0x0001; format 769 drivers/usb/gadget/function/f_ncm.c put_unaligned_le16(format, req->buf); format 771 drivers/usb/gadget/function/f_ncm.c VDBG(cdev, "Host asked NTB FORMAT, sending %d\n", format); format 105 drivers/usb/gadget/function/u_uac1_legacy.c snd->format = SNDRV_PCM_FORMAT_S16_LE; format 117 drivers/usb/gadget/function/u_uac1_legacy.c snd->format, 0); format 136 drivers/usb/gadget/function/u_uac1_legacy.c snd->format = params_format(params); format 144 drivers/usb/gadget/function/u_uac1_legacy.c snd->access, snd->format, snd->channels, snd->rate); format 39 drivers/usb/gadget/function/u_uac1_legacy.h int format; format 102 drivers/usb/gadget/function/uvc_v4l2.c struct uvc_format *format; format 108 drivers/usb/gadget/function/uvc_v4l2.c format = &uvc_formats[i]; format 109 drivers/usb/gadget/function/uvc_v4l2.c if (format->fcc == fmt->fmt.pix.pixelformat) format 119 drivers/usb/gadget/function/uvc_v4l2.c bpl = format->bpp * fmt->fmt.pix.width / 8; format 122 drivers/usb/gadget/function/uvc_v4l2.c video->fcc = format->fcc; format 123 drivers/usb/gadget/function/uvc_v4l2.c video->bpp = format->bpp; format 23 drivers/usb/host/ohci-dbg.c #define ohci_dbg_sw(ohci, next, size, format, arg...) \ format 27 drivers/usb/host/ohci-dbg.c s_len = scnprintf (*next, *size, format, ## arg ); \ format 30 drivers/usb/host/ohci-dbg.c ohci_dbg(ohci,format, ## arg ); \ format 34 drivers/usb/host/ohci-dbg.c #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ format 37 drivers/usb/host/ohci-dbg.c s_len = scnprintf(*next, *size, format, ## arg); \ format 30 drivers/usb/misc/chaoskey.c #define usb_dbg(usb_if, format, arg...) \ format 31 drivers/usb/misc/chaoskey.c dev_dbg(&(usb_if)->dev, format, ## arg) format 33 drivers/usb/misc/chaoskey.c #define usb_err(usb_if, format, arg...) \ format 34 drivers/usb/misc/chaoskey.c dev_err(&(usb_if)->dev, format, ## arg) format 13 drivers/usb/musb/musb_debug.h #define yprintk(facility, format, args...) \ format 14 drivers/usb/musb/musb_debug.h do { printk(facility "%s %d: " format , \ format 3149 drivers/video/fbdev/aty/atyfb_base.c u32 format; format 3192 drivers/video/fbdev/aty/atyfb_base.c format = *(u32 *)(par->lcd_table+57); format 3194 drivers/video/fbdev/aty/atyfb_base.c switch (format & 7) { format 3208 drivers/video/fbdev/aty/atyfb_base.c switch (format & 7) { format 1658 drivers/video/fbdev/aty/radeon_base.c int format = 0; format 1738 drivers/video/fbdev/aty/radeon_base.c format = radeon_get_dstbpp(depth); format 1742 drivers/video/fbdev/aty/radeon_base.c hsync_fudge = hsync_fudge_fp[format-1]; format 1744 drivers/video/fbdev/aty/radeon_base.c hsync_fudge = hsync_adj_tab[format-1]; format 1749 drivers/video/fbdev/aty/radeon_base.c (format << 8); format 670 drivers/video/fbdev/cirrusfb.c unsigned int control = 0, format = 0, threshold = 0; format 881 drivers/video/fbdev/cirrusfb.c format = 0; format 1120 drivers/video/fbdev/cirrusfb.c format |= 0x1400; format 1178 drivers/video/fbdev/cirrusfb.c format |= 0x2400; format 1246 drivers/video/fbdev/cirrusfb.c fb_writew(format, cinfo->laguna_mmio + 0xc0); format 468 drivers/video/fbdev/fb-puv3.c int format; format 517 drivers/video/fbdev/fb-puv3.c format = UDE_CFG_DST8; format 520 drivers/video/fbdev/fb-puv3.c format = UDE_CFG_DST16; format 523 drivers/video/fbdev/fb-puv3.c format = UDE_CFG_DST24; format 526 drivers/video/fbdev/fb-puv3.c format = UDE_CFG_DST32; format 544 drivers/video/fbdev/fb-puv3.c | format | 0xC0000001, UDE_CFG); format 426 drivers/video/fbdev/omap/hwa742.c flags = win->format & ~OMAPFB_FORMAT_MASK; format 427 drivers/video/fbdev/omap/hwa742.c color_mode = win->format & OMAPFB_FORMAT_MASK; format 492 drivers/video/fbdev/omap/hwa742.c if (unlikely(win->format & format 990 drivers/video/fbdev/omap/hwa742.c hwa742.auto_update_window.format = 0; format 44 drivers/video/fbdev/omap/omapfb.h enum omapfb_color_format format;/* OMAPFB_COLOR_* */ format 755 drivers/video/fbdev/omap/omapfb_main.c win.format = 0; format 27 drivers/video/fbdev/omap2/omapfb/dss/dss.h #define DSSDBG(format, ...) \ format 28 drivers/video/fbdev/omap2/omapfb/dss/dss.h pr_debug(format, ## __VA_ARGS__) format 31 drivers/video/fbdev/omap2/omapfb/dss/dss.h #define DSSERR(format, ...) \ format 32 drivers/video/fbdev/omap2/omapfb/dss/dss.h printk(KERN_ERR "omapdss " DSS_SUBSYS_NAME " error: " format, \ format 35 drivers/video/fbdev/omap2/omapfb/dss/dss.h #define DSSERR(format, ...) \ format 36 drivers/video/fbdev/omap2/omapfb/dss/dss.h printk(KERN_ERR "omapdss error: " format, ## __VA_ARGS__) format 40 drivers/video/fbdev/omap2/omapfb/dss/dss.h #define DSSINFO(format, ...) \ format 41 drivers/video/fbdev/omap2/omapfb/dss/dss.h printk(KERN_INFO "omapdss " DSS_SUBSYS_NAME ": " format, \ format 44 drivers/video/fbdev/omap2/omapfb/dss/dss.h #define DSSINFO(format, ...) \ format 45 drivers/video/fbdev/omap2/omapfb/dss/dss.h printk(KERN_INFO "omapdss: " format, ## __VA_ARGS__) format 49 drivers/video/fbdev/omap2/omapfb/dss/dss.h #define DSSWARN(format, ...) \ format 50 drivers/video/fbdev/omap2/omapfb/dss/dss.h printk(KERN_WARNING "omapdss " DSS_SUBSYS_NAME ": " format, \ format 53 drivers/video/fbdev/omap2/omapfb/dss/dss.h #define DSSWARN(format, ...) \ format 54 drivers/video/fbdev/omap2/omapfb/dss/dss.h printk(KERN_WARNING "omapdss: " format, ## __VA_ARGS__) format 26 drivers/video/fbdev/omap2/omapfb/omapfb.h #define DBG(format, ...) \ format 29 drivers/video/fbdev/omap2/omapfb/omapfb.h printk(KERN_DEBUG "OMAPFB: " format, ## __VA_ARGS__); \ format 32 drivers/video/fbdev/omap2/omapfb/omapfb.h #define DBG(format, ...) format 23 drivers/video/fbdev/omap2/omapfb/vrfb.c #define DBG(format, ...) pr_debug("VRFB: " format, ## __VA_ARGS__) format 25 drivers/video/fbdev/omap2/omapfb/vrfb.c #define DBG(format, ...) format 196 drivers/video/fbdev/sh_mobile_lcdcfb.c const struct sh_mobile_lcdc_format_info *format; format 782 drivers/video/fbdev/sh_mobile_lcdcfb.c u32 format = 0; format 798 drivers/video/fbdev/sh_mobile_lcdcfb.c format = LDBBSIFR_EN | (ovl->alpha << LDBBSIFR_LAY_SHIFT); format 802 drivers/video/fbdev/sh_mobile_lcdcfb.c format = LDBBSIFR_EN | LDBBSIFR_BRSEL format 807 drivers/video/fbdev/sh_mobile_lcdcfb.c switch (ovl->format->fourcc) { format 812 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; format 818 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; format 822 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_SWPL; format 826 drivers/video/fbdev/sh_mobile_lcdcfb.c switch (ovl->format->fourcc) { format 828 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_RGB16; format 831 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_RGB24; format 834 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_AL_PK | LDBBSIFR_RY | LDDFR_PKF_ARGB32; format 838 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_420; format 842 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_422; format 846 drivers/video/fbdev/sh_mobile_lcdcfb.c format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_444; format 852 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), format); format 929 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = ch->format->lddfr; format 931 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->format->yuv) { format 945 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->format->yuv) format 962 drivers/video/fbdev/sh_mobile_lcdcfb.c switch (priv->ch[0].format->fourcc) { format 1126 drivers/video/fbdev/sh_mobile_lcdcfb.c const struct sh_mobile_lcdc_format_info *format; format 1128 drivers/video/fbdev/sh_mobile_lcdcfb.c format = sh_mobile_format_info(var->grayscale); format 1129 drivers/video/fbdev/sh_mobile_lcdcfb.c if (format == NULL) format 1131 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = format->bpp; format 1136 drivers/video/fbdev/sh_mobile_lcdcfb.c if (!format->yuv) format 1379 drivers/video/fbdev/sh_mobile_lcdcfb.c if (!ovl->format->yuv) { format 1381 drivers/video/fbdev/sh_mobile_lcdcfb.c * ovl->format->bpp / 8; format 1384 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int xsub = ovl->format->bpp < 24 ? 2 : 1; format 1385 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int ysub = ovl->format->bpp < 16 ? 2 : 1; format 1442 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->format = format 1450 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ovl->format->yuv) format 1453 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch = info->var.xres_virtual * ovl->format->bpp / 8; format 1588 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ovl->format->yuv) format 1593 drivers/video/fbdev/sh_mobile_lcdcfb.c switch (ovl->format->fourcc) { format 1615 drivers/video/fbdev/sh_mobile_lcdcfb.c if (!ovl->format->yuv) format 1616 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = ovl->format->bpp; format 1618 drivers/video/fbdev/sh_mobile_lcdcfb.c var->grayscale = ovl->format->fourcc; format 1693 drivers/video/fbdev/sh_mobile_lcdcfb.c if (!ch->format->yuv) { format 1695 drivers/video/fbdev/sh_mobile_lcdcfb.c * ch->format->bpp / 8; format 1698 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int xsub = ch->format->bpp < 24 ? 2 : 1; format 1699 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int ysub = ch->format->bpp < 16 ? 2 : 1; format 1722 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->format->yuv) format 1885 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->format = sh_mobile_format_info(sh_mobile_format_fourcc(&info->var)); format 1893 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->format->yuv) format 1896 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->pitch = info->var.xres_virtual * ch->format->bpp / 8; format 2079 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->format->yuv) format 2084 drivers/video/fbdev/sh_mobile_lcdcfb.c switch (ch->format->fourcc) { format 2108 drivers/video/fbdev/sh_mobile_lcdcfb.c if (!ch->format->yuv) format 2109 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = ch->format->bpp; format 2111 drivers/video/fbdev/sh_mobile_lcdcfb.c var->grayscale = ch->format->fourcc; format 2355 drivers/video/fbdev/sh_mobile_lcdcfb.c const struct sh_mobile_lcdc_format_info *format; format 2363 drivers/video/fbdev/sh_mobile_lcdcfb.c format = sh_mobile_format_info(ovl->cfg->fourcc); format 2364 drivers/video/fbdev/sh_mobile_lcdcfb.c if (format == NULL) { format 2379 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->format = format; format 2385 drivers/video/fbdev/sh_mobile_lcdcfb.c if (!format->yuv) format 2386 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch = ovl->xres_virtual * format->bpp / 8; format 2392 drivers/video/fbdev/sh_mobile_lcdcfb.c * format->bpp / 8 * 2; format 2410 drivers/video/fbdev/sh_mobile_lcdcfb.c const struct sh_mobile_lcdc_format_info *format; format 2420 drivers/video/fbdev/sh_mobile_lcdcfb.c format = sh_mobile_format_info(cfg->fourcc); format 2421 drivers/video/fbdev/sh_mobile_lcdcfb.c if (format == NULL) { format 2466 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->format = format; format 2472 drivers/video/fbdev/sh_mobile_lcdcfb.c if (!format->yuv) { format 2474 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->pitch = ch->xres_virtual * format->bpp / 8; format 2485 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->fb_size = max_size * format->bpp / 8 * 2; format 78 drivers/video/fbdev/sh_mobile_lcdcfb.h const struct sh_mobile_lcdc_format_info *format; format 96 drivers/video/fbdev/simplefb.c struct simplefb_format *format; format 104 drivers/video/fbdev/simplefb.c const char *format; format 125 drivers/video/fbdev/simplefb.c ret = of_property_read_string(np, "format", &format); format 130 drivers/video/fbdev/simplefb.c params->format = NULL; format 132 drivers/video/fbdev/simplefb.c if (strcmp(format, simplefb_formats[i].name)) format 134 drivers/video/fbdev/simplefb.c params->format = &simplefb_formats[i]; format 137 drivers/video/fbdev/simplefb.c if (!params->format) { format 155 drivers/video/fbdev/simplefb.c params->format = NULL; format 157 drivers/video/fbdev/simplefb.c if (strcmp(pd->format, simplefb_formats[i].name)) format 160 drivers/video/fbdev/simplefb.c params->format = &simplefb_formats[i]; format 164 drivers/video/fbdev/simplefb.c if (!params->format) { format 445 drivers/video/fbdev/simplefb.c info->var.bits_per_pixel = params.format->bits_per_pixel; format 446 drivers/video/fbdev/simplefb.c info->var.red = params.format->red; format 447 drivers/video/fbdev/simplefb.c info->var.green = params.format->green; format 448 drivers/video/fbdev/simplefb.c info->var.blue = params.format->blue; format 449 drivers/video/fbdev/simplefb.c info->var.transp = params.format->transp; format 484 drivers/video/fbdev/simplefb.c params.format->name, format 138 drivers/watchdog/machzwd.c #define dprintk(format, args...) format 140 drivers/watchdog/machzwd.c #define dprintk(format, args...) \ format 141 drivers/watchdog/machzwd.c pr_debug(":%s:%d: " format, __func__, __LINE__ , ## args) format 136 drivers/xen/xen-balloon.c #define BALLOON_SHOW(name, format, args...) \ format 141 drivers/xen/xen-balloon.c return sprintf(buf, format, ##args); \ format 52 fs/bfs/bfs.h #define printf(format, args...) \ format 53 fs/bfs/bfs.h printk(KERN_ERR "BFS-fs: %s(): " format, __func__, ## args) format 2434 fs/cifs/cifspdu.h __le16 format; format 369 fs/dlm/debug_fs.c int format; format 384 fs/dlm/debug_fs.c switch (ri->format) { format 442 fs/dlm/debug_fs.c ri->format = 1; format 444 fs/dlm/debug_fs.c ri->format = 2; format 446 fs/dlm/debug_fs.c ri->format = 3; format 448 fs/dlm/debug_fs.c ri->format = 4; format 120 fs/gfs2/util.h u16 format) format 125 fs/gfs2/util.h mh->mh_format = cpu_to_be32(format); format 547 fs/nfsd/nfsctl.c const char *format = minor < 0 ? "%s%c%u" : "%s%c%u.%u"; format 560 fs/nfsd/nfsctl.c return snprintf(buf, remaining, format, sep, format 21 fs/ntfs/debug.h const char *format, ...); format 640 fs/overlayfs/inode.c struct dentry *realdentry, const char *format) format 647 fs/overlayfs/inode.c len = snprintf(buf, sizeof(buf), format, format 29 fs/reiserfs/procfs.c char *format; format 32 fs/reiserfs/procfs.c format = "3.6"; format 34 fs/reiserfs/procfs.c format = "3.5"; format 36 fs/reiserfs/procfs.c format = "unknown"; format 39 fs/reiserfs/procfs.c seq_printf(m, "%s format\twith checks %s\n", format, format 909 fs/reiserfs/reiserfs.h #define __RASSERT(cond, scond, format, args...) \ format 913 fs/reiserfs/reiserfs.h __FILE__ ":%i:%s: " format "\n", \ format 917 fs/reiserfs/reiserfs.h #define RASSERT(cond, format, args...) __RASSERT(cond, #cond, format, ##args) format 920 fs/reiserfs/reiserfs.h #define RFALSE(cond, format, args...) __RASSERT(!(cond), "!(" #cond ")", format, ##args) format 922 fs/reiserfs/reiserfs.h #define RFALSE( cond, format, args... ) do {;} while( 0 ) format 1916 fs/xfs/xfs_trace.h __field(int, format) format 1925 fs/xfs/xfs_trace.h __entry->format = ip->i_d.di_format; format 1935 fs/xfs/xfs_trace.h __print_symbolic(__entry->format, XFS_INODE_FORMAT_STR), format 25 include/acpi/acpi_bus.h struct acpi_buffer *format, struct acpi_buffer *buffer); format 334 include/acpi/acpiosxf.h void ACPI_INTERNAL_VAR_XFACE acpi_os_printf(const char *format, ...); format 338 include/acpi/acpiosxf.h void acpi_os_vprintf(const char *format, va_list args); format 886 include/acpi/acpixf.h const char *format, ...)) format 892 include/acpi/acpixf.h const char *format, ...)) format 897 include/acpi/acpixf.h const char *format, ...)) format 900 include/acpi/acpixf.h acpi_info(const char *format, ...)) format 905 include/acpi/acpixf.h const char *format, ...)) format 911 include/acpi/acpixf.h const char *format, ...)) format 916 include/acpi/acpixf.h const char *format, ...)) format 928 include/acpi/acpixf.h const char *format, ...)) format 936 include/acpi/acpixf.h const char *format, ...)) format 121 include/asm-generic/bug.h #define WARN(condition, format...) ({ \ format 124 include/asm-generic/bug.h __WARN_printf(TAINT_WARN, format); \ format 129 include/asm-generic/bug.h #define WARN_TAINT(condition, taint, format...) ({ \ format 132 include/asm-generic/bug.h __WARN_printf(taint, format); \ format 149 include/asm-generic/bug.h #define WARN_ONCE(condition, format...) ({ \ format 155 include/asm-generic/bug.h WARN(1, format); \ format 160 include/asm-generic/bug.h #define WARN_TAINT_ONCE(condition, taint, format...) ({ \ format 166 include/asm-generic/bug.h WARN_TAINT(1, taint, format); \ format 188 include/asm-generic/bug.h #define WARN(condition, format...) ({ \ format 190 include/asm-generic/bug.h no_printk(format); \ format 196 include/asm-generic/bug.h #define WARN_ONCE(condition, format...) WARN(condition, format) format 197 include/asm-generic/bug.h #define WARN_TAINT(condition, taint, format...) WARN(condition, format) format 198 include/asm-generic/bug.h #define WARN_TAINT_ONCE(condition, taint, format...) WARN(condition, format) format 28 include/drm/bridge/dw_mipi_dsi.h unsigned long mode_flags, u32 lanes, u32 format, format 150 include/drm/drm_client.h drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format); format 329 include/drm/drm_edid.h u8 format; format 58 include/drm/drm_fourcc.h u32 format; format 307 include/drm/drm_fourcc.h const struct drm_format_info *__drm_format_info(u32 format); format 308 include/drm/drm_fourcc.h const struct drm_format_info *drm_format_info(u32 format); format 321 include/drm/drm_fourcc.h const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf); format 141 include/drm/drm_framebuffer.h const struct drm_format_info *format; format 182 include/drm/drm_mipi_dsi.h enum mipi_dsi_pixel_format format; format 264 include/drm/drm_mipi_dsi.h int mipi_dsi_dcs_get_pixel_format(struct mipi_dsi_device *dsi, u8 *format); format 276 include/drm/drm_mipi_dsi.h int mipi_dsi_dcs_set_pixel_format(struct mipi_dsi_device *dsi, u8 format); format 495 include/drm/drm_plane.h bool (*format_mod_supported)(struct drm_plane *plane, uint32_t format, format 812 include/drm/drm_plane.h u32 format, u64 modifier); format 277 include/drm/drm_print.h const char *format, ...); format 280 include/drm/drm_print.h const char *format, ...); format 283 include/drm/drm_print.h void drm_dbg(unsigned int category, const char *format, ...); format 285 include/drm/drm_print.h void drm_err(const char *format, ...); format 16 include/drm/i2c/tda998x.h u8 format; format 20 include/keys/encrypted-type.h char *format; /* datablob: format */ format 1865 include/linux/device.h #define dev_WARN(dev, format, arg...) \ format 1866 include/linux/device.h WARN(1, "%s %s: " format, dev_driver_string(dev), dev_name(dev), ## arg); format 1868 include/linux/device.h #define dev_WARN_ONCE(dev, condition, format, arg...) \ format 1869 include/linux/device.h WARN_ONCE(condition, "%s %s: " format, \ format 22 include/linux/dynamic_debug.h const char *format; format 87 include/linux/dynamic_debug.h .format = (fmt), \ format 185 include/linux/fs_context.h extern __attribute__((format(printf, 2, 3))) format 1325 include/linux/greybus/greybus_protocols.h __u8 format; format 1566 include/linux/greybus/greybus_protocols.h __le16 format; format 1582 include/linux/greybus/greybus_protocols.h __le16 format; format 2101 include/linux/greybus/greybus_protocols.h __le32 format; format 2109 include/linux/greybus/greybus_protocols.h __le32 format; format 37 include/linux/hid.h unsigned format; format 264 include/linux/ipack.h .format = (_format), \ format 26 include/linux/ipmi-fru.h uint8_t format; /* 0x01 */ format 48 include/linux/ipmi-fru.h uint8_t format; /* 0x01 */ format 246 include/linux/kobject.h int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...); format 42 include/linux/mmdebug.h #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format) format 43 include/linux/mmdebug.h #define VM_WARN(cond, format...) (void)WARN(cond, format) format 51 include/linux/mmdebug.h #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) format 52 include/linux/mmdebug.h #define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond) format 696 include/linux/mod_devicetable.h __u8 format; /* Format version or IPACK_ANY_ID */ format 4712 include/linux/netdevice.h const char *format, ...); format 4714 include/linux/netdevice.h void netdev_emerg(const struct net_device *dev, const char *format, ...); format 4716 include/linux/netdevice.h void netdev_alert(const struct net_device *dev, const char *format, ...); format 4718 include/linux/netdevice.h void netdev_crit(const struct net_device *dev, const char *format, ...); format 4720 include/linux/netdevice.h void netdev_err(const struct net_device *dev, const char *format, ...); format 4722 include/linux/netdevice.h void netdev_warn(const struct net_device *dev, const char *format, ...); format 4724 include/linux/netdevice.h void netdev_notice(const struct net_device *dev, const char *format, ...); format 4726 include/linux/netdevice.h void netdev_info(const struct net_device *dev, const char *format, ...); format 4757 include/linux/netdevice.h #define netdev_dbg(__dev, format, args...) \ format 4759 include/linux/netdevice.h dynamic_netdev_dbg(__dev, format, ##args); \ format 4762 include/linux/netdevice.h #define netdev_dbg(__dev, format, args...) \ format 4763 include/linux/netdevice.h netdev_printk(KERN_DEBUG, __dev, format, ##args) format 4765 include/linux/netdevice.h #define netdev_dbg(__dev, format, args...) \ format 4768 include/linux/netdevice.h netdev_printk(KERN_DEBUG, __dev, format, ##args); \ format 4776 include/linux/netdevice.h #define netdev_vdbg(dev, format, args...) \ format 4779 include/linux/netdevice.h netdev_printk(KERN_DEBUG, dev, format, ##args); \ format 4789 include/linux/netdevice.h #define netdev_WARN(dev, format, args...) \ format 4790 include/linux/netdevice.h WARN(1, "netdevice: %s%s: " format, netdev_name(dev), \ format 4793 include/linux/netdevice.h #define netdev_WARN_ONCE(dev, format, args...) \ format 4794 include/linux/netdevice.h WARN_ONCE(1, "netdevice: %s%s: " format, netdev_name(dev), \ format 4827 include/linux/netdevice.h #define netif_dbg(priv, type, netdev, format, args...) \ format 4830 include/linux/netdevice.h dynamic_netdev_dbg(netdev, format, ##args); \ format 4833 include/linux/netdevice.h #define netif_dbg(priv, type, dev, format, args...) \ format 4834 include/linux/netdevice.h netif_printk(priv, type, KERN_DEBUG, dev, format, ##args) format 4836 include/linux/netdevice.h #define netif_dbg(priv, type, dev, format, args...) \ format 4839 include/linux/netdevice.h netif_printk(priv, type, KERN_DEBUG, dev, format, ##args); \ format 4856 include/linux/netdevice.h #define netif_vdbg(priv, type, dev, format, args...) \ format 4859 include/linux/netdevice.h netif_printk(priv, type, KERN_DEBUG, dev, format, ##args); \ format 58 include/linux/nubus.h unsigned char format; format 1222 include/linux/nvme.h struct nvme_format_cmd format; format 1054 include/linux/phy.h #define phydev_err(_phydev, format, args...) \ format 1055 include/linux/phy.h dev_err(&_phydev->mdio.dev, format, ##args) format 1057 include/linux/phy.h #define phydev_info(_phydev, format, args...) \ format 1058 include/linux/phy.h dev_info(&_phydev->mdio.dev, format, ##args) format 1060 include/linux/phy.h #define phydev_warn(_phydev, format, args...) \ format 1061 include/linux/phy.h dev_warn(&_phydev->mdio.dev, format, ##args) format 1063 include/linux/phy.h #define phydev_dbg(_phydev, format, args...) \ format 1064 include/linux/phy.h dev_dbg(&_phydev->mdio.dev, format, ##args) format 168 include/linux/pinctrl/pinconf-generic.h .param = a, .display = b, .format = c, .has_arg = d \ format 174 include/linux/pinctrl/pinconf-generic.h const char * const format; format 57 include/linux/platform_data/simplefb.h const char *format; format 168 include/linux/raid/pq.h # define pr_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__) format 169 include/linux/raid/pq.h # define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__) format 87 include/linux/ratelimit.h #define WARN_RATELIMIT(condition, format, ...) \ format 95 include/linux/ratelimit.h WARN(rtn, format, ##__VA_ARGS__); \ format 105 include/linux/ratelimit.h #define WARN_RATELIMIT(condition, format, ...) \ format 107 include/linux/ratelimit.h int rtn = WARN(condition, format, ##__VA_ARGS__); \ format 471 include/media/v4l2-common.h u32 format; format 481 include/media/v4l2-common.h const struct v4l2_format_info *v4l2_format_info(u32 format); format 688 include/media/v4l2-subdev.h struct v4l2_subdev_format *format); format 691 include/media/v4l2-subdev.h struct v4l2_subdev_format *format); format 7458 include/net/cfg80211.h #define wiphy_printk(level, wiphy, format, args...) \ format 7459 include/net/cfg80211.h dev_printk(level, &(wiphy)->dev, format, ##args) format 7460 include/net/cfg80211.h #define wiphy_emerg(wiphy, format, args...) \ format 7461 include/net/cfg80211.h dev_emerg(&(wiphy)->dev, format, ##args) format 7462 include/net/cfg80211.h #define wiphy_alert(wiphy, format, args...) \ format 7463 include/net/cfg80211.h dev_alert(&(wiphy)->dev, format, ##args) format 7464 include/net/cfg80211.h #define wiphy_crit(wiphy, format, args...) \ format 7465 include/net/cfg80211.h dev_crit(&(wiphy)->dev, format, ##args) format 7466 include/net/cfg80211.h #define wiphy_err(wiphy, format, args...) \ format 7467 include/net/cfg80211.h dev_err(&(wiphy)->dev, format, ##args) format 7468 include/net/cfg80211.h #define wiphy_warn(wiphy, format, args...) \ format 7469 include/net/cfg80211.h dev_warn(&(wiphy)->dev, format, ##args) format 7470 include/net/cfg80211.h #define wiphy_notice(wiphy, format, args...) \ format 7471 include/net/cfg80211.h dev_notice(&(wiphy)->dev, format, ##args) format 7472 include/net/cfg80211.h #define wiphy_info(wiphy, format, args...) \ format 7473 include/net/cfg80211.h dev_info(&(wiphy)->dev, format, ##args) format 7475 include/net/cfg80211.h #define wiphy_err_ratelimited(wiphy, format, args...) \ format 7476 include/net/cfg80211.h dev_err_ratelimited(&(wiphy)->dev, format, ##args) format 7477 include/net/cfg80211.h #define wiphy_warn_ratelimited(wiphy, format, args...) \ format 7478 include/net/cfg80211.h dev_warn_ratelimited(&(wiphy)->dev, format, ##args) format 7480 include/net/cfg80211.h #define wiphy_debug(wiphy, format, args...) \ format 7481 include/net/cfg80211.h wiphy_printk(KERN_DEBUG, wiphy, format, ##args) format 7483 include/net/cfg80211.h #define wiphy_dbg(wiphy, format, args...) \ format 7484 include/net/cfg80211.h dev_dbg(&(wiphy)->dev, format, ##args) format 7489 include/net/cfg80211.h #define wiphy_vdbg(wiphy, format, args...) \ format 7492 include/net/cfg80211.h wiphy_printk(KERN_DEBUG, wiphy, format, ##args); \ format 7502 include/net/cfg80211.h #define wiphy_WARN(wiphy, format, args...) \ format 7503 include/net/cfg80211.h WARN(1, "wiphy: %s\n" format, wiphy_name(wiphy), ##args); format 127 include/net/dn_nsp.h __u8 format; format 551 include/pcmcia/cistpl.h cistpl_format_t format; format 82 include/rdma/ib_verbs.h const char *format, ...); format 84 include/rdma/ib_verbs.h void ibdev_emerg(const struct ib_device *ibdev, const char *format, ...); format 86 include/rdma/ib_verbs.h void ibdev_alert(const struct ib_device *ibdev, const char *format, ...); format 88 include/rdma/ib_verbs.h void ibdev_crit(const struct ib_device *ibdev, const char *format, ...); format 90 include/rdma/ib_verbs.h void ibdev_err(const struct ib_device *ibdev, const char *format, ...); format 92 include/rdma/ib_verbs.h void ibdev_warn(const struct ib_device *ibdev, const char *format, ...); format 94 include/rdma/ib_verbs.h void ibdev_notice(const struct ib_device *ibdev, const char *format, ...); format 96 include/rdma/ib_verbs.h void ibdev_info(const struct ib_device *ibdev, const char *format, ...); format 99 include/rdma/ib_verbs.h #define ibdev_dbg(__dev, format, args...) \ format 100 include/rdma/ib_verbs.h dynamic_ibdev_dbg(__dev, format, ##args) format 104 include/rdma/ib_verbs.h void ibdev_dbg(const struct ib_device *ibdev, const char *format, ...) {} format 146 include/rdma/ib_verbs.h void ibdev_dbg_ratelimited(const struct ib_device *ibdev, const char *format, ...) {} format 74 include/scsi/viosrp.h u8 format; /* SCSI vs out-of-band */ format 252 include/soc/fsl/dpaa2-fd.h enum dpaa2_fd_format format) format 256 include/soc/fsl/dpaa2-fd.h fd->simple.format_offset |= cpu_to_le16(format << FD_FORMAT_SHIFT); format 396 include/soc/fsl/dpaa2-fd.h enum dpaa2_sg_format format) format 399 include/soc/fsl/dpaa2-fd.h sg->format_offset |= cpu_to_le16(format << SG_FORMAT_SHIFT); format 629 include/soc/fsl/dpaa2-fd.h enum dpaa2_fl_format format) format 632 include/soc/fsl/dpaa2-fd.h fle->format_offset |= cpu_to_le16(format << FL_FORMAT_SHIFT); format 292 include/sound/core.h const char *format, ...); format 294 include/sound/core.h #define __snd_printk(level, file, line, format, ...) \ format 295 include/sound/core.h printk(format, ##__VA_ARGS__) format 346 include/sound/core.h static inline void snd_printd(const char *format, ...) {} format 348 include/sound/core.h static inline void _snd_printd(int level, const char *format, ...) {} format 369 include/sound/core.h #define snd_printdd(format, ...) \ format 370 include/sound/core.h __snd_printk(2, __FILE__, __LINE__, format, ##__VA_ARGS__) format 373 include/sound/core.h static inline void snd_printdd(const char *format, ...) {} format 129 include/sound/hda_codec.h unsigned int stream_tag, unsigned int format, format 430 include/sound/hda_codec.h unsigned int format, format 438 include/sound/hda_codec.h int channel_id, int format); format 505 include/sound/hda_codec.h int snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, format 513 include/sound/hda_codec.h snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, format 141 include/sound/hdaudio.h snd_pcm_format_t format, format 147 include/sound/hdaudio.h unsigned int format); format 606 include/sound/hdaudio.h int snd_hdac_dsp_prepare(struct hdac_stream *azx_dev, unsigned int format, format 618 include/sound/hdaudio.h snd_hdac_dsp_prepare(struct hdac_stream *azx_dev, unsigned int format, format 160 include/sound/hdaudio_ext.h u32 format; format 358 include/sound/pcm.h snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */ format 1028 include/sound/pcm.h int snd_pcm_format_signed(snd_pcm_format_t format); format 1029 include/sound/pcm.h int snd_pcm_format_unsigned(snd_pcm_format_t format); format 1030 include/sound/pcm.h int snd_pcm_format_linear(snd_pcm_format_t format); format 1031 include/sound/pcm.h int snd_pcm_format_little_endian(snd_pcm_format_t format); format 1032 include/sound/pcm.h int snd_pcm_format_big_endian(snd_pcm_format_t format); format 1041 include/sound/pcm.h int snd_pcm_format_cpu_endian(snd_pcm_format_t format); format 1044 include/sound/pcm.h #define snd_pcm_format_cpu_endian(format) snd_pcm_format_little_endian(format) format 1046 include/sound/pcm.h #define snd_pcm_format_cpu_endian(format) snd_pcm_format_big_endian(format) format 1048 include/sound/pcm.h int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */ format 1049 include/sound/pcm.h int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */ format 1050 include/sound/pcm.h ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples); format 1051 include/sound/pcm.h const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format); format 1052 include/sound/pcm.h int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); format 1341 include/sound/pcm.h const char *snd_pcm_format_name(snd_pcm_format_t format); format 30 include/sound/pcm_oss.h int format; /* requested OSS format */ format 77 include/sound/pcm_params.h snd_pcm_format_t format) format 79 include/sound/pcm_params.h snd_mask_set(mask, (__force unsigned int)format); format 42 include/sound/seq_oss.h int (*load_patch)(struct snd_seq_oss_arg *p, int format, const char __user *buf, int offs, int count); format 16 include/sound/soc-acpi.h struct acpi_buffer *format; format 64 include/sound/sof/dai.h uint16_t format; /**< SOF_DAI_FMT_ */ format 17 include/sound/wavefront.h then WavePatch-format files cannot be read/written correctly. format 120 include/uapi/drm/qxl_drm.h __u32 format; format 285 include/uapi/drm/r128_drm.h int format; format 679 include/uapi/drm/radeon_drm.h int format; format 84 include/uapi/drm/virtgpu_drm.h __u32 format; format 192 include/uapi/drm/vmwgfx_drm.h __u32 format; format 487 include/uapi/drm/vmwgfx_drm.h __s32 format; format 921 include/uapi/drm/vmwgfx_drm.h __u32 format; format 105 include/uapi/linux/dvb/video.h __u32 format; format 502 include/uapi/linux/omap3isp.h enum omap3isp_cfa_fmt format; format 114 include/uapi/linux/omapfb.h __u32 format; format 123 include/uapi/linux/omapfb.h __u32 format; format 51 include/uapi/linux/v4l2-subdev.h struct v4l2_mbus_framefmt format; format 2013 include/uapi/linux/videodev2.h __u32 format; format 2403 include/uapi/linux/videodev2.h struct v4l2_format format; format 149 include/uapi/linux/virtio_gpu.h __le32 format; format 234 include/uapi/linux/virtio_gpu.h __le32 format; format 560 include/uapi/linux/wimax/i2400m.h __u8 format; /* 0 old format, 1 enhanced */ format 320 include/uapi/sound/asoc.h __le64 format; /* SNDRV_PCM_FMTBIT_* */ format 400 include/uapi/sound/compress_params.h __u32 format; format 112 include/uapi/sound/hdspm.h enum hdspm_ltc_format format; format 343 include/video/imx-ipu-v3.h bool ipu_prg_format_supported(struct ipu_soc *ipu, uint32_t format, format 351 include/video/imx-ipu-v3.h u32 format, uint64_t modifier, unsigned long *eba); format 214 kernel/dma/debug.c #define err_printk(dev, entry, format, arg...) do { \ format 218 kernel/dma/debug.c WARN(1, pr_fmt("%s %s: ") format, \ format 217 kernel/params.c #define STANDARD_PARAM_DEF(name, type, format, strtolfn) \ format 224 kernel/params.c return scnprintf(buffer, PAGE_SIZE, format "\n", \ format 56 lib/dynamic_debug.c const char *format; format 119 lib/dynamic_debug.c if (query->format) { format 120 lib/dynamic_debug.c fmtlen = strlen(query->format); format 121 lib/dynamic_debug.c while (fmtlen && query->format[fmtlen - 1] == '\n') format 130 lib/dynamic_debug.c fmtlen, query->format ? query->format : "", format 176 lib/dynamic_debug.c if (query->format && format 177 lib/dynamic_debug.c !strstr(dp->format, query->format)) format 348 lib/dynamic_debug.c rc = check_set(&query->format, words[i+1], "format"); format 833 lib/dynamic_debug.c seq_escape(m, dp->format, "\t\r\n\""); format 1026 lib/dynamic_debug.c + strlen(iter->filename) + strlen(iter->format); format 653 lib/kobject_uevent.c int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...) format 663 lib/kobject_uevent.c va_start(args, format); format 666 lib/kobject_uevent.c format, args); format 47 lib/ts_bm.c #define DEBUGP(args, format...) format 1220 net/atm/lec.c #define pr_debug(format, args...) format 43 net/atm/mpc.c #define dprintk(format, args...) \ format 44 net/atm/mpc.c printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args) format 45 net/atm/mpc.c #define dprintk_cont(format, args...) printk(KERN_CONT format, ##args) format 47 net/atm/mpc.c #define dprintk(format, args...) \ format 49 net/atm/mpc.c printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args);\ format 51 net/atm/mpc.c #define dprintk_cont(format, args...) \ format 52 net/atm/mpc.c do { if (0) printk(KERN_CONT format, ##args); } while (0) format 56 net/atm/mpc.c #define ddprintk(format, args...) \ format 57 net/atm/mpc.c printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args) format 58 net/atm/mpc.c #define ddprintk_cont(format, args...) printk(KERN_CONT format, ##args) format 60 net/atm/mpc.c #define ddprintk(format, args...) \ format 62 net/atm/mpc.c printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args);\ format 64 net/atm/mpc.c #define ddprintk_cont(format, args...) \ format 65 net/atm/mpc.c do { if (0) printk(KERN_CONT format, ##args); } while (0) format 16 net/atm/mpoa_caches.c #define dprintk(format, args...) \ format 17 net/atm/mpoa_caches.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ format 19 net/atm/mpoa_caches.c #define dprintk(format, args...) \ format 21 net/atm/mpoa_caches.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ format 26 net/atm/mpoa_caches.c #define ddprintk(format, args...) \ format 27 net/atm/mpoa_caches.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ format 29 net/atm/mpoa_caches.c #define ddprintk(format, args...) \ format 31 net/atm/mpoa_caches.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ format 26 net/atm/mpoa_proc.c #define dprintk(format, args...) \ format 27 net/atm/mpoa_proc.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ format 29 net/atm/mpoa_proc.c #define dprintk(format, args...) \ format 31 net/atm/mpoa_proc.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ format 36 net/atm/mpoa_proc.c #define ddprintk(format, args...) \ format 37 net/atm/mpoa_proc.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ format 39 net/atm/mpoa_proc.c #define ddprintk(format, args...) \ format 41 net/atm/mpoa_proc.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ format 487 net/bluetooth/hci_sock.c u16 format; format 497 net/bluetooth/hci_sock.c format = 0x0000; format 502 net/bluetooth/hci_sock.c format = 0x0001; format 507 net/bluetooth/hci_sock.c format = 0x0002; format 522 net/bluetooth/hci_sock.c put_unaligned_le16(format, skb_put(skb, 2)); format 138 net/bluetooth/lib.c void bt_info(const char *format, ...) format 143 net/bluetooth/lib.c va_start(args, format); format 145 net/bluetooth/lib.c vaf.fmt = format; format 154 net/bluetooth/lib.c void bt_warn(const char *format, ...) format 159 net/bluetooth/lib.c va_start(args, format); format 161 net/bluetooth/lib.c vaf.fmt = format; format 170 net/bluetooth/lib.c void bt_err(const char *format, ...) format 175 net/bluetooth/lib.c va_start(args, format); format 177 net/bluetooth/lib.c vaf.fmt = format; format 186 net/bluetooth/lib.c void bt_err_ratelimited(const char *format, ...) format 191 net/bluetooth/lib.c va_start(args, format); format 193 net/bluetooth/lib.c vaf.fmt = format; format 452 net/bridge/br_private.h #define br_printk(level, br, format, args...) \ format 453 net/bridge/br_private.h printk(level "%s: " format, (br)->dev->name, ##args) format 455 net/bridge/br_private.h #define br_err(__br, format, args...) \ format 456 net/bridge/br_private.h br_printk(KERN_ERR, __br, format, ##args) format 457 net/bridge/br_private.h #define br_warn(__br, format, args...) \ format 458 net/bridge/br_private.h br_printk(KERN_WARNING, __br, format, ##args) format 459 net/bridge/br_private.h #define br_notice(__br, format, args...) \ format 460 net/bridge/br_private.h br_printk(KERN_NOTICE, __br, format, ##args) format 461 net/bridge/br_private.h #define br_info(__br, format, args...) \ format 462 net/bridge/br_private.h br_printk(KERN_INFO, __br, format, ##args) format 464 net/bridge/br_private.h #define br_debug(br, format, args...) \ format 465 net/bridge/br_private.h pr_debug("%s: " format, (br)->dev->name, ##args) format 9998 net/core/dev.c const char *format, ...) format 10003 net/core/dev.c va_start(args, format); format 10005 net/core/dev.c vaf.fmt = format; format 42 net/core/net-sysfs.c ssize_t (*format)(const struct net_device *, char *)) format 49 net/core/net-sysfs.c ret = (*format)(ndev, buf); format 20 net/dccp/ccids/ccid2.c #define ccid2_pr_debug(format, a...) DCCP_PR_DEBUG(ccid2_debug, format, ##a) format 22 net/dccp/ccids/ccid2.c #define ccid2_pr_debug(format, a...) format 29 net/dccp/ccids/ccid3.c #define ccid3_pr_debug(format, a...) DCCP_PR_DEBUG(ccid3_debug, format, ##a) format 31 net/dccp/ccids/ccid3.c #define ccid3_pr_debug(format, a...) format 21 net/dccp/ccids/lib/tfrc.h #define tfrc_pr_debug(format, a...) DCCP_PR_DEBUG(tfrc_debug, format, ##a) format 23 net/dccp/ccids/lib/tfrc.h #define tfrc_pr_debug(format, a...) format 40 net/dccp/dccp.h #define dccp_pr_debug(format, a...) DCCP_PR_DEBUG(dccp_debug, format, ##a) format 41 net/dccp/dccp.h #define dccp_pr_debug_cat(format, a...) DCCP_PRINTK(dccp_debug, format, ##a) format 44 net/dccp/dccp.h #define dccp_pr_debug(format, a...) format 45 net/dccp/dccp.h #define dccp_pr_debug_cat(format, a...) format 46 net/dccp/dccp.h #define dccp_debug(format, a...) format 43 net/mac80211/debugfs_key.c #define KEY_FILE(name, format) \ format 44 net/mac80211/debugfs_key.c KEY_READ_##format(name) \ format 58 net/mac80211/debugfs_key.c #define KEY_CONF_FILE(name, format) \ format 59 net/mac80211/debugfs_key.c KEY_CONF_READ_##format(name) \ format 28 net/mac80211/debugfs_netdev.c ssize_t (*format)(const struct ieee80211_sub_if_data *, char *, int)) format 34 net/mac80211/debugfs_netdev.c ret = (*format)(sdata, buf, sizeof(buf)); format 164 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FILE(name, field, format) \ format 165 net/mac80211/debugfs_netdev.c IEEE80211_IF_FMT_##format(name, field) \ format 47 net/mac80211/debugfs_sta.c #define STA_FILE(name, field, format) \ format 48 net/mac80211/debugfs_sta.c STA_READ_##format(name, field) \ format 1300 net/sunrpc/clnt.c enum rpc_display_format_t format) format 1306 net/sunrpc/clnt.c if (xprt->address_strings[format] != NULL) format 1307 net/sunrpc/clnt.c return xprt->address_strings[format]; format 68 net/tipc/netlink_compat.c int (*format)(struct tipc_nl_compat_msg *msg, struct nlattr **attrs); format 216 net/tipc/netlink_compat.c err = (*cmd->format)(msg, attrs); format 1000 net/tipc/netlink_compat.c dump.format = __tipc_nl_compat_publ_dump; format 1178 net/tipc/netlink_compat.c dump.format = tipc_nl_compat_bearer_dump; format 1195 net/tipc/netlink_compat.c dump.format = tipc_nl_compat_link_stat_dump; format 1201 net/tipc/netlink_compat.c dump.format = tipc_nl_compat_link_dump; format 1221 net/tipc/netlink_compat.c dump.format = tipc_nl_compat_name_table_dump; format 1227 net/tipc/netlink_compat.c dump.format = tipc_nl_compat_sk_dump; format 1232 net/tipc/netlink_compat.c dump.format = tipc_nl_compat_media_dump; format 1237 net/tipc/netlink_compat.c dump.format = tipc_nl_compat_node_dump; format 1252 net/tipc/netlink_compat.c dump.format = tipc_nl_compat_net_dump; format 1758 samples/mic/mpssd/mpssd.c mpsslog(char *format, ...) format 1768 samples/mic/mpssd/mpssd.c va_start(args, format); format 1769 samples/mic/mpssd/mpssd.c vsprintf(buffer, format, args); format 85 samples/mic/mpssd/mpssd.h __attribute__((format(printf, 1, 2))) format 86 samples/mic/mpssd/mpssd.h void mpsslog(char *format, ...); format 72 samples/v4l/v4l2-pci-skeleton.c struct v4l2_pix_format format; format 146 samples/v4l/v4l2-pci-skeleton.c if (skel->format.field == V4L2_FIELD_ALTERNATE) { format 171 samples/v4l/v4l2-pci-skeleton.c skel->field = skel->format.field; format 186 samples/v4l/v4l2-pci-skeleton.c return sizes[0] < skel->format.sizeimage ? -EINVAL : 0; format 188 samples/v4l/v4l2-pci-skeleton.c sizes[0] = skel->format.sizeimage; format 199 samples/v4l/v4l2-pci-skeleton.c unsigned long size = skel->format.sizeimage; format 387 samples/v4l/v4l2-pci-skeleton.c skel->format = f->fmt.pix; format 396 samples/v4l/v4l2-pci-skeleton.c f->fmt.pix = skel->format; format 438 samples/v4l/v4l2-pci-skeleton.c skeleton_fill_pix_format(skel, &skel->format); format 523 samples/v4l/v4l2-pci-skeleton.c skeleton_fill_pix_format(skel, &skel->format); format 645 samples/v4l/v4l2-pci-skeleton.c skeleton_fill_pix_format(skel, &skel->format); format 794 samples/v4l/v4l2-pci-skeleton.c skeleton_fill_pix_format(skel, &skel->format); format 103 samples/vfio-mdev/mdpy-fb.c u32 format, width, height; format 114 samples/vfio-mdev/mdpy-fb.c pci_read_config_dword(pdev, MDPY_FORMAT_OFFSET, &format); format 117 samples/vfio-mdev/mdpy-fb.c if (format != DRM_FORMAT_XRGB8888) { format 119 samples/vfio-mdev/mdpy-fb.c format, DRM_FORMAT_XRGB8888); format 57 samples/vfio-mdev/mdpy.c u32 format; format 64 samples/vfio-mdev/mdpy.c .format = DRM_FORMAT_XRGB8888, format 70 samples/vfio-mdev/mdpy.c .format = DRM_FORMAT_XRGB8888, format 76 samples/vfio-mdev/mdpy.c .format = DRM_FORMAT_XRGB8888, format 143 samples/vfio-mdev/mdpy.c mdev_state->type->format); format 494 samples/vfio-mdev/mdpy.c plane->drm_format = mdev_state->type->format; format 1263 scripts/asn1_compiler.c __attribute__((format(printf, 2, 3))) format 1277 scripts/asn1_compiler.c __attribute__((format(printf, 2, 3))) format 118 scripts/basic/fixdep.c static void xprintf(const char *format, ...) format 123 scripts/basic/fixdep.c va_start(ap, format); format 124 scripts/basic/fixdep.c ret = vprintf(format, ap); format 15 scripts/dtc/util.h #define PRINTF(i, j) __attribute__((format (printf, i, j))) format 103 scripts/extract-cert.c format(); format 67 scripts/genksyms/genksyms.h void error_with_pos(const char *, ...) __attribute__ ((format(printf, 1, 2))); format 33 scripts/insert-sys-cert.c #define info(format, args...) fprintf(stderr, "INFO: " format, ## args) format 34 scripts/insert-sys-cert.c #define warn(format, args...) fprintf(stdout, "WARNING: " format, ## args) format 35 scripts/insert-sys-cert.c #define err(format, args...) fprintf(stderr, "ERROR: " format, ## args) format 172 scripts/kconfig/confdata.c __attribute__ ((format (printf, 1, 2))); format 175 scripts/kconfig/confdata.c __attribute__ ((format (printf, 1, 2))); format 20 scripts/kconfig/preprocess.c static void __attribute__((noreturn)) pperror(const char *format, ...) format 25 scripts/kconfig/preprocess.c va_start(ap, format); format 26 scripts/kconfig/preprocess.c vfprintf(stderr, format, ap); format 169 scripts/mod/devicetable-offsets.c DEVID_FIELD(ipack_device_id, format); format 1047 scripts/mod/file2alias.c DEF_FIELD(symval, ipack_device_id, format); format 1051 scripts/mod/file2alias.c ADD(alias, "f", format != IPACK_ANY_FORMAT, format); format 55 scripts/mod/modpost.c #define PRINTF __attribute__ ((format (printf, 1, 2))) format 2129 scripts/mod/modpost.c void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf, format 106 scripts/mod/modpost.h void __attribute__((format(printf, 2, 3))) format 80 scripts/pnmtologo.c __attribute__ ((noreturn)) __attribute ((format (printf, 1, 2))); format 254 scripts/sign-file.c default: format(); format 261 scripts/sign-file.c format(); format 171 security/keys/encrypted-keys/encrypted.c static int datablob_parse(char *datablob, const char **format, format 200 security/keys/encrypted-keys/encrypted.c *format = p; format 285 security/keys/encrypted-keys/encrypted.c len = sprintf(ascii_buf, "%s %s %s ", epayload->format, format 511 security/keys/encrypted-keys/encrypted.c digest = epayload->format + epayload->datablob_len; format 513 security/keys/encrypted-keys/encrypted.c epayload->format, epayload->datablob_len); format 523 security/keys/encrypted-keys/encrypted.c const u8 *format, const u8 *master_key, format 537 security/keys/encrypted-keys/encrypted.c if (!format) { format 539 security/keys/encrypted-keys/encrypted.c len -= strlen(epayload->format) + 1; format 541 security/keys/encrypted-keys/encrypted.c p = epayload->format; format 546 security/keys/encrypted-keys/encrypted.c ret = crypto_memneq(digest, epayload->format + epayload->datablob_len, format 551 security/keys/encrypted-keys/encrypted.c epayload->format + epayload->datablob_len, format 608 security/keys/encrypted-keys/encrypted.c const char *format, format 625 security/keys/encrypted-keys/encrypted.c format_len = (!format) ? strlen(key_format_default) : strlen(format); format 628 security/keys/encrypted-keys/encrypted.c if (format) { format 629 security/keys/encrypted-keys/encrypted.c if (!strcmp(format, key_format_ecryptfs)) { format 637 security/keys/encrypted-keys/encrypted.c } else if (!strcmp(format, key_format_enc32)) { format 668 security/keys/encrypted-keys/encrypted.c const char *format, const char *hex_encoded_iv) format 694 security/keys/encrypted-keys/encrypted.c hmac = epayload->format + epayload->datablob_len; format 704 security/keys/encrypted-keys/encrypted.c ret = datablob_hmac_verify(epayload, format, master_key, master_keylen); format 725 security/keys/encrypted-keys/encrypted.c const char *format, const char *master_desc, format 730 security/keys/encrypted-keys/encrypted.c format_len = (!format) ? strlen(key_format_default) : strlen(format); format 731 security/keys/encrypted-keys/encrypted.c epayload->format = epayload->payload_data + epayload->payload_datalen; format 732 security/keys/encrypted-keys/encrypted.c epayload->master_desc = epayload->format + format_len + 1; format 738 security/keys/encrypted-keys/encrypted.c if (!format) format 739 security/keys/encrypted-keys/encrypted.c memcpy(epayload->format, key_format_default, format_len); format 741 security/keys/encrypted-keys/encrypted.c if (!strcmp(format, key_format_ecryptfs)) format 745 security/keys/encrypted-keys/encrypted.c memcpy(epayload->format, format, format_len); format 759 security/keys/encrypted-keys/encrypted.c const char *key_desc, const char *format, format 765 security/keys/encrypted-keys/encrypted.c if (format && !strcmp(format, key_format_ecryptfs)) { format 774 security/keys/encrypted-keys/encrypted.c __ekey_init(epayload, format, master_desc, datalen); format 781 security/keys/encrypted-keys/encrypted.c ret = encrypted_key_decrypt(epayload, format, hex_encoded_iv); format 798 security/keys/encrypted-keys/encrypted.c const char *format = NULL; format 813 security/keys/encrypted-keys/encrypted.c ret = datablob_parse(datablob, &format, &master_desc, format 818 security/keys/encrypted-keys/encrypted.c epayload = encrypted_key_alloc(key, format, master_desc, format 824 security/keys/encrypted-keys/encrypted.c ret = encrypted_init(epayload, key->description, format, master_desc, format 860 security/keys/encrypted-keys/encrypted.c const char *format = NULL; format 875 security/keys/encrypted-keys/encrypted.c ret = datablob_parse(buf, &format, &new_master_desc, NULL, NULL); format 883 security/keys/encrypted-keys/encrypted.c new_epayload = encrypted_key_alloc(key, epayload->format, format 890 security/keys/encrypted-keys/encrypted.c __ekey_init(new_epayload, epayload->format, new_master_desc, format 446 security/smack/smackfs.c struct mutex *rule_lock, int format) format 462 security/smack/smackfs.c if (format == SMK_FIXED24_FMT) { format 493 security/smack/smackfs.c tokens = (format == SMK_CHANGE_FMT ? 4 : 3); format 495 security/smack/smackfs.c if (format == SMK_FIXED24_FMT) { format 832 security/smack/smackfs.c size_t count, loff_t *ppos, int format) format 855 security/smack/smackfs.c if (format == SMK_FIXED24_FMT && format 876 security/smack/smackfs.c if (format == SMK_FIXED24_FMT) format 900 security/smack/smackfs.c if (format == SMK_FIXED24_FMT && format 2269 security/smack/smackfs.c size_t count, loff_t *ppos, int format) format 2279 security/smack/smackfs.c if (format == SMK_FIXED24_FMT) { format 2304 security/smack/smackfs.c if (format == SMK_FIXED24_FMT) format 703 sound/aoa/codecs/onyx.c if (substream->runtime->format == SNDRV_PCM_FMTBIT_COMPRESSED_16BE) { format 71 sound/aoa/soundbus/i2sbus/i2sbus.h snd_pcm_format_t format; format 181 sound/aoa/soundbus/i2sbus/pcm.c hw->formats &= pcm_format_to_bits(i2sdev->format); format 363 sound/aoa/soundbus/i2sbus/pcm.c ((i2sdev->format != runtime->format) format 369 sound/aoa/soundbus/i2sbus/pcm.c i2sdev->format = runtime->format; format 412 sound/aoa/soundbus/i2sbus/pcm.c switch (runtime->format) { format 231 sound/atmel/ac97c.c switch (runtime->format) { format 313 sound/atmel/ac97c.c switch (runtime->format) { format 51 sound/core/misc.c const char *format, ...) format 66 sound/core/misc.c va_start(args, format); format 68 sound/core/misc.c vaf.fmt = format; format 88 sound/core/misc.c vprintk(format, args); format 49 sound/core/oss/copy.c snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); format 54 sound/core/oss/copy.c snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.format); format 74 sound/core/oss/copy.c if (snd_BUG_ON(src_format->format != dst_format->format)) format 81 sound/core/oss/copy.c width = snd_pcm_format_physical_width(src_format->format); format 113 sound/core/oss/io.c struct snd_pcm_plugin_format format; format 121 sound/core/oss/io.c format.format = params_format(params); format 122 sound/core/oss/io.c format.rate = params_rate(params); format 123 sound/core/oss/io.c format.channels = params_channels(params); format 125 sound/core/oss/io.c &format, &format, format 126 sound/core/oss/io.c sizeof(void *) * format.channels, format 70 sound/core/oss/linear.c snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); format 166 sound/core/oss/linear.c if (snd_BUG_ON(!snd_pcm_format_linear(src_format->format) || format 167 sound/core/oss/linear.c !snd_pcm_format_linear(dst_format->format))) format 176 sound/core/oss/linear.c init_data(data, src_format->format, dst_format->format); format 183 sound/core/oss/mulaw.c snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); format 229 sound/core/oss/mulaw.c snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); format 279 sound/core/oss/mulaw.c static void init_data(struct mulaw_priv *data, snd_pcm_format_t format) format 282 sound/core/oss/mulaw.c data->cvt_endian = snd_pcm_format_big_endian(format) > 0; format 284 sound/core/oss/mulaw.c data->cvt_endian = snd_pcm_format_little_endian(format) > 0; format 286 sound/core/oss/mulaw.c if (!snd_pcm_format_signed(format)) format 288 sound/core/oss/mulaw.c data->native_bytes = snd_pcm_format_physical_width(format) / 8; format 290 sound/core/oss/mulaw.c if (snd_pcm_format_little_endian(format)) { format 296 sound/core/oss/mulaw.c snd_pcm_format_width(format) / 8; format 308 sound/core/oss/mulaw.c struct snd_pcm_plugin_format *format; format 320 sound/core/oss/mulaw.c if (dst_format->format == SNDRV_PCM_FORMAT_MU_LAW) { format 321 sound/core/oss/mulaw.c format = src_format; format 324 sound/core/oss/mulaw.c else if (src_format->format == SNDRV_PCM_FORMAT_MU_LAW) { format 325 sound/core/oss/mulaw.c format = dst_format; format 332 sound/core/oss/mulaw.c if (snd_BUG_ON(!snd_pcm_format_linear(format->format))) format 342 sound/core/oss/mulaw.c init_data(data, format->format); format 633 sound/core/oss/pcm_oss.c static snd_pcm_format_t snd_pcm_oss_format_from(int format) format 635 sound/core/oss/pcm_oss.c switch (format) { format 657 sound/core/oss/pcm_oss.c static int snd_pcm_oss_format_to(snd_pcm_format_t format) format 659 sound/core/oss/pcm_oss.c switch (format) { format 838 sound/core/oss/pcm_oss.c snd_pcm_format_t format, sformat; format 878 sound/core/oss/pcm_oss.c format = snd_pcm_oss_format_from(runtime->oss.format); format 882 sound/core/oss/pcm_oss.c sformat = format; format 884 sound/core/oss/pcm_oss.c sformat = snd_pcm_plug_slave_format(format, sformat_mask); format 912 sound/core/oss/pcm_oss.c (__force int)snd_pcm_oss_format_from(runtime->oss.format), 0); format 1047 sound/core/oss/pcm_oss.c runtime->oss.format = snd_pcm_oss_format_to(params_format(params)); format 1062 sound/core/oss/pcm_oss.c snd_pcm_format_set_silence(runtime->format, runtime->dma_area, bytes_to_samples(runtime, runtime->dma_bytes)); format 1632 sound/core/oss/pcm_oss.c snd_pcm_format_t format; format 1648 sound/core/oss/pcm_oss.c format = snd_pcm_oss_format_from(runtime->oss.format); format 1649 sound/core/oss/pcm_oss.c width = snd_pcm_format_physical_width(format); format 1655 sound/core/oss/pcm_oss.c snd_pcm_format_set_silence(format, format 1666 sound/core/oss/pcm_oss.c snd_pcm_format_set_silence(format, format 1851 sound/core/oss/pcm_oss.c static int snd_pcm_oss_set_format(struct snd_pcm_oss_file *pcm_oss_file, int format) format 1856 sound/core/oss/pcm_oss.c if (format != AFMT_QUERY) { format 1860 sound/core/oss/pcm_oss.c if (!(formats & format)) format 1861 sound/core/oss/pcm_oss.c format = AFMT_U8; format 1871 sound/core/oss/pcm_oss.c if (runtime->oss.format != format) { format 1873 sound/core/oss/pcm_oss.c runtime->oss.format = format; format 1888 sound/core/oss/pcm_oss.c return substream->runtime->oss.format; format 2344 sound/core/oss/pcm_oss.c runtime->oss.format = AFMT_U8; format 2347 sound/core/oss/pcm_oss.c runtime->oss.format = AFMT_S16_LE; format 2350 sound/core/oss/pcm_oss.c runtime->oss.format = AFMT_MU_LAW; format 51 sound/core/oss/pcm_plugin.c struct snd_pcm_plugin_format *format; format 58 sound/core/oss/pcm_plugin.c format = &plugin->src_format; format 60 sound/core/oss/pcm_plugin.c format = &plugin->dst_format; format 62 sound/core/oss/pcm_plugin.c if ((width = snd_pcm_format_physical_width(format->format)) < 0) format 64 sound/core/oss/pcm_plugin.c size = frames * format->channels * width; format 79 sound/core/oss/pcm_plugin.c for (channel = 0; channel < format->channels; channel++, c++) { format 85 sound/core/oss/pcm_plugin.c c->area.step = format->channels * width; format 88 sound/core/oss/pcm_plugin.c if (snd_BUG_ON(size % format->channels)) format 90 sound/core/oss/pcm_plugin.c size /= format->channels; format 91 sound/core/oss/pcm_plugin.c for (channel = 0; channel < format->channels; channel++, c++) { format 168 sound/core/oss/pcm_plugin.c plugin->src_width = snd_pcm_format_physical_width(src_format->format); format 171 sound/core/oss/pcm_plugin.c plugin->dst_width = snd_pcm_format_physical_width(dst_format->format); format 298 sound/core/oss/pcm_plugin.c snd_pcm_format_t format) format 316 sound/core/oss/pcm_plugin.c return snd_mask_test(&formats, (__force int)format); format 340 sound/core/oss/pcm_plugin.c snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format, format 345 sound/core/oss/pcm_plugin.c if (snd_mask_test(format_mask, (__force int)format)) format 346 sound/core/oss/pcm_plugin.c return format; format 347 sound/core/oss/pcm_plugin.c if (!snd_pcm_plug_formats(format_mask, format)) format 349 sound/core/oss/pcm_plugin.c if (snd_pcm_format_linear(format)) { format 350 sound/core/oss/pcm_plugin.c unsigned int width = snd_pcm_format_width(format); format 351 sound/core/oss/pcm_plugin.c int unsignd = snd_pcm_format_unsigned(format) > 0; format 352 sound/core/oss/pcm_plugin.c int big = snd_pcm_format_big_endian(format) > 0; format 377 sound/core/oss/pcm_plugin.c switch (format) { format 407 sound/core/oss/pcm_plugin.c dstformat.format = params_format(slave_params); format 410 sound/core/oss/pcm_plugin.c srcformat.format = params_format(params); format 418 sound/core/oss/pcm_plugin.c dstformat.format = params_format(params); format 421 sound/core/oss/pcm_plugin.c srcformat.format = params_format(slave_params); format 435 sound/core/oss/pcm_plugin.c srcformat.format, format 439 sound/core/oss/pcm_plugin.c dstformat.format, format 445 sound/core/oss/pcm_plugin.c ! snd_pcm_format_linear(srcformat.format)) { format 446 sound/core/oss/pcm_plugin.c if (srcformat.format != SNDRV_PCM_FORMAT_MU_LAW) format 448 sound/core/oss/pcm_plugin.c tmpformat.format = SNDRV_PCM_FORMAT_S16; format 481 sound/core/oss/pcm_plugin.c if (srcformat.format != SNDRV_PCM_FORMAT_S16) { format 483 sound/core/oss/pcm_plugin.c tmpformat.format = SNDRV_PCM_FORMAT_S16; format 514 sound/core/oss/pcm_plugin.c if (srcformat.format != dstformat.format) { format 515 sound/core/oss/pcm_plugin.c tmpformat.format = dstformat.format; format 516 sound/core/oss/pcm_plugin.c if (srcformat.format == SNDRV_PCM_FORMAT_MU_LAW || format 517 sound/core/oss/pcm_plugin.c tmpformat.format == SNDRV_PCM_FORMAT_MU_LAW) { format 522 sound/core/oss/pcm_plugin.c else if (snd_pcm_format_linear(srcformat.format) && format 523 sound/core/oss/pcm_plugin.c snd_pcm_format_linear(tmpformat.format)) { format 530 sound/core/oss/pcm_plugin.c pdprintf("format change: src=%i, dst=%i returns %i\n", srcformat.format, tmpformat.format, err); format 584 sound/core/oss/pcm_plugin.c struct snd_pcm_plugin_format *format; format 592 sound/core/oss/pcm_plugin.c format = &plugin->src_format; format 595 sound/core/oss/pcm_plugin.c format = &plugin->dst_format; format 599 sound/core/oss/pcm_plugin.c if ((width = snd_pcm_format_physical_width(format->format)) < 0) format 601 sound/core/oss/pcm_plugin.c nchannels = format->channels; format 603 sound/core/oss/pcm_plugin.c format->channels > 1)) format 688 sound/core/oss/pcm_plugin.c size_t samples, snd_pcm_format_t format) format 698 sound/core/oss/pcm_plugin.c width = snd_pcm_format_physical_width(format); format 702 sound/core/oss/pcm_plugin.c return snd_pcm_format_set_silence(format, dst, samples); format 703 sound/core/oss/pcm_plugin.c silence = snd_pcm_format_silence_64(format); format 735 sound/core/oss/pcm_plugin.c size_t samples, snd_pcm_format_t format) format 743 sound/core/oss/pcm_plugin.c return snd_pcm_area_silence(dst_area, dst_offset, samples, format); format 747 sound/core/oss/pcm_plugin.c width = snd_pcm_format_physical_width(format); format 34 sound/core/oss/pcm_plugin.h snd_pcm_format_t format; format 113 sound/core/oss/pcm_plugin.h snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format, format 135 sound/core/oss/pcm_plugin.h size_t samples, snd_pcm_format_t format); format 140 sound/core/oss/pcm_plugin.h size_t samples, snd_pcm_format_t format); format 158 sound/core/oss/pcm_plugin.h static inline int snd_pcm_plug_slave_format(int format, const struct snd_mask *format_mask) { return format; } format 85 sound/core/oss/rate.c snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); format 144 sound/core/oss/rate.c snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); format 317 sound/core/oss/rate.c if (snd_BUG_ON(src_format->format != SNDRV_PCM_FORMAT_S16)) format 319 sound/core/oss/rate.c if (snd_BUG_ON(dst_format->format != SNDRV_PCM_FORMAT_S16)) format 28 sound/core/oss/route.c snd_pcm_uframes_t frames, snd_pcm_format_t format) format 33 sound/core/oss/route.c snd_pcm_area_silence(&dvp->area, 0, frames, format); format 41 sound/core/oss/route.c snd_pcm_uframes_t frames, snd_pcm_format_t format) format 44 sound/core/oss/route.c snd_pcm_area_copy(&src_channel->area, 0, &dst_channel->area, 0, frames, format); format 54 sound/core/oss/route.c snd_pcm_format_t format; format 66 sound/core/oss/route.c format = plugin->dst_format.format; format 71 sound/core/oss/route.c copy_area(src_channels, dvp, frames, format); format 78 sound/core/oss/route.c copy_area(src_channels, dvp, frames, format); format 83 sound/core/oss/route.c zero_areas(dvp, ndsts - dst, frames, format); format 100 sound/core/oss/route.c if (snd_BUG_ON(src_format->format != dst_format->format)) format 220 sound/core/pcm.c const char *snd_pcm_format_name(snd_pcm_format_t format) format 222 sound/core/pcm.c if ((__force unsigned int)format >= ARRAY_SIZE(snd_pcm_format_names)) format 224 sound/core/pcm.c return snd_pcm_format_names[(__force unsigned int)format]; format 301 sound/core/pcm.c static const char *snd_pcm_oss_format_name(int format) format 303 sound/core/pcm.c switch (format) { format 393 sound/core/pcm.c snd_iprintf(buffer, "format: %s\n", snd_pcm_format_name(runtime->format)); format 401 sound/core/pcm.c snd_iprintf(buffer, "OSS format: %s\n", snd_pcm_oss_format_name(runtime->oss.format)); format 99 sound/core/pcm_iec958.c snd_pcm_format_width(runtime->format), format 1700 sound/core/pcm_lib.c width = snd_pcm_format_physical_width(runtime->format); format 1729 sound/core/pcm_lib.c snd_pcm_format_t format; format 1735 sound/core/pcm_lib.c format = params_format(params); format 1737 sound/core/pcm_lib.c frame_size = snd_pcm_format_size(format, channels); format 1955 sound/core/pcm_lib.c snd_pcm_format_set_silence(runtime->format, format 259 sound/core/pcm_misc.c int snd_pcm_format_signed(snd_pcm_format_t format) format 262 sound/core/pcm_misc.c if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) format 264 sound/core/pcm_misc.c if ((val = pcm_formats[(INT)format].signd) < 0) format 277 sound/core/pcm_misc.c int snd_pcm_format_unsigned(snd_pcm_format_t format) format 281 sound/core/pcm_misc.c val = snd_pcm_format_signed(format); format 294 sound/core/pcm_misc.c int snd_pcm_format_linear(snd_pcm_format_t format) format 296 sound/core/pcm_misc.c return snd_pcm_format_signed(format) >= 0; format 307 sound/core/pcm_misc.c int snd_pcm_format_little_endian(snd_pcm_format_t format) format 310 sound/core/pcm_misc.c if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) format 312 sound/core/pcm_misc.c if ((val = pcm_formats[(INT)format].le) < 0) format 325 sound/core/pcm_misc.c int snd_pcm_format_big_endian(snd_pcm_format_t format) format 329 sound/core/pcm_misc.c val = snd_pcm_format_little_endian(format); format 343 sound/core/pcm_misc.c int snd_pcm_format_width(snd_pcm_format_t format) format 346 sound/core/pcm_misc.c if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) format 348 sound/core/pcm_misc.c if ((val = pcm_formats[(INT)format].width) == 0) format 361 sound/core/pcm_misc.c int snd_pcm_format_physical_width(snd_pcm_format_t format) format 364 sound/core/pcm_misc.c if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) format 366 sound/core/pcm_misc.c if ((val = pcm_formats[(INT)format].phys) == 0) format 380 sound/core/pcm_misc.c ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) format 382 sound/core/pcm_misc.c int phys_width = snd_pcm_format_physical_width(format); format 395 sound/core/pcm_misc.c const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format) format 397 sound/core/pcm_misc.c if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) format 399 sound/core/pcm_misc.c if (! pcm_formats[(INT)format].phys) format 401 sound/core/pcm_misc.c return pcm_formats[(INT)format].silence; format 415 sound/core/pcm_misc.c int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) format 420 sound/core/pcm_misc.c if ((INT)format < 0 || (INT)format > (INT)SNDRV_PCM_FORMAT_LAST) format 424 sound/core/pcm_misc.c width = pcm_formats[(INT)format].phys; /* physical width */ format 425 sound/core/pcm_misc.c pat = pcm_formats[(INT)format].silence; format 429 sound/core/pcm_misc.c if (pcm_formats[(INT)format].signd == 1 || width <= 8) { format 681 sound/core/pcm_native.c runtime->format = params_format(params); format 695 sound/core/pcm_native.c bits = snd_pcm_format_physical_width(runtime->format); format 73 sound/drivers/aloop.c unsigned int format; format 206 sound/drivers/aloop.c check = runtime->format != cruntime->format || format 221 sound/drivers/aloop.c if (setup->format != runtime->format) { format 224 sound/drivers/aloop.c setup->format = runtime->format; format 310 sound/drivers/aloop.c cable->hw.formats = pcm_format_to_bits(runtime->format); format 326 sound/drivers/aloop.c salign = (snd_pcm_format_physical_width(runtime->format) * format 337 sound/drivers/aloop.c snd_pcm_format_set_silence(runtime->format, runtime->dma_area, format 373 sound/drivers/aloop.c snd_pcm_format_set_silence(runtime->format, dst + dst_off, format 909 sound/drivers/aloop.c [kcontrol->id.device].format; format 1027 sound/drivers/aloop.c setup->format = SNDRV_PCM_FORMAT_S16_LE; format 949 sound/drivers/dummy.c const char *format; format 955 sound/drivers/dummy.c .format = fmt, \ format 982 sound/drivers/dummy.c snd_iprintf(buffer, fields[i].format, format 985 sound/drivers/dummy.c snd_iprintf(buffer, fields[i].format, format 14 sound/drivers/opl3/opl3_oss.c static int snd_opl3_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, const char __user *buf, int offs, int count); format 174 sound/drivers/opl3/opl3_oss.c static int snd_opl3_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, format 186 sound/drivers/opl3/opl3_oss.c if (format == FM_PATCH) format 188 sound/drivers/opl3/opl3_oss.c else if (format == OPL3_PATCH) format 243 sound/drivers/pcsp/pcsp_lib.c snd_pcm_format_physical_width(substream->runtime->format) >> 3; format 244 sound/drivers/pcsp/pcsp_lib.c chip->is_signed = snd_pcm_format_signed(substream->runtime->format); format 158 sound/drivers/vx/vx_pcm.c if (snd_pcm_format_little_endian(runtime->format)) format 165 sound/drivers/vx/vx_pcm.c switch (snd_pcm_format_physical_width(runtime->format)) { format 716 sound/firewire/bebob/bebob_stream.c unsigned int i, e, channels, format; format 739 sound/firewire/bebob/bebob_stream.c format = buf[6 + e * 2]; format 741 sound/firewire/bebob/bebob_stream.c switch (format) { format 11 sound/firewire/oxfw/oxfw-command.c unsigned int pid, u8 *format, unsigned int len) format 30 sound/firewire/oxfw/oxfw-command.c memcpy(buf + 10, format, len); format 15 sound/firewire/oxfw/oxfw-proc.c u8 *format; format 29 sound/firewire/oxfw/oxfw-proc.c format = oxfw->rx_stream_formats[i]; format 30 sound/firewire/oxfw/oxfw-proc.c if (format == NULL) format 33 sound/firewire/oxfw/oxfw-proc.c err = snd_oxfw_stream_parse_format(format, &formation); format 59 sound/firewire/oxfw/oxfw-proc.c format = oxfw->tx_stream_formats[i]; format 60 sound/firewire/oxfw/oxfw-proc.c if (format == NULL) format 63 sound/firewire/oxfw/oxfw-proc.c err = snd_oxfw_stream_parse_format(format, &formation); format 463 sound/firewire/oxfw/oxfw-stream.c u8 *format; format 468 sound/firewire/oxfw/oxfw-stream.c format = kmalloc(len, GFP_KERNEL); format 469 sound/firewire/oxfw/oxfw-stream.c if (format == NULL) format 472 sound/firewire/oxfw/oxfw-stream.c err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); format 480 sound/firewire/oxfw/oxfw-stream.c err = snd_oxfw_stream_parse_format(format, formation); format 482 sound/firewire/oxfw/oxfw-stream.c kfree(format); format 492 sound/firewire/oxfw/oxfw-stream.c int snd_oxfw_stream_parse_format(u8 *format, format 504 sound/firewire/oxfw/oxfw-stream.c if ((format[0] != 0x90) || (format[1] != 0x40)) format 509 sound/firewire/oxfw/oxfw-stream.c if (format[2] == avc_stream_rate_table[i]) format 517 sound/firewire/oxfw/oxfw-stream.c for (e = 0; e < format[4]; e++) { format 518 sound/firewire/oxfw/oxfw-stream.c channels = format[5 + e * 2]; format 519 sound/firewire/oxfw/oxfw-stream.c type = format[6 + e * 2]; format 708 sound/firewire/oxfw/oxfw-stream.c u8 *format; format 731 sound/firewire/oxfw/oxfw-stream.c format = oxfw->tx_stream_formats[i]; format 732 sound/firewire/oxfw/oxfw-stream.c if (format == NULL) format 734 sound/firewire/oxfw/oxfw-stream.c err = snd_oxfw_stream_parse_format(format, &formation); format 753 sound/firewire/oxfw/oxfw-stream.c format = oxfw->rx_stream_formats[i]; format 754 sound/firewire/oxfw/oxfw-stream.c if (format == NULL) format 756 sound/firewire/oxfw/oxfw-stream.c err = snd_oxfw_stream_parse_format(format, &formation); format 75 sound/firewire/oxfw/oxfw.h unsigned int pid, u8 *format, unsigned int len); format 117 sound/firewire/oxfw/oxfw.h int snd_oxfw_stream_parse_format(u8 *format, format 734 sound/hda/hdac_device.c snd_pcm_format_t format, format 753 sound/hda/hdac_device.c switch (snd_pcm_format_width(format)) { format 763 sound/hda/hdac_device.c if (maxbps >= 32 || format == SNDRV_PCM_FORMAT_FLOAT_LE) format 925 sound/hda/hdac_device.c unsigned int format) format 934 sound/hda/hdac_device.c rate = format & 0xff00; format 949 sound/hda/hdac_device.c switch (format & 0xf0) { format 665 sound/hda/hdac_stream.c int snd_hdac_dsp_prepare(struct hdac_stream *azx_dev, unsigned int format, format 690 sound/hda/hdac_stream.c azx_dev->format_val = format; format 76 sound/isa/ad1816a/ad1816a_lib.c snd_pcm_format_t format, format 81 sound/isa/ad1816a/ad1816a_lib.c switch (format) { format 242 sound/isa/ad1816a/ad1816a_lib.c snd_ad1816a_get_format(chip, runtime->format, format 274 sound/isa/ad1816a/ad1816a_lib.c snd_ad1816a_get_format(chip, runtime->format, format 371 sound/isa/es1688/es1688_lib.c if (snd_pcm_format_width(runtime->format) == 8) { format 383 sound/isa/es1688/es1688_lib.c if (snd_pcm_format_width(runtime->format) == 8) { format 433 sound/isa/es1688/es1688_lib.c if (snd_pcm_format_width(runtime->format) == 8) { format 443 sound/isa/es1688/es1688_lib.c if (snd_pcm_format_width(runtime->format) == 8) { format 483 sound/isa/es18xx.c (snd_pcm_format_width(runtime->format) == 16 ? 0x01 : 0x00) | format 484 sound/isa/es18xx.c (snd_pcm_format_unsigned(runtime->format) ? 0x00 : 0x04)); format 590 sound/isa/es18xx.c snd_pcm_format_unsigned(runtime->format) ? 0x51 : 0x71); format 593 sound/isa/es18xx.c (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | format 594 sound/isa/es18xx.c (snd_pcm_format_unsigned(runtime->format) ? 0x00 : 0x20)); format 652 sound/isa/es18xx.c snd_pcm_format_unsigned(runtime->format) ? 0x80 : 0x00); format 654 sound/isa/es18xx.c snd_pcm_format_unsigned(runtime->format) ? 0x51 : 0x71); format 657 sound/isa/es18xx.c (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | format 658 sound/isa/es18xx.c (snd_pcm_format_unsigned(runtime->format) ? 0x00 : 0x20)); format 76 sound/isa/gus/gus_pcm.c if (snd_pcm_format_unsigned(runtime->format)) format 78 sound/isa/gus/gus_pcm.c if (snd_pcm_format_width(runtime->format) == 16) format 114 sound/isa/gus/gus_pcm.c voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; format 125 sound/isa/gus/gus_pcm.c end -= snd_pcm_format_width(runtime->format) == 16 ? 2 : 1; format 364 sound/isa/gus/gus_pcm.c w16 = (snd_pcm_format_width(runtime->format) == 16); format 365 sound/isa/gus/gus_pcm.c invert = snd_pcm_format_unsigned(runtime->format); format 415 sound/isa/gus/gus_pcm.c snd_pcm_format_set_silence(runtime->format, runtime->dma_area + bpos, format 38 sound/isa/sb/sb16_main.c ((unsigned int)pcm_format_to_bits((runtime)->format)) format 68 sound/isa/sb/sb16_main.c if (csp->ops.csp_autoload(csp, runtime->format, SNDRV_SB_CSP_MODE_DSP_WRITE)) { format 106 sound/isa/sb/sb16_main.c if (csp->ops.csp_autoload(csp, runtime->format, SNDRV_SB_CSP_MODE_DSP_READ)) { format 252 sound/isa/sb/sb16_main.c unsigned char format; format 256 sound/isa/sb/sb16_main.c if (snd_pcm_format_unsigned(runtime->format) > 0) { format 257 sound/isa/sb/sb16_main.c format = runtime->channels > 1 ? SB_DSP4_MODE_UNS_STEREO : SB_DSP4_MODE_UNS_MONO; format 259 sound/isa/sb/sb16_main.c format = runtime->channels > 1 ? SB_DSP4_MODE_SIGN_STEREO : SB_DSP4_MODE_SIGN_MONO; format 273 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, format); format 280 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, format); format 322 sound/isa/sb/sb16_main.c unsigned char format; format 326 sound/isa/sb/sb16_main.c if (snd_pcm_format_unsigned(runtime->format) > 0) { format 327 sound/isa/sb/sb16_main.c format = runtime->channels > 1 ? SB_DSP4_MODE_UNS_STEREO : SB_DSP4_MODE_UNS_MONO; format 329 sound/isa/sb/sb16_main.c format = runtime->channels > 1 ? SB_DSP4_MODE_SIGN_STEREO : SB_DSP4_MODE_SIGN_MONO; format 342 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, format); format 349 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, format); format 96 sound/isa/sb/sb8_main.c unsigned char format; format 103 sound/isa/sb/sb8_main.c if (runtime->format == SNDRV_PCM_FORMAT_S16_LE) { format 136 sound/isa/sb/sb8_main.c format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; format 139 sound/isa/sb/sb8_main.c format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; format 148 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, format); format 246 sound/isa/sb/sb8_main.c unsigned char format; format 253 sound/isa/sb/sb8_main.c if (runtime->format == SNDRV_PCM_FORMAT_S16_LE) { format 287 sound/isa/sb/sb8_main.c format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; format 290 sound/isa/sb/sb8_main.c format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; format 299 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, format); format 451 sound/isa/wss/wss_lib.c static unsigned int snd_wss_get_count(unsigned char format, unsigned int size) format 453 sound/isa/wss/wss_lib.c switch (format & 0xe0) { format 461 sound/isa/wss/wss_lib.c if (format & CS4231_STEREO) format 530 sound/isa/wss/wss_lib.c snd_pcm_format_t format, format 536 sound/isa/wss/wss_lib.c switch (format) { format 546 sound/isa/wss/wss_lib.c snd_printk(KERN_DEBUG "get_format: 0x%x (mode=0x%x)\n", format, mode); format 100 sound/oss/dmasound/dmasound.h int format; /* AFMT_* */ format 128 sound/oss/dmasound/dmasound_atari.c static int TTSetFormat(int format); format 133 sound/oss/dmasound/dmasound_atari.c static int FalconSetFormat(int format); format 159 sound/oss/dmasound/dmasound_atari.c char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 format 389 sound/oss/dmasound/dmasound_atari.c char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 format 957 sound/oss/dmasound/dmasound_atari.c static int TTSetFormat(int format) format 961 sound/oss/dmasound/dmasound_atari.c switch (format) { format 963 sound/oss/dmasound/dmasound_atari.c return dmasound.soft.format; format 970 sound/oss/dmasound/dmasound_atari.c format = AFMT_S8; format 973 sound/oss/dmasound/dmasound_atari.c dmasound.soft.format = format; format 976 sound/oss/dmasound/dmasound_atari.c dmasound.dsp.format = format; format 981 sound/oss/dmasound/dmasound_atari.c return format; format 1113 sound/oss/dmasound/dmasound_atari.c static int FalconSetFormat(int format) format 1118 sound/oss/dmasound/dmasound_atari.c switch (format) { format 1120 sound/oss/dmasound/dmasound_atari.c return dmasound.soft.format; format 1135 sound/oss/dmasound/dmasound_atari.c format = AFMT_S8; format 1138 sound/oss/dmasound/dmasound_atari.c dmasound.soft.format = format; format 1141 sound/oss/dmasound/dmasound_atari.c dmasound.dsp.format = format; format 1147 sound/oss/dmasound/dmasound_atari.c return format; format 1509 sound/oss/dmasound/dmasound_atari.c .format = AFMT_S8, format 1516 sound/oss/dmasound/dmasound_atari.c .format = AFMT_S8, format 1523 sound/oss/dmasound/dmasound_atari.c .format = AFMT_U8, format 233 sound/oss/dmasound/dmasound_core.c static inline int sound_set_format(int format) format 235 sound/oss/dmasound/dmasound_core.c return dmasound.mach.setFormat(format); format 281 sound/oss/dmasound/dmasound_core.c switch (dmasound.soft.format) { format 1091 sound/oss/dmasound/dmasound_core.c int format; format 1094 sound/oss/dmasound/dmasound_core.c format = sound_set_format(data); format 1095 sound/oss/dmasound/dmasound_core.c result = IOCTL_OUT(arg, format); format 1098 sound/oss/dmasound/dmasound_core.c if (format != data && data != AFMT_QUERY) format 1310 sound/oss/dmasound/dmasound_core.c get_afmt_string(dmasound.soft.format), format 1311 sound/oss/dmasound/dmasound_core.c get_afmt_string(dmasound.hard.format)); format 82 sound/oss/dmasound/dmasound_paula.c static int AmiSetFormat(int format); format 385 sound/oss/dmasound/dmasound_paula.c static int AmiSetFormat(int format) format 391 sound/oss/dmasound/dmasound_paula.c switch (format) { format 393 sound/oss/dmasound/dmasound_paula.c return dmasound.soft.format; format 408 sound/oss/dmasound/dmasound_paula.c format = AFMT_S8; format 411 sound/oss/dmasound/dmasound_paula.c dmasound.soft.format = format; format 414 sound/oss/dmasound/dmasound_paula.c dmasound.dsp.format = format; format 419 sound/oss/dmasound/dmasound_paula.c return format; format 672 sound/oss/dmasound/dmasound_paula.c .format = AFMT_S8, format 679 sound/oss/dmasound/dmasound_paula.c .format = AFMT_U8, format 48 sound/oss/dmasound/dmasound_q40.c static int Q40SetFormat(int format); format 66 sound/oss/dmasound/dmasound_q40.c char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; format 123 sound/oss/dmasound/dmasound_q40.c (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); format 233 sound/oss/dmasound/dmasound_q40.c (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); format 545 sound/oss/dmasound/dmasound_q40.c static int Q40SetFormat(int format) format 549 sound/oss/dmasound/dmasound_q40.c switch (format) { format 551 sound/oss/dmasound/dmasound_q40.c return(dmasound.soft.format); format 558 sound/oss/dmasound/dmasound_q40.c format = AFMT_S8; format 561 sound/oss/dmasound/dmasound_q40.c dmasound.soft.format = format; format 564 sound/oss/dmasound/dmasound_q40.c dmasound.dsp.format = format; format 569 sound/oss/dmasound/dmasound_q40.c return(format); format 581 sound/oss/dmasound/dmasound_q40.c .format = AFMT_U8, format 588 sound/oss/dmasound/dmasound_q40.c .format = AFMT_U8, format 171 sound/parisc/harmony.c (h->st.format << 6) | format 367 sound/parisc/harmony.c int o = h->st.format; format 410 sound/parisc/harmony.c h->st.format = snd_harmony_set_data_format(h, rt->format, 0); format 440 sound/parisc/harmony.c h->st.format = snd_harmony_set_data_format(h, rt->format, 0); format 662 sound/parisc/harmony.c h->st.format = snd_harmony_set_data_format(h, format 28 sound/parisc/harmony.h u32 format; format 364 sound/pci/ad1889.c if (snd_pcm_format_width(rt->format) == 16) format 414 sound/pci/ad1889.c if (snd_pcm_format_width(rt->format) == 16) format 1054 sound/pci/ali5451/ali5451.c if (snd_pcm_format_width(runtime->format) == 16) format 1056 sound/pci/ali5451/ali5451.c if (!snd_pcm_format_unsigned(runtime->format)) format 79 sound/pci/als300.c #define snd_als300_dbgplay(format, args...) printk(KERN_ERR format, ##args) format 81 sound/pci/als300.c #define snd_als300_dbgplay(format, args...) format 310 sound/pci/als4000.c if (snd_pcm_format_signed(runtime->format)) format 312 sound/pci/als4000.c if (snd_pcm_format_physical_width(runtime->format) == 16) format 321 sound/pci/als4000.c unsigned char dsp_cmd, dma_on, dma_off, format; format 425 sound/pci/als4000.c snd_sbdsp_command(chip, playback_cmd(chip).format); format 48 sound/pci/asihpi/asihpi.c #define snd_printddd(format, args...) \ format 49 sound/pci/asihpi/asihpi.c __snd_printk(3, __FILE__, __LINE__, format, ##args) format 51 sound/pci/asihpi/asihpi.c #define snd_printddd(format, args...) do { } while (0) format 151 sound/pci/asihpi/asihpi.c struct hpi_format format; format 333 sound/pci/asihpi/asihpi.c u16 format; format 335 sound/pci/asihpi/asihpi.c for (format = HPI_FORMAT_PCM8_UNSIGNED; format 336 sound/pci/asihpi/asihpi.c format <= HPI_FORMAT_PCM24_SIGNED; format++) { format 337 sound/pci/asihpi/asihpi.c if (hpi_to_alsa_formats[format] == alsa_format) { format 338 sound/pci/asihpi/asihpi.c *hpi_format = format; format 447 sound/pci/asihpi/asihpi.c u16 format; format 455 sound/pci/asihpi/asihpi.c err = snd_card_asihpi_format_alsa2hpi(params_format(params), &format); format 459 sound/pci/asihpi/asihpi.c hpi_handle_error(hpi_format_create(&dpcm->format, format 461 sound/pci/asihpi/asihpi.c format, params_rate(params), 0, 0)); format 468 sound/pci/asihpi/asihpi.c dpcm->h_stream, &dpcm->format) != 0) format 620 sound/pci/asihpi/asihpi.c &ds->format)); format 886 sound/pci/asihpi/asihpi.c &ds->format)); format 898 sound/pci/asihpi/asihpi.c &ds->format)); format 992 sound/pci/asihpi/asihpi.c u16 format; format 1009 sound/pci/asihpi/asihpi.c for (format = HPI_FORMAT_PCM8_UNSIGNED; format 1010 sound/pci/asihpi/asihpi.c format <= HPI_FORMAT_PCM24_SIGNED; format++) { format 1012 sound/pci/asihpi/asihpi.c format, sample_rate, 128000, 0); format 1015 sound/pci/asihpi/asihpi.c if (!err && (hpi_to_alsa_formats[format] != INVALID_FORMAT)) format 1016 sound/pci/asihpi/asihpi.c formats |= pcm_format_to_bits(hpi_to_alsa_formats[format]); format 1174 sound/pci/asihpi/asihpi.c u16 format; format 1190 sound/pci/asihpi/asihpi.c for (format = HPI_FORMAT_PCM8_UNSIGNED; format 1191 sound/pci/asihpi/asihpi.c format <= HPI_FORMAT_PCM24_SIGNED; format++) { format 1194 sound/pci/asihpi/asihpi.c format, sample_rate, 128000, 0); format 1197 sound/pci/asihpi/asihpi.c if (!err && (hpi_to_alsa_formats[format] != INVALID_FORMAT)) format 1198 sound/pci/asihpi/asihpi.c formats |= pcm_format_to_bits(hpi_to_alsa_formats[format]); format 1122 sound/pci/asihpi/hpi.h u16 format; /**< HPI_FORMAT_PCM16, _MPEG etc. see #HPI_FORMATS. */ format 1721 sound/pci/asihpi/hpi.h u16 hpi_format_create(struct hpi_format *p_format, u16 channels, u16 format, format 570 sound/pci/asihpi/hpi_internal.h u16 format; /**< HPI_FORMAT_PCM16, _MPEG etc. see \ref HPI_FORMATS. */ format 576 sound/pci/asihpi/hpi_internal.h struct hpi_msg_format format; format 586 sound/pci/asihpi/hpi_internal.h struct hpi_format format; format 594 sound/pci/asihpi/hpi_internal.h struct hpi_msg_format format; format 1304 sound/pci/asihpi/hpi_internal.h u32 format; format 1309 sound/pci/asihpi/hpi_internal.h u32 format; format 404 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.aes3rx.format; format 410 sound/pci/asihpi/hpicmn.c phr->u.c.param1 = pC->u.aes3tx.format; format 592 sound/pci/asihpi/hpicmn.c pC->u.aes3tx.format = phm->u.c.param1; format 596 sound/pci/asihpi/hpicmn.c pC->u.aes3rx.format = phm->u.c.param1; format 69 sound/pci/asihpi/hpifunc.c pMF->format = pF->format; format 79 sound/pci/asihpi/hpifunc.c pF->format = pMF->format; format 284 sound/pci/asihpi/hpifunc.c u16 hpi_format_create(struct hpi_format *p_format, u16 channels, u16 format, format 304 sound/pci/asihpi/hpifunc.c switch (format) { format 326 sound/pci/asihpi/hpifunc.c fmt.format = format; format 338 sound/pci/asihpi/hpifunc.c switch (format) { format 359 sound/pci/asihpi/hpifunc.c switch (format) { format 390 sound/pci/asihpi/hpifunc.c switch (pF->format) { format 510 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); format 597 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); format 614 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); format 665 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.channels = mode; format 899 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); format 915 sound/pci/asihpi/hpifunc.c hpi_format_to_msg(&hm.u.d.u.data.format, p_format); format 1035 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.attributes = bytes_per_frame; format 1036 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.format = (mode << 8) | (alignment & 0xff); format 1037 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.channels = idle_bit; format 1480 sound/pci/asihpi/hpifunc.c u16 hpi_aesebu_receiver_set_format(u32 h_control, u16 format) format 1482 sound/pci/asihpi/hpifunc.c return hpi_control_param_set(h_control, HPI_AESEBURX_FORMAT, format, format 877 sound/pci/atiixp.c substream->runtime->format == SNDRV_PCM_FORMAT_S16_LE ? format 919 sound/pci/atiixp.c substream->runtime->format == SNDRV_PCM_FORMAT_S16_LE ? format 939 sound/pci/atiixp.c substream->runtime->format == SNDRV_PCM_FORMAT_S16_LE ? format 323 sound/pci/au88x0/au88x0_pcm.c fmt = vortex_alsafmt_aspfmt(runtime->format, chip); format 1456 sound/pci/azt3328.c snd_pcm_format_width(runtime->format), format 1489 sound/pci/azt3328.c snd_pcm_format_width(runtime->format), format 485 sound/pci/bt87x.c if (runtime->format == SNDRV_PCM_FORMAT_S8) format 764 sound/pci/ca0106/ca0106_main.c channel, runtime->rate, runtime->format, format 802 sound/pci/ca0106/ca0106_main.c switch (runtime->format) { format 871 sound/pci/ca0106/ca0106_main.c channel, runtime->rate, runtime->format, format 904 sound/pci/ca0106/ca0106_main.c switch (runtime->format) { format 778 sound/pci/cmipci.c if (snd_pcm_format_width(runtime->format) >= 16) { format 780 sound/pci/cmipci.c if (snd_pcm_format_width(runtime->format) > 16) format 1222 sound/pci/cmipci.c if (snd_pcm_format_width(subs->runtime->format) > 16) { format 1290 sound/pci/cmipci.c substream->runtime->format == SNDRV_PCM_FORMAT_S16_LE && format 1404 sound/pci/cmipci.c if (snd_pcm_format_width(substream->runtime->format) > 16) format 728 sound/pci/cs4281.c if (snd_pcm_format_unsigned(runtime->format) > 0) format 730 sound/pci/cs4281.c if (snd_pcm_format_big_endian(runtime->format) > 0) format 732 sound/pci/cs4281.c switch (snd_pcm_format_width(runtime->format)) { format 1233 sound/pci/cs46xx/cs46xx_lib.c if (snd_pcm_format_width(runtime->format) == 8) { format 1238 sound/pci/cs46xx/cs46xx_lib.c if (snd_pcm_format_unsigned(runtime->format)) format 1242 sound/pci/cs46xx/cs46xx_lib.c if (snd_pcm_format_width(runtime->format) != 8) { format 1244 sound/pci/cs46xx/cs46xx_lib.c if (snd_pcm_format_big_endian(runtime->format)) format 269 sound/pci/ctxfi/ctatc.c src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, format 742 sound/pci/ctxfi/ctatc.c src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, format 812 sound/pci/ctxfi/ctatc.c src->ops->set_sf(src, convert_format(apcm->substream->runtime->format, format 684 sound/pci/echoaudio/echoaudio.c struct audioformat format; format 688 sound/pci/echoaudio/echoaudio.c runtime->rate, runtime->format, runtime->channels); format 689 sound/pci/echoaudio/echoaudio.c format.interleave = runtime->channels; format 690 sound/pci/echoaudio/echoaudio.c format.data_are_bigendian = 0; format 691 sound/pci/echoaudio/echoaudio.c format.mono_to_stereo = 0; format 692 sound/pci/echoaudio/echoaudio.c switch (runtime->format) { format 694 sound/pci/echoaudio/echoaudio.c format.bits_per_sample = 8; format 697 sound/pci/echoaudio/echoaudio.c format.bits_per_sample = 16; format 700 sound/pci/echoaudio/echoaudio.c format.bits_per_sample = 24; format 703 sound/pci/echoaudio/echoaudio.c format.data_are_bigendian = 1; format 706 sound/pci/echoaudio/echoaudio.c format.bits_per_sample = 32; format 711 sound/pci/echoaudio/echoaudio.c runtime->format); format 719 sound/pci/echoaudio/echoaudio.c set_audio_format(chip, pipe_index, &format); format 784 sound/pci/echoaudio/echoaudio_dsp.c const struct audioformat *format) format 791 sound/pci/echoaudio/echoaudio_dsp.c if (format->interleave > 2) { format 792 sound/pci/echoaudio/echoaudio_dsp.c switch (format->bits_per_sample) { format 803 sound/pci/echoaudio/echoaudio_dsp.c dsp_format |= format->interleave; format 804 sound/pci/echoaudio/echoaudio_dsp.c } else if (format->data_are_bigendian) { format 806 sound/pci/echoaudio/echoaudio_dsp.c switch (format->interleave) { format 816 sound/pci/echoaudio/echoaudio_dsp.c } else if (format->interleave == 1 && format 817 sound/pci/echoaudio/echoaudio_dsp.c format->bits_per_sample == 32 && !format->mono_to_stereo) { format 822 sound/pci/echoaudio/echoaudio_dsp.c switch (format->bits_per_sample) { format 824 sound/pci/echoaudio/echoaudio_dsp.c if (format->interleave == 2) format 831 sound/pci/echoaudio/echoaudio_dsp.c if (format->interleave == 2) format 837 sound/pci/echoaudio/echoaudio_dsp.c if (format->interleave == 2) format 843 sound/pci/echoaudio/echoaudio_dsp.c if (format->interleave == 2) format 287 sound/pci/emu10k1/emupcm.c w_16 = snd_pcm_format_width(runtime->format) == 16; format 640 sound/pci/emu10k1/emupcm.c sample = snd_pcm_format_width(runtime->format) == 16 ? 0 : 0x80808080; format 331 sound/pci/emu10k1/p16v.c channel, runtime->rate, runtime->format, runtime->channels, format 878 sound/pci/ens1370.c if (snd_pcm_format_width(runtime->format) == 16) format 926 sound/pci/ens1370.c if (snd_pcm_format_width(runtime->format) == 16) format 966 sound/pci/ens1370.c if (snd_pcm_format_width(runtime->format) == 16) format 620 sound/pci/es1938.c is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; format 621 sound/pci/es1938.c u = snd_pcm_format_unsigned(runtime->format); format 668 sound/pci/es1938.c is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; format 669 sound/pci/es1938.c u = snd_pcm_format_unsigned(runtime->format); format 705 sound/pci/es1938.c is8 = snd_pcm_format_width(runtime->format) == 16 ? 0 : 1; format 706 sound/pci/es1938.c u = snd_pcm_format_unsigned(runtime->format); format 1217 sound/pci/es1968.c if (snd_pcm_format_width(runtime->format) == 16) format 460 sound/pci/fm801.c if (snd_pcm_format_width(runtime->format) == 16) format 492 sound/pci/fm801.c if (snd_pcm_format_width(runtime->format) == 16) format 1052 sound/pci/hda/hda_codec.c hda_nid_t nid, int format) format 1056 sound/pci/hda/hda_codec.c if (p->format_id != format) { format 1059 sound/pci/hda/hda_codec.c if (oldval != format) { format 1063 sound/pci/hda/hda_codec.c format); format 1065 sound/pci/hda/hda_codec.c p->format_id = format; format 1079 sound/pci/hda/hda_codec.c int channel_id, int format) format 1091 sound/pci/hda/hda_codec.c nid, stream_tag, channel_id, format); format 1099 sound/pci/hda/hda_codec.c update_pcm_format(codec, p, nid, format); format 1102 sound/pci/hda/hda_codec.c update_pcm_format(codec, p, nid, format); format 3093 sound/pci/hda/hda_codec.c unsigned int format, format 3096 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); format 3156 sound/pci/hda/hda_codec.c unsigned int format, format 3162 sound/pci/hda/hda_codec.c ret = hinfo->ops.prepare(hinfo, codec, stream, format, format 3550 sound/pci/hda/hda_codec.c unsigned int stream_tag, unsigned int format) format 3567 sound/pci/hda/hda_codec.c curr_fmt != format; format 3575 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, nid, stream_tag, 0, format); format 3580 sound/pci/hda/hda_codec.c format); format 3627 sound/pci/hda/hda_codec.c unsigned int format, format 3631 sound/pci/hda/hda_codec.c setup_dig_out_stream(codec, mout->dig_out_nid, stream_tag, format); format 3735 sound/pci/hda/hda_codec.c unsigned int format, format 3749 sound/pci/hda/hda_codec.c format) && format 3753 sound/pci/hda/hda_codec.c stream_tag, format); format 3763 sound/pci/hda/hda_codec.c 0, format); format 3768 sound/pci/hda/hda_codec.c 0, format); format 3774 sound/pci/hda/hda_codec.c stream_tag, 0, format); format 3780 sound/pci/hda/hda_codec.c i * 2, format); format 3783 sound/pci/hda/hda_codec.c 0, format); format 3796 sound/pci/hda/hda_codec.c stream_tag, ch, format); format 173 sound/pci/hda/hda_controller.c runtime->format, format 179 sound/pci/hda/hda_controller.c runtime->rate, runtime->channels, runtime->format); format 1022 sound/pci/hda/hda_controller.c int snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format, format 1042 sound/pci/hda/hda_controller.c err = snd_hdac_dsp_prepare(hstr, format, byte_size, bufp); format 163 sound/pci/hda/hda_eld.c a->format = GRAB_BITS(buf, 0, 3, 4); format 164 sound/pci/hda/hda_eld.c switch (a->format) { format 207 sound/pci/hda/hda_eld.c a->format = GRAB_BITS(buf, 2, 3, 5); format 208 sound/pci/hda/hda_eld.c if (a->format == AUDIO_CODING_XTYPE_HE_REF_CT || format 209 sound/pci/hda/hda_eld.c a->format >= AUDIO_CODING_XTYPE_FIRST_RESERVED) { format 212 sound/pci/hda/hda_eld.c a->format); format 213 sound/pci/hda/hda_eld.c a->format = 0; format 215 sound/pci/hda/hda_eld.c a->format += AUDIO_CODING_TYPE_HE_AAC - format 377 sound/pci/hda/hda_eld.c if (!a->format) format 382 sound/pci/hda/hda_eld.c if (a->format == AUDIO_CODING_TYPE_LPCM) format 392 sound/pci/hda/hda_eld.c cea_audio_coding_type_names[a->format], format 422 sound/pci/hda/hda_eld.c i, a->format, cea_audio_coding_type_names[a->format]); format 428 sound/pci/hda/hda_eld.c if (a->format == AUDIO_CODING_TYPE_LPCM) { format 536 sound/pci/hda/hda_eld.c e->sad[n].format = val; format 577 sound/pci/hda/hda_eld.c if (a->format == AUDIO_CODING_TYPE_LPCM) { format 5321 sound/pci/hda/hda_generic.c unsigned int format, format 5328 sound/pci/hda/hda_generic.c stream_tag, format, substream); format 5373 sound/pci/hda/hda_generic.c unsigned int format, format 5376 sound/pci/hda/hda_generic.c snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); format 5434 sound/pci/hda/hda_generic.c unsigned int format, format 5437 sound/pci/hda/hda_generic.c snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); format 5467 sound/pci/hda/hda_generic.c unsigned int format, format 5472 sound/pci/hda/hda_generic.c stream_tag, format, substream); format 5500 sound/pci/hda/hda_generic.c unsigned int format, format 5506 sound/pci/hda/hda_generic.c stream_tag, 0, format); format 5630 sound/pci/hda/hda_generic.c unsigned int format, format 5636 sound/pci/hda/hda_generic.c spec->cur_adc_format = format; format 5637 sound/pci/hda/hda_generic.c snd_hda_codec_setup_stream(codec, spec->cur_adc, stream_tag, 0, format); format 242 sound/pci/hda/hda_local.h unsigned int format, format 253 sound/pci/hda/hda_local.h unsigned int format, format 654 sound/pci/hda/hda_local.h int format; /* (format == 0) indicates invalid SAD */ format 2684 sound/pci/hda/patch_ca0132.c unsigned short *format) format 2686 sound/pci/hda/patch_ca0132.c if (format) format 2687 sound/pci/hda/patch_ca0132.c *format = dma->m_converter_format; format 3500 sound/pci/hda/patch_ca0132.c unsigned int format, format 3505 sound/pci/hda/patch_ca0132.c snd_hda_codec_setup_stream(codec, spec->dacs[0], stream_tag, 0, format); format 3568 sound/pci/hda/patch_ca0132.c unsigned int format, format 3573 sound/pci/hda/patch_ca0132.c stream_tag, format, substream); format 3598 sound/pci/hda/patch_ca0132.c unsigned int format, format 3602 sound/pci/hda/patch_ca0132.c stream_tag, 0, format); format 116 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, u32 stream_tag, int format); format 882 sound/pci/hda/patch_hdmi.c #define is_hbr_format(format) \ format 883 sound/pci/hda/patch_hdmi.c ((format & AC_FMT_TYPE_NON_PCM) && (format & AC_FMT_CHAN_MASK) == 7) format 920 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, u32 stream_tag, int format) format 926 sound/pci/hda/patch_hdmi.c err = spec->ops.pin_hbr_setup(codec, pin_nid, is_hbr_format(format)); format 946 sound/pci/hda/patch_hdmi.c if (is_hbr_format(format)) format 953 sound/pci/hda/patch_hdmi.c snd_hda_codec_setup_stream(codec, cvt_nid, stream_tag, 0, format); format 1880 sound/pci/hda/patch_hdmi.c unsigned int format, format 1902 sound/pci/hda/patch_hdmi.c stream_tag, 0, format); format 1954 sound/pci/hda/patch_hdmi.c stream_tag, format); format 2764 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, u32 stream_tag, int format) format 2767 sound/pci/hda/patch_hdmi.c return hdmi_setup_stream(codec, cvt_nid, pin_nid, stream_tag, format); format 3137 sound/pci/hda/patch_hdmi.c unsigned int format, format 3142 sound/pci/hda/patch_hdmi.c stream_tag, format, substream); format 3260 sound/pci/hda/patch_hdmi.c unsigned int format, format 3292 sound/pci/hda/patch_hdmi.c AC_VERB_SET_STREAM_FORMAT, format); format 3335 sound/pci/hda/patch_hdmi.c format); format 3543 sound/pci/hda/patch_hdmi.c static void tegra_hdmi_set_format(struct hda_codec *codec, unsigned int format) format 3555 sound/pci/hda/patch_hdmi.c (format >> 0) & 0xff); format 3558 sound/pci/hda/patch_hdmi.c (format >> 8) & 0xff); format 3568 sound/pci/hda/patch_hdmi.c if (format == 0) format 3587 sound/pci/hda/patch_hdmi.c unsigned int format, format 3593 sound/pci/hda/patch_hdmi.c format, substream); format 3598 sound/pci/hda/patch_hdmi.c tegra_hdmi_set_format(codec, format); format 3943 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, u32 stream_tag, int format) format 3949 sound/pci/hda/patch_hdmi.c if (format & AC_FMT_TYPE_NON_PCM) format 3955 sound/pci/hda/patch_hdmi.c return hdmi_setup_stream(codec, cvt_nid, pin_nid, stream_tag, format); format 138 sound/pci/hda/patch_si3054.c unsigned int format, format 150 sound/pci/hda/patch_si3054.c stream_tag, 0, format); format 581 sound/pci/ice1712/ice1712.c if (snd_pcm_format_width(runtime->format) == 16) format 613 sound/pci/ice1712/ice1712.c if (snd_pcm_format_width(runtime->format) == 16) format 649 sound/pci/ice1712/ice1712.c if (snd_pcm_format_width(runtime->format) == 16) format 239 sound/pci/lola/lola.h unsigned int format; format 160 sound/pci/lola/lola_clock.c int format = LOLA_CLOCK_FORMAT_NONE; format 177 sound/pci/lola/lola_clock.c format = LOLA_CLOCK_FORMAT_NTSC; format 179 sound/pci/lola/lola_clock.c format = LOLA_CLOCK_FORMAT_PAL; format 185 sound/pci/lola/lola_clock.c sc->format = format; format 372 sound/pci/lola/lola_pcm.c switch (substream->runtime->format) { format 690 sound/pci/lx6464es/lx_core.c if (snd_pcm_format_little_endian(runtime->format)) format 1245 sound/pci/maestro3.c snd_pcm_format_width(runtime->format) == 16 ? 0 : 1); format 1419 sound/pci/maestro3.c if (runtime->format != SNDRV_PCM_FORMAT_U8 && format 1420 sound/pci/maestro3.c runtime->format != SNDRV_PCM_FORMAT_S16_LE) format 504 sound/pci/mixart/mixart.c static int mixart_set_format(struct mixart_stream *stream, snd_pcm_format_t format) format 523 sound/pci/mixart/mixart.c switch(format){ format 597 sound/pci/mixart/mixart.c snd_pcm_format_t format; format 605 sound/pci/mixart/mixart.c format = params_format(hw); format 621 sound/pci/mixart/mixart.c err = mixart_set_format(stream, format); format 306 sound/pci/mixart/mixart_core.h u32 format; format 423 sound/pci/nm256/nm256.c if (snd_pcm_format_width(runtime->format) == 16) { format 551 sound/pci/pcxhr/pcxhr.c switch (stream->format) { format 943 sound/pci/pcxhr/pcxhr.c snd_pcm_format_t format; format 951 sound/pci/pcxhr/pcxhr.c format = params_format(hw); format 956 sound/pci/pcxhr/pcxhr.c stream->format = format; format 127 sound/pci/pcxhr/pcxhr.h snd_pcm_format_t format; format 475 sound/pci/riptide/riptide.c snd_pcm_format_t format; format 1006 sound/pci/riptide/riptide.c unsigned char channels, snd_pcm_format_t format) format 1012 sound/pci/riptide/riptide.c mixer, id, channels, format); format 1014 sound/pci/riptide/riptide.c w = snd_pcm_format_width(format) == 8; format 1015 sound/pci/riptide/riptide.c sig = snd_pcm_format_unsigned(format) != 0; format 1016 sound/pci/riptide/riptide.c order = snd_pcm_format_big_endian(format) != 0; format 1447 sound/pci/riptide/riptide.c snd_pcm_format_t format; format 1453 sound/pci/riptide/riptide.c runtime->channels, runtime->format, runtime->rate); format 1457 sound/pci/riptide/riptide.c format = runtime->format; format 1461 sound/pci/riptide/riptide.c if (rate == 48000 && format == SNDRV_PCM_FORMAT_S16_LE) format 1467 sound/pci/riptide/riptide.c if (rate == 48000 && format == SNDRV_PCM_FORMAT_S16_LE) format 1524 sound/pci/riptide/riptide.c if (data->rate != rate || data->format != format || format 1527 sound/pci/riptide/riptide.c data->format = format; format 1530 sound/pci/riptide/riptide.c (cif, data->mixer, data->id, channels, format) format 641 sound/pci/rme32.c static int snd_rme32_setformat(struct rme32 *rme32, snd_pcm_format_t format) format 643 sound/pci/rme32.c switch (format) { format 925 sound/pci/rme96.c snd_rme96_playback_setformat(struct rme96 *rme96, snd_pcm_format_t format) format 927 sound/pci/rme96.c switch (format) { format 942 sound/pci/rme96.c snd_rme96_capture_setformat(struct rme96 *rme96, snd_pcm_format_t format) format 944 sound/pci/rme96.c switch (format) { format 6232 sound/pci/rme9652/hdspm.c ltc.format = fps_24; format 6235 sound/pci/rme9652/hdspm.c ltc.format = fps_25; format 6238 sound/pci/rme9652/hdspm.c ltc.format = fps_2997; format 6241 sound/pci/rme9652/hdspm.c ltc.format = fps_30; format 6250 sound/pci/rme9652/hdspm.c ltc.format = format_invalid; format 520 sound/pci/sis7019.c u32 format, dma_addr, control, sso_eso, delta, reg; format 526 sound/pci/sis7019.c format = 0; format 527 sound/pci/sis7019.c if (snd_pcm_format_width(runtime->format) == 8) format 528 sound/pci/sis7019.c format |= SIS_PLAY_DMA_FORMAT_8BIT; format 529 sound/pci/sis7019.c if (!snd_pcm_format_signed(runtime->format)) format 530 sound/pci/sis7019.c format |= SIS_PLAY_DMA_FORMAT_UNSIGNED; format 532 sound/pci/sis7019.c format |= SIS_PLAY_DMA_FORMAT_MONO; format 559 sound/pci/sis7019.c writel(format, ctrl_base + SIS_PLAY_DMA_FORMAT_CSO); format 724 sound/pci/sis7019.c u32 format, control, sso_eso, delta; format 731 sound/pci/sis7019.c buffer_size /= snd_pcm_format_size(runtime->format, 1); format 787 sound/pci/sis7019.c format = 0; format 788 sound/pci/sis7019.c if (snd_pcm_format_width(runtime->format) == 8) format 789 sound/pci/sis7019.c format = SIS_CAPTURE_DMA_FORMAT_8BIT; format 791 sound/pci/sis7019.c format |= SIS_CAPTURE_DMA_FORMAT_MONO; format 802 sound/pci/sis7019.c writel(format, play_base + SIS_PLAY_DMA_FORMAT_CSO); format 823 sound/pci/sis7019.c u32 format, dma_addr, control; format 829 sound/pci/sis7019.c format = 0; format 830 sound/pci/sis7019.c if (snd_pcm_format_width(runtime->format) == 8) format 831 sound/pci/sis7019.c format = SIS_CAPTURE_DMA_FORMAT_8BIT; format 832 sound/pci/sis7019.c if (!snd_pcm_format_signed(runtime->format)) format 833 sound/pci/sis7019.c format |= SIS_CAPTURE_DMA_FORMAT_UNSIGNED; format 835 sound/pci/sis7019.c format |= SIS_CAPTURE_DMA_FORMAT_MONO; format 853 sound/pci/sis7019.c writel(format, rec_base + SIS_CAPTURE_DMA_FORMAT_CSO); format 201 sound/pci/sonicvibes.c unsigned char format; format 457 sound/pci/sonicvibes.c sonic->format = inb(SV_REG(sonic, DATA)); format 460 sound/pci/sonicvibes.c sonic->format = (sonic->format & mask) | value; format 461 sound/pci/sonicvibes.c outb(sonic->format, SV_REG(sonic, DATA)); format 707 sound/pci/sonicvibes.c if (snd_pcm_format_width(runtime->format) == 16) format 732 sound/pci/sonicvibes.c if (snd_pcm_format_width(runtime->format) == 16) format 757 sound/pci/trident/trident_main.c if (snd_pcm_format_width(runtime->format) == 16) format 759 sound/pci/trident/trident_main.c if (snd_pcm_format_signed(runtime->format)) format 1068 sound/pci/trident/trident_main.c if (snd_pcm_format_width(runtime->format) == 16) { format 1080 sound/pci/trident/trident_main.c if (snd_pcm_format_width(runtime->format) == 16) format 1082 sound/pci/trident/trident_main.c if (snd_pcm_format_signed(runtime->format)) format 972 sound/pci/via82xx.c (runtime->format == SNDRV_PCM_FORMAT_S16_LE ? VIA_REG_TYPE_16BIT : 0) | format 1054 sound/pci/via82xx.c outl((runtime->format == SNDRV_PCM_FORMAT_S16_LE ? VIA8233_REG_TYPE_16BIT : 0) | /* format */ format 1084 sound/pci/via82xx.c fmt = (runtime->format == SNDRV_PCM_FORMAT_S16_LE) ? format 1128 sound/pci/via82xx.c outl((runtime->format == SNDRV_PCM_FORMAT_S16_LE ? VIA8233_REG_TYPE_16BIT : 0) | format 173 sound/pci/ymfpci/ymfpci.h __le32 format; format 488 sound/pci/ymfpci/ymfpci_main.c u32 format; format 517 sound/pci/ymfpci/ymfpci_main.c format = runtime->channels == 2 ? 0x00010000 : 0; format 518 sound/pci/ymfpci/ymfpci_main.c if (snd_pcm_format_width(runtime->format) == 8) format 519 sound/pci/ymfpci/ymfpci_main.c format |= 0x80000000; format 526 sound/pci/ymfpci/ymfpci_main.c format |= 0x10000000; format 529 sound/pci/ymfpci/ymfpci_main.c (format & 0x10000000) == 0) { format 534 sound/pci/ymfpci/ymfpci_main.c format |= 1; format 539 sound/pci/ymfpci/ymfpci_main.c bank->format = cpu_to_le32(format); format 708 sound/pci/ymfpci/ymfpci_main.c u32 rate, format; format 716 sound/pci/ymfpci/ymfpci_main.c format = 0; format 718 sound/pci/ymfpci/ymfpci_main.c format |= 2; format 721 sound/pci/ymfpci/ymfpci_main.c if (snd_pcm_format_width(runtime->format) == 8) format 722 sound/pci/ymfpci/ymfpci_main.c format |= 1; format 727 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_writel(chip, YDSXGR_RECFORMAT, format); format 731 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_writel(chip, YDSXGR_ADCFORMAT, format); format 118 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c chip->pcm_little = snd_pcm_format_little_endian(runtime->format) > 0; format 120 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c chip->pcm_swab = snd_pcm_format_big_endian(runtime->format) > 0; format 125 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c if (snd_pcm_format_unsigned(runtime->format)) format 133 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c switch (runtime->format) { format 143 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c switch (runtime->format) { format 163 sound/ppc/pmac.c out_le32(&chip->awacs->byteswap, chip->format == SNDRV_PCM_FORMAT_S16_LE ? 1 : 0); format 217 sound/ppc/pmac.c astr->cur_formats = 1 << runtime->format; format 219 sound/ppc/pmac.c chip->format = runtime->format; format 112 sound/ppc/pmac.h int format; /* current format */ format 448 sound/ppc/snd_ps3.c snd_pcm_format_width(substream->runtime->format)); format 474 sound/ppc/snd_ps3.c switch (snd_pcm_format_width(substream->runtime->format)) { format 483 sound/ppc/snd_ps3.c snd_pcm_format_width(substream->runtime->format)); format 561 sound/ppc/snd_ps3.c ret = snd_pcm_format_size(substream->runtime->format, format 569 sound/ppc/snd_ps3.c snd_pcm_format_size(substream->runtime->format, rate), format 387 sound/sh/aica.c if ((substream->runtime)->format == SNDRV_PCM_FORMAT_S16_LE) format 339 sound/soc/bcm/bcm2835-i2s.c unsigned int mode, format; format 431 sound/soc/bcm/bcm2835-i2s.c format = BCM2835_I2S_CHEN; format 434 sound/soc/bcm/bcm2835-i2s.c format |= BCM2835_I2S_CHWEX; format 436 sound/soc/bcm/bcm2835-i2s.c format |= BCM2835_I2S_CHWID((data_length-8)&0xf); format 439 sound/soc/bcm/bcm2835-i2s.c format = BCM2835_I2S_CH1(format) | BCM2835_I2S_CH2(format); format 517 sound/soc/bcm/bcm2835-i2s.c format format 521 sound/soc/bcm/bcm2835-i2s.c format format 62 sound/soc/codecs/ak4104.c unsigned int format) format 70 sound/soc/codecs/ak4104.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 85 sound/soc/codecs/ak4104.c if ((format & SND_SOC_DAIFMT_MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS) format 155 sound/soc/codecs/ak4118.c unsigned int format) format 159 sound/soc/codecs/ak4118.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 177 sound/soc/codecs/ak4118.c unsigned int format) format 181 sound/soc/codecs/ak4118.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 197 sound/soc/codecs/ak4118.c unsigned int format) format 204 sound/soc/codecs/ak4118.c switch (format & SND_SOC_DAIFMT_MASTER_MASK) { format 207 sound/soc/codecs/ak4118.c dif = ak4118_set_dai_fmt_master(ak4118, format); format 211 sound/soc/codecs/ak4118.c dif = ak4118_set_dai_fmt_slave(ak4118, format); format 321 sound/soc/codecs/ak4458.c u8 format; format 332 sound/soc/codecs/ak4458.c format = AK4458_DIF_24BIT_I2S; format 334 sound/soc/codecs/ak4458.c format = AK4458_DIF_16BIT_LSB; format 339 sound/soc/codecs/ak4458.c format = AK4458_DIF_32BIT_I2S; format 342 sound/soc/codecs/ak4458.c format = AK4458_DIF_32BIT_MSB; format 345 sound/soc/codecs/ak4458.c format = AK4458_DIF_32BIT_LSB; format 348 sound/soc/codecs/ak4458.c format = AK4458_DIF_32BIT_MSB; format 359 sound/soc/codecs/ak4458.c AK4458_DIF_MASK, format); format 518 sound/soc/codecs/ak4671.c u8 format; format 535 sound/soc/codecs/ak4671.c format = snd_soc_component_read32(component, AK4671_FORMAT_SELECT); format 536 sound/soc/codecs/ak4671.c format &= ~AK4671_DIF; format 540 sound/soc/codecs/ak4671.c format |= AK4671_DIF_I2S_MODE; format 543 sound/soc/codecs/ak4671.c format |= AK4671_DIF_MSB_MODE; format 546 sound/soc/codecs/ak4671.c format |= AK4671_DIF_DSP_MODE; format 547 sound/soc/codecs/ak4671.c format |= AK4671_BCKP; format 548 sound/soc/codecs/ak4671.c format |= AK4671_MSBS; format 556 sound/soc/codecs/ak4671.c snd_soc_component_write(component, AK4671_FORMAT_SELECT, format); format 84 sound/soc/codecs/ak5386.c unsigned int format) format 88 sound/soc/codecs/ak5386.c format &= SND_SOC_DAIFMT_FORMAT_MASK; format 89 sound/soc/codecs/ak5386.c if (format != SND_SOC_DAIFMT_LEFT_J && format 90 sound/soc/codecs/ak5386.c format != SND_SOC_DAIFMT_I2S) { format 152 sound/soc/codecs/ak5558.c u8 format; format 169 sound/soc/codecs/ak5558.c format = AK5558_DIF_I2S_MODE; format 172 sound/soc/codecs/ak5558.c format = AK5558_DIF_MSB_MODE; format 175 sound/soc/codecs/ak5558.c format = AK5558_DIF_MSB_MODE; format 181 sound/soc/codecs/ak5558.c snd_soc_component_update_bits(component, AK5558_02_CONTROL1, AK5558_DIF, format); format 33 sound/soc/codecs/cs4265.c u8 format; format 377 sound/soc/codecs/cs4265.c cs4265->format = iface; format 412 sound/soc/codecs/cs4265.c ((cs4265->format & SND_SOC_DAIFMT_FORMAT_MASK) format 429 sound/soc/codecs/cs4265.c switch (cs4265->format & SND_SOC_DAIFMT_FORMAT_MASK) { format 278 sound/soc/codecs/cs4270.c unsigned int format) format 284 sound/soc/codecs/cs4270.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 287 sound/soc/codecs/cs4270.c cs4270->mode = format & SND_SOC_DAIFMT_FORMAT_MASK; format 295 sound/soc/codecs/cs4270.c switch (format & SND_SOC_DAIFMT_MASTER_MASK) { format 208 sound/soc/codecs/cs4271.c unsigned int format) format 215 sound/soc/codecs/cs4271.c switch (format & SND_SOC_DAIFMT_MASTER_MASK) { format 228 sound/soc/codecs/cs4271.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 278 sound/soc/codecs/cs42l51.c unsigned int format) format 283 sound/soc/codecs/cs42l51.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 287 sound/soc/codecs/cs42l51.c cs42l51->audio_mode = format & SND_SOC_DAIFMT_FORMAT_MASK; format 294 sound/soc/codecs/cs42l51.c switch (format & SND_SOC_DAIFMT_MASTER_MASK) { format 35 sound/soc/codecs/cs42l52.c u8 spc, format, spfs; format 781 sound/soc/codecs/cs42l52.c cs42l52->config.format = iface; format 782 sound/soc/codecs/cs42l52.c snd_soc_component_write(component, CS42L52_IFACE_CTL1, cs42l52->config.format); format 1037 sound/soc/codecs/cs42l52.c cs42l52->config.format = CS42L52_DEFAULT_FORMAT; format 938 sound/soc/codecs/cs42l73.c unsigned int inv, format; format 957 sound/soc/codecs/cs42l73.c format = (fmt & SND_SOC_DAIFMT_FORMAT_MASK); format 960 sound/soc/codecs/cs42l73.c switch (format) { format 985 sound/soc/codecs/cs42l73.c switch (format) { format 215 sound/soc/codecs/cs42xx8.c unsigned int format) format 222 sound/soc/codecs/cs42xx8.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 245 sound/soc/codecs/cs42xx8.c switch (format & SND_SOC_DAIFMT_MASTER_MASK) { format 46 sound/soc/codecs/cs4341.c static int cs4341_set_fmt(struct snd_soc_dai *dai, unsigned int format) format 51 sound/soc/codecs/cs4341.c switch (format & SND_SOC_DAIFMT_MASTER_MASK) { format 58 sound/soc/codecs/cs4341.c switch (format & SND_SOC_DAIFMT_INV_MASK) { format 65 sound/soc/codecs/cs4341.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 69 sound/soc/codecs/cs4341.c cs4341->fmt = format & SND_SOC_DAIFMT_FORMAT_MASK; format 72 sound/soc/codecs/cs4349.c unsigned int format) format 78 sound/soc/codecs/cs4349.c fmt = format & SND_SOC_DAIFMT_FORMAT_MASK; format 84 sound/soc/codecs/cs4349.c cs4349->mode = format & SND_SOC_DAIFMT_FORMAT_MASK; format 105 sound/soc/codecs/hdac_hdmi.c int format; format 472 sound/soc/codecs/hdac_hdmi.c int format; format 476 sound/soc/codecs/hdac_hdmi.c format = snd_hdac_calc_stream_format(params_rate(hparams), format 484 sound/soc/codecs/hdac_hdmi.c pcm->format = format; format 843 sound/soc/codecs/hdac_hdmi.c AC_VERB_SET_STREAM_FORMAT, pcm->format); format 119 sound/soc/codecs/max98373.c unsigned int format = 0; format 143 sound/soc/codecs/max98373.c format = MAX98373_PCM_FORMAT_I2S; format 146 sound/soc/codecs/max98373.c format = MAX98373_PCM_FORMAT_LJ; format 149 sound/soc/codecs/max98373.c format = MAX98373_PCM_FORMAT_TDM_MODE1; format 152 sound/soc/codecs/max98373.c format = MAX98373_PCM_FORMAT_TDM_MODE0; format 161 sound/soc/codecs/max98373.c format << MAX98373_PCM_MODE_CFG_FORMAT_SHIFT); format 144 sound/soc/codecs/max98927.c unsigned int format = 0; format 187 sound/soc/codecs/max98927.c format = MAX98927_PCM_FORMAT_I2S; format 190 sound/soc/codecs/max98927.c format = MAX98927_PCM_FORMAT_LJ; format 193 sound/soc/codecs/max98927.c format = MAX98927_PCM_FORMAT_TDM_MODE1; format 196 sound/soc/codecs/max98927.c format = MAX98927_PCM_FORMAT_TDM_MODE0; format 216 sound/soc/codecs/max98927.c format << MAX98927_PCM_MODE_CFG_FORMAT_SHIFT); format 75 sound/soc/codecs/pcm1681.c unsigned int format; format 134 sound/soc/codecs/pcm1681.c unsigned int format) format 140 sound/soc/codecs/pcm1681.c if ((format & SND_SOC_DAIFMT_MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS) { format 145 sound/soc/codecs/pcm1681.c priv->format = format; format 174 sound/soc/codecs/pcm1681.c switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) { format 28 sound/soc/codecs/pcm1789.c unsigned int format; format 53 sound/soc/codecs/pcm1789.c unsigned int format) format 58 sound/soc/codecs/pcm1789.c priv->format = format; format 83 sound/soc/codecs/pcm1789.c switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) { format 64 sound/soc/codecs/pcm179x.c unsigned int format; format 69 sound/soc/codecs/pcm179x.c unsigned int format) format 74 sound/soc/codecs/pcm179x.c priv->format = format; format 103 sound/soc/codecs/pcm179x.c switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) { format 268 sound/soc/codecs/pcm186x.c snd_pcm_format_t format = params_format(params); format 277 sound/soc/codecs/pcm186x.c __func__, rate, format, width, channels); format 358 sound/soc/codecs/pcm186x.c static int pcm186x_set_fmt(struct snd_soc_dai *dai, unsigned int format) format 365 sound/soc/codecs/pcm186x.c dev_dbg(component->dev, "%s() format=0x%x\n", __func__, format); format 368 sound/soc/codecs/pcm186x.c switch (format & SND_SOC_DAIFMT_MASTER_MASK) { format 386 sound/soc/codecs/pcm186x.c switch (format & SND_SOC_DAIFMT_INV_MASK) { format 395 sound/soc/codecs/pcm186x.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 317 sound/soc/codecs/pcm3168a.c static int pcm3168a_set_dai_fmt(struct snd_soc_dai *dai, unsigned int format) format 324 sound/soc/codecs/pcm3168a.c switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { format 345 sound/soc/codecs/pcm3168a.c switch (format & SND_SOC_DAIFMT_MASTER_MASK) { format 357 sound/soc/codecs/pcm3168a.c switch (format & SND_SOC_DAIFMT_INV_MASK) { format 1282 sound/soc/codecs/rt1011.c unsigned int r0_integer, r0_factor, format; format 1297 sound/soc/codecs/rt1011.c format = 2147483648U; /* 2^24 * 128 */ format 1298 sound/soc/codecs/rt1011.c r0_integer = format / rt1011->r0_reg / 128; format 1299 sound/soc/codecs/rt1011.c r0_factor = ((format / rt1011->r0_reg * 100) / 128) format 2039 sound/soc/codecs/rt1011.c unsigned int r0_integer, r0_factor, format; format 2146 sound/soc/codecs/rt1011.c format = 2147483648U; /* 2^24 * 128 */ format 2147 sound/soc/codecs/rt1011.c r0_integer = format / r0[0] / 128; format 2148 sound/soc/codecs/rt1011.c r0_factor = ((format / r0[0] * 100) / 128) format 70 sound/soc/codecs/si476x.c u16 format = 0; format 77 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_DSP_A; format 80 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_DSP_B; format 83 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_I2S; format 86 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_RIGHT_J; format 89 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_LEFT_J; format 102 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_IB; format 115 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_IB | format 119 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_IB; format 122 sound/soc/codecs/si476x.c format |= SI476X_DAUDIO_MODE_IF; format 136 sound/soc/codecs/si476x.c format); format 148 sound/soc/codecs/sta32x.c unsigned int format; format 618 sound/soc/codecs/sta32x.c sta32x->format = fmt & SND_SOC_DAIFMT_FORMAT_MASK; format 703 sound/soc/codecs/sta32x.c switch (sta32x->format) { format 718 sound/soc/codecs/sta32x.c switch (sta32x->format) { format 733 sound/soc/codecs/sta32x.c switch (sta32x->format) { format 748 sound/soc/codecs/sta32x.c switch (sta32x->format) { format 171 sound/soc/codecs/sta350.c unsigned int format; format 647 sound/soc/codecs/sta350.c sta350->format = fmt & SND_SOC_DAIFMT_FORMAT_MASK; format 732 sound/soc/codecs/sta350.c switch (sta350->format) { format 747 sound/soc/codecs/sta350.c switch (sta350->format) { format 762 sound/soc/codecs/sta350.c switch (sta350->format) { format 777 sound/soc/codecs/sta350.c switch (sta350->format) { format 242 sound/soc/codecs/tas5086.c unsigned int format; format 315 sound/soc/codecs/tas5086.c unsigned int format) format 321 sound/soc/codecs/tas5086.c if ((format & SND_SOC_DAIFMT_MASTER_MASK) != SND_SOC_DAIFMT_CBS_CFS) { format 327 sound/soc/codecs/tas5086.c priv->format = format; format 407 sound/soc/codecs/tas5086.c switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) { format 50 sound/soc/codecs/tas571x.c unsigned int format; format 265 sound/soc/codecs/tas571x.c static int tas571x_set_dai_fmt(struct snd_soc_dai *dai, unsigned int format) format 269 sound/soc/codecs/tas571x.c priv->format = format; format 281 sound/soc/codecs/tas571x.c switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) { format 878 sound/soc/codecs/tlv320dac33.c switch (substream->runtime->format) { format 888 sound/soc/codecs/tlv320dac33.c substream->runtime->format); format 1020 sound/soc/codecs/tlv320dac33.c if (substream->runtime->format == SNDRV_PCM_FORMAT_S16_LE) format 814 sound/soc/codecs/tscs42xx.c snd_pcm_format_t format) format 819 sound/soc/codecs/tscs42xx.c switch (format) { format 3124 sound/soc/codecs/tscs454.c snd_pcm_format_t format, format 3131 sound/soc/codecs/tscs454.c switch (format) { format 1695 sound/soc/codecs/twl4030.c u8 mode, old_mode, format, old_format; format 1699 sound/soc/codecs/twl4030.c format = twl4030_read(component, TWL4030_REG_AUDIO_IF); format 1705 sound/soc/codecs/twl4030.c ((format & TWL4030_AIF_FORMAT) == TWL4030_AIF_FORMAT_TDM)) format 1759 sound/soc/codecs/twl4030.c format = old_format; format 1760 sound/soc/codecs/twl4030.c format &= ~TWL4030_DATA_WIDTH; format 1763 sound/soc/codecs/twl4030.c format |= TWL4030_DATA_WIDTH_16S_16W; format 1766 sound/soc/codecs/twl4030.c format |= TWL4030_DATA_WIDTH_32S_24W; format 1774 sound/soc/codecs/twl4030.c if (format != old_format || mode != old_mode) { format 1782 sound/soc/codecs/twl4030.c twl4030_write(component, TWL4030_REG_AUDIO_IF, format); format 1786 sound/soc/codecs/twl4030.c twl4030_write(component, TWL4030_REG_AUDIO_IF, format); format 1837 sound/soc/codecs/twl4030.c u8 old_format, format; format 1841 sound/soc/codecs/twl4030.c format = old_format; format 1846 sound/soc/codecs/twl4030.c format &= ~(TWL4030_AIF_SLAVE_EN); format 1847 sound/soc/codecs/twl4030.c format &= ~(TWL4030_CLK256FS_EN); format 1850 sound/soc/codecs/twl4030.c format |= TWL4030_AIF_SLAVE_EN; format 1851 sound/soc/codecs/twl4030.c format |= TWL4030_CLK256FS_EN; format 1858 sound/soc/codecs/twl4030.c format &= ~TWL4030_AIF_FORMAT; format 1861 sound/soc/codecs/twl4030.c format |= TWL4030_AIF_FORMAT_CODEC; format 1864 sound/soc/codecs/twl4030.c format |= TWL4030_AIF_FORMAT_TDM; format 1870 sound/soc/codecs/twl4030.c if (format != old_format) { format 1877 sound/soc/codecs/twl4030.c twl4030_write(component, TWL4030_REG_AUDIO_IF, format); format 1880 sound/soc/codecs/twl4030.c twl4030_write(component, TWL4030_REG_AUDIO_IF, format); format 2035 sound/soc/codecs/twl4030.c u8 old_format, format; format 2039 sound/soc/codecs/twl4030.c format = old_format; format 2044 sound/soc/codecs/twl4030.c format &= ~(TWL4030_VIF_SLAVE_EN); format 2047 sound/soc/codecs/twl4030.c format |= TWL4030_VIF_SLAVE_EN; format 2056 sound/soc/codecs/twl4030.c format &= ~(TWL4030_VIF_FORMAT); format 2059 sound/soc/codecs/twl4030.c format |= TWL4030_VIF_FORMAT; format 2065 sound/soc/codecs/twl4030.c if (format != old_format) { format 2072 sound/soc/codecs/twl4030.c twl4030_write(component, TWL4030_REG_VOICE_IF, format); format 2075 sound/soc/codecs/twl4030.c twl4030_write(component, TWL4030_REG_VOICE_IF, format); format 219 sound/soc/codecs/wm8804.c u16 format, master, bcp, lrp; format 225 sound/soc/codecs/wm8804.c format = 0x2; format 228 sound/soc/codecs/wm8804.c format = 0x0; format 231 sound/soc/codecs/wm8804.c format = 0x1; format 235 sound/soc/codecs/wm8804.c format = 0x3; format 243 sound/soc/codecs/wm8804.c snd_soc_component_update_bits(component, WM8804_AIFTX, 0x3, format); format 244 sound/soc/codecs/wm8804.c snd_soc_component_update_bits(component, WM8804_AIFRX, 0x3, format); format 572 sound/soc/codecs/wm8983.c u16 format, master, bcp, lrp; format 576 sound/soc/codecs/wm8983.c format = 0x2; format 579 sound/soc/codecs/wm8983.c format = 0x0; format 582 sound/soc/codecs/wm8983.c format = 0x1; format 586 sound/soc/codecs/wm8983.c format = 0x3; format 594 sound/soc/codecs/wm8983.c WM8983_FMT_MASK, format << WM8983_FMT_SHIFT); format 664 sound/soc/codecs/wm8985.c u16 format, master, bcp, lrp; format 670 sound/soc/codecs/wm8985.c format = 0x2; format 673 sound/soc/codecs/wm8985.c format = 0x0; format 676 sound/soc/codecs/wm8985.c format = 0x1; format 680 sound/soc/codecs/wm8985.c format = 0x3; format 688 sound/soc/codecs/wm8985.c WM8985_FMT_MASK, format << WM8985_FMT_SHIFT); format 3484 sound/soc/codecs/wm_adsp.c if (!(desc->formats & (1 << params->codec.format))) format 3494 sound/soc/codecs/wm_adsp.c params->codec.sample_rate, params->codec.format); format 107 sound/soc/fsl/mpc5200_psc_i2s.c static int psc_i2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int format) format 111 sound/soc/fsl/mpc5200_psc_i2s.c cpu_dai, format); format 112 sound/soc/fsl/mpc5200_psc_i2s.c return (format == SND_SOC_DAIFMT_I2S) ? 0 : -EINVAL; format 30 sound/soc/fsl/wm1133-ev1.c snd_pcm_format_t format; format 82 sound/soc/fsl/wm1133-ev1.c snd_pcm_format_t format = params_format(params); format 89 sound/soc/fsl/wm1133-ev1.c format == wm8350_audio[i].format && format 47 sound/soc/hisilicon/hi6210-i2s.c int format; format 245 sound/soc/hisilicon/hi6210-i2s.c i2s->format = fmt; format 246 sound/soc/hisilicon/hi6210-i2s.c i2s->master = (i2s->format & SND_SOC_DAIFMT_MASTER_MASK) == format 376 sound/soc/hisilicon/hi6210-i2s.c switch (i2s->format & SND_SOC_DAIFMT_MASTER_MASK) { format 394 sound/soc/hisilicon/hi6210-i2s.c switch (i2s->format & SND_SOC_DAIFMT_FORMAT_MASK) { format 223 sound/soc/img/img-i2s-in.c snd_pcm_format_t format; format 226 sound/soc/img/img-i2s-in.c format = params_format(params); format 230 sound/soc/img/img-i2s-in.c switch (format) { format 221 sound/soc/img/img-i2s-out.c snd_pcm_format_t format; format 224 sound/soc/img/img-i2s-out.c format = params_format(params); format 228 sound/soc/img/img-i2s-out.c if (format != SNDRV_PCM_FORMAT_S32_LE) format 670 sound/soc/img/img-spdif-in.c snd_pcm_format_t format; format 674 sound/soc/img/img-spdif-in.c format = params_format(params); format 676 sound/soc/img/img-spdif-in.c if (format != SNDRV_PCM_FORMAT_S32_LE) format 239 sound/soc/img/img-spdif-out.c snd_pcm_format_t format; format 242 sound/soc/img/img-spdif-out.c format = params_format(params); format 246 sound/soc/img/img-spdif-out.c rate, channels, format); format 248 sound/soc/img/img-spdif-out.c if (format != SNDRV_PCM_FORMAT_S32_LE) format 789 sound/soc/intel/atom/sst-atom-controls.c int format; format 791 sound/soc/intel/atom/sst-atom-controls.c format = fmt & SND_SOC_DAIFMT_INV_MASK; format 792 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "Enter:%s, format=%x\n", __func__, format); format 794 sound/soc/intel/atom/sst-atom-controls.c switch (format) { format 802 sound/soc/intel/atom/sst-atom-controls.c dev_err(dai->dev, "Invalid frame sync polarity %d\n", format); format 810 sound/soc/intel/atom/sst-atom-controls.c int format; format 812 sound/soc/intel/atom/sst-atom-controls.c format = (fmt & SND_SOC_DAIFMT_MASTER_MASK); format 813 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "Enter:%s, format=%x\n", __func__, format); format 815 sound/soc/intel/atom/sst-atom-controls.c switch (format) { format 821 sound/soc/intel/atom/sst-atom-controls.c dev_err(dai->dev, "Invalid ssp protocol: %d\n", format); format 1039 sound/soc/intel/atom/sst-atom-controls.c cmd.param.part.cfg.format = ids->format; /* stereo/Mono */ format 385 sound/soc/intel/atom/sst-atom-controls.h u8 format:3; format 578 sound/soc/intel/atom/sst-atom-controls.h u8 format; format 651 sound/soc/intel/atom/sst-atom-controls.h .format = wformat,} \ format 669 sound/soc/intel/atom/sst-atom-controls.h #define SST_PATH_MEDIA_LOOP_OUTPUT(name, task_id, loc_id, format, event) \ format 670 sound/soc/intel/atom/sst-atom-controls.h SST_PATH_MEDIA_LOOP(name, task_id, loc_id, format, event, SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD) format 127 sound/soc/intel/atom/sst-mfld-platform-compress.c if (params->codec.format == SND_AUDIOSTREAMFORMAT_MP4ADTS) format 130 sound/soc/intel/atom/sst-mfld-platform-compress.c else if (params->codec.format == SND_AUDIOSTREAMFORMAT_RAW) format 134 sound/soc/intel/atom/sst-mfld-platform-compress.c pr_err("Undefined format%d\n", params->codec.format); format 1219 sound/soc/intel/boards/bytcr_rt5640.c struct acpi_buffer format = {sizeof("NN"), "NN"}; format 1229 sound/soc/intel/boards/bytcr_rt5640.c pkg_ctx.format = &format; format 352 sound/soc/intel/boards/bytcr_rt5651.c snd_pcm_format_t format = params_format(params); format 356 sound/soc/intel/boards/bytcr_rt5651.c if (format == SNDRV_PCM_FORMAT_S16_LE) format 942 sound/soc/intel/boards/bytcr_rt5651.c struct acpi_buffer format = {sizeof("NN"), "NN"}; format 952 sound/soc/intel/boards/bytcr_rt5651.c pkg_ctx.format = &format; format 604 sound/soc/intel/boards/cht_bsw_rt5645.c struct acpi_buffer format = {sizeof("NN"), "NN"}; format 614 sound/soc/intel/boards/cht_bsw_rt5645.c pkg_ctx.format = &format; format 1039 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.bitdepth = bits; format 1051 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.ch_num = channels; format 1063 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.frequency = rate; format 1076 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.map = map; format 1077 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.config = config; format 1089 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.style = style; format 1101 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.valid_bit = bits; format 349 sound/soc/intel/haswell/sst-haswell-ipc.h struct sst_hsw_audio_data_format_ipc format; format 743 sound/soc/intel/haswell/sst-haswell-pcm.c snd_pcm_format_set_silence(runtime->format, format 753 sound/soc/intel/haswell/sst-haswell-pcm.c snd_pcm_format_set_silence(runtime->format, format 761 sound/soc/intel/haswell/sst-haswell-pcm.c snd_pcm_format_set_silence(runtime->format, format 71 sound/soc/intel/skylake/skl-messages.c static int skl_dsp_prepare(struct device *dev, unsigned int format, format 94 sound/soc/intel/skylake/skl-messages.c ret = snd_hdac_dsp_prepare(stream, format, size, dmab); format 451 sound/soc/intel/skylake/skl-messages.c struct skl_module_fmt *format = &fmt->inputs[0].fmt; format 453 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.number_of_channels = format->channels; format 455 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.s_freq = format->s_freq; format 456 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.bit_depth = format->bit_depth; format 457 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.valid_bit_depth = format->valid_bit_depth; format 458 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.ch_cfg = format->ch_cfg; format 459 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.sample_type = format->sample_type; format 462 sound/soc/intel/skylake/skl-messages.c format->bit_depth, format->valid_bit_depth, format 463 sound/soc/intel/skylake/skl-messages.c format->ch_cfg); format 465 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.channel_map = format->ch_map; format 467 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.interleaving = format->interleaving_style; format 666 sound/soc/intel/skylake/skl-messages.c struct skl_module_fmt *format = &fmt->outputs[0].fmt; format 668 sound/soc/intel/skylake/skl-messages.c out_fmt->number_of_channels = (u8)format->channels; format 669 sound/soc/intel/skylake/skl-messages.c out_fmt->s_freq = format->s_freq; format 670 sound/soc/intel/skylake/skl-messages.c out_fmt->bit_depth = format->bit_depth; format 671 sound/soc/intel/skylake/skl-messages.c out_fmt->valid_bit_depth = format->valid_bit_depth; format 672 sound/soc/intel/skylake/skl-messages.c out_fmt->ch_cfg = format->ch_cfg; format 674 sound/soc/intel/skylake/skl-messages.c out_fmt->channel_map = format->ch_map; format 675 sound/soc/intel/skylake/skl-messages.c out_fmt->interleaving = format->interleaving_style; format 676 sound/soc/intel/skylake/skl-messages.c out_fmt->sample_type = format->sample_type; format 679 sound/soc/intel/skylake/skl-messages.c out_fmt->number_of_channels, format->s_freq, format->bit_depth); format 1089 sound/soc/intel/skylake/skl-messages.c struct skl_module_fmt *format) format 1091 sound/soc/intel/skylake/skl-messages.c pin_fmt->number_of_channels = format->channels; format 1092 sound/soc/intel/skylake/skl-messages.c pin_fmt->s_freq = format->s_freq; format 1093 sound/soc/intel/skylake/skl-messages.c pin_fmt->bit_depth = format->bit_depth; format 1094 sound/soc/intel/skylake/skl-messages.c pin_fmt->valid_bit_depth = format->valid_bit_depth; format 1095 sound/soc/intel/skylake/skl-messages.c pin_fmt->ch_cfg = format->ch_cfg; format 1096 sound/soc/intel/skylake/skl-messages.c pin_fmt->sample_type = format->sample_type; format 1097 sound/soc/intel/skylake/skl-messages.c pin_fmt->channel_map = format->ch_map; format 1098 sound/soc/intel/skylake/skl-messages.c pin_fmt->interleaving = format->interleaving_style; format 1119 sound/soc/intel/skylake/skl-messages.c struct skl_module_fmt *format; format 1151 sound/soc/intel/skylake/skl-messages.c format = &fmt->inputs[0].fmt; format 1152 sound/soc/intel/skylake/skl-messages.c fill_pin_params(&(pin_fmt.src_fmt), format); format 1154 sound/soc/intel/skylake/skl-messages.c format = &fmt->outputs[src_index].fmt; format 1155 sound/soc/intel/skylake/skl-messages.c fill_pin_params(&(pin_fmt.dst_fmt), format); format 150 sound/soc/intel/skylake/skl-pcm.c params->ch, params->format, params->host_bps, 0); format 153 sound/soc/intel/skylake/skl-pcm.c format_val, params->s_freq, params->ch, params->format); format 197 sound/soc/intel/skylake/skl-pcm.c params->format, params->link_bps, 0); format 200 sound/soc/intel/skylake/skl-pcm.c format_val, params->s_freq, params->ch, params->format); format 323 sound/soc/intel/skylake/skl-pcm.c runtime->rate, runtime->channels, runtime->format); format 333 sound/soc/intel/skylake/skl-pcm.c p_params.format = params_format(params); format 591 sound/soc/intel/skylake/skl-pcm.c p_params.format = params_format(params); format 160 sound/soc/intel/skylake/skl-sst-dsp.h int (*prepare)(struct device *dev, unsigned int format, format 1520 sound/soc/intel/skylake/skl-topology.c pipe->p_params->format = params->format; format 1539 sound/soc/intel/skylake/skl-topology.c struct skl_module_fmt *format = NULL; format 1550 sound/soc/intel/skylake/skl-topology.c format = &mconfig->module->formats[0].inputs[0].fmt; format 1552 sound/soc/intel/skylake/skl-topology.c format = &mconfig->module->formats[0].outputs[0].fmt; format 1555 sound/soc/intel/skylake/skl-topology.c format->s_freq = params->s_freq; format 1556 sound/soc/intel/skylake/skl-topology.c format->channels = params->ch; format 1557 sound/soc/intel/skylake/skl-topology.c format->valid_bit_depth = skl_get_bit_depth(params->s_fmt); format 1563 sound/soc/intel/skylake/skl-topology.c switch (format->valid_bit_depth) { format 1565 sound/soc/intel/skylake/skl-topology.c format->bit_depth = format->valid_bit_depth; format 1570 sound/soc/intel/skylake/skl-topology.c format->bit_depth = SKL_DEPTH_32BIT; format 1575 sound/soc/intel/skylake/skl-topology.c format->valid_bit_depth); format 1580 sound/soc/intel/skylake/skl-topology.c res->ibs = (format->s_freq / 1000) * format 1581 sound/soc/intel/skylake/skl-topology.c (format->channels) * format 1582 sound/soc/intel/skylake/skl-topology.c (format->bit_depth >> 3); format 1584 sound/soc/intel/skylake/skl-topology.c res->obs = (format->s_freq / 1000) * format 1585 sound/soc/intel/skylake/skl-topology.c (format->channels) * format 1586 sound/soc/intel/skylake/skl-topology.c (format->bit_depth >> 3); format 271 sound/soc/intel/skylake/skl-topology.h snd_pcm_format_t format; format 145 sound/soc/intel/skylake/skl.h u32 format; format 202 sound/soc/jz4740/jz4740-i2s.c uint32_t format = 0; format 212 sound/soc/jz4740/jz4740-i2s.c format |= JZ_AIC_I2S_FMT_ENABLE_SYS_CLK; format 228 sound/soc/jz4740/jz4740-i2s.c format |= JZ_AIC_I2S_FMT_MSB; format 244 sound/soc/jz4740/jz4740-i2s.c jz4740_i2s_write(i2s, JZ_REG_AIC_I2S_FMT, format); format 247 sound/soc/mediatek/common/mtk-afe-fe-dai.c switch (substream->runtime->format) { format 260 sound/soc/mediatek/common/mtk-afe-fe-dai.c __func__, substream->runtime->format); format 278 sound/soc/mediatek/common/mtk-btcvsd.c if (runtime->format == SNDRV_PCM_FORMAT_S32_LE || format 279 sound/soc/mediatek/common/mtk-btcvsd.c runtime->format == SNDRV_PCM_FORMAT_U32_LE) format 54 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c static unsigned int get_i2s_wlen(snd_pcm_format_t format) format 56 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c return snd_pcm_format_physical_width(format) <= 16 ? format 713 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c snd_pcm_format_t format = params_format(params); format 720 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c rate, format); format 733 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c i2s_con |= get_i2s_wlen(format) << I2S_WLEN_SFT; format 741 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c i2s_con |= get_i2s_wlen(format) << I2S2_WLEN_SFT; format 749 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c i2s_con |= get_i2s_wlen(format) << I2S3_WLEN_SFT; format 756 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c i2s_con |= get_i2s_wlen(format) << I2S4_WLEN_SFT; format 763 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c i2s_con |= get_i2s_wlen(format) << I2S5_WLEN_SFT; format 72 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static unsigned int get_hdmi_wlen(snd_pcm_format_t format) format 74 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c return snd_pcm_format_physical_width(format) <= 16 ? format 78 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static unsigned int get_tdm_wlen(snd_pcm_format_t format) format 80 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c return snd_pcm_format_physical_width(format) <= 16 ? format 84 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static unsigned int get_tdm_channel_bck(snd_pcm_format_t format) format 86 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c return snd_pcm_format_physical_width(format) <= 16 ? format 90 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static unsigned int get_tdm_lrck_width(snd_pcm_format_t format) format 92 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c return snd_pcm_format_physical_width(format) - 1; format 477 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c snd_pcm_format_t format = params_format(params); format 491 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c snd_pcm_format_physical_width(format); format 501 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c tdm_id, rate, channels, format, format 517 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c tdm_con |= get_tdm_lrck_width(format) << LRCK_TDM_WIDTH_SFT; format 524 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c tdm_con |= get_tdm_wlen(format) << WLEN_SFT; format 526 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c tdm_con |= get_tdm_channel_bck(format) << CHANNEL_BCK_CYCLES_SFT; format 577 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c get_hdmi_wlen(format) << AFE_HDMI_OUT_BIT_WIDTH_SFT); format 72 sound/soc/qcom/lpass-cpu.c snd_pcm_format_t format = params_format(params); format 78 sound/soc/qcom/lpass-cpu.c bitwidth = snd_pcm_format_width(format); format 134 sound/soc/qcom/lpass-platform.c snd_pcm_format_t format = params_format(params); format 143 sound/soc/qcom/lpass-platform.c bitwidth = snd_pcm_format_width(format); format 845 sound/soc/qcom/qdsp6/q6asm.c int q6asm_open_write(struct audio_client *ac, uint32_t format, format 872 sound/soc/qcom/qdsp6/q6asm.c switch (format) { format 880 sound/soc/qcom/qdsp6/q6asm.c dev_err(ac->dev, "Invalid format 0x%x\n", format); format 1135 sound/soc/qcom/qdsp6/q6asm.c uint32_t format, uint16_t bits_per_sample) format 1162 sound/soc/qcom/qdsp6/q6asm.c switch (format) { format 1168 sound/soc/qcom/qdsp6/q6asm.c pr_err("Invalid format[%d]\n", format); format 1186 sound/soc/qcom/qdsp6/q6asm.c int q6asm_open_read(struct audio_client *ac, uint32_t format, format 1189 sound/soc/qcom/qdsp6/q6asm.c return __q6asm_open_read(ac, format, bits_per_sample); format 44 sound/soc/qcom/qdsp6/q6asm.h int q6asm_open_write(struct audio_client *ac, uint32_t format, format 47 sound/soc/qcom/qdsp6/q6asm.h int q6asm_open_read(struct audio_client *ac, uint32_t format, format 24 sound/soc/qcom/storm.c snd_pcm_format_t format = params_format(params); format 29 sound/soc/qcom/storm.c bitwidth = snd_pcm_format_width(format); format 360 sound/soc/sh/rcar/core.c switch (snd_pcm_format_width(runtime->format)) { format 429 sound/soc/sh/rcar/core.c if ((snd_pcm_format_width(runtime->format) != 16) || format 466 sound/soc/sh/rcar/core.c if (snd_pcm_format_width(runtime->format) != 24) format 417 sound/soc/sh/rcar/ssi.c width = snd_pcm_format_width(runtime->format); format 855 sound/soc/sh/rcar/ssi.c if (snd_pcm_format_width(runtime->format) == 24) format 101 sound/soc/sh/siu.h snd_pcm_format_t format; format 426 sound/soc/sh/siu_pcm.c siu_stream->format = rt->format; format 433 sound/soc/sh/siu_pcm.c siu_stream->format, rt->channels, (int)xfer_cnt); format 62 sound/soc/soc-acpi.c pkg_ctx->format, pkg_ctx->state); format 3201 sound/soc/soc-core.c unsigned int format = 0; format 3235 sound/soc/soc-core.c format |= of_fmt_table[i].val; format 3247 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_CONT; format 3249 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_GATED; format 3264 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_IB_IF; format 3267 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_IB_NF; format 3270 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_NB_IF; format 3294 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_CBM_CFM; format 3297 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_CBM_CFS; format 3300 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_CBS_CFM; format 3303 sound/soc/soc-core.c format |= SND_SOC_DAIFMT_CBS_CFS; format 3307 sound/soc/soc-core.c return format; format 3905 sound/soc/soc-dapm.c runtime->format = params_format(params); format 25 sound/soc/sof/intel/hda-dai.c snd_pcm_format_t format; format 132 sound/soc/sof/intel/hda-dai.c params->format, format 136 sound/soc/sof/intel/hda-dai.c format_val, params->s_freq, params->ch, params->format); format 249 sound/soc/sof/intel/hda-dai.c p_params.format = params_format(params); format 26 sound/soc/sof/intel/hda-loader.c static int cl_stream_prepare(struct snd_sof_dev *sdev, unsigned int format, format 57 sound/soc/sof/intel/hda-loader.c hstream->format_val = format; format 2384 sound/soc/sof/topology.c config->format |= SOF_DAI_FMT_CBM_CFM; format 2386 sound/soc/sof/topology.c config->format |= SOF_DAI_FMT_CBM_CFS; format 2390 sound/soc/sof/topology.c config->format |= SOF_DAI_FMT_CBS_CFM; format 2392 sound/soc/sof/topology.c config->format |= SOF_DAI_FMT_CBS_CFS; format 2398 sound/soc/sof/topology.c config->format |= SOF_DAI_FMT_IB_IF; format 2400 sound/soc/sof/topology.c config->format |= SOF_DAI_FMT_IB_NF; format 2403 sound/soc/sof/topology.c config->format |= SOF_DAI_FMT_NB_IF; format 2405 sound/soc/sof/topology.c config->format |= SOF_DAI_FMT_NB_NF; format 2484 sound/soc/sof/topology.c config->dai_index, config->format, format 2889 sound/soc/sof/topology.c config.format = le32_to_cpu(hw_config->fmt); format 31 sound/soc/spear/spdif_in.c u32 format; format 77 sound/soc/spear/spdif_in.c static void spdif_in_format(struct spdif_in_dev *host, u32 format) format 81 sound/soc/spear/spdif_in.c switch (format) { format 99 sound/soc/spear/spdif_in.c u32 format; format 104 sound/soc/spear/spdif_in.c format = params_format(params); format 105 sound/soc/spear/spdif_in.c host->saved_params.format = format; format 126 sound/soc/spear/spdif_in.c spdif_in_format(host, host->saved_params.format); format 300 sound/soc/sprd/sprd-pcm-compress.c compr_params.format = params->codec.id; format 30 sound/soc/sprd/sprd-pcm-dma.h u32 format; format 183 sound/soc/sti/sti_uniperif.c u64 format; format 187 sound/soc/sti/sti_uniperif.c format = SNDRV_PCM_FMTBIT_S16_LE; format 190 sound/soc/sti/sti_uniperif.c format = SNDRV_PCM_FMTBIT_S32_LE; format 198 sound/soc/sti/sti_uniperif.c maskp->bits[0] &= (u_int32_t)format; format 199 sound/soc/sti/sti_uniperif.c maskp->bits[1] &= (u_int32_t)(format >> 32); format 1393 sound/soc/sti/uniperif.h return (runtime->channels * snd_pcm_format_width(runtime->format) / 8); format 327 sound/soc/sti/uniperif_player.c switch (runtime->format) { format 426 sound/soc/sti/uniperif_player.c slot_width = snd_pcm_format_width(runtime->format); format 464 sound/soc/sti/uniperif_player.c switch (runtime->format) { format 91 sound/soc/sti/uniperif_reader.c switch (runtime->format) { format 117 sound/soc/sti/uniperif_reader.c switch (runtime->format) { format 178 sound/soc/stm/stm32_adfsdm.c snd_pcm_format_t format = priv->substream->runtime->format; format 180 sound/soc/stm/stm32_adfsdm.c if (format == SNDRV_PCM_FORMAT_S16_LE) format 188 sound/soc/stm/stm32_adfsdm.c if (format == SNDRV_PCM_FORMAT_S16_LE) format 198 sound/soc/stm/stm32_adfsdm.c if (format == SNDRV_PCM_FORMAT_S16_LE) format 506 sound/soc/stm/stm32_i2s.c int format = params_width(params); format 511 sound/soc/stm/stm32_i2s.c switch (format) { format 522 sound/soc/stm/stm32_i2s.c dev_err(cpu_dai->dev, "Unexpected format %d", format); format 905 sound/soc/stm/stm32_sai_sub.c int fs_active, offset, format; format 908 sound/soc/stm/stm32_sai_sub.c format = sai->fmt & SND_SOC_DAIFMT_FORMAT_MASK; format 912 sound/soc/stm/stm32_sai_sub.c if ((format == SND_SOC_DAIFMT_DSP_A) || format 913 sound/soc/stm/stm32_sai_sub.c (format == SND_SOC_DAIFMT_DSP_B)) format 168 sound/soc/sunxi/sun4i-i2s.c unsigned int format; format 442 sound/soc/sunxi/sun4i-i2s.c switch (i2s->format & SND_SOC_DAIFMT_FORMAT_MASK) { format 712 sound/soc/sunxi/sun4i-i2s.c i2s->format = fmt; format 938 sound/soc/ti/omap-mcbsp.c unsigned int format, div, framesize, master; format 1007 sound/soc/ti/omap-mcbsp.c format = mcbsp->fmt & SND_SOC_DAIFMT_FORMAT_MASK; format 1009 sound/soc/ti/omap-mcbsp.c if (channels == 2 && (format == SND_SOC_DAIFMT_I2S || format 1010 sound/soc/ti/omap-mcbsp.c format == SND_SOC_DAIFMT_LEFT_J)) { format 1061 sound/soc/ti/omap-mcbsp.c switch (format) { format 101 sound/soc/xilinx/xlnx_i2s.c u32 ch, format, data_width; format 127 sound/soc/xilinx/xlnx_i2s.c format = SNDRV_PCM_FMTBIT_S16_LE; format 130 sound/soc/xilinx/xlnx_i2s.c format = SNDRV_PCM_FMTBIT_S24_LE; format 139 sound/soc/xilinx/xlnx_i2s.c dai_drv->playback.formats = format; format 147 sound/soc/xilinx/xlnx_i2s.c dai_drv->capture.formats = format; format 600 sound/sparc/amd7930.c if (runtime->format == SNDRV_PCM_FORMAT_A_LAW) format 632 sound/sparc/amd7930.c if (runtime->format == SNDRV_PCM_FORMAT_A_LAW) format 534 sound/sparc/cs4231.c static unsigned char snd_cs4231_get_format(struct snd_cs4231 *chip, int format, format 540 sound/sparc/cs4231.c switch (format) { format 1587 sound/sparc/dbri.c snd_pcm_format_t format, unsigned int channels) format 1602 sound/sparc/dbri.c switch (format) { format 1620 sound/sparc/dbri.c printk(KERN_WARNING "DBRI: Unsupported format %d\n", format); format 23 sound/synth/emux/emux_oss.c static int snd_emux_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, format 190 sound/synth/emux/emux_oss.c snd_emux_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, format 207 sound/synth/emux/emux_oss.c if (format == GUS_PATCH) format 210 sound/synth/emux/emux_oss.c else if (format == SNDRV_OSS_SOUNDFONT_PATCH) { format 216 sound/usb/6fire/pcm.c if (alsa_rt->format == SNDRV_PCM_FORMAT_S24_LE) format 218 sound/usb/6fire/pcm.c else if (alsa_rt->format == SNDRV_PCM_FORMAT_S32_LE) format 254 sound/usb/6fire/pcm.c if (alsa_rt->format == SNDRV_PCM_FORMAT_S32_LE) format 256 sound/usb/6fire/pcm.c else if (alsa_rt->format == SNDRV_PCM_FORMAT_S24_LE) format 34 sound/usb/format.c u64 format, void *_fmt) format 45 sound/usb/format.c format = 1ULL << format; format 54 sound/usb/format.c if (format & UAC2_FORMAT_TYPE_I_RAW_DATA) { format 60 sound/usb/format.c format <<= 1; format 69 sound/usb/format.c if (format & UAC3_FORMAT_TYPE_I_RAW_DATA) format 72 sound/usb/format.c format <<= 1; format 80 sound/usb/format.c (format == 0 || format == (1 << UAC_FORMAT_TYPE_I_UNDEFINED))) { format 84 sound/usb/format.c format = 1 << UAC_FORMAT_TYPE_I_PCM; format 86 sound/usb/format.c if (format & (1 << UAC_FORMAT_TYPE_I_PCM)) { format 126 sound/usb/format.c if (format & (1 << UAC_FORMAT_TYPE_I_PCM8)) { format 134 sound/usb/format.c if (format & (1 << UAC_FORMAT_TYPE_I_IEEE_FLOAT)) { format 137 sound/usb/format.c if (format & (1 << UAC_FORMAT_TYPE_I_ALAW)) { format 140 sound/usb/format.c if (format & (1 << UAC_FORMAT_TYPE_I_MULAW)) { format 143 sound/usb/format.c if (format & ~0x3f) { format 146 sound/usb/format.c fp->iface, fp->altsetting, format); format 472 sound/usb/format.c struct audioformat *fp, u64 format, format 514 sound/usb/format.c fp->formats = parse_audio_format_i_type(chip, fp, format, _fmt); format 556 sound/usb/format.c u64 format, void *_fmt) format 560 sound/usb/format.c switch (format) { format 572 sound/usb/format.c fp->iface, fp->altsetting, format); format 605 sound/usb/format.c struct audioformat *fp, u64 format, format 614 sound/usb/format.c err = parse_audio_format_i(chip, fp, format, fmt); format 617 sound/usb/format.c err = parse_audio_format_ii(chip, fp, format, fmt); format 651 sound/usb/format.c u64 format = le64_to_cpu(as->bmFormats); format 658 sound/usb/format.c if (format & 0x7f) format 663 sound/usb/format.c err = parse_audio_format_i(chip, fp, format, as); format 6 sound/usb/format.h struct audioformat *fp, u64 format, format 264 sound/usb/hiface/pcm.c WARN_ON(alsa_rt->format != SNDRV_PCM_FORMAT_S32_LE); format 983 sound/usb/pcm.c hwc_debug(" > check: no supported format %d\n", fp->format); format 711 sound/usb/stream.c u64 format; format 734 sound/usb/stream.c format = le16_to_cpu(as->wFormatTag); /* remember the format value */ format 765 sound/usb/stream.c format = le32_to_cpu(as->bmFormats); format 838 sound/usb/stream.c if (snd_usb_parse_audio_format(chip, fp, format, format 38 sound/usb/usx2y/usbusx2y.h format; format 705 sound/usb/usx2y/usbusx2yaudio.c static int usX2Y_format_set(struct usX2Ydev *usX2Y, snd_pcm_format_t format) format 709 sound/usb/usx2y/usbusx2yaudio.c if (format == SNDRV_PCM_FORMAT_S24_3LE) { format 729 sound/usb/usx2y/usbusx2yaudio.c usX2Y->format = format; format 740 sound/usb/usx2y/usbusx2yaudio.c snd_pcm_format_t format = params_format(hw_params); format 760 sound/usb/usx2y/usbusx2yaudio.c if ((test_substream->runtime->format && format 761 sound/usb/usx2y/usbusx2yaudio.c test_substream->runtime->format != format) || format 832 sound/usb/usx2y/usbusx2yaudio.c if (usX2Y->format != runtime->format) format 833 sound/usb/usx2y/usbusx2yaudio.c if ((err = usX2Y_format_set(usX2Y, runtime->format)) < 0) format 491 sound/usb/usx2y/usx2yhwdeppcm.c if (usX2Y->format != runtime->format) format 492 sound/usb/usx2y/usx2yhwdeppcm.c if ((err = usX2Y_format_set(usX2Y, runtime->format)) < 0) format 324 sound/x86/intel_hdmi_audio.c switch (substream->runtime->format) { format 369 sound/x86/intel_hdmi_audio.c if (substream->runtime->format == SNDRV_PCM_FORMAT_S16_LE) format 372 sound/x86/intel_hdmi_audio.c if (substream->runtime->format == SNDRV_PCM_FORMAT_S32_LE) format 139 sound/x86/intel_hdmi_lpe_audio.h u32 format:3; format 292 sound/x86/intel_hdmi_lpe_audio.h u32 format:8; format 86 sound/xen/xen_snd_front.c u8 format, unsigned int channels, format 97 sound/xen/xen_snd_front.c req->op.open.pcm_format = format; format 39 sound/xen/xen_snd_front.h u8 format, unsigned int channels, format 180 sound/xen/xen_snd_front_alsa.c static int to_sndif_format(snd_pcm_format_t format) format 185 sound/xen/xen_snd_front_alsa.c if (ALSA_SNDIF_FORMATS[i].alsa == format) format 521 sound/xen/xen_snd_front_alsa.c ret = to_sndif_format(runtime->format); format 525 sound/xen/xen_snd_front_alsa.c runtime->format); format 416 tools/arch/x86/include/uapi/asm/kvm.h __u16 format; format 87 tools/bpf/bpf_dbg.c __attribute__ ((format (printf, (pos_fmtstr), (pos_fmtargs)))) format 84 tools/bpf/bpftool/main.c const char *format, va_list args) format 86 tools/bpf/bpftool/main.c return vfprintf(stderr, format, args); format 67 tools/bpf/bpftool/tracelog.c char type[100], format[32]; format 81 tools/bpf/bpftool/tracelog.c snprintf(format, sizeof(format), "%%*s %%%zds %%99s %%*s %%*d %%*d\\n", format 83 tools/bpf/bpftool/tracelog.c while (fscanf(fp, format, mnt, type) == 2) format 2 tools/build/feature/test-cplus-demangle.c extern int printf(const char *format, ...); format 9 tools/build/feature/test-jvmti.c jvmtiJlocationFormat format __attribute__((unused)); format 4 tools/build/feature/test-libaudit.c extern int printf(const char *format, ...); format 4 tools/build/feature/test-libbfd.c extern int printf(const char *format, ...); format 10 tools/include/asm/bug.h #define WARN(condition, format...) ({ \ format 13 tools/include/asm/bug.h __WARN_printf(format); \ format 36 tools/include/asm/bug.h #define WARN_ONCE(condition, format...) ({ \ format 41 tools/include/asm/bug.h if (WARN(!__warned, format)) \ format 39 tools/include/linux/compiler-gcc.h #define __printf(a, b) __attribute__((format(printf, a, b))) format 40 tools/include/linux/compiler-gcc.h #define __scanf(a, b) __attribute__((format(scanf, a, b))) format 52 tools/include/linux/lockdep.h #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) format 7 tools/lib/api/debug.c static int __base_pr(const char *format, ...) format 12 tools/lib/api/debug.c va_start(args, format); format 13 tools/lib/api/debug.c err = vfprintf(stderr, format, args); format 67 tools/lib/bpf/libbpf.c #define __printf(a, b) __attribute__((format(printf, a, b))) format 69 tools/lib/bpf/libbpf.c static int __base_pr(enum libbpf_print_level level, const char *format, format 75 tools/lib/bpf/libbpf.c return vfprintf(stderr, format, args); format 89 tools/lib/bpf/libbpf.c void libbpf_print(enum libbpf_print_level level, const char *format, ...) format 96 tools/lib/bpf/libbpf.c va_start(args, format); format 97 tools/lib/bpf/libbpf.c __libbpf_pr(level, format, args); format 54 tools/lib/bpf/libbpf_internal.h const char *format, ...) format 55 tools/lib/bpf/libbpf_internal.h __attribute__((format(printf, 2, 3))); format 185 tools/lib/subcmd/parse-options.h extern NORETURN __attribute__((format(printf,3,4))) format 1730 tools/lib/traceevent/event-parse.c ret = event_read_fields(event, &event->format.common_fields); format 1733 tools/lib/traceevent/event-parse.c event->format.nr_common = ret; format 1735 tools/lib/traceevent/event-parse.c ret = event_read_fields(event, &event->format.fields); format 1738 tools/lib/traceevent/event-parse.c event->format.nr_fields = ret; format 3287 tools/lib/traceevent/event-parse.c event->print_fmt.format = token; format 3300 tools/lib/traceevent/event-parse.c if (asprintf(&cat, "%s%s", event->print_fmt.format, token) < 0) format 3303 tools/lib/traceevent/event-parse.c free_token(event->print_fmt.format); format 3304 tools/lib/traceevent/event-parse.c event->print_fmt.format = NULL; format 3336 tools/lib/traceevent/event-parse.c struct tep_format_field *format; format 3338 tools/lib/traceevent/event-parse.c for (format = event->format.common_fields; format 3339 tools/lib/traceevent/event-parse.c format; format = format->next) { format 3340 tools/lib/traceevent/event-parse.c if (strcmp(format->name, name) == 0) format 3344 tools/lib/traceevent/event-parse.c return format; format 3358 tools/lib/traceevent/event-parse.c struct tep_format_field *format; format 3360 tools/lib/traceevent/event-parse.c for (format = event->format.fields; format 3361 tools/lib/traceevent/event-parse.c format; format = format->next) { format 3362 tools/lib/traceevent/event-parse.c if (strcmp(format->name, name) == 0) format 3366 tools/lib/traceevent/event-parse.c return format; format 3381 tools/lib/traceevent/event-parse.c struct tep_format_field *format; format 3383 tools/lib/traceevent/event-parse.c format = tep_find_common_field(event, name); format 3384 tools/lib/traceevent/event-parse.c if (format) format 3385 tools/lib/traceevent/event-parse.c return format; format 3875 tools/lib/traceevent/event-parse.c static void print_str_to_seq(struct trace_seq *s, const char *format, format 3879 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, str); format 3881 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, str); format 3885 tools/lib/traceevent/event-parse.c struct trace_seq *s, const char *format, format 3931 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, str); format 3933 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, str); format 3939 tools/lib/traceevent/event-parse.c struct tep_event *event, const char *format, format 3958 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, arg->atom.atom); format 4014 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, str); format 4023 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, flag->str); format 4029 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, flag->str); format 4045 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, flag->str); format 4140 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, ((char *)data) + str_offset); format 4144 tools/lib/traceevent/event-parse.c print_str_to_seq(s, format, len_arg, arg->string.string); format 4159 tools/lib/traceevent/event-parse.c print_bitmask_to_seq(tep, s, format, len_arg, format 4172 tools/lib/traceevent/event-parse.c format, len_arg, arg->op.right->op.left); format 4175 tools/lib/traceevent/event-parse.c format, len_arg, arg->op.right->op.right); format 4483 tools/lib/traceevent/event-parse.c char *format; format 4500 tools/lib/traceevent/event-parse.c if (asprintf(&format, "%%ps: (NO FORMAT FOUND at %llx)\n", addr) < 0) format 4502 tools/lib/traceevent/event-parse.c return format; format 4505 tools/lib/traceevent/event-parse.c if (asprintf(&format, "%s: %s", "%ps", printk->printk) < 0) format 4508 tools/lib/traceevent/event-parse.c return format; format 4945 tools/lib/traceevent/event-parse.c field = event->format.fields; format 4959 tools/lib/traceevent/event-parse.c const char *ptr = print_fmt->format; format 4965 tools/lib/traceevent/event-parse.c char format[32]; format 5101 tools/lib/traceevent/event-parse.c memcpy(format, saveptr, len); format 5102 tools/lib/traceevent/event-parse.c format[len] = 0; format 5123 tools/lib/traceevent/event-parse.c if (ls == 1 && (p = strchr(format, 'l'))) format 5125 tools/lib/traceevent/event-parse.c else if (strcmp(format, "%p") == 0) format 5126 tools/lib/traceevent/event-parse.c strcpy(format, "0x%llx"); format 5132 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, (char)val); format 5134 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, (char)val); format 5138 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, (short)val); format 5140 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, (short)val); format 5144 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, (int)val); format 5146 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, (int)val); format 5150 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, (long)val); format 5152 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, (long)val); format 5156 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, len_arg, format 5159 tools/lib/traceevent/event-parse.c trace_seq_printf(s, format, (long long)val); format 5183 tools/lib/traceevent/event-parse.c memcpy(format, saveptr, len); format 5184 tools/lib/traceevent/event-parse.c format[len] = 0; format 5190 tools/lib/traceevent/event-parse.c format, len_arg, arg); format 5221 tools/lib/traceevent/event-parse.c char *format, struct tep_record *record) format 5464 tools/lib/traceevent/event-parse.c static void print_event_info(struct trace_seq *s, char *format, bool raw, format 5515 tools/lib/traceevent/event-parse.c char *format, struct tep_event *event, format 5524 tools/lib/traceevent/event-parse.c if (isdigit(*(format + 1))) format 5525 tools/lib/traceevent/event-parse.c prec = atoi(format + 1); format 5526 tools/lib/traceevent/event-parse.c divstr = strchr(format, '.'); format 5550 tools/lib/traceevent/event-parse.c char format[32]; format 5561 tools/lib/traceevent/event-parse.c data_latency_format(tep, s, type->format, record); format 5565 tools/lib/traceevent/event-parse.c trace_seq_printf(s, type->format, comm); format 5567 tools/lib/traceevent/event-parse.c print_event_info(s, type->format, true, event, record); format 5569 tools/lib/traceevent/event-parse.c print_event_info(s, type->format, false, event, record); format 5571 tools/lib/traceevent/event-parse.c trace_seq_printf(s, type->format, event->name); format 5592 tools/lib/traceevent/event-parse.c return print_event_time(tep, s, type->format, event, record); format 5596 tools/lib/traceevent/event-parse.c trace_seq_printf(s, type->format, param); format 5599 tools/lib/traceevent/event-parse.c static int tep_print_event_param_type(char *format, format 5602 tools/lib/traceevent/event-parse.c char *str = format + 1; format 5625 tools/lib/traceevent/event-parse.c memset(type->format, 0, 32); format 5626 tools/lib/traceevent/event-parse.c memcpy(type->format, format, i < 32 ? i : 31); format 5656 tools/lib/traceevent/event-parse.c char *format = strdup(fmt); format 5657 tools/lib/traceevent/event-parse.c char *current = format; format 5658 tools/lib/traceevent/event-parse.c char *str = format; format 5663 tools/lib/traceevent/event-parse.c if (!format) format 5697 tools/lib/traceevent/event-parse.c free(format); format 5901 tools/lib/traceevent/event-parse.c event->format.nr_common, format 5902 tools/lib/traceevent/event-parse.c event->format.common_fields); format 5915 tools/lib/traceevent/event-parse.c event->format.nr_fields, format 5916 tools/lib/traceevent/event-parse.c event->format.fields); format 6291 tools/lib/traceevent/event-parse.c for (field = event->format.fields; field; field = field->next) { format 6962 tools/lib/traceevent/event-parse.c static void free_formats(struct tep_format *format) format 6964 tools/lib/traceevent/event-parse.c free_format_fields(format->common_fields); format 6965 tools/lib/traceevent/event-parse.c free_format_fields(format->fields); format 6973 tools/lib/traceevent/event-parse.c free_formats(&event->format); format 6975 tools/lib/traceevent/event-parse.c free(event->print_fmt.format); format 276 tools/lib/traceevent/event-parse.h char *format; format 285 tools/lib/traceevent/event-parse.h struct tep_format format; format 457 tools/lib/traceevent/event-parse.h __attribute__ ((format (printf, 4, 5))); format 43 tools/lib/traceevent/trace-seq.h __attribute__ ((format (printf, 2, 3))); format 45 tools/lib/traceevent/trace-seq.h __attribute__ ((format (printf, 2, 0))); format 43 tools/objtool/warn.h #define WARN(format, ...) \ format 45 tools/objtool/warn.h "%s: warning: objtool: " format "\n", \ format 48 tools/objtool/warn.h #define WARN_FUNC(format, sec, offset, ...) \ format 51 tools/objtool/warn.h WARN("%s: " format, _str, ##__VA_ARGS__); \ format 55 tools/objtool/warn.h #define BT_FUNC(format, insn, ...) \ format 59 tools/objtool/warn.h WARN(" %s: " format, _str, ##__VA_ARGS__); \ format 63 tools/objtool/warn.h #define WARN_ELF(format, ...) \ format 64 tools/objtool/warn.h WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1)) format 123 tools/perf/arch/x86/util/intel-pt.c mask = perf_pmu__format_bits(&intel_pt_pmu->format, str); format 230 tools/perf/arch/x86/util/intel-pt.c intel_pt_parse_terms(&intel_pt_pmu->format, buf, &config); format 338 tools/perf/arch/x86/util/intel-pt.c intel_pt_parse_terms(&intel_pt_pmu->format, "tsc", &tsc_bit); format 339 tools/perf/arch/x86/util/intel-pt.c intel_pt_parse_terms(&intel_pt_pmu->format, "noretcomp", format 341 tools/perf/arch/x86/util/intel-pt.c intel_pt_parse_terms(&intel_pt_pmu->format, "mtc", &mtc_bit); format 342 tools/perf/arch/x86/util/intel-pt.c mtc_freq_bits = perf_pmu__format_bits(&intel_pt_pmu->format, format 344 tools/perf/arch/x86/util/intel-pt.c intel_pt_parse_terms(&intel_pt_pmu->format, "cyc", &cyc_bit); format 497 tools/perf/arch/x86/util/intel-pt.c bits = perf_pmu__format_bits(&intel_pt_pmu->format, name); format 697 tools/perf/arch/x86/util/intel-pt.c intel_pt_parse_terms(&intel_pt_pmu->format, "tsc", &tsc_bit); format 46 tools/perf/builtin-help.c static enum help_format parse_help_format(const char *format) format 48 tools/perf/builtin-help.c if (!strcmp(format, "man")) format 50 tools/perf/builtin-help.c if (!strcmp(format, "info")) format 52 tools/perf/builtin-help.c if (!strcmp(format, "web") || !strcmp(format, "html")) format 55 tools/perf/builtin-help.c pr_err("unrecognized help format '%s'", format); format 1056 tools/perf/builtin-kmem.c const char *format; format 1066 tools/perf/builtin-kmem.c format = " %16llu | %'16llu | %'9d | %5d | %8s | %-*s | %s\n"; format 1068 tools/perf/builtin-kmem.c format = " %016llx | %'16llu | %'9d | %5d | %8s | %-*s | %s\n"; format 1084 tools/perf/builtin-kmem.c printf(format, (unsigned long long)data->page, format 1532 tools/perf/builtin-trace.c if (syscall__alloc_arg_fmts(sc, IS_ERR(sc->tp_format) ? 6 : sc->tp_format->format.nr_fields)) format 1538 tools/perf/builtin-trace.c sc->args = sc->tp_format->format.fields; format 356 tools/perf/jvmti/libjvmti.c jvmtiJlocationFormat format; format 387 tools/perf/jvmti/libjvmti.c ret = (*jvmti)->GetJLocationFormat(jvmti, &format); format 388 tools/perf/jvmti/libjvmti.c if (ret == JVMTI_ERROR_NONE && format == JVMTI_JLOCATION_JVMBCI) { format 3 tools/perf/lib/core.c #define __printf(a, b) __attribute__((format(printf, a, b))) format 12 tools/perf/lib/core.c static int __base_pr(enum libperf_print_level level, const char *format, format 15 tools/perf/lib/core.c return vfprintf(stderr, format, args); format 21 tools/perf/lib/core.c void libperf_print(enum libperf_print_level level, const char *format, ...) format 28 tools/perf/lib/core.c va_start(args, format); format 29 tools/perf/lib/core.c __libperf_pr(level, format, args); format 6 tools/perf/lib/internal.h const char *format, ...) format 7 tools/perf/lib/internal.h __attribute__((format(printf, 2, 3))); format 99 tools/perf/tests/pmu.c struct test_format *format = &test_formats[i]; format 102 tools/perf/tests/pmu.c scnprintf(name, PATH_MAX, "%s/%s", dir, format->name); format 108 tools/perf/tests/pmu.c if (1 != fwrite(format->value, strlen(format->value), 1, file)) format 142 tools/perf/tests/pmu.c char *format = test_format_dir_get(); format 147 tools/perf/tests/pmu.c if (!format) format 155 tools/perf/tests/pmu.c ret = perf_pmu__format_parse(format, &formats); format 176 tools/perf/tests/pmu.c test_format_dir_put(format); format 211 tools/perf/ui/browser.c const char *format, ...) format 217 tools/perf/ui/browser.c va_start(args, format); format 218 tools/perf/ui/browser.c err = vasprintf(&text, format, args); format 222 tools/perf/ui/browser.c va_start(args, format); format 223 tools/perf/ui/browser.c ui_helpline__vpush(format, args); format 68 tools/perf/ui/browser.h const char *format, ...); format 31 tools/perf/ui/gtk/util.c static int perf_gtk__error(const char *format, va_list args) format 37 tools/perf/ui/gtk/util.c vasprintf(&msg, format, args) < 0) { format 39 tools/perf/ui/gtk/util.c vfprintf(stderr, format, args); format 57 tools/perf/ui/gtk/util.c static int perf_gtk__warning_info_bar(const char *format, va_list args) format 62 tools/perf/ui/gtk/util.c vasprintf(&msg, format, args) < 0) { format 64 tools/perf/ui/gtk/util.c vfprintf(stderr, format, args); format 78 tools/perf/ui/gtk/util.c static int perf_gtk__warning_statusbar(const char *format, va_list args) format 83 tools/perf/ui/gtk/util.c vasprintf(&msg, format, args) < 0) { format 85 tools/perf/ui/gtk/util.c vfprintf(stderr, format, args); format 521 tools/perf/ui/hist.c struct perf_hpp_fmt *format) format 523 tools/perf/ui/hist.c list_add_tail(&format->list, &list->fields); format 527 tools/perf/ui/hist.c struct perf_hpp_fmt *format) format 529 tools/perf/ui/hist.c list_add_tail(&format->sort_list, &list->sorts); format 533 tools/perf/ui/hist.c struct perf_hpp_fmt *format) format 535 tools/perf/ui/hist.c list_add(&format->sort_list, &list->sorts); format 538 tools/perf/ui/hist.c void perf_hpp__column_unregister(struct perf_hpp_fmt *format) format 540 tools/perf/ui/hist.c list_del_init(&format->list); format 31 tools/perf/ui/tui/helpline.c static int tui_helpline__show(const char *format, va_list ap) format 38 tools/perf/ui/tui/helpline.c sizeof(ui_helpline__last_msg) - backlog, format, ap); format 240 tools/perf/ui/tui/util.c static int __ui__warning(const char *title, const char *format, va_list args) format 244 tools/perf/ui/tui/util.c if (vasprintf(&s, format, args) > 0) { format 253 tools/perf/ui/tui/util.c vfprintf(stderr, format, args); format 257 tools/perf/ui/tui/util.c static int perf_tui__error(const char *format, va_list args) format 259 tools/perf/ui/tui/util.c return __ui__warning("Error:", format, args); format 262 tools/perf/ui/tui/util.c static int perf_tui__warning(const char *format, va_list args) format 264 tools/perf/ui/tui/util.c return __ui__warning("Warning:", format, args); format 9 tools/perf/ui/util.c static int perf_stdio__error(const char *format, va_list args) format 12 tools/perf/ui/util.c vfprintf(stderr, format, args); format 16 tools/perf/ui/util.c static int perf_stdio__warning(const char *format, va_list args) format 19 tools/perf/ui/util.c vfprintf(stderr, format, args); format 32 tools/perf/ui/util.c int ui__error(const char *format, ...) format 37 tools/perf/ui/util.c va_start(args, format); format 38 tools/perf/ui/util.c ret = perf_eops->error(format, args); format 44 tools/perf/ui/util.c int ui__warning(const char *format, ...) format 49 tools/perf/ui/util.c va_start(args, format); format 50 tools/perf/ui/util.c ret = perf_eops->warning(format, args); format 17 tools/perf/ui/util.h int (*error)(const char *format, va_list args); format 18 tools/perf/ui/util.h int (*warning)(const char *format, va_list args); format 642 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c ocsd_dcd_tree_src_t format; format 656 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c format = (d_params->formatted ? OCSD_TRC_SRC_FRAME_FORMATTED : format 670 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c decoder->dcd_tree = ocsd_create_dcd_tree(format, flags); format 420 tools/perf/util/data-convert-bt.c struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; format 421 tools/perf/util/data-convert-bt.c struct tep_format_field *fields = evsel->tp_format->format.fields; format 1058 tools/perf/util/data-convert-bt.c struct tep_format_field *common_fields = evsel->tp_format->format.common_fields; format 1059 tools/perf/util/data-convert-bt.c struct tep_format_field *fields = evsel->tp_format->format.fields; format 46 tools/perf/util/debug.h int ui__error(const char *format, ...) __printf(1, 2); format 47 tools/perf/util/debug.h int ui__warning(const char *format, ...) __printf(1, 2); format 85 tools/perf/util/evsel_fprintf.c field = evsel->tp_format->format.fields; format 308 tools/perf/util/hist.h struct perf_hpp_fmt *format); format 310 tools/perf/util/hist.h struct perf_hpp_fmt *format); format 312 tools/perf/util/hist.h struct perf_hpp_fmt *format); format 314 tools/perf/util/hist.h static inline void perf_hpp__column_register(struct perf_hpp_fmt *format) format 316 tools/perf/util/hist.h perf_hpp_list__column_register(&perf_hpp_list, format); format 319 tools/perf/util/hist.h static inline void perf_hpp__register_sort_field(struct perf_hpp_fmt *format) format 321 tools/perf/util/hist.h perf_hpp_list__register_sort_field(&perf_hpp_list, format); format 324 tools/perf/util/hist.h static inline void perf_hpp__prepend_sort_field(struct perf_hpp_fmt *format) format 326 tools/perf/util/hist.h perf_hpp_list__prepend_sort_field(&perf_hpp_list, format); format 329 tools/perf/util/hist.h #define perf_hpp_list__for_each_format(_list, format) \ format 330 tools/perf/util/hist.h list_for_each_entry(format, &(_list)->fields, list) format 332 tools/perf/util/hist.h #define perf_hpp_list__for_each_format_safe(_list, format, tmp) \ format 333 tools/perf/util/hist.h list_for_each_entry_safe(format, tmp, &(_list)->fields, list) format 335 tools/perf/util/hist.h #define perf_hpp_list__for_each_sort_list(_list, format) \ format 336 tools/perf/util/hist.h list_for_each_entry(format, &(_list)->sorts, sort_list) format 338 tools/perf/util/hist.h #define perf_hpp_list__for_each_sort_list_safe(_list, format, tmp) \ format 339 tools/perf/util/hist.h list_for_each_entry_safe(format, tmp, &(_list)->sorts, sort_list) format 341 tools/perf/util/hist.h #define hists__for_each_format(hists, format) \ format 342 tools/perf/util/hist.h perf_hpp_list__for_each_format((hists)->hpp_list, format) format 344 tools/perf/util/hist.h #define hists__for_each_sort_list(hists, format) \ format 345 tools/perf/util/hist.h perf_hpp_list__for_each_sort_list((hists)->hpp_list, format) format 364 tools/perf/util/hist.h void perf_hpp__column_unregister(struct perf_hpp_fmt *format); format 373 tools/perf/util/hist.h bool perf_hpp__is_sort_entry(struct perf_hpp_fmt *format); format 374 tools/perf/util/hist.h bool perf_hpp__is_dynamic_entry(struct perf_hpp_fmt *format); format 388 tools/perf/util/hist.h static inline bool perf_hpp__should_skip(struct perf_hpp_fmt *format, format 391 tools/perf/util/hist.h if (format->elide) format 394 tools/perf/util/hist.h if (perf_hpp__is_dynamic_entry(format) && format 395 tools/perf/util/hist.h !perf_hpp__defined_dynamic_entry(format, hists)) format 83 tools/perf/util/pmu.c static int pmu_format(const char *name, struct list_head *format) format 98 tools/perf/util/pmu.c if (perf_pmu__format_parse(path, format)) format 816 tools/perf/util/pmu.c LIST_HEAD(format); format 825 tools/perf/util/pmu.c if (pmu_format(name, &format)) format 848 tools/perf/util/pmu.c INIT_LIST_HEAD(&pmu->format); format 850 tools/perf/util/pmu.c list_splice(&format, &pmu->format); format 904 tools/perf/util/pmu.c struct perf_pmu_format *format; format 906 tools/perf/util/pmu.c list_for_each_entry(format, formats, list) format 907 tools/perf/util/pmu.c if (!strcmp(format->name, name)) format 908 tools/perf/util/pmu.c return format; format 915 tools/perf/util/pmu.c struct perf_pmu_format *format = pmu_find_format(formats, name); format 919 tools/perf/util/pmu.c if (!format) format 922 tools/perf/util/pmu.c for_each_set_bit(fbit, format->bits, PERF_PMU_FORMAT_BITS) format 932 tools/perf/util/pmu.c static void pmu_format_value(unsigned long *format, __u64 value, __u64 *v, format 939 tools/perf/util/pmu.c if (!test_bit(fbit, format)) format 949 tools/perf/util/pmu.c static __u64 pmu_format_max_value(const unsigned long *format) format 953 tools/perf/util/pmu.c w = bitmap_weight(format, PERF_PMU_FORMAT_BITS); format 992 tools/perf/util/pmu.c struct perf_pmu_format *format; format 1001 tools/perf/util/pmu.c list_for_each_entry(format, formats, list) format 1002 tools/perf/util/pmu.c if (strbuf_addf(&buf, i++ ? ",%s" : "%s", format->name) < 0) format 1022 tools/perf/util/pmu.c struct perf_pmu_format *format; format 1040 tools/perf/util/pmu.c format = pmu_find_format(formats, term->config); format 1041 tools/perf/util/pmu.c if (!format) { format 1055 tools/perf/util/pmu.c switch (format->value) { format 1075 tools/perf/util/pmu.c bitmap_weight(format->bits, PERF_PMU_FORMAT_BITS) > 1) { format 1102 tools/perf/util/pmu.c max_val = pmu_format_max_value(format->bits); format 1118 tools/perf/util/pmu.c pmu_format_value(format->bits, val, vp, zero); format 1150 tools/perf/util/pmu.c return perf_pmu__config_terms(&pmu->format, attr, head_terms, format 1166 tools/perf/util/pmu.c if (pmu_find_format(&pmu->format, term->config)) format 1271 tools/perf/util/pmu.c struct perf_pmu_format *format; format 1273 tools/perf/util/pmu.c format = zalloc(sizeof(*format)); format 1274 tools/perf/util/pmu.c if (!format) format 1277 tools/perf/util/pmu.c format->name = strdup(name); format 1278 tools/perf/util/pmu.c format->value = config; format 1279 tools/perf/util/pmu.c memcpy(format->bits, bits, sizeof(format->bits)); format 1281 tools/perf/util/pmu.c list_add_tail(&format->list, list); format 32 tools/perf/util/pmu.h struct list_head format; /* HEAD struct perf_pmu_format -> list */ format 2 tools/perf/util/pmu.y %parse-param {struct list_head *format} format 37 tools/perf/util/pmu.y format: format 38 tools/perf/util/pmu.y format format_term format 45 tools/perf/util/pmu.y ABORT_ON(perf_pmu__new_format(format, name, format 52 tools/perf/util/pmu.y ABORT_ON(perf_pmu__new_format(format, name, format 59 tools/perf/util/pmu.y ABORT_ON(perf_pmu__new_format(format, name, format 53 tools/perf/util/probe-event.c int e_snprintf(char *str, size_t size, const char *format, ...) format 57 tools/perf/util/probe-event.c va_start(ap, format); format 58 tools/perf/util/probe-event.c ret = vsnprintf(str, size, format, ap); format 184 tools/perf/util/probe-event.h int e_snprintf(char *str, size_t size, const char *format, ...) __printf(3, 4); format 392 tools/perf/util/scripting-engines/trace-event-perl.c for (field = event->format.fields; field; field = field->next) { format 627 tools/perf/util/scripting-engines/trace-event-perl.c for (f = event->format.fields; f; f = f->next) { format 646 tools/perf/util/scripting-engines/trace-event-perl.c for (f = event->format.fields; f; f = f->next) { format 670 tools/perf/util/scripting-engines/trace-event-perl.c for (f = event->format.fields; f; f = f->next) { format 869 tools/perf/util/scripting-engines/trace-event-python.c for (field = event->format.fields; field; field = field->next) { format 1757 tools/perf/util/scripting-engines/trace-event-python.c for (f = event->format.fields; f; f = f->next) { format 1782 tools/perf/util/scripting-engines/trace-event-python.c for (f = event->format.fields; f; f = f->next) { format 1807 tools/perf/util/scripting-engines/trace-event-python.c for (f = event->format.fields; f; f = f->next) { format 1830 tools/perf/util/sort.c bool perf_hpp__is_sort_entry(struct perf_hpp_fmt *format) format 1832 tools/perf/util/sort.c return format->header == __sort__hpp_header; format 2379 tools/perf/util/sort.c field = evsel->tp_format->format.fields; format 165 tools/perf/util/trace-event-info.c char *format; format 181 tools/perf/util/trace-event-info.c if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) { format 185 tools/perf/util/trace-event-info.c ret = stat(format, &st); format 186 tools/perf/util/trace-event-info.c free(format); format 203 tools/perf/util/trace-event-info.c if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) { format 207 tools/perf/util/trace-event-info.c ret = stat(format, &st); format 210 tools/perf/util/trace-event-info.c err = record_file(format, 8); format 212 tools/perf/util/trace-event-info.c free(format); format 216 tools/perf/util/trace-event-info.c free(format); format 393 tools/perf/util/unwind-libunwind-local.c di.format = UNW_INFO_FORMAT_REMOTE_TABLE; format 406 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c char format[32]; format 408 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c snprintf(format, 32, "%s=%s", keyword, "%llx"); format 411 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c if (sscanf(buffer, format, &address) == 1) { format 61 tools/power/x86/intel-speed-select/isst-config.c void debug_printf(const char *format, ...) format 65 tools/power/x86/intel-speed-select/isst-config.c va_start(args, format); format 68 tools/power/x86/intel-speed-select/isst-config.c vprintf(format, args); format 166 tools/power/x86/intel-speed-select/isst.h extern void debug_printf(const char *format, ...); format 254 tools/power/x86/turbostat/turbostat.c enum counter_format format; format 668 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) { format 705 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) { format 783 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) { format 1008 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) { format 1013 tools/power/x86/turbostat/turbostat.c } else if (mp->format == FORMAT_DELTA) { format 1018 tools/power/x86/turbostat/turbostat.c } else if (mp->format == FORMAT_PERCENT) { format 1050 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) { format 1055 tools/power/x86/turbostat/turbostat.c } else if (mp->format == FORMAT_DELTA) { format 1060 tools/power/x86/turbostat/turbostat.c } else if (mp->format == FORMAT_PERCENT) { format 1153 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) { format 1158 tools/power/x86/turbostat/turbostat.c } else if (mp->format == FORMAT_DELTA) { format 1163 tools/power/x86/turbostat/turbostat.c } else if (mp->format == FORMAT_PERCENT) { format 1265 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 1289 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 1384 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 1509 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 1528 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 1574 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 1632 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 1642 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 1651 tools/power/x86/turbostat/turbostat.c if (mp->format == FORMAT_RAW) format 5334 tools/power/x86/turbostat/turbostat.c enum counter_type type, enum counter_format format, int flags) format 5350 tools/power/x86/turbostat/turbostat.c msrp->format = format; format 5401 tools/power/x86/turbostat/turbostat.c enum counter_format format = FORMAT_DELTA; format 5446 tools/power/x86/turbostat/turbostat.c format = FORMAT_RAW; format 5450 tools/power/x86/turbostat/turbostat.c format = FORMAT_DELTA; format 5454 tools/power/x86/turbostat/turbostat.c format = FORMAT_PERCENT; format 5483 tools/power/x86/turbostat/turbostat.c sprintf(name_buffer, "M0x%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); format 5485 tools/power/x86/turbostat/turbostat.c sprintf(name_buffer, "M0X%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); format 5488 tools/power/x86/turbostat/turbostat.c if (add_counter(msr_num, path, name_buffer, width, scope, type, format, 0)) format 24 tools/testing/selftests/bpf/get_cgroup_id_user.c #define CHECK(condition, tag, format...) ({ \ format 28 tools/testing/selftests/bpf/get_cgroup_id_user.c printf(format); \ format 5 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c const char *format, va_list args) format 8 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c vprintf(format, args); format 12 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c if (!strstr(format, "verifier log")) format 36 tools/testing/selftests/bpf/test_btf.c #define CHECK(condition, format...) ({ \ format 40 tools/testing/selftests/bpf/test_btf.c fprintf(stderr, format); \ format 57 tools/testing/selftests/bpf/test_btf.c const char *format, va_list args) format 59 tools/testing/selftests/bpf/test_btf.c return vfprintf(stderr, format, args); format 9 tools/testing/selftests/bpf/test_btf_dump.c #define CHECK(condition, format...) ({ \ format 13 tools/testing/selftests/bpf/test_btf_dump.c fprintf(stderr, format); \ format 13 tools/testing/selftests/bpf/test_hashmap.c #define CHECK(condition, format...) ({ \ format 17 tools/testing/selftests/bpf/test_hashmap.c fprintf(stderr, format); \ format 8 tools/testing/selftests/bpf/test_maps.h #define CHECK(condition, tag, format...) ({ \ format 12 tools/testing/selftests/bpf/test_maps.h printf(format); \ format 354 tools/testing/selftests/bpf/test_progs.c const char *format, va_list args) format 358 tools/testing/selftests/bpf/test_progs.c vprintf(format, args); format 95 tools/testing/selftests/bpf/test_progs.h #define _CHECK(condition, tag, duration, format...) ({ \ format 100 tools/testing/selftests/bpf/test_progs.h printf(format); \ format 117 tools/testing/selftests/bpf/test_progs.h #define CHECK(condition, tag, format...) \ format 118 tools/testing/selftests/bpf/test_progs.h _CHECK(condition, tag, duration, format) format 119 tools/testing/selftests/bpf/test_progs.h #define CHECK_ATTR(condition, tag, format...) \ format 120 tools/testing/selftests/bpf/test_progs.h _CHECK(condition, tag, tattr.duration, format) format 49 tools/testing/selftests/bpf/test_select_reuseport.c #define CHECK(condition, tag, format...) ({ \ format 53 tools/testing/selftests/bpf/test_select_reuseport.c printf(format); \ format 43 tools/testing/selftests/bpf/test_sock_fields.c #define CHECK(condition, tag, format...) ({ \ format 47 tools/testing/selftests/bpf/test_sock_fields.c printf(format); \ format 72 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c state->format = 0; format 83 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c state->format = 0; format 100 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c state->format = 1; format 117 tools/testing/selftests/net/nettest.c static void log_msg(const char *format, ...) format 128 tools/testing/selftests/net/nettest.c va_start(args, format); format 129 tools/testing/selftests/net/nettest.c vfprintf(stdout, format, args); format 135 tools/testing/selftests/net/nettest.c static void log_error(const char *format, ...) format 146 tools/testing/selftests/net/nettest.c va_start(args, format); format 147 tools/testing/selftests/net/nettest.c vfprintf(stderr, format, args); format 45 tools/testing/selftests/powerpc/tm/tm-trap.c #define pr_error(error_code, format, ...) \ format 46 tools/testing/selftests/powerpc/tm/tm-trap.c error_at_line(1, error_code, __FILE__, __LINE__, format, ##__VA_ARGS__) format 37 tools/testing/selftests/powerpc/tm/tm-unavailable.c #define err_at_line(status, errnum, format, ...) \ format 38 tools/testing/selftests/powerpc/tm/tm-unavailable.c error_at_line(status, errnum, __FILE__, __LINE__, format ##__VA_ARGS__) format 40 tools/testing/selftests/powerpc/tm/tm-unavailable.c #define pr_warn(code, format, ...) err_at_line(0, code, format, ##__VA_ARGS__) format 41 tools/testing/selftests/powerpc/tm/tm-unavailable.c #define pr_err(code, format, ...) err_at_line(1, code, format, ##__VA_ARGS__) format 25 tools/testing/selftests/x86/pkey-helpers.h static inline void sigsafe_printf(const char *format, ...) format 30 tools/testing/selftests/x86/pkey-helpers.h va_start(ap, format); format 31 tools/testing/selftests/x86/pkey-helpers.h vprintf(format, ap); format 41 tools/testing/selftests/x86/pkey-helpers.h ret = write(1, format, strlen(format)); format 142 tools/usb/usbip/libsrc/usbip_common.c const char *format) format 164 tools/usb/usbip/libsrc/usbip_common.c ret = sscanf(attr, format, &num); format 199 tools/usb/usbip/libsrc/usbip_common.c #define READ_ATTR(object, type, dev, name, format) \ format 202 tools/usb/usbip/libsrc/usbip_common.c format); \ format 137 tools/usb/usbip/libsrc/usbip_common.h const char *format); format 48 tools/virtio/linux/kernel.h #define __printf(a,b) __attribute__((format(printf,a,b))) format 121 tools/virtio/linux/kernel.h #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) format 123 tools/virtio/linux/kernel.h #define pr_debug(format, ...) fprintf (stderr, format, ## __VA_ARGS__) format 125 tools/virtio/linux/kernel.h #define pr_debug(format, ...) do {} while (0) format 127 tools/virtio/linux/kernel.h #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) format 128 tools/virtio/linux/kernel.h #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) format 68 tools/virtio/virtio-trace/trace-agent.h #define pr_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__) format 69 tools/virtio/virtio-trace/trace-agent.h #define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__) format 71 tools/virtio/virtio-trace/trace-agent.h #define pr_debug(format, ...) fprintf(stderr, format, ## __VA_ARGS__) format 73 tools/virtio/virtio-trace/trace-agent.h #define pr_debug(format, ...) do {} while (0)