aux 37 arch/arc/include/asm/entry.h .macro PUSHAX aux aux 46 arch/arc/include/asm/entry.h .macro POPAX aux aux 545 arch/arc/mm/cache.c int aux; aux 550 arch/arc/mm/cache.c aux = ARC_REG_DC_IVDC; aux 552 arch/arc/mm/cache.c aux = ARC_REG_DC_FLSH; aux 554 arch/arc/mm/cache.c write_aux_reg(aux, 0x1); aux 176 arch/arm/kernel/signal.c char __user *aux; aux 207 arch/arm/kernel/signal.c aux = (char __user *) sf->uc.uc_regspace; aux 210 arch/arm/kernel/signal.c err |= restore_crunch_context(&aux); aux 214 arch/arm/kernel/signal.c err |= restore_iwmmxt_context(&aux); aux 218 arch/arm/kernel/signal.c err |= restore_vfp_context(&aux); aux 290 arch/arm/kernel/signal.c struct aux_sigframe __user *aux; aux 323 arch/arm/kernel/signal.c aux = (struct aux_sigframe __user *) sf->uc.uc_regspace; aux 326 arch/arm/kernel/signal.c err |= preserve_crunch_context(&aux->crunch); aux 330 arch/arm/kernel/signal.c err |= preserve_iwmmxt_context(&aux->iwmmxt); aux 334 arch/arm/kernel/signal.c err |= preserve_vfp_context(&aux->vfp); aux 336 arch/arm/kernel/signal.c err |= __put_user(0, &aux->end_magic); aux 611 arch/arm/mm/cache-l2x0.c u32 aux = l2x0_saved_regs.aux_ctrl; aux 615 arch/arm/mm/cache-l2x0.c aux |= L310_AUX_CTRL_EARLY_BRESP; aux 617 arch/arm/mm/cache-l2x0.c } else if (aux & L310_AUX_CTRL_EARLY_BRESP) { aux 619 arch/arm/mm/cache-l2x0.c aux &= ~L310_AUX_CTRL_EARLY_BRESP; aux 632 arch/arm/mm/cache-l2x0.c if (aux & L310_AUX_CTRL_FULL_LINE_ZERO && !(acr & BIT(3))) aux 635 arch/arm/mm/cache-l2x0.c if (!(aux & L310_AUX_CTRL_FULL_LINE_ZERO) && !outer_cache.write_sec) { aux 636 arch/arm/mm/cache-l2x0.c aux |= L310_AUX_CTRL_FULL_LINE_ZERO; aux 639 arch/arm/mm/cache-l2x0.c } else if (aux & (L310_AUX_CTRL_FULL_LINE_ZERO | L310_AUX_CTRL_EARLY_BRESP)) { aux 641 arch/arm/mm/cache-l2x0.c aux &= ~(L310_AUX_CTRL_FULL_LINE_ZERO | L310_AUX_CTRL_EARLY_BRESP); aux 649 arch/arm/mm/cache-l2x0.c l2x0_saved_regs.aux_ctrl = aux | L310_AUX_CTRL_NS_LOCKDOWN; aux 654 arch/arm/mm/cache-l2x0.c aux = readl_relaxed(base + L2X0_AUX_CTRL); aux 656 arch/arm/mm/cache-l2x0.c if (aux & (L310_AUX_CTRL_DATA_PREFETCH | L310_AUX_CTRL_INSTR_PREFETCH)) { aux 660 arch/arm/mm/cache-l2x0.c aux & L310_AUX_CTRL_INSTR_PREFETCH ? "I" : "", aux 661 arch/arm/mm/cache-l2x0.c aux & L310_AUX_CTRL_DATA_PREFETCH ? "D" : "", aux 675 arch/arm/mm/cache-l2x0.c if (aux & L310_AUX_CTRL_FULL_LINE_ZERO) aux 785 arch/arm/mm/cache-l2x0.c u32 aux, old_aux; aux 803 arch/arm/mm/cache-l2x0.c old_aux = aux = readl_relaxed(l2x0_base + L2X0_AUX_CTRL); aux 804 arch/arm/mm/cache-l2x0.c aux &= aux_mask; aux 805 arch/arm/mm/cache-l2x0.c aux |= aux_val; aux 807 arch/arm/mm/cache-l2x0.c if (old_aux != aux) aux 809 arch/arm/mm/cache-l2x0.c old_aux, aux); aux 816 arch/arm/mm/cache-l2x0.c if (aux & (1 << 16)) aux 824 arch/arm/mm/cache-l2x0.c ways = (aux >> 13) & 0xf; aux 828 arch/arm/mm/cache-l2x0.c ways = (aux >> 13) & 0xf; aux 848 arch/arm/mm/cache-l2x0.c way_size_bits = (aux & L2C_AUX_CTRL_WAY_SIZE_MASK) >> aux 867 arch/arm/mm/cache-l2x0.c l2x0_saved_regs.aux_ctrl = aux; aux 882 arch/arm/mm/cache-l2x0.c aux = readl_relaxed(l2x0_base + L2X0_AUX_CTRL); aux 887 arch/arm/mm/cache-l2x0.c data->type, cache_id, aux); aux 349 arch/arm/net/bpf_jit_32.c #define _STACK_SIZE (ctx->prog->aux->stack_depth + SCRATCH_SIZE) aux 736 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 759 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 1078 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 1084 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 1090 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 1464 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 1480 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 1516 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 1573 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 1578 arch/arm/net/bpf_jit_32.c if (!ctx->prog->aux->verifier_zext) aux 189 arch/arm64/kernel/signal32.c struct compat_aux_sigframe __user *aux; aux 225 arch/arm64/kernel/signal32.c aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; aux 227 arch/arm64/kernel/signal32.c err |= compat_restore_vfp_context(&aux->vfp); aux 389 arch/arm64/kernel/signal32.c struct compat_aux_sigframe __user *aux; aux 420 arch/arm64/kernel/signal32.c aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; aux 423 arch/arm64/kernel/signal32.c err |= compat_preserve_vfp_context(&aux->vfp); aux 424 arch/arm64/kernel/signal32.c __put_user_error(0, &aux->end_magic, err); aux 235 arch/arm64/net/bpf_jit_comp.c ctx->stack_size = STACK_ALIGN(prog->aux->stack_depth); aux 854 arch/arm64/net/bpf_jit_comp.c jit_data = prog->aux->jit_data; aux 861 arch/arm64/net/bpf_jit_comp.c prog->aux->jit_data = jit_data; aux 958 arch/arm64/net/bpf_jit_comp.c prog->aux->jit_data = NULL; aux 574 arch/powerpc/net/bpf_jit_comp64.c if (BPF_CLASS(code) == BPF_ALU && !fp->aux->verifier_zext) aux 637 arch/powerpc/net/bpf_jit_comp64.c if (!fp->aux->verifier_zext) aux 1104 arch/powerpc/net/bpf_jit_comp64.c jit_data = fp->aux->jit_data; aux 1111 arch/powerpc/net/bpf_jit_comp64.c fp->aux->jit_data = jit_data; aux 1135 arch/powerpc/net/bpf_jit_comp64.c cgctx.stack_size = round_up(fp->aux->stack_depth, 16); aux 1231 arch/powerpc/net/bpf_jit_comp64.c fp->aux->jit_data = NULL; aux 3674 arch/powerpc/platforms/powernv/pci-ioda.c void *aux; aux 3801 arch/powerpc/platforms/powernv/pci-ioda.c aux = memblock_alloc(size, SMP_CACHE_BYTES); aux 3802 arch/powerpc/platforms/powernv/pci-ioda.c if (!aux) aux 3804 arch/powerpc/platforms/powernv/pci-ioda.c phb->ioda.pe_alloc = aux; aux 3805 arch/powerpc/platforms/powernv/pci-ioda.c phb->ioda.m64_segmap = aux + m64map_off; aux 3806 arch/powerpc/platforms/powernv/pci-ioda.c phb->ioda.m32_segmap = aux + m32map_off; aux 3812 arch/powerpc/platforms/powernv/pci-ioda.c phb->ioda.io_segmap = aux + iomap_off; aux 3816 arch/powerpc/platforms/powernv/pci-ioda.c phb->ioda.dma32_segmap = aux + dma32map_off; aux 3820 arch/powerpc/platforms/powernv/pci-ioda.c phb->ioda.pe_array = aux + pemap_off; aux 740 arch/riscv/net/bpf_jit_comp.c struct bpf_prog_aux *aux = ctx->prog->aux; aux 758 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 766 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 772 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 778 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 784 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 790 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 796 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 802 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 808 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 820 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 826 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 835 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 900 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 915 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 928 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 939 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 950 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 961 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 969 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 977 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 985 arch/riscv/net/bpf_jit_comp.c if (!is64 && !aux->verifier_zext) aux 1435 arch/riscv/net/bpf_jit_comp.c bpf_stack_adjust = round_up(ctx->prog->aux->stack_depth, 16); aux 1575 arch/riscv/net/bpf_jit_comp.c jit_data = prog->aux->jit_data; aux 1582 arch/riscv/net/bpf_jit_comp.c prog->aux->jit_data = jit_data; aux 1645 arch/riscv/net/bpf_jit_comp.c prog->aux->jit_data = NULL; aux 1344 arch/s390/kernel/perf_cpum_sf.c #define AUX_SDB_INDEX(aux, i) ((i) % aux->sfb.num_sdb) aux 1345 arch/s390/kernel/perf_cpum_sf.c #define AUX_SDB_NUM(aux, start, end) (end >= start ? end - start + 1 : 0) aux 1346 arch/s390/kernel/perf_cpum_sf.c #define AUX_SDB_NUM_ALERT(aux) AUX_SDB_NUM(aux, aux->head, aux->alert_mark) aux 1347 arch/s390/kernel/perf_cpum_sf.c #define AUX_SDB_NUM_EMPTY(aux) AUX_SDB_NUM(aux, aux->head, aux->empty_mark) aux 1352 arch/s390/kernel/perf_cpum_sf.c static struct hws_trailer_entry *aux_sdb_trailer(struct aux_buffer *aux, aux 1357 arch/s390/kernel/perf_cpum_sf.c index = AUX_SDB_INDEX(aux, index); aux 1358 arch/s390/kernel/perf_cpum_sf.c sdb = aux->sdb_index[index]; aux 1374 arch/s390/kernel/perf_cpum_sf.c struct aux_buffer *aux; aux 1377 arch/s390/kernel/perf_cpum_sf.c aux = perf_get_aux(handle); aux 1378 arch/s390/kernel/perf_cpum_sf.c if (!aux) aux 1381 arch/s390/kernel/perf_cpum_sf.c range_scan = AUX_SDB_NUM_ALERT(aux); aux 1382 arch/s390/kernel/perf_cpum_sf.c for (i = 0, idx = aux->head; i < range_scan; i++, idx++) { aux 1383 arch/s390/kernel/perf_cpum_sf.c te = aux_sdb_trailer(aux, idx); aux 1391 arch/s390/kernel/perf_cpum_sf.c te = aux_sdb_trailer(aux, aux->alert_mark); aux 1407 arch/s390/kernel/perf_cpum_sf.c struct aux_buffer *aux, aux 1418 arch/s390/kernel/perf_cpum_sf.c aux->head = handle->head >> PAGE_SHIFT; aux 1427 arch/s390/kernel/perf_cpum_sf.c if (range > AUX_SDB_NUM_EMPTY(aux)) { aux 1428 arch/s390/kernel/perf_cpum_sf.c range_scan = range - AUX_SDB_NUM_EMPTY(aux); aux 1429 arch/s390/kernel/perf_cpum_sf.c idx = aux->empty_mark + 1; aux 1431 arch/s390/kernel/perf_cpum_sf.c te = aux_sdb_trailer(aux, idx); aux 1437 arch/s390/kernel/perf_cpum_sf.c aux->empty_mark = aux->head + range - 1; aux 1441 arch/s390/kernel/perf_cpum_sf.c aux->alert_mark = aux->head + range/2 - 1; aux 1442 arch/s390/kernel/perf_cpum_sf.c te = aux_sdb_trailer(aux, aux->alert_mark); aux 1446 arch/s390/kernel/perf_cpum_sf.c head = AUX_SDB_INDEX(aux, aux->head); aux 1447 arch/s390/kernel/perf_cpum_sf.c base = aux->sdbt_index[head / CPUM_SF_SDB_PER_TABLE]; aux 1450 arch/s390/kernel/perf_cpum_sf.c cpuhw->lsctl.dear = aux->sdb_index[head]; aux 1456 arch/s390/kernel/perf_cpum_sf.c aux->head, aux->alert_mark, aux->empty_mark, aux 1457 arch/s390/kernel/perf_cpum_sf.c AUX_SDB_NUM_ALERT(aux), range, aux 1471 arch/s390/kernel/perf_cpum_sf.c static bool aux_set_alert(struct aux_buffer *aux, unsigned long alert_index, aux 1477 arch/s390/kernel/perf_cpum_sf.c te = aux_sdb_trailer(aux, alert_index); aux 1519 arch/s390/kernel/perf_cpum_sf.c static bool aux_reset_buffer(struct aux_buffer *aux, unsigned long range, aux 1526 arch/s390/kernel/perf_cpum_sf.c if (range <= AUX_SDB_NUM_EMPTY(aux)) aux 1532 arch/s390/kernel/perf_cpum_sf.c return aux_set_alert(aux, aux->alert_mark, overflow); aux 1534 arch/s390/kernel/perf_cpum_sf.c if (aux->alert_mark <= aux->empty_mark) aux 1539 arch/s390/kernel/perf_cpum_sf.c if (!aux_set_alert(aux, aux->alert_mark, overflow)) aux 1547 arch/s390/kernel/perf_cpum_sf.c range_scan = range - AUX_SDB_NUM_EMPTY(aux); aux 1548 arch/s390/kernel/perf_cpum_sf.c idx = aux->empty_mark + 1; aux 1550 arch/s390/kernel/perf_cpum_sf.c te = aux_sdb_trailer(aux, idx); aux 1555 arch/s390/kernel/perf_cpum_sf.c if (idx == aux->alert_mark) aux 1566 arch/s390/kernel/perf_cpum_sf.c aux->empty_mark = aux->head + range - 1; aux 1576 arch/s390/kernel/perf_cpum_sf.c struct aux_buffer *aux; aux 1583 arch/s390/kernel/perf_cpum_sf.c aux = perf_get_aux(handle); aux 1584 arch/s390/kernel/perf_cpum_sf.c if (WARN_ON_ONCE(!aux)) aux 1588 arch/s390/kernel/perf_cpum_sf.c size = AUX_SDB_NUM_ALERT(aux) << PAGE_SHIFT; aux 1590 arch/s390/kernel/perf_cpum_sf.c num_sdb = aux->sfb.num_sdb; aux 1592 arch/s390/kernel/perf_cpum_sf.c num_sdb = aux->sfb.num_sdb; aux 1595 arch/s390/kernel/perf_cpum_sf.c aux = perf_aux_output_begin(handle, cpuhw->event); aux 1603 arch/s390/kernel/perf_cpum_sf.c if (WARN_ON_ONCE(!aux)) aux 1607 arch/s390/kernel/perf_cpum_sf.c aux->head = handle->head >> PAGE_SHIFT; aux 1610 arch/s390/kernel/perf_cpum_sf.c aux->alert_mark = aux->head; aux 1612 arch/s390/kernel/perf_cpum_sf.c aux->alert_mark = aux->head + range/2 - 1; aux 1614 arch/s390/kernel/perf_cpum_sf.c if (aux_reset_buffer(aux, range, &overflow)) { aux 1625 arch/s390/kernel/perf_cpum_sf.c aux->head, range, overflow); aux 1627 arch/s390/kernel/perf_cpum_sf.c size = AUX_SDB_NUM_ALERT(aux) << PAGE_SHIFT; aux 1631 arch/s390/kernel/perf_cpum_sf.c aux->head, aux->alert_mark); aux 1638 arch/s390/kernel/perf_cpum_sf.c aux->head, aux->alert_mark, aux->empty_mark, aux 1639 arch/s390/kernel/perf_cpum_sf.c AUX_SDB_NUM_ALERT(aux), range); aux 1647 arch/s390/kernel/perf_cpum_sf.c struct aux_buffer *aux = data; aux 1650 arch/s390/kernel/perf_cpum_sf.c if (!aux) aux 1654 arch/s390/kernel/perf_cpum_sf.c num_sdbt = aux->sfb.num_sdbt; aux 1656 arch/s390/kernel/perf_cpum_sf.c free_page(aux->sdbt_index[i]); aux 1658 arch/s390/kernel/perf_cpum_sf.c kfree(aux->sdbt_index); aux 1659 arch/s390/kernel/perf_cpum_sf.c kfree(aux->sdb_index); aux 1660 arch/s390/kernel/perf_cpum_sf.c kfree(aux); aux 1695 arch/s390/kernel/perf_cpum_sf.c struct aux_buffer *aux; aux 1715 arch/s390/kernel/perf_cpum_sf.c aux = kmalloc(sizeof(struct aux_buffer), GFP_KERNEL); aux 1716 arch/s390/kernel/perf_cpum_sf.c if (!aux) aux 1718 arch/s390/kernel/perf_cpum_sf.c sfb = &aux->sfb; aux 1722 arch/s390/kernel/perf_cpum_sf.c aux->sdbt_index = kmalloc_array(n_sdbt, sizeof(void *), GFP_KERNEL); aux 1723 arch/s390/kernel/perf_cpum_sf.c if (!aux->sdbt_index) aux 1727 arch/s390/kernel/perf_cpum_sf.c aux->sdb_index = kmalloc_array(nr_pages, sizeof(void *), GFP_KERNEL); aux 1728 arch/s390/kernel/perf_cpum_sf.c if (!aux->sdb_index) aux 1736 arch/s390/kernel/perf_cpum_sf.c aux->sdbt_index[sfb->num_sdbt++] = (unsigned long)sfb->sdbt; aux 1748 arch/s390/kernel/perf_cpum_sf.c aux->sdbt_index[sfb->num_sdbt++] = (unsigned long)new; aux 1755 arch/s390/kernel/perf_cpum_sf.c aux->sdb_index[i] = (unsigned long)pages[i]; aux 1769 arch/s390/kernel/perf_cpum_sf.c aux->empty_mark = sfb->num_sdb - 1; aux 1775 arch/s390/kernel/perf_cpum_sf.c return aux; aux 1780 arch/s390/kernel/perf_cpum_sf.c free_page(aux->sdbt_index[i]); aux 1781 arch/s390/kernel/perf_cpum_sf.c kfree(aux->sdb_index); aux 1783 arch/s390/kernel/perf_cpum_sf.c kfree(aux->sdbt_index); aux 1785 arch/s390/kernel/perf_cpum_sf.c kfree(aux); aux 1879 arch/s390/kernel/perf_cpum_sf.c struct aux_buffer *aux; aux 1914 arch/s390/kernel/perf_cpum_sf.c aux = perf_aux_output_begin(&cpuhw->handle, event); aux 1915 arch/s390/kernel/perf_cpum_sf.c if (!aux) { aux 1919 arch/s390/kernel/perf_cpum_sf.c err = aux_output_begin(&cpuhw->handle, aux, cpuhw); aux 303 arch/s390/net/bpf_jit_comp.c if (!fp->aux->verifier_zext) { \ aux 883 arch/s390/net/bpf_jit_comp.c if (!fp->aux->verifier_zext) aux 906 arch/s390/net/bpf_jit_comp.c if (!fp->aux->verifier_zext) aux 1068 arch/s390/net/bpf_jit_comp.c off = STK_OFF_TCCNT + STK_OFF + fp->aux->stack_depth; aux 1098 arch/s390/net/bpf_jit_comp.c save_restore_regs(jit, REGS_RESTORE, fp->aux->stack_depth); aux 1300 arch/s390/net/bpf_jit_comp.c bpf_jit_prologue(jit, fp->aux->stack_depth); aux 1308 arch/s390/net/bpf_jit_comp.c bpf_jit_epilogue(jit, fp->aux->stack_depth); aux 1355 arch/s390/net/bpf_jit_comp.c jit_data = fp->aux->jit_data; aux 1362 arch/s390/net/bpf_jit_comp.c fp->aux->jit_data = jit_data; aux 1428 arch/s390/net/bpf_jit_comp.c fp->aux->jit_data = NULL; aux 805 arch/sparc/net/bpf_jit_comp_64.c stack_depth = prog->aux->stack_depth; aux 1010 arch/sparc/net/bpf_jit_comp_64.c if (!ctx->prog->aux->verifier_zext) aux 1165 arch/sparc/net/bpf_jit_comp_64.c !ctx->prog->aux->verifier_zext) aux 1492 arch/sparc/net/bpf_jit_comp_64.c jit_data = prog->aux->jit_data; aux 1499 arch/sparc/net/bpf_jit_comp_64.c prog->aux->jit_data = jit_data; aux 1607 arch/sparc/net/bpf_jit_comp_64.c prog->aux->jit_data = NULL; aux 1324 arch/x86/events/intel/ds.c static u64 get_data_src(struct perf_event *event, u64 aux) aux 1331 arch/x86/events/intel/ds.c val = load_latency_data(aux); aux 1333 arch/x86/events/intel/ds.c val = precise_datala_hsw(event, aux); aux 1335 arch/x86/events/intel/ds.c val = precise_store_data(aux); aux 1579 arch/x86/events/intel/ds.c data->data_src.val = get_data_src(event, meminfo->aux); aux 200 arch/x86/include/asm/perf_event.h u64 aux; aux 404 arch/x86/net/bpf_jit_comp.c emit_prologue(&prog, bpf_prog->aux->stack_depth, aux 1103 arch/x86/net/bpf_jit_comp.c jit_data = prog->aux->jit_data; aux 1110 arch/x86/net/bpf_jit_comp.c prog->aux->jit_data = jit_data; aux 1200 arch/x86/net/bpf_jit_comp.c prog->aux->jit_data = NULL; aux 257 arch/x86/net/bpf_jit_comp32.c const struct bpf_prog_aux *aux) aux 263 arch/x86/net/bpf_jit_comp32.c else if (!aux->verifier_zext) aux 318 arch/x86/net/bpf_jit_comp32.c const struct bpf_prog_aux *aux) aux 339 arch/x86/net/bpf_jit_comp32.c if (!aux->verifier_zext) aux 344 arch/x86/net/bpf_jit_comp32.c if (!aux->verifier_zext) aux 366 arch/x86/net/bpf_jit_comp32.c const struct bpf_prog_aux *aux) aux 388 arch/x86/net/bpf_jit_comp32.c if (!aux->verifier_zext) aux 397 arch/x86/net/bpf_jit_comp32.c if (!aux->verifier_zext) aux 579 arch/x86/net/bpf_jit_comp32.c u8 **pprog, const struct bpf_prog_aux *aux) aux 587 arch/x86/net/bpf_jit_comp32.c else if (!aux->verifier_zext) aux 679 arch/x86/net/bpf_jit_comp32.c const struct bpf_prog_aux *aux) aux 690 arch/x86/net/bpf_jit_comp32.c else if (!aux->verifier_zext) aux 1473 arch/x86/net/bpf_jit_comp32.c emit_prologue(&prog, bpf_prog->aux->stack_depth); aux 1504 arch/x86/net/bpf_jit_comp32.c &prog, bpf_prog->aux); aux 1545 arch/x86/net/bpf_jit_comp32.c bpf_prog->aux); aux 1550 arch/x86/net/bpf_jit_comp32.c bpf_prog->aux); aux 1569 arch/x86/net/bpf_jit_comp32.c if (!bpf_prog->aux->verifier_zext) aux 1590 arch/x86/net/bpf_jit_comp32.c if (!bpf_prog->aux->verifier_zext) aux 1613 arch/x86/net/bpf_jit_comp32.c if (!bpf_prog->aux->verifier_zext) aux 1631 arch/x86/net/bpf_jit_comp32.c if (!bpf_prog->aux->verifier_zext) aux 1668 arch/x86/net/bpf_jit_comp32.c if (!bpf_prog->aux->verifier_zext) aux 1690 arch/x86/net/bpf_jit_comp32.c bpf_prog->aux); aux 1695 arch/x86/net/bpf_jit_comp32.c bpf_prog->aux); aux 1850 arch/x86/net/bpf_jit_comp32.c if (bpf_prog->aux->verifier_zext) aux 2259 arch/x86/net/bpf_jit_comp32.c emit_epilogue(&prog, bpf_prog->aux->stack_depth); aux 2968 drivers/atm/fore200e.c be32_to_cpu(fore200e->stats->aux.small_b1_failed), aux 2969 drivers/atm/fore200e.c be32_to_cpu(fore200e->stats->aux.large_b1_failed), aux 2970 drivers/atm/fore200e.c be32_to_cpu(fore200e->stats->aux.small_b2_failed), aux 2971 drivers/atm/fore200e.c be32_to_cpu(fore200e->stats->aux.large_b2_failed), aux 2972 drivers/atm/fore200e.c be32_to_cpu(fore200e->stats->aux.rpd_alloc_failed), aux 2978 drivers/atm/fore200e.c fore200e->stats->aux.receive_carrier ? "ON" : "OFF!"); aux 448 drivers/atm/fore200e.h struct stats_aux aux; /* auxiliary statistics */ aux 47 drivers/clk/spear/clk-aux-synth.c struct clk_aux *aux = to_clk_aux(hw); aux 48 drivers/clk/spear/clk-aux-synth.c struct aux_rate_tbl *rtbl = aux->rtbl; aux 58 drivers/clk/spear/clk-aux-synth.c struct clk_aux *aux = to_clk_aux(hw); aux 62 drivers/clk/spear/clk-aux-synth.c aux->rtbl_cnt, &unused); aux 68 drivers/clk/spear/clk-aux-synth.c struct clk_aux *aux = to_clk_aux(hw); aux 72 drivers/clk/spear/clk-aux-synth.c if (aux->lock) aux 73 drivers/clk/spear/clk-aux-synth.c spin_lock_irqsave(aux->lock, flags); aux 75 drivers/clk/spear/clk-aux-synth.c val = readl_relaxed(aux->reg); aux 77 drivers/clk/spear/clk-aux-synth.c if (aux->lock) aux 78 drivers/clk/spear/clk-aux-synth.c spin_unlock_irqrestore(aux->lock, flags); aux 80 drivers/clk/spear/clk-aux-synth.c eqn = (val >> aux->masks->eq_sel_shift) & aux->masks->eq_sel_mask; aux 81 drivers/clk/spear/clk-aux-synth.c if (eqn == aux->masks->eq1_mask) aux 85 drivers/clk/spear/clk-aux-synth.c num = (val >> aux->masks->xscale_sel_shift) & aux 86 drivers/clk/spear/clk-aux-synth.c aux->masks->xscale_sel_mask; aux 89 drivers/clk/spear/clk-aux-synth.c den *= (val >> aux->masks->yscale_sel_shift) & aux 90 drivers/clk/spear/clk-aux-synth.c aux->masks->yscale_sel_mask; aux 102 drivers/clk/spear/clk-aux-synth.c struct clk_aux *aux = to_clk_aux(hw); aux 103 drivers/clk/spear/clk-aux-synth.c struct aux_rate_tbl *rtbl = aux->rtbl; aux 107 drivers/clk/spear/clk-aux-synth.c clk_round_rate_index(hw, drate, prate, aux_calc_rate, aux->rtbl_cnt, aux 110 drivers/clk/spear/clk-aux-synth.c if (aux->lock) aux 111 drivers/clk/spear/clk-aux-synth.c spin_lock_irqsave(aux->lock, flags); aux 113 drivers/clk/spear/clk-aux-synth.c val = readl_relaxed(aux->reg) & aux 114 drivers/clk/spear/clk-aux-synth.c ~(aux->masks->eq_sel_mask << aux->masks->eq_sel_shift); aux 115 drivers/clk/spear/clk-aux-synth.c val |= (rtbl[i].eq & aux->masks->eq_sel_mask) << aux 116 drivers/clk/spear/clk-aux-synth.c aux->masks->eq_sel_shift; aux 117 drivers/clk/spear/clk-aux-synth.c val &= ~(aux->masks->xscale_sel_mask << aux->masks->xscale_sel_shift); aux 118 drivers/clk/spear/clk-aux-synth.c val |= (rtbl[i].xscale & aux->masks->xscale_sel_mask) << aux 119 drivers/clk/spear/clk-aux-synth.c aux->masks->xscale_sel_shift; aux 120 drivers/clk/spear/clk-aux-synth.c val &= ~(aux->masks->yscale_sel_mask << aux->masks->yscale_sel_shift); aux 121 drivers/clk/spear/clk-aux-synth.c val |= (rtbl[i].yscale & aux->masks->yscale_sel_mask) << aux 122 drivers/clk/spear/clk-aux-synth.c aux->masks->yscale_sel_shift; aux 123 drivers/clk/spear/clk-aux-synth.c writel_relaxed(val, aux->reg); aux 125 drivers/clk/spear/clk-aux-synth.c if (aux->lock) aux 126 drivers/clk/spear/clk-aux-synth.c spin_unlock_irqrestore(aux->lock, flags); aux 142 drivers/clk/spear/clk-aux-synth.c struct clk_aux *aux; aux 151 drivers/clk/spear/clk-aux-synth.c aux = kzalloc(sizeof(*aux), GFP_KERNEL); aux 152 drivers/clk/spear/clk-aux-synth.c if (!aux) aux 157 drivers/clk/spear/clk-aux-synth.c aux->masks = &default_aux_masks; aux 159 drivers/clk/spear/clk-aux-synth.c aux->masks = masks; aux 161 drivers/clk/spear/clk-aux-synth.c aux->reg = reg; aux 162 drivers/clk/spear/clk-aux-synth.c aux->rtbl = rtbl; aux 163 drivers/clk/spear/clk-aux-synth.c aux->rtbl_cnt = rtbl_cnt; aux 164 drivers/clk/spear/clk-aux-synth.c aux->lock = lock; aux 165 drivers/clk/spear/clk-aux-synth.c aux->hw.init = &init; aux 173 drivers/clk/spear/clk-aux-synth.c clk = clk_register(NULL, &aux->hw); aux 182 drivers/clk/spear/clk-aux-synth.c aux->masks->enable_bit, 0, lock); aux 193 drivers/clk/spear/clk-aux-synth.c kfree(aux); aux 265 drivers/firmware/efi/efi.c struct efivar_entry *entry, *aux; aux 275 drivers/firmware/efi/efi.c list_for_each_entry_safe(entry, aux, &entries, list) { aux 298 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c &amdgpu_connector->ddc_bus->aux.ddc); aux 307 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c &amdgpu_connector->ddc_bus->aux.ddc); aux 757 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c drm_dp_aux_unregister(&amdgpu_connector->ddc_bus->aux); aux 473 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c ret = i2c_transfer(&amdgpu_connector->ddc_bus->aux.ddc, msgs, 2); aux 229 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h struct drm_dp_aux aux; aux 520 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h struct drm_dp_aux aux; aux 530 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h #define TO_DM_AUX(x) container_of((x), struct amdgpu_dm_dp_aux, aux) aux 127 drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_atombios_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) aux 130 drivers/gpu/drm/amd/amdgpu/atombios_dp.c container_of(aux, struct amdgpu_i2c_chan, aux); aux 192 drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_connector->ddc_bus->aux.dev = amdgpu_connector->base.kdev; aux 193 drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_connector->ddc_bus->aux.transfer = amdgpu_atombios_dp_aux_transfer; aux 194 drivers/gpu/drm/amd/amdgpu/atombios_dp.c ret = drm_dp_aux_register(&amdgpu_connector->ddc_bus->aux); aux 328 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) aux 332 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) aux 343 drivers/gpu/drm/amd/amdgpu/atombios_dp.c ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_DPCD_REV, aux 376 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, aux 388 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, aux 451 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_read_link_status(&amdgpu_connector->ddc_bus->aux, link_status) aux 472 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(&amdgpu_connector->ddc_bus->aux, aux 489 drivers/gpu/drm/amd/amdgpu/atombios_dp.c struct drm_dp_aux *aux; aux 501 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_write(dp_info->aux, DP_TRAINING_LANE0_SET, aux 525 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_TRAINING_PATTERN_SET, tp); aux 540 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, aux 543 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, aux 547 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_EDP_CONFIGURATION_SET, 1); aux 553 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_LANE_COUNT_SET, tmp); aux 557 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_LINK_BW_SET, tmp); aux 564 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, aux 577 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, aux 608 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_read_link_status(dp_info->aux, aux 673 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_read_link_status(dp_info->aux, aux 735 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp) aux 751 drivers/gpu/drm/amd/amdgpu/atombios_dp.c dp_info.aux = &amdgpu_connector->ddc_bus->aux; aux 907 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c aconnector->mst_mgr.aux) { aux 1427 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c &aconnector->dm_dp_aux.aux); aux 1437 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_dp_cec_set_edid(&aconnector->dm_dp_aux.aux, aux 1444 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_dp_cec_unset_edid(&aconnector->dm_dp_aux.aux); aux 1528 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c &aconnector->dm_dp_aux.aux, aux 1557 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c &aconnector->dm_dp_aux.aux, aux 1567 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c &aconnector->dm_dp_aux.aux, aux 1639 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_dp_cec_irq(&aconnector->dm_dp_aux.aux); aux 3938 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_dp_aux_unregister(&amdgpu_dm_connector->dm_dp_aux.aux); aux 3966 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drm_dp_cec_unregister_connector(&aconnector->dm_dp_aux.aux); aux 142 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c struct drm_dp_aux *aux = NULL; aux 217 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c aux = &aconn->dm_dp_aux.aux; aux 219 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c if (!aux) { aux 242 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c if (drm_dp_start_crc(aux, crtc)) { aux 251 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c if (drm_dp_stop_crc(aux)) { aux 483 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c return drm_dp_dpcd_read(&aconnector->dm_dp_aux.aux, address, aux 501 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c return drm_dp_dpcd_write(&aconnector->dm_dp_aux.aux, aux 562 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c mutex_lock(&aconnector->dm_dp_aux.aux.hw_mutex); aux 564 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c mutex_unlock(&aconnector->dm_dp_aux.aux.hw_mutex); aux 580 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c ddc = &aconnector->dm_dp_aux.aux.ddc; aux 82 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux, aux 101 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c result = dc_link_aux_transfer_raw(TO_DM_AUX(aux)->ddc_service, &payload, aux 413 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c aconnector->dm_dp_aux.aux.name = "dmdc"; aux 414 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c aconnector->dm_dp_aux.aux.dev = aconnector->base.kdev; aux 415 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c aconnector->dm_dp_aux.aux.transfer = dm_dp_aux_transfer; aux 418 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c drm_dp_aux_register(&aconnector->dm_dp_aux.aux); aux 419 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c drm_dp_cec_register_connector(&aconnector->dm_dp_aux.aux, aux 425 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c &aconnector->dm_dp_aux.aux, aux 60 drivers/gpu/drm/bridge/analogix-anx78xx.c struct drm_dp_aux aux; aux 183 drivers/gpu/drm/bridge/analogix-anx78xx.c static ssize_t anx78xx_aux_transfer(struct drm_dp_aux *aux, aux 186 drivers/gpu/drm/bridge/analogix-anx78xx.c struct anx78xx *anx78xx = container_of(aux, struct anx78xx, aux); aux 756 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_dpcd_readb(&anx78xx->aux, DP_MAX_LINK_RATE, &dp_bw); aux 782 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_dpcd_read(&anx78xx->aux, DP_DPCD_REV, aux 796 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_link_probe(&anx78xx->aux, &anx78xx->link); aux 803 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_link_power_up(&anx78xx->aux, &anx78xx->link); aux 823 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_dpcd_writeb(&anx78xx->aux, DP_DOWNSPREAD_CTRL, aux 828 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_dpcd_writeb(&anx78xx->aux, DP_DOWNSPREAD_CTRL, 0); aux 851 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_link_configure(&anx78xx->aux, &anx78xx->link); aux 925 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_dpcd_readb(&anx78xx->aux, DP_SINK_COUNT, &value); aux 958 drivers/gpu/drm/bridge/analogix-anx78xx.c anx78xx->edid = drm_get_edid(connector, &anx78xx->aux.ddc); aux 1014 drivers/gpu/drm/bridge/analogix-anx78xx.c anx78xx->aux.name = "DP-AUX"; aux 1015 drivers/gpu/drm/bridge/analogix-anx78xx.c anx78xx->aux.dev = &anx78xx->client->dev; aux 1016 drivers/gpu/drm/bridge/analogix-anx78xx.c anx78xx->aux.transfer = anx78xx_aux_transfer; aux 1018 drivers/gpu/drm/bridge/analogix-anx78xx.c err = drm_dp_aux_register(&anx78xx->aux); aux 110 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_SUPPORT, &psr_version); aux 126 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_EN_CFG, &psr_en); aux 133 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); aux 141 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); aux 149 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); aux 173 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_LANE_COUNT_SET, &data); aux 178 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, aux 182 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, aux 194 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_MAX_LANE_COUNT, &data); aux 229 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, aux 277 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_write(&dp->aux, DP_LINK_BW_SET, buf, 2); aux 308 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, aux 318 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_write(&dp->aux, DP_TRAINING_LANE0_SET, buf, aux 475 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, 2); aux 479 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_read(&dp->aux, DP_ADJUST_REQUEST_LANE0_1, aux 488 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, aux 529 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_write(&dp->aux, DP_TRAINING_LANE0_SET, aux 547 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, 2); aux 556 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_read(&dp->aux, DP_ADJUST_REQUEST_LANE0_1, aux 561 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_readb(&dp->aux, DP_LANE_ALIGN_STATUS_UPDATED, aux 603 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_write(&dp->aux, DP_TRAINING_LANE0_SET, aux 622 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c drm_dp_dpcd_readb(&dp->aux, DP_MAX_LINK_RATE, &data); aux 635 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c drm_dp_dpcd_readb(&dp->aux, DP_MAX_LANE_COUNT, &data); aux 752 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_LANE_ALIGN_STATUS_UPDATED, aux 760 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, aux 867 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_TRAINING_PATTERN_SET, aux 871 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, aux 876 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_TRAINING_PATTERN_SET, aux 880 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, aux 927 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_MAX_DOWNSPREAD, &spread); aux 996 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_STATUS, &sink); aux 1026 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_writeb(&dp->aux, DP_SET_POWER, DP_SET_POWER_D0); aux 1032 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_STATUS, &sink); aux 1122 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c edid = drm_get_edid(connector, &dp->aux.ddc); aux 1629 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c static ssize_t analogix_dpaux_transfer(struct drm_dp_aux *aux, aux 1632 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c struct analogix_dp_device *dp = to_dp(aux); aux 1756 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c dp->aux.name = "DP-AUX"; aux 1757 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c dp->aux.transfer = analogix_dpaux_transfer; aux 1758 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c dp->aux.dev = dp->dev; aux 1760 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c ret = drm_dp_aux_register(&dp->aux); aux 1792 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c drm_dp_aux_unregister(&dp->aux); aux 1849 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return drm_dp_start_crc(&dp->aux, connector->state->crtc); aux 1857 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return drm_dp_stop_crc(&dp->aux); aux 163 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h struct drm_dp_aux aux; aux 1031 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c val = drm_dp_dpcd_readb(&dp->aux, DP_PSR_STATUS, &status); aux 240 drivers/gpu/drm/bridge/tc358767.c struct drm_dp_aux aux; aux 270 drivers/gpu/drm/bridge/tc358767.c return container_of(a, struct tc_data, aux); aux 341 drivers/gpu/drm/bridge/tc358767.c static ssize_t tc_aux_transfer(struct drm_dp_aux *aux, aux 344 drivers/gpu/drm/bridge/tc358767.c struct tc_data *tc = aux_to_tc(aux); aux 669 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_link_probe(&tc->aux, &tc->link.base); aux 682 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_readb(&tc->aux, DP_MAX_DOWNSPREAD, ®); aux 687 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_readb(&tc->aux, DP_MAIN_LINK_CHANNEL_CODING, ®); aux 693 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_readb(&tc->aux, DP_EDP_CONFIGURATION_SET, ®); aux 879 drivers/gpu/drm/bridge/tc358767.c struct drm_dp_aux *aux = &tc->aux; aux 960 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_writeb(aux, DP_EDP_CONFIGURATION_SET, tmp[0]); aux 964 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_readb(aux, DP_EDP_CONFIGURATION_SET, tmp); aux 977 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_link_configure(aux, &tc->link.base); aux 985 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_write(aux, DP_DOWNSPREAD_CTRL, tmp, 2); aux 992 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_write(aux, DP_TRAINING_LANE0_SET, tmp, 2); aux 1084 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_writeb(aux, DP_TRAINING_PATTERN_SET, tmp[0]); aux 1089 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_read_link_status(aux, tmp); aux 1333 drivers/gpu/drm/bridge/tc358767.c edid = drm_get_edid(connector, &tc->aux.ddc); aux 1647 drivers/gpu/drm/bridge/tc358767.c tc->aux.name = "TC358767 AUX i2c adapter"; aux 1648 drivers/gpu/drm/bridge/tc358767.c tc->aux.dev = tc->dev; aux 1649 drivers/gpu/drm/bridge/tc358767.c tc->aux.transfer = tc_aux_transfer; aux 1650 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_aux_register(&tc->aux); aux 1668 drivers/gpu/drm/bridge/tc358767.c drm_dp_aux_unregister(&tc->aux); aux 92 drivers/gpu/drm/bridge/ti-sn65dsi86.c struct drm_dp_aux aux; aux 531 drivers/gpu/drm/bridge/ti-sn65dsi86.c drm_dp_dpcd_writeb(&pdata->aux, DP_EDP_CONFIGURATION_SET, aux 607 drivers/gpu/drm/bridge/ti-sn65dsi86.c static struct ti_sn_bridge *aux_to_ti_sn_bridge(struct drm_dp_aux *aux) aux 609 drivers/gpu/drm/bridge/ti-sn65dsi86.c return container_of(aux, struct ti_sn_bridge, aux); aux 612 drivers/gpu/drm/bridge/ti-sn65dsi86.c static ssize_t ti_sn_aux_transfer(struct drm_dp_aux *aux, aux 615 drivers/gpu/drm/bridge/ti-sn65dsi86.c struct ti_sn_bridge *pdata = aux_to_ti_sn_bridge(aux); aux 762 drivers/gpu/drm/bridge/ti-sn65dsi86.c pdata->aux.name = "ti-sn65dsi86-aux"; aux 763 drivers/gpu/drm/bridge/ti-sn65dsi86.c pdata->aux.dev = pdata->dev; aux 764 drivers/gpu/drm/bridge/ti-sn65dsi86.c pdata->aux.transfer = ti_sn_aux_transfer; aux 765 drivers/gpu/drm/bridge/ti-sn65dsi86.c drm_dp_aux_register(&pdata->aux); aux 49 drivers/gpu/drm/drm_crtc_helper_internal.h int drm_dp_aux_register_devnode(struct drm_dp_aux *aux); aux 50 drivers/gpu/drm/drm_crtc_helper_internal.h void drm_dp_aux_unregister_devnode(struct drm_dp_aux *aux); aux 61 drivers/gpu/drm/drm_crtc_helper_internal.h static inline int drm_dp_aux_register_devnode(struct drm_dp_aux *aux) aux 66 drivers/gpu/drm/drm_crtc_helper_internal.h static inline void drm_dp_aux_unregister_devnode(struct drm_dp_aux *aux) aux 47 drivers/gpu/drm/drm_dp_aux_dev.c struct drm_dp_aux *aux; aux 73 drivers/gpu/drm/drm_dp_aux_dev.c static struct drm_dp_aux_dev *alloc_drm_dp_aux_dev(struct drm_dp_aux *aux) aux 81 drivers/gpu/drm/drm_dp_aux_dev.c aux_dev->aux = aux; aux 115 drivers/gpu/drm/drm_dp_aux_dev.c res = sprintf(buf, "%s\n", aux_dev->aux->name); aux 166 drivers/gpu/drm/drm_dp_aux_dev.c if (aux_dev->aux->is_remote) aux 167 drivers/gpu/drm/drm_dp_aux_dev.c res = drm_dp_mst_dpcd_read(aux_dev->aux, pos, buf, aux 170 drivers/gpu/drm/drm_dp_aux_dev.c res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); aux 218 drivers/gpu/drm/drm_dp_aux_dev.c if (aux_dev->aux->is_remote) aux 219 drivers/gpu/drm/drm_dp_aux_dev.c res = drm_dp_mst_dpcd_write(aux_dev->aux, pos, buf, aux 222 drivers/gpu/drm/drm_dp_aux_dev.c res = drm_dp_dpcd_write(aux_dev->aux, pos, buf, todo); aux 257 drivers/gpu/drm/drm_dp_aux_dev.c #define to_auxdev(d) container_of(d, struct drm_dp_aux_dev, aux) aux 259 drivers/gpu/drm/drm_dp_aux_dev.c static struct drm_dp_aux_dev *drm_dp_aux_dev_get_by_aux(struct drm_dp_aux *aux) aux 271 drivers/gpu/drm/drm_dp_aux_dev.c if (iter->aux == aux) { aux 280 drivers/gpu/drm/drm_dp_aux_dev.c void drm_dp_aux_unregister_devnode(struct drm_dp_aux *aux) aux 285 drivers/gpu/drm/drm_dp_aux_dev.c aux_dev = drm_dp_aux_dev_get_by_aux(aux); aux 301 drivers/gpu/drm/drm_dp_aux_dev.c DRM_DEBUG("drm_dp_aux_dev: aux [%s] unregistering\n", aux->name); aux 305 drivers/gpu/drm/drm_dp_aux_dev.c int drm_dp_aux_register_devnode(struct drm_dp_aux *aux) aux 310 drivers/gpu/drm/drm_dp_aux_dev.c aux_dev = alloc_drm_dp_aux_dev(aux); aux 314 drivers/gpu/drm/drm_dp_aux_dev.c aux_dev->dev = device_create(drm_dp_aux_dev_class, aux->dev, aux 324 drivers/gpu/drm/drm_dp_aux_dev.c aux->name, aux_dev->index); aux 327 drivers/gpu/drm/drm_dp_aux_dev.c drm_dp_aux_unregister_devnode(aux); aux 90 drivers/gpu/drm/drm_dp_cec.c struct drm_dp_aux *aux = cec_get_drvdata(adap); aux 94 drivers/gpu/drm/drm_dp_cec.c err = drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_CONTROL, val); aux 100 drivers/gpu/drm/drm_dp_cec.c struct drm_dp_aux *aux = cec_get_drvdata(adap); aux 110 drivers/gpu/drm/drm_dp_cec.c err = drm_dp_dpcd_write(aux, DP_CEC_LOGICAL_ADDRESS_MASK, mask, 2); aux 117 drivers/gpu/drm/drm_dp_cec.c struct drm_dp_aux *aux = cec_get_drvdata(adap); aux 121 drivers/gpu/drm/drm_dp_cec.c err = drm_dp_dpcd_write(aux, DP_CEC_TX_MESSAGE_BUFFER, aux 126 drivers/gpu/drm/drm_dp_cec.c err = drm_dp_dpcd_writeb(aux, DP_CEC_TX_MESSAGE_INFO, aux 135 drivers/gpu/drm/drm_dp_cec.c struct drm_dp_aux *aux = cec_get_drvdata(adap); aux 142 drivers/gpu/drm/drm_dp_cec.c err = drm_dp_dpcd_readb(aux, DP_CEC_TUNNELING_CONTROL, &val); aux 148 drivers/gpu/drm/drm_dp_cec.c err = drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_CONTROL, val); aux 156 drivers/gpu/drm/drm_dp_cec.c struct drm_dp_aux *aux = cec_get_drvdata(adap); aux 160 drivers/gpu/drm/drm_dp_cec.c if (drm_dp_read_desc(aux, &desc, true)) aux 185 drivers/gpu/drm/drm_dp_cec.c static int drm_dp_cec_received(struct drm_dp_aux *aux) aux 187 drivers/gpu/drm/drm_dp_cec.c struct cec_adapter *adap = aux->cec.adap; aux 192 drivers/gpu/drm/drm_dp_cec.c err = drm_dp_dpcd_readb(aux, DP_CEC_RX_MESSAGE_INFO, &rx_msg_info); aux 200 drivers/gpu/drm/drm_dp_cec.c err = drm_dp_dpcd_read(aux, DP_CEC_RX_MESSAGE_BUFFER, msg.msg, msg.len); aux 208 drivers/gpu/drm/drm_dp_cec.c static void drm_dp_cec_handle_irq(struct drm_dp_aux *aux) aux 210 drivers/gpu/drm/drm_dp_cec.c struct cec_adapter *adap = aux->cec.adap; aux 213 drivers/gpu/drm/drm_dp_cec.c if (drm_dp_dpcd_readb(aux, DP_CEC_TUNNELING_IRQ_FLAGS, &flags) < 0) aux 217 drivers/gpu/drm/drm_dp_cec.c drm_dp_cec_received(aux); aux 228 drivers/gpu/drm/drm_dp_cec.c drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_IRQ_FLAGS, flags); aux 238 drivers/gpu/drm/drm_dp_cec.c void drm_dp_cec_irq(struct drm_dp_aux *aux) aux 244 drivers/gpu/drm/drm_dp_cec.c if (!aux->transfer) aux 247 drivers/gpu/drm/drm_dp_cec.c mutex_lock(&aux->cec.lock); aux 248 drivers/gpu/drm/drm_dp_cec.c if (!aux->cec.adap) aux 251 drivers/gpu/drm/drm_dp_cec.c ret = drm_dp_dpcd_readb(aux, DP_DEVICE_SERVICE_IRQ_VECTOR_ESI1, aux 256 drivers/gpu/drm/drm_dp_cec.c drm_dp_cec_handle_irq(aux); aux 257 drivers/gpu/drm/drm_dp_cec.c drm_dp_dpcd_writeb(aux, DP_DEVICE_SERVICE_IRQ_VECTOR_ESI1, DP_CEC_IRQ); aux 259 drivers/gpu/drm/drm_dp_cec.c mutex_unlock(&aux->cec.lock); aux 263 drivers/gpu/drm/drm_dp_cec.c static bool drm_dp_cec_cap(struct drm_dp_aux *aux, u8 *cec_cap) aux 267 drivers/gpu/drm/drm_dp_cec.c if (drm_dp_dpcd_readb(aux, DP_CEC_TUNNELING_CAPABILITY, &cap) != 1 || aux 281 drivers/gpu/drm/drm_dp_cec.c struct drm_dp_aux *aux = container_of(work, struct drm_dp_aux, aux 284 drivers/gpu/drm/drm_dp_cec.c mutex_lock(&aux->cec.lock); aux 285 drivers/gpu/drm/drm_dp_cec.c cec_unregister_adapter(aux->cec.adap); aux 286 drivers/gpu/drm/drm_dp_cec.c aux->cec.adap = NULL; aux 287 drivers/gpu/drm/drm_dp_cec.c mutex_unlock(&aux->cec.lock); aux 296 drivers/gpu/drm/drm_dp_cec.c void drm_dp_cec_set_edid(struct drm_dp_aux *aux, const struct edid *edid) aux 303 drivers/gpu/drm/drm_dp_cec.c if (!aux->transfer) aux 316 drivers/gpu/drm/drm_dp_cec.c cancel_delayed_work_sync(&aux->cec.unregister_work); aux 318 drivers/gpu/drm/drm_dp_cec.c mutex_lock(&aux->cec.lock); aux 319 drivers/gpu/drm/drm_dp_cec.c if (!drm_dp_cec_cap(aux, &cap)) { aux 321 drivers/gpu/drm/drm_dp_cec.c cec_unregister_adapter(aux->cec.adap); aux 322 drivers/gpu/drm/drm_dp_cec.c aux->cec.adap = NULL; aux 331 drivers/gpu/drm/drm_dp_cec.c if (aux->cec.adap) { aux 332 drivers/gpu/drm/drm_dp_cec.c if (aux->cec.adap->capabilities == cec_caps && aux 333 drivers/gpu/drm/drm_dp_cec.c aux->cec.adap->available_log_addrs == num_las) { aux 335 drivers/gpu/drm/drm_dp_cec.c cec_s_phys_addr_from_edid(aux->cec.adap, edid); aux 342 drivers/gpu/drm/drm_dp_cec.c cec_unregister_adapter(aux->cec.adap); aux 346 drivers/gpu/drm/drm_dp_cec.c aux->cec.adap = cec_allocate_adapter(&drm_dp_cec_adap_ops, aux 347 drivers/gpu/drm/drm_dp_cec.c aux, aux->cec.name, cec_caps, aux 349 drivers/gpu/drm/drm_dp_cec.c if (IS_ERR(aux->cec.adap)) { aux 350 drivers/gpu/drm/drm_dp_cec.c aux->cec.adap = NULL; aux 353 drivers/gpu/drm/drm_dp_cec.c if (cec_register_adapter(aux->cec.adap, aux->cec.parent)) { aux 354 drivers/gpu/drm/drm_dp_cec.c cec_delete_adapter(aux->cec.adap); aux 355 drivers/gpu/drm/drm_dp_cec.c aux->cec.adap = NULL; aux 362 drivers/gpu/drm/drm_dp_cec.c cec_s_phys_addr_from_edid(aux->cec.adap, edid); aux 365 drivers/gpu/drm/drm_dp_cec.c mutex_unlock(&aux->cec.lock); aux 372 drivers/gpu/drm/drm_dp_cec.c void drm_dp_cec_unset_edid(struct drm_dp_aux *aux) aux 375 drivers/gpu/drm/drm_dp_cec.c if (!aux->transfer) aux 378 drivers/gpu/drm/drm_dp_cec.c cancel_delayed_work_sync(&aux->cec.unregister_work); aux 380 drivers/gpu/drm/drm_dp_cec.c mutex_lock(&aux->cec.lock); aux 381 drivers/gpu/drm/drm_dp_cec.c if (!aux->cec.adap) aux 384 drivers/gpu/drm/drm_dp_cec.c cec_phys_addr_invalidate(aux->cec.adap); aux 392 drivers/gpu/drm/drm_dp_cec.c !drm_dp_cec_cap(aux, NULL)) { aux 398 drivers/gpu/drm/drm_dp_cec.c schedule_delayed_work(&aux->cec.unregister_work, aux 402 drivers/gpu/drm/drm_dp_cec.c mutex_unlock(&aux->cec.lock); aux 417 drivers/gpu/drm/drm_dp_cec.c void drm_dp_cec_register_connector(struct drm_dp_aux *aux, const char *name, aux 420 drivers/gpu/drm/drm_dp_cec.c WARN_ON(aux->cec.adap); aux 421 drivers/gpu/drm/drm_dp_cec.c if (WARN_ON(!aux->transfer)) aux 423 drivers/gpu/drm/drm_dp_cec.c aux->cec.name = name; aux 424 drivers/gpu/drm/drm_dp_cec.c aux->cec.parent = parent; aux 425 drivers/gpu/drm/drm_dp_cec.c INIT_DELAYED_WORK(&aux->cec.unregister_work, aux 434 drivers/gpu/drm/drm_dp_cec.c void drm_dp_cec_unregister_connector(struct drm_dp_aux *aux) aux 436 drivers/gpu/drm/drm_dp_cec.c if (!aux->cec.adap) aux 438 drivers/gpu/drm/drm_dp_cec.c cancel_delayed_work_sync(&aux->cec.unregister_work); aux 439 drivers/gpu/drm/drm_dp_cec.c cec_unregister_adapter(aux->cec.adap); aux 440 drivers/gpu/drm/drm_dp_cec.c aux->cec.adap = NULL; aux 170 drivers/gpu/drm/drm_dp_helper.c drm_dp_dump_access(const struct drm_dp_aux *aux, aux 177 drivers/gpu/drm/drm_dp_helper.c aux->name, offset, arrow, ret, min(ret, 20), buffer); aux 180 drivers/gpu/drm/drm_dp_helper.c aux->name, offset, arrow, ret); aux 195 drivers/gpu/drm/drm_dp_helper.c static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request, aux 208 drivers/gpu/drm/drm_dp_helper.c mutex_lock(&aux->hw_mutex); aux 222 drivers/gpu/drm/drm_dp_helper.c ret = aux->transfer(aux, &msg); aux 248 drivers/gpu/drm/drm_dp_helper.c mutex_unlock(&aux->hw_mutex); aux 266 drivers/gpu/drm/drm_dp_helper.c ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset, aux 283 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_access(aux, DP_AUX_NATIVE_READ, DP_DPCD_REV, buffer, aux 288 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_access(aux, DP_AUX_NATIVE_READ, offset, buffer, aux 292 drivers/gpu/drm/drm_dp_helper.c drm_dp_dump_access(aux, DP_AUX_NATIVE_READ, offset, buffer, ret); aux 311 drivers/gpu/drm/drm_dp_helper.c ssize_t drm_dp_dpcd_write(struct drm_dp_aux *aux, unsigned int offset, aux 316 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_access(aux, DP_AUX_NATIVE_WRITE, offset, buffer, aux 318 drivers/gpu/drm/drm_dp_helper.c drm_dp_dump_access(aux, DP_AUX_NATIVE_WRITE, offset, buffer, ret); aux 331 drivers/gpu/drm/drm_dp_helper.c int drm_dp_dpcd_read_link_status(struct drm_dp_aux *aux, aux 334 drivers/gpu/drm/drm_dp_helper.c return drm_dp_dpcd_read(aux, DP_LANE0_1_STATUS, status, aux 350 drivers/gpu/drm/drm_dp_helper.c int drm_dp_link_probe(struct drm_dp_aux *aux, struct drm_dp_link *link) aux 357 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_dpcd_read(aux, DP_DPCD_REV, values, sizeof(values)); aux 379 drivers/gpu/drm/drm_dp_helper.c int drm_dp_link_power_up(struct drm_dp_aux *aux, struct drm_dp_link *link) aux 388 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); aux 395 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); aux 417 drivers/gpu/drm/drm_dp_helper.c int drm_dp_link_power_down(struct drm_dp_aux *aux, struct drm_dp_link *link) aux 426 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); aux 433 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); aux 448 drivers/gpu/drm/drm_dp_helper.c int drm_dp_link_configure(struct drm_dp_aux *aux, struct drm_dp_link *link) aux 459 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_dpcd_write(aux, DP_LINK_BW_SET, values, sizeof(values)); aux 550 drivers/gpu/drm/drm_dp_helper.c int drm_dp_downstream_id(struct drm_dp_aux *aux, char id[6]) aux 552 drivers/gpu/drm/drm_dp_helper.c return drm_dp_dpcd_read(aux, DP_BRANCH_ID, id, 6); aux 566 drivers/gpu/drm/drm_dp_helper.c const u8 port_cap[4], struct drm_dp_aux *aux) aux 612 drivers/gpu/drm/drm_dp_helper.c drm_dp_downstream_id(aux, id); aux 615 drivers/gpu/drm/drm_dp_helper.c len = drm_dp_dpcd_read(aux, DP_BRANCH_HW_REV, &rev[0], 1); aux 620 drivers/gpu/drm/drm_dp_helper.c len = drm_dp_dpcd_read(aux, DP_BRANCH_SW_REV, rev, 2); aux 759 drivers/gpu/drm/drm_dp_helper.c static int drm_dp_i2c_do_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) aux 773 drivers/gpu/drm/drm_dp_helper.c ret = aux->transfer(aux, msg); aux 837 drivers/gpu/drm/drm_dp_helper.c aux->i2c_nack_count++; aux 846 drivers/gpu/drm/drm_dp_helper.c aux->i2c_defer_count++; aux 878 drivers/gpu/drm/drm_dp_helper.c static int drm_dp_i2c_drain_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *orig_msg) aux 884 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_i2c_do_msg(aux, &msg); aux 914 drivers/gpu/drm/drm_dp_helper.c struct drm_dp_aux *aux = adapter->algo_data; aux 933 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_i2c_do_msg(aux, &msg); aux 952 drivers/gpu/drm/drm_dp_helper.c err = drm_dp_i2c_drain_msg(aux, &msg); aux 976 drivers/gpu/drm/drm_dp_helper.c (void)drm_dp_i2c_do_msg(aux, &msg); aux 1012 drivers/gpu/drm/drm_dp_helper.c static int drm_dp_aux_get_crc(struct drm_dp_aux *aux, u8 *crc) aux 1017 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK, &buf); aux 1023 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK_MISC, &buf); aux 1028 drivers/gpu/drm/drm_dp_helper.c if (count == aux->crc_count) aux 1031 drivers/gpu/drm/drm_dp_helper.c aux->crc_count = count; aux 1037 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_read(aux, DP_TEST_CRC_R_CR, crc, 6); aux 1046 drivers/gpu/drm/drm_dp_helper.c struct drm_dp_aux *aux = container_of(work, struct drm_dp_aux, aux 1053 drivers/gpu/drm/drm_dp_helper.c if (WARN_ON(!aux->crtc)) aux 1056 drivers/gpu/drm/drm_dp_helper.c crtc = aux->crtc; aux 1062 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_aux_get_crc(aux, crc_bytes); aux 1065 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_aux_get_crc(aux, crc_bytes); aux 1093 drivers/gpu/drm/drm_dp_helper.c void drm_dp_aux_init(struct drm_dp_aux *aux) aux 1095 drivers/gpu/drm/drm_dp_helper.c mutex_init(&aux->hw_mutex); aux 1096 drivers/gpu/drm/drm_dp_helper.c mutex_init(&aux->cec.lock); aux 1097 drivers/gpu/drm/drm_dp_helper.c INIT_WORK(&aux->crc_work, drm_dp_aux_crc_work); aux 1099 drivers/gpu/drm/drm_dp_helper.c aux->ddc.algo = &drm_dp_i2c_algo; aux 1100 drivers/gpu/drm/drm_dp_helper.c aux->ddc.algo_data = aux; aux 1101 drivers/gpu/drm/drm_dp_helper.c aux->ddc.retries = 3; aux 1103 drivers/gpu/drm/drm_dp_helper.c aux->ddc.lock_ops = &drm_dp_i2c_lock_ops; aux 1115 drivers/gpu/drm/drm_dp_helper.c int drm_dp_aux_register(struct drm_dp_aux *aux) aux 1119 drivers/gpu/drm/drm_dp_helper.c if (!aux->ddc.algo) aux 1120 drivers/gpu/drm/drm_dp_helper.c drm_dp_aux_init(aux); aux 1122 drivers/gpu/drm/drm_dp_helper.c aux->ddc.class = I2C_CLASS_DDC; aux 1123 drivers/gpu/drm/drm_dp_helper.c aux->ddc.owner = THIS_MODULE; aux 1124 drivers/gpu/drm/drm_dp_helper.c aux->ddc.dev.parent = aux->dev; aux 1126 drivers/gpu/drm/drm_dp_helper.c strlcpy(aux->ddc.name, aux->name ? aux->name : dev_name(aux->dev), aux 1127 drivers/gpu/drm/drm_dp_helper.c sizeof(aux->ddc.name)); aux 1129 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_aux_register_devnode(aux); aux 1133 drivers/gpu/drm/drm_dp_helper.c ret = i2c_add_adapter(&aux->ddc); aux 1135 drivers/gpu/drm/drm_dp_helper.c drm_dp_aux_unregister_devnode(aux); aux 1147 drivers/gpu/drm/drm_dp_helper.c void drm_dp_aux_unregister(struct drm_dp_aux *aux) aux 1149 drivers/gpu/drm/drm_dp_helper.c drm_dp_aux_unregister_devnode(aux); aux 1150 drivers/gpu/drm/drm_dp_helper.c i2c_del_adapter(&aux->ddc); aux 1194 drivers/gpu/drm/drm_dp_helper.c int drm_dp_start_crc(struct drm_dp_aux *aux, struct drm_crtc *crtc) aux 1199 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK, &buf); aux 1203 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_writeb(aux, DP_TEST_SINK, buf | DP_TEST_SINK_START); aux 1207 drivers/gpu/drm/drm_dp_helper.c aux->crc_count = 0; aux 1208 drivers/gpu/drm/drm_dp_helper.c aux->crtc = crtc; aux 1209 drivers/gpu/drm/drm_dp_helper.c schedule_work(&aux->crc_work); aux 1221 drivers/gpu/drm/drm_dp_helper.c int drm_dp_stop_crc(struct drm_dp_aux *aux) aux 1226 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK, &buf); aux 1230 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_writeb(aux, DP_TEST_SINK, buf & ~DP_TEST_SINK_START); aux 1234 drivers/gpu/drm/drm_dp_helper.c flush_work(&aux->crc_work); aux 1235 drivers/gpu/drm/drm_dp_helper.c aux->crtc = NULL; aux 1316 drivers/gpu/drm/drm_dp_helper.c int drm_dp_read_desc(struct drm_dp_aux *aux, struct drm_dp_desc *desc, aux 1323 drivers/gpu/drm/drm_dp_helper.c ret = drm_dp_dpcd_read(aux, offset, ident, sizeof(*ident)); aux 73 drivers/gpu/drm/drm_dp_mst_topology.c static int drm_dp_mst_register_i2c_bus(struct drm_dp_aux *aux); aux 74 drivers/gpu/drm/drm_dp_mst_topology.c static void drm_dp_mst_unregister_i2c_bus(struct drm_dp_aux *aux); aux 1229 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_mst_unregister_i2c_bus(&port->aux); aux 1469 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_mst_register_i2c_bus(&port->aux); aux 1504 drivers/gpu/drm/drm_dp_mst_topology.c ssize_t drm_dp_mst_dpcd_read(struct drm_dp_aux *aux, aux 1507 drivers/gpu/drm/drm_dp_mst_topology.c struct drm_dp_mst_port *port = container_of(aux, struct drm_dp_mst_port, aux 1508 drivers/gpu/drm/drm_dp_mst_topology.c aux); aux 1527 drivers/gpu/drm/drm_dp_mst_topology.c ssize_t drm_dp_mst_dpcd_write(struct drm_dp_aux *aux, aux 1530 drivers/gpu/drm/drm_dp_mst_topology.c struct drm_dp_mst_port *port = container_of(aux, struct drm_dp_mst_port, aux 1531 drivers/gpu/drm/drm_dp_mst_topology.c aux); aux 1554 drivers/gpu/drm/drm_dp_mst_topology.c mstb->mgr->aux, aux 1595 drivers/gpu/drm/drm_dp_mst_topology.c port->aux.name, connector->kdev->kobj.name); aux 1597 drivers/gpu/drm/drm_dp_mst_topology.c port->aux.dev = connector->kdev; aux 1598 drivers/gpu/drm/drm_dp_mst_topology.c return drm_dp_aux_register_devnode(&port->aux); aux 1615 drivers/gpu/drm/drm_dp_mst_topology.c port->aux.name, connector->kdev->kobj.name); aux 1616 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_aux_unregister_devnode(&port->aux); aux 1640 drivers/gpu/drm/drm_dp_mst_topology.c port->aux.name = "DPMST"; aux 1641 drivers/gpu/drm/drm_dp_mst_topology.c port->aux.dev = dev->dev; aux 1642 drivers/gpu/drm/drm_dp_mst_topology.c port->aux.is_remote = true; aux 1714 drivers/gpu/drm/drm_dp_mst_topology.c &port->aux.ddc); aux 1938 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_write(mgr->aux, regbase + offset, aux 2710 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_read(mgr->aux, DP_DPCD_REV, mgr->dpcd, DP_RECEIVER_CAP_SIZE); aux 2735 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, aux 2756 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, 0); aux 2787 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, aux 2815 drivers/gpu/drm/drm_dp_mst_topology.c sret = drm_dp_dpcd_read(mgr->aux, DP_DPCD_REV, mgr->dpcd, DP_RECEIVER_CAP_SIZE); aux 2822 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, aux 2831 drivers/gpu/drm/drm_dp_mst_topology.c sret = drm_dp_dpcd_read(mgr->aux, DP_GUID, guid, 16); aux 2860 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_read(mgr->aux, basereg, aux 2878 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_read(mgr->aux, basereg + curreply, aux 3101 drivers/gpu/drm/drm_dp_mst_topology.c port->cached_edid = drm_get_edid(connector, &port->aux.ddc); aux 3158 drivers/gpu/drm/drm_dp_mst_topology.c edid = drm_get_edid(connector, &port->aux.ddc); aux 3466 drivers/gpu/drm/drm_dp_mst_topology.c drm_dp_dpcd_writeb(mgr->aux, DP_PAYLOAD_TABLE_UPDATE_STATUS, aux 3473 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_write(mgr->aux, DP_PAYLOAD_ALLOCATE_SET, payload_alloc, 3); aux 3480 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_readb(mgr->aux, DP_PAYLOAD_TABLE_UPDATE_STATUS, &status); aux 3515 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_readb(mgr->aux, DP_PAYLOAD_TABLE_UPDATE_STATUS, &status); aux 3635 drivers/gpu/drm/drm_dp_mst_topology.c if (drm_dp_dpcd_read(mgr->aux, aux 3706 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_read(mgr->aux, DP_DPCD_REV, buf, DP_RECEIVER_CAP_SIZE); aux 3708 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_read(mgr->aux, DP_FAUX_CAP, buf, 2); aux 3710 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_read(mgr->aux, DP_MSTM_CTRL, buf, 1); aux 3714 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_dpcd_read(mgr->aux, DP_BRANCH_OUI, buf, DP_BRANCH_OUI_HEADER_SIZE); aux 3949 drivers/gpu/drm/drm_dp_mst_topology.c struct drm_device *dev, struct drm_dp_aux *aux, aux 3966 drivers/gpu/drm/drm_dp_mst_topology.c mgr->aux = aux; aux 4014 drivers/gpu/drm/drm_dp_mst_topology.c mgr->aux = NULL; aux 4041 drivers/gpu/drm/drm_dp_mst_topology.c struct drm_dp_aux *aux = adapter->algo_data; aux 4042 drivers/gpu/drm/drm_dp_mst_topology.c struct drm_dp_mst_port *port = container_of(aux, struct drm_dp_mst_port, aux); aux 4123 drivers/gpu/drm/drm_dp_mst_topology.c static int drm_dp_mst_register_i2c_bus(struct drm_dp_aux *aux) aux 4125 drivers/gpu/drm/drm_dp_mst_topology.c aux->ddc.algo = &drm_dp_mst_i2c_algo; aux 4126 drivers/gpu/drm/drm_dp_mst_topology.c aux->ddc.algo_data = aux; aux 4127 drivers/gpu/drm/drm_dp_mst_topology.c aux->ddc.retries = 3; aux 4129 drivers/gpu/drm/drm_dp_mst_topology.c aux->ddc.class = I2C_CLASS_DDC; aux 4130 drivers/gpu/drm/drm_dp_mst_topology.c aux->ddc.owner = THIS_MODULE; aux 4131 drivers/gpu/drm/drm_dp_mst_topology.c aux->ddc.dev.parent = aux->dev; aux 4132 drivers/gpu/drm/drm_dp_mst_topology.c aux->ddc.dev.of_node = aux->dev->of_node; aux 4134 drivers/gpu/drm/drm_dp_mst_topology.c strlcpy(aux->ddc.name, aux->name ? aux->name : dev_name(aux->dev), aux 4135 drivers/gpu/drm/drm_dp_mst_topology.c sizeof(aux->ddc.name)); aux 4137 drivers/gpu/drm/drm_dp_mst_topology.c return i2c_add_adapter(&aux->ddc); aux 4144 drivers/gpu/drm/drm_dp_mst_topology.c static void drm_dp_mst_unregister_i2c_bus(struct drm_dp_aux *aux) aux 4146 drivers/gpu/drm/drm_dp_mst_topology.c i2c_del_adapter(&aux->ddc); aux 828 drivers/gpu/drm/gma500/psb_drv.h uint32_t reg, int aux) aux 832 drivers/gpu/drm/gma500/psb_drv.h if (aux) aux 840 drivers/gpu/drm/gma500/psb_drv.h #define REG_READ_WITH_AUX(reg, aux) REGISTER_READ_WITH_AUX(dev, (reg), (aux)) aux 860 drivers/gpu/drm/gma500/psb_drv.h uint32_t val, int aux) aux 862 drivers/gpu/drm/gma500/psb_drv.h if (aux) aux 868 drivers/gpu/drm/gma500/psb_drv.h #define REG_WRITE_WITH_AUX(reg, val, aux) REGISTER_WRITE_WITH_AUX(dev, (reg), (val), (aux)) aux 3128 drivers/gpu/drm/i915/display/intel_ddi.c if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_FEC_CONFIGURATION, DP_FEC_READY) <= 0) aux 1179 drivers/gpu/drm/i915/display/intel_display_types.h struct drm_dp_aux aux; aux 1483 drivers/gpu/drm/i915/display/intel_dp.c intel_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) aux 1485 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *intel_dp = container_of(aux, struct intel_dp, aux); aux 1669 drivers/gpu/drm/i915/display/intel_dp.c kfree(intel_dp->aux.name); aux 1704 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_aux_init(&intel_dp->aux); aux 1707 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.name = kasprintf(GFP_KERNEL, "DPDDC-%c", aux 1709 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.transfer = intel_dp_aux_transfer; aux 3029 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_writeb(&intel_dp->aux, DP_DSC_ENABLE, aux 3049 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_writeb(&intel_dp->aux, DP_SET_POWER, aux 3059 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_writeb(&intel_dp->aux, DP_SET_POWER, aux 3638 drivers/gpu/drm/i915/display/intel_dp.c return drm_dp_dpcd_read(&intel_dp->aux, DP_LANE0_1_STATUS, link_status, aux 4149 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_read(&intel_dp->aux, DP_DP13_DPCD_REV, aux 4172 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_read(&intel_dp->aux, 0x000, intel_dp->dpcd, aux 4187 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_readb(&intel_dp->aux, DP_DPRX_FEATURE_ENUMERATION_LIST, aux 4207 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_read(&intel_dp->aux, DP_DSC_SUPPORT, aux 4219 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_dpcd_readb(&intel_dp->aux, DP_FEC_CAPABILITY, aux 4239 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_read_desc(&intel_dp->aux, &intel_dp->desc, aux 4251 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_read(&intel_dp->aux, DP_EDP_DPCD_REV, aux 4268 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_dpcd_read(&intel_dp->aux, DP_SUPPORTED_LINK_RATES, aux 4318 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_read_desc(&intel_dp->aux, &intel_dp->desc, aux 4334 drivers/gpu/drm/i915/display/intel_dp.c r = drm_dp_dpcd_readb(&intel_dp->aux, DP_SINK_COUNT, &count); aux 4362 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_read(&intel_dp->aux, DP_DOWNSTREAM_PORT_0, aux 4378 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_readb(&intel_dp->aux, DP_MSTM_CAP, &mstm_cap) != 1) aux 4416 drivers/gpu/drm/i915/display/intel_dp.c return drm_dp_dpcd_read(&intel_dp->aux, DP_SINK_COUNT_ESI, aux 4520 drivers/gpu/drm/i915/display/intel_dp.c status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_LANE_COUNT, aux 4529 drivers/gpu/drm/i915/display/intel_dp.c status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_LINK_RATE, aux 4556 drivers/gpu/drm/i915/display/intel_dp.c status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_PATTERN, aux 4565 drivers/gpu/drm/i915/display/intel_dp.c status = drm_dp_dpcd_read(&intel_dp->aux, DP_TEST_H_WIDTH_HI, aux 4572 drivers/gpu/drm/i915/display/intel_dp.c status = drm_dp_dpcd_read(&intel_dp->aux, DP_TEST_V_HEIGHT_HI, aux 4579 drivers/gpu/drm/i915/display/intel_dp.c status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_MISC0, aux 4617 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.i2c_defer_count > 6) { aux 4625 drivers/gpu/drm/i915/display/intel_dp.c if (intel_dp->aux.i2c_nack_count > 0 || aux 4626 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.i2c_defer_count > 0) aux 4628 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.i2c_nack_count, aux 4629 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.i2c_defer_count); aux 4639 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_TEST_EDID_CHECKSUM, aux 4665 drivers/gpu/drm/i915/display/intel_dp.c status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_REQUEST, &request); aux 4697 drivers/gpu/drm/i915/display/intel_dp.c status = drm_dp_dpcd_writeb(&intel_dp->aux, DP_TEST_RESPONSE, response); aux 4732 drivers/gpu/drm/i915/display/intel_dp.c wret = drm_dp_dpcd_write(&intel_dp->aux, aux 4915 drivers/gpu/drm/i915/display/intel_dp.c if (drm_dp_dpcd_readb(&intel_dp->aux, aux 4919 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_dpcd_writeb(&intel_dp->aux, DP_DEVICE_SERVICE_IRQ_VECTOR, val); aux 4973 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_cec_irq(&intel_dp->aux); aux 5023 drivers/gpu/drm/i915/display/intel_dp.c if (drm_probe_ddc(&intel_dp->aux.ddc)) aux 5316 drivers/gpu/drm/i915/display/intel_dp.c &intel_dp->aux.ddc); aux 5330 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_cec_set_edid(&intel_dp->aux, edid); aux 5338 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_cec_unset_edid(&intel_dp->aux); aux 5429 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.i2c_nack_count = 0; aux 5430 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.i2c_defer_count = 0; aux 5519 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.name, connector->kdev->kobj.name); aux 5521 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->aux.dev = connector->kdev; aux 5522 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_aux_register(&intel_dp->aux); aux 5524 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_cec_register_connector(&intel_dp->aux, aux 5534 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_cec_unregister_connector(&intel_dp->aux); aux 5535 drivers/gpu/drm/i915/display/intel_dp.c drm_dp_aux_unregister(&intel_dp->aux); aux 5617 drivers/gpu/drm/i915/display/intel_dp.c dpcd_ret = drm_dp_dpcd_write(&intel_dig_port->dp.aux, DP_AUX_HDCP_AN, aux 5657 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BKSV, bksv, aux 5675 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BINFO, aux 5690 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BCAPS, aux 5720 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_RI_PRIME, aux 5735 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, aux 5755 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, aux 5777 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, aux 5801 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, aux 5881 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, aux 6004 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_write(&intel_dig_port->dp.aux, aux 6024 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, aux 6077 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, offset, aux 6145 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, aux 7046 drivers/gpu/drm/i915/display/intel_dp.c edid = drm_get_edid(connector, &intel_dp->aux.ddc); aux 36 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_readb(&intel_dp->aux, DP_EDP_DISPLAY_CONTROL_REGISTER, aux 47 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_EDP_DISPLAY_CONTROL_REGISTER, aux 64 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_read(&intel_dp->aux, DP_EDP_BACKLIGHT_BRIGHTNESS_MSB, aux 95 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_write(&intel_dp->aux, DP_EDP_BACKLIGHT_BRIGHTNESS_MSB, aux 137 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_readb(&intel_dp->aux, aux 142 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_readb(&intel_dp->aux, aux 164 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_writeb(&intel_dp->aux, aux 169 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_writeb(&intel_dp->aux, aux 184 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_readb(&intel_dp->aux, aux 213 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c if (drm_dp_dpcd_writeb(&intel_dp->aux, aux 89 drivers/gpu/drm/i915/display/intel_dp_link_training.c ret = drm_dp_dpcd_write(&intel_dp->aux, DP_TRAINING_PATTERN_SET, aux 111 drivers/gpu/drm/i915/display/intel_dp_link_training.c ret = drm_dp_dpcd_write(&intel_dp->aux, DP_TRAINING_LANE0_SET, aux 155 drivers/gpu/drm/i915/display/intel_dp_link_training.c drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_BW_SET, link_config, 2); aux 159 drivers/gpu/drm/i915/display/intel_dp_link_training.c drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_RATE_SET, aux 164 drivers/gpu/drm/i915/display/intel_dp_link_training.c drm_dp_dpcd_write(&intel_dp->aux, DP_DOWNSPREAD_CTRL, link_config, 2); aux 675 drivers/gpu/drm/i915/display/intel_dp_mst.c &intel_dp->aux, 16, 3, conn_base_id); aux 79 drivers/gpu/drm/i915/display/intel_lspcon.c if (drm_dp_read_desc(&dp->aux, &dp->desc, drm_dp_is_branch(dp->dpcd))) { aux 110 drivers/gpu/drm/i915/display/intel_lspcon.c struct i2c_adapter *adapter = &lspcon_to_intel_dp(lspcon)->aux.ddc; aux 147 drivers/gpu/drm/i915/display/intel_lspcon.c struct i2c_adapter *adapter = &lspcon_to_intel_dp(lspcon)->aux.ddc; aux 175 drivers/gpu/drm/i915/display/intel_lspcon.c if (drm_dp_dpcd_readb(&lspcon_to_intel_dp(lspcon)->aux, DP_DPCD_REV, aux 206 drivers/gpu/drm/i915/display/intel_lspcon.c struct i2c_adapter *adapter = &lspcon_to_intel_dp(lspcon)->aux.ddc; aux 268 drivers/gpu/drm/i915/display/intel_lspcon.c static bool lspcon_parade_fw_ready(struct drm_dp_aux *aux) aux 279 drivers/gpu/drm/i915/display/intel_lspcon.c ret = drm_dp_dpcd_read(aux, LSPCON_PARADE_AVI_IF_CTRL, aux 294 drivers/gpu/drm/i915/display/intel_lspcon.c static bool _lspcon_parade_write_infoframe_blocks(struct drm_dp_aux *aux, aux 304 drivers/gpu/drm/i915/display/intel_lspcon.c if (!lspcon_parade_fw_ready(aux)) { aux 312 drivers/gpu/drm/i915/display/intel_lspcon.c ret = drm_dp_dpcd_write(aux, reg, data, 8); aux 327 drivers/gpu/drm/i915/display/intel_lspcon.c ret = drm_dp_dpcd_write(aux, reg, &avi_if_ctrl, 1); aux 341 drivers/gpu/drm/i915/display/intel_lspcon.c static bool _lspcon_write_avi_infoframe_parade(struct drm_dp_aux *aux, aux 365 drivers/gpu/drm/i915/display/intel_lspcon.c if (!_lspcon_parade_write_infoframe_blocks(aux, avi_if)) { aux 373 drivers/gpu/drm/i915/display/intel_lspcon.c static bool _lspcon_write_avi_infoframe_mca(struct drm_dp_aux *aux, aux 386 drivers/gpu/drm/i915/display/intel_lspcon.c ret = drm_dp_dpcd_write(aux, reg, (void *)data, 1); aux 402 drivers/gpu/drm/i915/display/intel_lspcon.c ret = drm_dp_dpcd_read(aux, reg, &val, 1); aux 412 drivers/gpu/drm/i915/display/intel_lspcon.c ret = drm_dp_dpcd_write(aux, reg, &val, 1); aux 419 drivers/gpu/drm/i915/display/intel_lspcon.c ret = drm_dp_dpcd_read(aux, reg, &val, 1); aux 445 drivers/gpu/drm/i915/display/intel_lspcon.c ret = _lspcon_write_avi_infoframe_mca(&intel_dp->aux, aux 448 drivers/gpu/drm/i915/display/intel_lspcon.c ret = _lspcon_write_avi_infoframe_parade(&intel_dp->aux, aux 237 drivers/gpu/drm/i915/display/intel_psr.c if (drm_dp_dpcd_readb(&intel_dp->aux, DP_RECEIVER_ALPM_CAP, aux 247 drivers/gpu/drm/i915/display/intel_psr.c if (drm_dp_dpcd_readb(&intel_dp->aux, aux 267 drivers/gpu/drm/i915/display/intel_psr.c r = drm_dp_dpcd_read(&intel_dp->aux, DP_PSR2_SU_X_GRANULARITY, &val, 2); aux 286 drivers/gpu/drm/i915/display/intel_psr.c drm_dp_dpcd_read(&intel_dp->aux, DP_PSR_SUPPORT, intel_dp->psr_dpcd, aux 414 drivers/gpu/drm/i915/display/intel_psr.c drm_dp_dpcd_writeb(&intel_dp->aux, DP_RECEIVER_ALPM_CONFIG, aux 425 drivers/gpu/drm/i915/display/intel_psr.c drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_EN_CFG, dpcd_val); aux 427 drivers/gpu/drm/i915/display/intel_psr.c drm_dp_dpcd_writeb(&intel_dp->aux, DP_SET_POWER, DP_SET_POWER_D0); aux 833 drivers/gpu/drm/i915/display/intel_psr.c drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_EN_CFG, 0); aux 1087 drivers/gpu/drm/i915/display/intel_psr.c drm_dp_dpcd_writeb(&psr->dp->aux, DP_SET_POWER, DP_SET_POWER_D0); aux 1270 drivers/gpu/drm/i915/display/intel_psr.c if (drm_dp_dpcd_readb(&intel_dp->aux, DP_PSR_STATUS, &val) != 1) { aux 1281 drivers/gpu/drm/i915/display/intel_psr.c if (drm_dp_dpcd_readb(&intel_dp->aux, DP_PSR_ERROR_STATUS, &val) != 1) { aux 1301 drivers/gpu/drm/i915/display/intel_psr.c drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_ERROR_STATUS, val); aux 2099 drivers/gpu/drm/i915/i915_debugfs.c ret = drm_dp_dpcd_readb(&intel_dp->aux, DP_PSR_STATUS, &val); aux 2518 drivers/gpu/drm/i915/i915_debugfs.c &intel_dp->aux); aux 4435 drivers/gpu/drm/i915/i915_debugfs.c err = drm_dp_dpcd_read(&intel_dp->aux, b->offset, buf, size); aux 50 drivers/gpu/drm/msm/edp/edp.h void msm_edp_aux_destroy(struct device *dev, struct edp_aux *aux); aux 51 drivers/gpu/drm/msm/edp/edp.h irqreturn_t msm_edp_aux_irq(struct edp_aux *aux, u32 isr); aux 52 drivers/gpu/drm/msm/edp/edp.h void msm_edp_aux_ctrl(struct edp_aux *aux, int enable); aux 33 drivers/gpu/drm/msm/edp/edp_aux.c static int edp_msg_fifo_tx(struct edp_aux *aux, struct drm_dp_aux_msg *msg) aux 67 drivers/gpu/drm/msm/edp/edp_aux.c edp_write(aux->base + REG_EDP_AUX_DATA, reg); aux 75 drivers/gpu/drm/msm/edp/edp_aux.c edp_write(aux->base + REG_EDP_AUX_TRANS_CTRL, reg); aux 80 drivers/gpu/drm/msm/edp/edp_aux.c static int edp_msg_fifo_rx(struct edp_aux *aux, struct drm_dp_aux_msg *msg) aux 87 drivers/gpu/drm/msm/edp/edp_aux.c edp_write(aux->base + REG_EDP_AUX_DATA, aux 93 drivers/gpu/drm/msm/edp/edp_aux.c data = edp_read(aux->base + REG_EDP_AUX_DATA); aux 95 drivers/gpu/drm/msm/edp/edp_aux.c data = edp_read(aux->base + REG_EDP_AUX_DATA); aux 113 drivers/gpu/drm/msm/edp/edp_aux.c struct edp_aux *aux = to_edp_aux(drm_aux); aux 134 drivers/gpu/drm/msm/edp/edp_aux.c mutex_lock(&aux->msg_mutex); aux 136 drivers/gpu/drm/msm/edp/edp_aux.c aux->msg_err = false; aux 137 drivers/gpu/drm/msm/edp/edp_aux.c reinit_completion(&aux->msg_comp); aux 139 drivers/gpu/drm/msm/edp/edp_aux.c ret = edp_msg_fifo_tx(aux, msg); aux 144 drivers/gpu/drm/msm/edp/edp_aux.c time_left = wait_for_completion_timeout(&aux->msg_comp, aux 151 drivers/gpu/drm/msm/edp/edp_aux.c edp_write(aux->base + REG_EDP_AUX_TRANS_CTRL, 0); aux 152 drivers/gpu/drm/msm/edp/edp_aux.c msm_edp_aux_ctrl(aux, 1); aux 159 drivers/gpu/drm/msm/edp/edp_aux.c if (!aux->msg_err) { aux 161 drivers/gpu/drm/msm/edp/edp_aux.c ret = edp_msg_fifo_rx(aux, msg); aux 183 drivers/gpu/drm/msm/edp/edp_aux.c mutex_unlock(&aux->msg_mutex); aux 190 drivers/gpu/drm/msm/edp/edp_aux.c struct edp_aux *aux = NULL; aux 194 drivers/gpu/drm/msm/edp/edp_aux.c aux = devm_kzalloc(dev, sizeof(*aux), GFP_KERNEL); aux 195 drivers/gpu/drm/msm/edp/edp_aux.c if (!aux) aux 198 drivers/gpu/drm/msm/edp/edp_aux.c aux->base = regbase; aux 199 drivers/gpu/drm/msm/edp/edp_aux.c mutex_init(&aux->msg_mutex); aux 200 drivers/gpu/drm/msm/edp/edp_aux.c init_completion(&aux->msg_comp); aux 202 drivers/gpu/drm/msm/edp/edp_aux.c aux->drm_aux.name = "msm_edp_aux"; aux 203 drivers/gpu/drm/msm/edp/edp_aux.c aux->drm_aux.dev = dev; aux 204 drivers/gpu/drm/msm/edp/edp_aux.c aux->drm_aux.transfer = edp_aux_transfer; aux 205 drivers/gpu/drm/msm/edp/edp_aux.c ret = drm_dp_aux_register(&aux->drm_aux); aux 208 drivers/gpu/drm/msm/edp/edp_aux.c mutex_destroy(&aux->msg_mutex); aux 211 drivers/gpu/drm/msm/edp/edp_aux.c if (drm_aux && aux) aux 212 drivers/gpu/drm/msm/edp/edp_aux.c *drm_aux = &aux->drm_aux; aux 214 drivers/gpu/drm/msm/edp/edp_aux.c return aux; aux 217 drivers/gpu/drm/msm/edp/edp_aux.c void msm_edp_aux_destroy(struct device *dev, struct edp_aux *aux) aux 219 drivers/gpu/drm/msm/edp/edp_aux.c if (aux) { aux 220 drivers/gpu/drm/msm/edp/edp_aux.c drm_dp_aux_unregister(&aux->drm_aux); aux 221 drivers/gpu/drm/msm/edp/edp_aux.c mutex_destroy(&aux->msg_mutex); aux 225 drivers/gpu/drm/msm/edp/edp_aux.c irqreturn_t msm_edp_aux_irq(struct edp_aux *aux, u32 isr) aux 229 drivers/gpu/drm/msm/edp/edp_aux.c edp_write(aux->base + REG_EDP_AUX_TRANS_CTRL, 0); aux 232 drivers/gpu/drm/msm/edp/edp_aux.c aux->msg_err = true; aux 234 drivers/gpu/drm/msm/edp/edp_aux.c aux->msg_err = false; aux 236 drivers/gpu/drm/msm/edp/edp_aux.c complete(&aux->msg_comp); aux 242 drivers/gpu/drm/msm/edp/edp_aux.c void msm_edp_aux_ctrl(struct edp_aux *aux, int enable) aux 247 drivers/gpu/drm/msm/edp/edp_aux.c data = edp_read(aux->base + REG_EDP_AUX_CTRL); aux 251 drivers/gpu/drm/msm/edp/edp_aux.c edp_write(aux->base + REG_EDP_AUX_CTRL, data); aux 258 drivers/gpu/drm/msm/edp/edp_aux.c edp_write(aux->base + REG_EDP_AUX_CTRL, data); aux 261 drivers/gpu/drm/msm/edp/edp_aux.c edp_write(aux->base + REG_EDP_AUX_CTRL, data); aux 109 drivers/gpu/drm/msm/edp/edp_ctrl.c struct edp_aux *aux; aux 883 drivers/gpu/drm/msm/edp/edp_ctrl.c msm_edp_aux_ctrl(ctrl->aux, 1); aux 887 drivers/gpu/drm/msm/edp/edp_ctrl.c msm_edp_aux_ctrl(ctrl->aux, 0); aux 1069 drivers/gpu/drm/msm/edp/edp_ctrl.c msm_edp_aux_irq(ctrl->aux, isr1); aux 1122 drivers/gpu/drm/msm/edp/edp_ctrl.c ctrl->aux = msm_edp_aux_init(dev, ctrl->base, &ctrl->drm_aux); aux 1123 drivers/gpu/drm/msm/edp/edp_ctrl.c if (!ctrl->aux || !ctrl->drm_aux) { aux 1147 drivers/gpu/drm/msm/edp/edp_ctrl.c msm_edp_aux_destroy(dev, ctrl->aux); aux 1148 drivers/gpu/drm/msm/edp/edp_ctrl.c ctrl->aux = NULL; aux 1163 drivers/gpu/drm/msm/edp/edp_ctrl.c if (ctrl->aux) { aux 1164 drivers/gpu/drm/msm/edp/edp_ctrl.c msm_edp_aux_destroy(&ctrl->pdev->dev, ctrl->aux); aux 1165 drivers/gpu/drm/msm/edp/edp_ctrl.c ctrl->aux = NULL; aux 1204 drivers/gpu/drm/nouveau/dispnv50/disp.c struct drm_dp_aux *aux = mstm ? mstm->mgr.aux : NULL; aux 1209 drivers/gpu/drm/nouveau/dispnv50/disp.c if (!aux) aux 1213 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_dp_dpcd_read(aux, DP_SINK_COUNT_ESI, esi, 8); aux 1223 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_dp_dpcd_write(aux, DP_SINK_COUNT_ESI + 1, &esi[1], 3); aux 1257 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_dp_dpcd_writeb(mstm->mgr.aux, DP_MSTM_CTRL, 0); aux 1263 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_dp_dpcd_writeb(mstm->mgr.aux, DP_MSTM_CTRL, aux 1276 drivers/gpu/drm/nouveau/dispnv50/disp.c struct drm_dp_aux *aux; aux 1288 drivers/gpu/drm/nouveau/dispnv50/disp.c aux = mstm->mgr.aux; aux 1292 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_dp_dpcd_readb(aux, DP_MSTM_CTRL, &mstm_ctrl); aux 1298 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_dp_dpcd_readb(aux, DP_MSTM_CAP, &dpcd[1]); aux 1364 drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_mstm_new(struct nouveau_encoder *outp, struct drm_dp_aux *aux, int aux_max, aux 1379 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_dp_dpcd_readb(aux, DP_DPCD_REV, &dpcd); aux 1381 drivers/gpu/drm/nouveau/dispnv50/disp.c drm_dp_dpcd_writeb(aux, DP_MSTM_CTRL, 0); aux 1388 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = drm_dp_mst_topology_mgr_init(&mstm->mgr, dev, aux, aux_max, aux 1435 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nvkm_i2c_aux *aux = nv_encoder->aux; aux 1438 drivers/gpu/drm/nouveau/dispnv50/disp.c if (aux) { aux 1439 drivers/gpu/drm/nouveau/dispnv50/disp.c int ret = nvkm_rdaux(aux, DP_SET_POWER, &pwr, 1); aux 1443 drivers/gpu/drm/nouveau/dispnv50/disp.c nvkm_wraux(aux, DP_SET_POWER, &pwr, 1); aux 1611 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nvkm_i2c_aux *aux = aux 1613 drivers/gpu/drm/nouveau/dispnv50/disp.c if (aux) { aux 1619 drivers/gpu/drm/nouveau/dispnv50/disp.c nv_encoder->i2c = &aux->i2c; aux 1621 drivers/gpu/drm/nouveau/dispnv50/disp.c nv_encoder->i2c = &nv_connector->aux.ddc; aux 1623 drivers/gpu/drm/nouveau/dispnv50/disp.c nv_encoder->aux = aux; aux 1629 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = nv50_mstm_new(nv_encoder, &nv_connector->aux, 16, aux 1731 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nvkm_i2c_aux *aux = NULL; aux 1744 drivers/gpu/drm/nouveau/dispnv50/disp.c aux = nvkm_i2c_aux_find(i2c, NVKM_I2C_AUX_EXT(dcbe->extdev)); aux 1745 drivers/gpu/drm/nouveau/dispnv50/disp.c ddc = aux ? &aux->i2c : NULL; aux 1757 drivers/gpu/drm/nouveau/dispnv50/disp.c nv_encoder->aux = aux; aux 80 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h struct list_head aux; aux 166 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h nvkm_rdaux(struct nvkm_i2c_aux *aux, u32 addr, u8 *data, u8 size) aux 169 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h int ret = nvkm_i2c_aux_acquire(aux); aux 171 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h ret = nvkm_i2c_aux_xfer(aux, true, 9, addr, data, &size); aux 173 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h nvkm_i2c_aux_release(aux); aux 179 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h nvkm_wraux(struct nvkm_i2c_aux *aux, u32 addr, u8 *data, u8 size) aux 181 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h int ret = nvkm_i2c_aux_acquire(aux); aux 183 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h ret = nvkm_i2c_aux_xfer(aux, true, 8, addr, data, &size); aux 184 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h nvkm_i2c_aux_release(aux); aux 417 drivers/gpu/drm/nouveau/nouveau_connector.c if (nv_connector->aux.transfer) { aux 418 drivers/gpu/drm/nouveau/nouveau_connector.c drm_dp_cec_unregister_connector(&nv_connector->aux); aux 419 drivers/gpu/drm/nouveau/nouveau_connector.c drm_dp_aux_unregister(&nv_connector->aux); aux 420 drivers/gpu/drm/nouveau/nouveau_connector.c kfree(nv_connector->aux.name); aux 618 drivers/gpu/drm/nouveau/nouveau_connector.c drm_dp_cec_set_edid(&nv_connector->aux, nv_connector->edid); aux 1152 drivers/gpu/drm/nouveau/nouveau_connector.c drm_dp_cec_irq(&nv_connector->aux); aux 1179 drivers/gpu/drm/nouveau/nouveau_connector.c drm_dp_cec_unset_edid(&nv_connector->aux); aux 1197 drivers/gpu/drm/nouveau/nouveau_connector.c container_of(obj, typeof(*nv_connector), aux); aux 1199 drivers/gpu/drm/nouveau/nouveau_connector.c struct nvkm_i2c_aux *aux; aux 1204 drivers/gpu/drm/nouveau/nouveau_connector.c if (!nv_encoder || !(aux = nv_encoder->aux)) aux 1209 drivers/gpu/drm/nouveau/nouveau_connector.c ret = nvkm_i2c_aux_acquire(aux); aux 1213 drivers/gpu/drm/nouveau/nouveau_connector.c ret = nvkm_i2c_aux_xfer(aux, false, msg->request, msg->address, aux 1215 drivers/gpu/drm/nouveau/nouveau_connector.c nvkm_i2c_aux_release(aux); aux 1366 drivers/gpu/drm/nouveau/nouveau_connector.c nv_connector->aux.dev = connector->kdev; aux 1367 drivers/gpu/drm/nouveau/nouveau_connector.c nv_connector->aux.transfer = nouveau_connector_aux_xfer; aux 1370 drivers/gpu/drm/nouveau/nouveau_connector.c nv_connector->aux.name = kstrdup(aux_name, GFP_KERNEL); aux 1371 drivers/gpu/drm/nouveau/nouveau_connector.c ret = drm_dp_aux_register(&nv_connector->aux); aux 1433 drivers/gpu/drm/nouveau/nouveau_connector.c drm_dp_cec_register_connector(&nv_connector->aux, aux 110 drivers/gpu/drm/nouveau/nouveau_connector.h struct drm_dp_aux aux; aux 40 drivers/gpu/drm/nouveau/nouveau_dp.c nouveau_dp_probe_oui(struct drm_device *dev, struct nvkm_i2c_aux *aux, u8 *dpcd) aux 48 drivers/gpu/drm/nouveau/nouveau_dp.c if (!nvkm_rdaux(aux, DP_SINK_OUI, buf, 3)) aux 52 drivers/gpu/drm/nouveau/nouveau_dp.c if (!nvkm_rdaux(aux, DP_BRANCH_OUI, buf, 3)) aux 63 drivers/gpu/drm/nouveau/nouveau_dp.c struct nvkm_i2c_aux *aux; aux 67 drivers/gpu/drm/nouveau/nouveau_dp.c aux = nv_encoder->aux; aux 68 drivers/gpu/drm/nouveau/nouveau_dp.c if (!aux) aux 71 drivers/gpu/drm/nouveau/nouveau_dp.c ret = nvkm_rdaux(aux, DP_DPCD_REV, dpcd, sizeof(dpcd)); aux 92 drivers/gpu/drm/nouveau/nouveau_dp.c nouveau_dp_probe_oui(dev, aux, dpcd); aux 49 drivers/gpu/drm/nouveau/nouveau_encoder.h struct nvkm_i2c_aux *aux; aux 56 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_rdaux(dp->aux, DPCD_LS02, lt->stat, 6); aux 61 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_rdaux(dp->aux, DPCD_LS0C, <->pc2stat, 1); aux 126 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_wraux(dp->aux, DPCD_LC03(0), lt->conf, 4); aux 131 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_wraux(dp->aux, DPCD_LC0F, lt->pc2conf, 2); aux 148 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c nvkm_rdaux(dp->aux, DPCD_LC02, &sink_tp, 1); aux 151 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c nvkm_wraux(dp->aux, DPCD_LC02, &sink_tp, 1); aux 260 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = ior->func->dp.links(ior, dp->aux); aux 277 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_wraux(dp->aux, DPCD_LC00_LINK_BW_SET, sink, 2); aux 385 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c if (!nvkm_rdaux(dp->aux, DPCD_SC00, &pwr, 1)) { aux 389 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c nvkm_wraux(dp->aux, DPCD_SC00, &pwr, 1); aux 478 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_rdaux(dp->aux, DPCD_LS02, stat, 3); aux 511 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c struct nvkm_i2c_aux *aux = dp->aux; aux 516 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c nvkm_i2c_aux_monitor(aux, true); aux 520 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c if (!nvkm_rdaux(aux, DPCD_RC00_DPCD_REV, dp->dpcd, aux 527 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c nvkm_i2c_aux_monitor(aux, false); aux 628 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c struct nvkm_i2c_aux *aux, struct nvkm_dp *dp) aux 641 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c dp->aux = aux; aux 642 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c if (!dp->aux) { aux 664 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c .port = dp->aux->id, aux 684 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c struct nvkm_i2c_aux *aux; aux 688 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c aux = nvkm_i2c_aux_find(i2c, NVKM_I2C_AUX_CCB(dcbE->i2c_index)); aux 690 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c aux = nvkm_i2c_aux_find(i2c, NVKM_I2C_AUX_EXT(dcbE->extdev)); aux 696 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c return nvkm_dp_ctor(disp, index, dcbE, aux, dp); aux 20 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h struct nvkm_i2c_aux *aux; aux 39 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c nv50_pior_dp_links(struct nvkm_ior *pior, struct nvkm_i2c_aux *aux) aux 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c int ret = nvkm_i2c_aux_lnk_ctl(aux, pior->dp.nr, pior->dp.bw, aux 103 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c g94_sor_dp_links(struct nvkm_ior *sor, struct nvkm_i2c_aux *aux) aux 99 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c gf119_sor_dp_links(struct nvkm_ior *sor, struct nvkm_i2c_aux *aux) aux 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c tu102_sor_dp_links(struct nvkm_ior *sor, struct nvkm_i2c_aux *aux) aux 317 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c struct nvkm_i2c_aux *aux = init_aux(init); aux 320 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (aux && init_exec(init)) { aux 321 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c int ret = nvkm_rdaux(aux, addr, &data, 1); aux 333 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c struct nvkm_i2c_aux *aux = init_aux(init); aux 334 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (aux && init_exec(init)) { aux 335 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c int ret = nvkm_wraux(aux, addr, &data, 1); aux 139 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c struct anx9805_aux *aux = anx9805_aux(base); aux 140 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c struct anx9805_pad *pad = aux->pad; aux 146 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c AUX_DBG(&aux->base, "%02x %05x %d", type, addr, *size); aux 153 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xe4, 0x80); aux 156 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c AUX_DBG(&aux->base, "%16ph", buf); aux 158 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xf0 + i, buf[i]); aux 160 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xe5, ((*size - 1) << 4) | type); aux 161 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xe6, (addr & 0x000ff) >> 0); aux 162 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xe7, (addr & 0x0ff00) >> 8); aux 163 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xe8, (addr & 0xf0000) >> 16); aux 164 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xe9, 0x01); aux 167 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c while ((tmp = nvkm_rdi2cr(adap, aux->addr, 0xe9)) & 0x01) { aux 180 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c buf[i] = nvkm_rdi2cr(adap, aux->addr, 0xf0 + i); aux 181 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c AUX_DBG(&aux->base, "%16ph", buf); aux 195 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c struct anx9805_aux *aux = anx9805_aux(base); aux 196 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c struct anx9805_pad *pad = aux->pad; aux 200 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c AUX_DBG(&aux->base, "ANX9805 train %d %02x %d", aux 203 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xa0, link_bw); aux 204 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xa1, link_nr | (enh ? 0x80 : 0x00)); aux 205 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xa2, 0x01); aux 206 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, aux->addr, 0xa8, 0x01); aux 209 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c while ((tmp = nvkm_rdi2cr(adap, aux->addr, 0xa8)) & 0x01) { aux 212 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c AUX_ERR(&aux->base, "link training timeout"); aux 218 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c AUX_ERR(&aux->base, "link training failed"); aux 236 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c struct anx9805_aux *aux; aux 239 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c if (!(aux = kzalloc(sizeof(*aux), GFP_KERNEL))) aux 241 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c *pbus = &aux->base; aux 242 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c aux->pad = pad; aux 244 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c ret = nvkm_i2c_aux_ctor(&anx9805_aux_func, &pad->base, id, &aux->base); aux 249 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c case 0x39: aux->addr = 0x38; break; aux 250 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c case 0x3b: aux->addr = 0x3c; break; aux 30 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c struct nvkm_i2c_aux *aux = container_of(adap, typeof(*aux), i2c); aux 34 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c ret = nvkm_i2c_aux_acquire(aux); aux 57 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c ret = aux->func->xfer(aux, true, cmd, aux 63 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_TRACE(aux, "no data after 32 retries"); aux 77 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_release(aux); aux 94 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_monitor(struct nvkm_i2c_aux *aux, bool monitor) aux 96 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c struct nvkm_i2c_pad *pad = aux->pad; aux 97 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_TRACE(aux, "monitor: %s", monitor ? "yes" : "no"); aux 105 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_release(struct nvkm_i2c_aux *aux) aux 107 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c struct nvkm_i2c_pad *pad = aux->pad; aux 108 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_TRACE(aux, "release"); aux 110 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c mutex_unlock(&aux->mutex); aux 114 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_acquire(struct nvkm_i2c_aux *aux) aux 116 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c struct nvkm_i2c_pad *pad = aux->pad; aux 119 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_TRACE(aux, "acquire"); aux 120 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c mutex_lock(&aux->mutex); aux 122 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c if (aux->enabled) aux 128 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c mutex_unlock(&aux->mutex); aux 133 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_xfer(struct nvkm_i2c_aux *aux, bool retry, u8 type, aux 136 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c if (!*size && !aux->func->address_only) { aux 137 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_ERR(aux, "address-only transaction dropped"); aux 140 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c return aux->func->xfer(aux, retry, type, addr, data, size); aux 144 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_lnk_ctl(struct nvkm_i2c_aux *aux, int nr, int bw, bool ef) aux 146 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c if (aux->func->lnk_ctl) aux 147 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c return aux->func->lnk_ctl(aux, nr, bw, ef); aux 154 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c struct nvkm_i2c_aux *aux = *paux; aux 155 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c if (aux && !WARN_ON(!aux->func)) { aux 156 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_TRACE(aux, "dtor"); aux 157 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c list_del(&aux->head); aux 158 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c i2c_del_adapter(&aux->i2c); aux 165 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_init(struct nvkm_i2c_aux *aux) aux 167 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_TRACE(aux, "init"); aux 168 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c mutex_lock(&aux->mutex); aux 169 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->enabled = true; aux 170 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c mutex_unlock(&aux->mutex); aux 174 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_fini(struct nvkm_i2c_aux *aux) aux 176 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_TRACE(aux, "fini"); aux 177 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c mutex_lock(&aux->mutex); aux 178 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->enabled = false; aux 179 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c mutex_unlock(&aux->mutex); aux 185 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c struct nvkm_i2c_aux *aux) aux 189 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->func = func; aux 190 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->pad = pad; aux 191 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->id = id; aux 192 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c mutex_init(&aux->mutex); aux 193 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c list_add_tail(&aux->head, &pad->i2c->aux); aux 194 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c AUX_TRACE(aux, "ctor"); aux 196 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c snprintf(aux->i2c.name, sizeof(aux->i2c.name), "nvkm-%s-aux-%04x", aux 198 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->i2c.owner = THIS_MODULE; aux 199 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->i2c.dev.parent = device->dev; aux 200 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->i2c.algo = &nvkm_i2c_aux_i2c_algo; aux 201 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c return i2c_add_adapter(&aux->i2c); aux 33 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c g94_i2c_aux_fini(struct g94_i2c_aux *aux) aux 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c struct nvkm_device *device = aux->base.pad->i2c->subdev.device; aux 36 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00310000, 0x00000000); aux 40 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c g94_i2c_aux_init(struct g94_i2c_aux *aux) aux 42 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c struct nvkm_device *device = aux->base.pad->i2c->subdev.device; aux 51 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); aux 54 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); aux 60 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00300000, ureq); aux 63 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); aux 66 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_ERR(&aux->base, "magic wait %08x", ctrl); aux 67 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c g94_i2c_aux_fini(aux); aux 79 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c struct g94_i2c_aux *aux = g94_i2c_aux(obj); aux 80 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c struct nvkm_device *device = aux->base.pad->i2c->subdev.device; aux 81 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c const u32 base = aux->ch * 0x50; aux 86 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_TRACE(&aux->base, "%d: %08x %d", type, addr, *size); aux 88 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c ret = g94_i2c_aux_init(aux); aux 94 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_TRACE(&aux->base, "sink not detected"); aux 102 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_TRACE(&aux->base, "wr %08x", xbuf[i / 4]); aux 129 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_ERR(&aux->base, "timeout %08x", ctrl); aux 146 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_TRACE(&aux->base, "%02d %08x %08x", retries, ctrl, stat); aux 152 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c AUX_TRACE(&aux->base, "rd %08x", xbuf[i / 4]); aux 159 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c g94_i2c_aux_fini(aux); aux 168 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c struct g94_i2c_aux *aux; aux 170 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c if (!(aux = kzalloc(sizeof(*aux), GFP_KERNEL))) aux 172 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c *paux = &aux->base; aux 174 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c nvkm_i2c_aux_ctor(func, pad, index, &aux->base); aux 175 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c aux->ch = drive; aux 176 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c aux->base.intr = 1 << aux->ch; aux 33 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c gm200_i2c_aux_fini(struct gm200_i2c_aux *aux) aux 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c struct nvkm_device *device = aux->base.pad->i2c->subdev.device; aux 36 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c nvkm_mask(device, 0x00d954 + (aux->ch * 0x50), 0x00310000, 0x00000000); aux 40 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c gm200_i2c_aux_init(struct gm200_i2c_aux *aux) aux 42 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c struct nvkm_device *device = aux->base.pad->i2c->subdev.device; aux 51 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c ctrl = nvkm_rd32(device, 0x00d954 + (aux->ch * 0x50)); aux 54 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); aux 60 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c nvkm_mask(device, 0x00d954 + (aux->ch * 0x50), 0x00300000, ureq); aux 63 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c ctrl = nvkm_rd32(device, 0x00d954 + (aux->ch * 0x50)); aux 66 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_ERR(&aux->base, "magic wait %08x", ctrl); aux 67 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c gm200_i2c_aux_fini(aux); aux 79 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c struct gm200_i2c_aux *aux = gm200_i2c_aux(obj); aux 80 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c struct nvkm_device *device = aux->base.pad->i2c->subdev.device; aux 81 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c const u32 base = aux->ch * 0x50; aux 86 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_TRACE(&aux->base, "%d: %08x %d", type, addr, *size); aux 88 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c ret = gm200_i2c_aux_init(aux); aux 94 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_TRACE(&aux->base, "sink not detected"); aux 102 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_TRACE(&aux->base, "wr %08x", xbuf[i / 4]); aux 129 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_ERR(&aux->base, "timeout %08x", ctrl); aux 146 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_TRACE(&aux->base, "%02d %08x %08x", retries, ctrl, stat); aux 152 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c AUX_TRACE(&aux->base, "rd %08x", xbuf[i / 4]); aux 159 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c gm200_i2c_aux_fini(aux); aux 173 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c struct gm200_i2c_aux *aux; aux 175 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c if (!(aux = kzalloc(sizeof(*aux), GFP_KERNEL))) aux 177 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c *paux = &aux->base; aux 179 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c nvkm_i2c_aux_ctor(&gm200_i2c_aux_func, pad, index, &aux->base); aux 180 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c aux->ch = drive; aux 181 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c aux->base.intr = 1 << aux->ch; aux 79 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux; aux 81 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c list_for_each_entry(aux, &i2c->aux, head) { aux 82 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (aux->id == id) aux 83 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c return aux; aux 93 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux = nvkm_i2c_aux_find(i2c, id); aux 94 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (aux) aux 95 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c i2c->func->aux_mask(i2c, type, aux->intr, 0); aux 102 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux = nvkm_i2c_aux_find(i2c, id); aux 103 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (aux) aux 104 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c i2c->func->aux_mask(i2c, type, aux->intr, aux->intr); aux 132 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux; aux 142 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c list_for_each_entry(aux, &i2c->aux, head) { aux 144 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (hi & aux->intr) mask |= NVKM_I2C_PLUG; aux 145 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (lo & aux->intr) mask |= NVKM_I2C_UNPLUG; aux 146 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (rq & aux->intr) mask |= NVKM_I2C_IRQ; aux 147 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (tx & aux->intr) mask |= NVKM_I2C_DONE; aux 152 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_event_send(&i2c->event, rep.mask, aux->id, aux 164 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux; aux 167 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c list_for_each_entry(aux, &i2c->aux, head) { aux 168 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_aux_fini(aux); aux 175 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if ((mask = (1 << i2c->func->aux) - 1), i2c->func->aux_stat) { aux 212 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux; aux 222 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c list_for_each_entry(aux, &i2c->aux, head) { aux 223 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_aux_init(aux); aux 236 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c while (!list_empty(&i2c->aux)) { aux 237 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux = aux 238 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c list_first_entry(&i2c->aux, typeof(*aux), head); aux 239 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_aux_del(&aux); aux 296 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c INIT_LIST_HEAD(&i2c->aux); aux 302 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux = NULL; aux 348 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ccbE.auxch, &aux); aux 355 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_aux_del(&aux); aux 358 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (ccbE.type != DCB_I2C_UNUSED && !bus && !aux) { aux 410 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c_aux *aux = NULL; aux 411 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ret = pad->func->aux_new_6(pad, id, 0, &aux); aux 415 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_aux_del(&aux); aux 63 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c .aux = 4, aux 31 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gf119.c .aux = 4, aux 63 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c .aux = 4, aux 31 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gm200.c .aux = 8, aux 15 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h int aux; aux 159 drivers/gpu/drm/radeon/atombios_dp.c radeon_dp_aux_transfer_atom(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) aux 162 drivers/gpu/drm/radeon/atombios_dp.c container_of(aux, struct radeon_i2c_chan, aux); aux 234 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->aux.dev = radeon_connector->base.kdev; aux 237 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_native; aux 239 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; aux 241 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; aux 244 drivers/gpu/drm/radeon/atombios_dp.c ret = drm_dp_aux_register(&radeon_connector->ddc_bus->aux); aux 377 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) aux 381 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) aux 392 drivers/gpu/drm/radeon/atombios_dp.c ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_DPCD_REV, msg, aux 430 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, aux 442 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, aux 511 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_read_link_status(&radeon_connector->ddc_bus->aux, link_status) aux 532 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(&radeon_connector->ddc_bus->aux, aux 552 drivers/gpu/drm/radeon/atombios_dp.c struct drm_dp_aux *aux; aux 563 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_write(dp_info->aux, DP_TRAINING_LANE0_SET, aux 599 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_TRAINING_PATTERN_SET, tp); aux 613 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, aux 616 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, aux 620 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_EDP_CONFIGURATION_SET, 1); aux 626 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_LANE_COUNT_SET, tmp); aux 630 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_LINK_BW_SET, tmp); aux 641 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, aux 653 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, aux 687 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_read_link_status(dp_info->aux, aux 750 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_read_link_status(dp_info->aux, aux 834 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp) aux 850 drivers/gpu/drm/radeon/atombios_dp.c dp_info.aux = &radeon_connector->ddc_bus->aux; aux 314 drivers/gpu/drm/radeon/radeon_connectors.c &radeon_connector->ddc_bus->aux.ddc); aux 323 drivers/gpu/drm/radeon/radeon_connectors.c &radeon_connector->ddc_bus->aux.ddc); aux 925 drivers/gpu/drm/radeon/radeon_connectors.c drm_dp_aux_unregister(&radeon_connector->ddc_bus->aux); aux 55 drivers/gpu/drm/radeon/radeon_dp_auxch.c radeon_dp_aux_transfer_native(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) aux 58 drivers/gpu/drm/radeon/radeon_dp_auxch.c container_of(aux, struct radeon_i2c_chan, aux); aux 659 drivers/gpu/drm/radeon/radeon_dp_mst.c &radeon_connector->ddc_bus->aux, 16, 6, aux 681 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_MSTM_CAP, msg, aux 710 drivers/gpu/drm/radeon/radeon_dp_mst.c dret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, aux 720 drivers/gpu/drm/radeon/radeon_dp_mst.c wret = drm_dp_dpcd_write(&radeon_connector->ddc_bus->aux, aux 726 drivers/gpu/drm/radeon/radeon_dp_mst.c dret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, aux 70 drivers/gpu/drm/radeon/radeon_i2c.c ret = i2c_transfer(&radeon_connector->ddc_bus->aux.ddc, msgs, 2); aux 204 drivers/gpu/drm/radeon/radeon_mode.h struct drm_dp_aux aux; aux 763 drivers/gpu/drm/radeon/radeon_mode.h radeon_dp_aux_transfer_native(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg); aux 33 drivers/gpu/drm/tegra/dpaux.c struct drm_dp_aux aux; aux 57 drivers/gpu/drm/tegra/dpaux.c static inline struct tegra_dpaux *to_dpaux(struct drm_dp_aux *aux) aux 59 drivers/gpu/drm/tegra/dpaux.c return container_of(aux, struct tegra_dpaux, aux); aux 116 drivers/gpu/drm/tegra/dpaux.c static ssize_t tegra_dpaux_transfer(struct drm_dp_aux *aux, aux 120 drivers/gpu/drm/tegra/dpaux.c struct tegra_dpaux *dpaux = to_dpaux(aux); aux 512 drivers/gpu/drm/tegra/dpaux.c dpaux->aux.transfer = tegra_dpaux_transfer; aux 513 drivers/gpu/drm/tegra/dpaux.c dpaux->aux.dev = &pdev->dev; aux 515 drivers/gpu/drm/tegra/dpaux.c err = drm_dp_aux_register(&dpaux->aux); aux 570 drivers/gpu/drm/tegra/dpaux.c drm_dp_aux_unregister(&dpaux->aux); aux 672 drivers/gpu/drm/tegra/dpaux.c return &dpaux->aux; aux 680 drivers/gpu/drm/tegra/dpaux.c int drm_dp_aux_attach(struct drm_dp_aux *aux, struct tegra_output *output) aux 682 drivers/gpu/drm/tegra/dpaux.c struct tegra_dpaux *dpaux = to_dpaux(aux); aux 698 drivers/gpu/drm/tegra/dpaux.c status = drm_dp_aux_detect(aux); aux 710 drivers/gpu/drm/tegra/dpaux.c int drm_dp_aux_detach(struct drm_dp_aux *aux) aux 712 drivers/gpu/drm/tegra/dpaux.c struct tegra_dpaux *dpaux = to_dpaux(aux); aux 727 drivers/gpu/drm/tegra/dpaux.c status = drm_dp_aux_detect(aux); aux 739 drivers/gpu/drm/tegra/dpaux.c enum drm_connector_status drm_dp_aux_detect(struct drm_dp_aux *aux) aux 741 drivers/gpu/drm/tegra/dpaux.c struct tegra_dpaux *dpaux = to_dpaux(aux); aux 752 drivers/gpu/drm/tegra/dpaux.c int drm_dp_aux_enable(struct drm_dp_aux *aux) aux 754 drivers/gpu/drm/tegra/dpaux.c struct tegra_dpaux *dpaux = to_dpaux(aux); aux 759 drivers/gpu/drm/tegra/dpaux.c int drm_dp_aux_disable(struct drm_dp_aux *aux) aux 761 drivers/gpu/drm/tegra/dpaux.c struct tegra_dpaux *dpaux = to_dpaux(aux); aux 768 drivers/gpu/drm/tegra/dpaux.c int drm_dp_aux_prepare(struct drm_dp_aux *aux, u8 encoding) aux 772 drivers/gpu/drm/tegra/dpaux.c err = drm_dp_dpcd_writeb(aux, DP_MAIN_LINK_CHANNEL_CODING_SET, aux 780 drivers/gpu/drm/tegra/dpaux.c int drm_dp_aux_train(struct drm_dp_aux *aux, struct drm_dp_link *link, aux 788 drivers/gpu/drm/tegra/dpaux.c err = drm_dp_dpcd_writeb(aux, DP_TRAINING_PATTERN_SET, pattern); aux 801 drivers/gpu/drm/tegra/dpaux.c err = drm_dp_dpcd_write(aux, DP_TRAINING_LANE0_SET, values, aux 808 drivers/gpu/drm/tegra/dpaux.c err = drm_dp_dpcd_read_link_status(aux, status); aux 826 drivers/gpu/drm/tegra/dpaux.c dev_err(aux->dev, "unsupported training pattern %u\n", tp); aux 830 drivers/gpu/drm/tegra/dpaux.c err = drm_dp_dpcd_writeb(aux, DP_EDP_CONFIGURATION_SET, 0); aux 161 drivers/gpu/drm/tegra/drm.h enum drm_connector_status drm_dp_aux_detect(struct drm_dp_aux *aux); aux 162 drivers/gpu/drm/tegra/drm.h int drm_dp_aux_attach(struct drm_dp_aux *aux, struct tegra_output *output); aux 163 drivers/gpu/drm/tegra/drm.h int drm_dp_aux_detach(struct drm_dp_aux *aux); aux 164 drivers/gpu/drm/tegra/drm.h int drm_dp_aux_enable(struct drm_dp_aux *aux); aux 165 drivers/gpu/drm/tegra/drm.h int drm_dp_aux_disable(struct drm_dp_aux *aux); aux 166 drivers/gpu/drm/tegra/drm.h int drm_dp_aux_prepare(struct drm_dp_aux *aux, u8 encoding); aux 167 drivers/gpu/drm/tegra/drm.h int drm_dp_aux_train(struct drm_dp_aux *aux, struct drm_dp_link *link, aux 415 drivers/gpu/drm/tegra/sor.c struct drm_dp_aux *aux; aux 648 drivers/gpu/drm/tegra/sor.c err = drm_dp_aux_prepare(sor->aux, DP_SET_ANSI_8B10B); aux 663 drivers/gpu/drm/tegra/sor.c err = drm_dp_aux_train(sor->aux, link, pattern); aux 684 drivers/gpu/drm/tegra/sor.c err = drm_dp_aux_train(sor->aux, link, pattern); aux 699 drivers/gpu/drm/tegra/sor.c err = drm_dp_aux_train(sor->aux, link, pattern); aux 1522 drivers/gpu/drm/tegra/sor.c if (sor->aux) aux 1523 drivers/gpu/drm/tegra/sor.c return drm_dp_aux_detect(sor->aux); aux 1560 drivers/gpu/drm/tegra/sor.c if (sor->aux) aux 1561 drivers/gpu/drm/tegra/sor.c drm_dp_aux_enable(sor->aux); aux 1565 drivers/gpu/drm/tegra/sor.c if (sor->aux) aux 1566 drivers/gpu/drm/tegra/sor.c drm_dp_aux_disable(sor->aux); aux 1621 drivers/gpu/drm/tegra/sor.c if (sor->aux) { aux 1622 drivers/gpu/drm/tegra/sor.c err = drm_dp_aux_disable(sor->aux); aux 1700 drivers/gpu/drm/tegra/sor.c err = drm_dp_aux_enable(sor->aux); aux 1704 drivers/gpu/drm/tegra/sor.c err = drm_dp_link_probe(sor->aux, &link); aux 1896 drivers/gpu/drm/tegra/sor.c err = drm_dp_link_probe(sor->aux, &link); aux 1900 drivers/gpu/drm/tegra/sor.c err = drm_dp_link_power_up(sor->aux, &link); aux 1904 drivers/gpu/drm/tegra/sor.c err = drm_dp_link_configure(sor->aux, &link); aux 2816 drivers/gpu/drm/tegra/sor.c if (!sor->aux) { aux 2861 drivers/gpu/drm/tegra/sor.c if (sor->aux) { aux 2862 drivers/gpu/drm/tegra/sor.c err = drm_dp_aux_attach(sor->aux, &sor->output); aux 2938 drivers/gpu/drm/tegra/sor.c if (sor->aux) { aux 2939 drivers/gpu/drm/tegra/sor.c err = drm_dp_aux_detach(sor->aux); aux 3276 drivers/gpu/drm/tegra/sor.c sor->aux = drm_dp_aux_find_by_of_node(np); aux 3279 drivers/gpu/drm/tegra/sor.c if (!sor->aux) aux 3283 drivers/gpu/drm/tegra/sor.c if (!sor->aux) { aux 267 drivers/i2c/busses/i2c-piix4.c const struct pci_device_id *id, u8 aux) aux 291 drivers/i2c/busses/i2c-piix4.c smb_en = (aux) ? 0x28 : 0x2c; aux 310 drivers/i2c/busses/i2c-piix4.c if (aux) aux 333 drivers/i2c/busses/i2c-piix4.c if (aux) { aux 176 drivers/iio/dac/ad5761.c u16 aux; aux 179 drivers/iio/dac/ad5761.c aux = (range & 0x7) | AD5761_CTRL_ETS; aux 182 drivers/iio/dac/ad5761.c aux |= AD5761_CTRL_USE_INTVREF; aux 188 drivers/iio/dac/ad5761.c ret = _ad5761_spi_write(st, AD5761_ADDR_CTRL_WRITE_REG, aux); aux 205 drivers/iio/dac/ad5761.c u16 aux; aux 209 drivers/iio/dac/ad5761.c ret = ad5761_spi_read(indio_dev, AD5761_ADDR_DAC_READ, &aux); aux 212 drivers/iio/dac/ad5761.c *val = aux >> chan->scan_type.shift; aux 237 drivers/iio/dac/ad5761.c u16 aux; aux 245 drivers/iio/dac/ad5761.c aux = val << chan->scan_type.shift; aux 247 drivers/iio/dac/ad5761.c return ad5761_spi_write(indio_dev, AD5761_ADDR_DAC_WRITE, aux); aux 163 drivers/infiniband/hw/bnxt_re/qplib_res.c u32 *elements, u32 element_size, u32 aux, aux 174 drivers/infiniband/hw/bnxt_re/qplib_res.c if (aux) { aux 175 drivers/infiniband/hw/bnxt_re/qplib_res.c aux_size = roundup_pow_of_two(aux); aux 241 drivers/infiniband/hw/bnxt_re/qplib_res.h u32 elements_per_page, u32 aux, u32 pg_size, aux 1862 drivers/input/touchscreen/atmel_mxt_ts.c u8 aux; aux 1915 drivers/input/touchscreen/atmel_mxt_ts.c aux = 6; aux 1918 drivers/input/touchscreen/atmel_mxt_ts.c data->t100_aux_vect = aux++; aux 1921 drivers/input/touchscreen/atmel_mxt_ts.c data->t100_aux_ampl = aux++; aux 1924 drivers/input/touchscreen/atmel_mxt_ts.c data->t100_aux_area = aux++; aux 140 drivers/iommu/amd_iommu_init.c u16 aux; aux 2092 drivers/iommu/amd_iommu_init.c for (i = m->devid; i <= m->aux; ++i) aux 2131 drivers/iommu/amd_iommu_init.c e->devid_end = m->aux; aux 36 drivers/md/dm-stats.h struct dm_stats_aux *aux); aux 71 drivers/md/dm-verity-target.c struct buffer_aux *aux = dm_bufio_get_aux_data(buf); aux 73 drivers/md/dm-verity-target.c aux->hash_verified = 0; aux 276 drivers/md/dm-verity-target.c struct buffer_aux *aux; aux 288 drivers/md/dm-verity-target.c aux = dm_bufio_get_aux_data(buf); aux 290 drivers/md/dm-verity-target.c if (!aux->hash_verified) { aux 304 drivers/md/dm-verity-target.c aux->hash_verified = 1; aux 308 drivers/md/dm-verity-target.c aux->hash_verified = 1; aux 356 drivers/md/persistent-data/dm-block-manager.c struct buffer_aux *aux = dm_bufio_get_aux_data(buf); aux 357 drivers/md/persistent-data/dm-block-manager.c aux->validator = NULL; aux 358 drivers/md/persistent-data/dm-block-manager.c bl_init(&aux->lock); aux 363 drivers/md/persistent-data/dm-block-manager.c struct buffer_aux *aux = dm_bufio_get_aux_data(buf); aux 364 drivers/md/persistent-data/dm-block-manager.c if (aux->validator) { aux 365 drivers/md/persistent-data/dm-block-manager.c aux->validator->prepare_for_write(aux->validator, (struct dm_block *) buf, aux 430 drivers/md/persistent-data/dm-block-manager.c struct buffer_aux *aux, aux 433 drivers/md/persistent-data/dm-block-manager.c if (unlikely(!aux->validator)) { aux 443 drivers/md/persistent-data/dm-block-manager.c aux->validator = v; aux 445 drivers/md/persistent-data/dm-block-manager.c if (unlikely(aux->validator != v)) { aux 447 drivers/md/persistent-data/dm-block-manager.c aux->validator->name, v ? v->name : "NULL", aux 459 drivers/md/persistent-data/dm-block-manager.c struct buffer_aux *aux; aux 467 drivers/md/persistent-data/dm-block-manager.c aux = dm_bufio_get_aux_data(to_buffer(*result)); aux 468 drivers/md/persistent-data/dm-block-manager.c r = bl_down_read(&aux->lock); aux 475 drivers/md/persistent-data/dm-block-manager.c aux->write_locked = 0; aux 477 drivers/md/persistent-data/dm-block-manager.c r = dm_bm_validate_buffer(bm, to_buffer(*result), aux, v); aux 479 drivers/md/persistent-data/dm-block-manager.c bl_up_read(&aux->lock); aux 492 drivers/md/persistent-data/dm-block-manager.c struct buffer_aux *aux; aux 503 drivers/md/persistent-data/dm-block-manager.c aux = dm_bufio_get_aux_data(to_buffer(*result)); aux 504 drivers/md/persistent-data/dm-block-manager.c r = bl_down_write(&aux->lock); aux 511 drivers/md/persistent-data/dm-block-manager.c aux->write_locked = 1; aux 513 drivers/md/persistent-data/dm-block-manager.c r = dm_bm_validate_buffer(bm, to_buffer(*result), aux, v); aux 515 drivers/md/persistent-data/dm-block-manager.c bl_up_write(&aux->lock); aux 528 drivers/md/persistent-data/dm-block-manager.c struct buffer_aux *aux; aux 538 drivers/md/persistent-data/dm-block-manager.c aux = dm_bufio_get_aux_data(to_buffer(*result)); aux 539 drivers/md/persistent-data/dm-block-manager.c r = bl_down_read_nonblock(&aux->lock); aux 545 drivers/md/persistent-data/dm-block-manager.c aux->write_locked = 0; aux 547 drivers/md/persistent-data/dm-block-manager.c r = dm_bm_validate_buffer(bm, to_buffer(*result), aux, v); aux 549 drivers/md/persistent-data/dm-block-manager.c bl_up_read(&aux->lock); aux 562 drivers/md/persistent-data/dm-block-manager.c struct buffer_aux *aux; aux 574 drivers/md/persistent-data/dm-block-manager.c aux = dm_bufio_get_aux_data(to_buffer(*result)); aux 575 drivers/md/persistent-data/dm-block-manager.c r = bl_down_write(&aux->lock); aux 581 drivers/md/persistent-data/dm-block-manager.c aux->write_locked = 1; aux 582 drivers/md/persistent-data/dm-block-manager.c aux->validator = v; aux 590 drivers/md/persistent-data/dm-block-manager.c struct buffer_aux *aux; aux 591 drivers/md/persistent-data/dm-block-manager.c aux = dm_bufio_get_aux_data(to_buffer(b)); aux 593 drivers/md/persistent-data/dm-block-manager.c if (aux->write_locked) { aux 595 drivers/md/persistent-data/dm-block-manager.c bl_up_write(&aux->lock); aux 597 drivers/md/persistent-data/dm-block-manager.c bl_up_read(&aux->lock); aux 553 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c int aux; aux 573 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux = 255 * diff_rgb; aux 574 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux += max_rgb / 2; aux 575 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux /= max_rgb; aux 576 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *s = aux; aux 577 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (!aux) { aux 586 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux = g - b; aux 589 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux = b - r; aux 592 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux = r - g; aux 596 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux *= third_size / 2; aux 597 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux += diff_rgb / 2; aux 598 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux /= diff_rgb; aux 599 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux += third; aux 603 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (aux < 0) aux 604 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux += 180; aux 605 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c else if (aux > 180) aux 606 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux -= 180; aux 608 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c aux = aux & 0xff; aux 611 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *h = aux; aux 516 drivers/media/i2c/imx214.c unsigned int aux; aux 520 drivers/media/i2c/imx214.c ret = regmap_read(imx214->regmap, reg->reg, &aux); aux 521 drivers/media/i2c/imx214.c reg->val = aux; aux 422 drivers/media/tuners/tuner-simple.c static int simple_set_aux_byte(struct dvb_frontend *fe, u8 config, u8 aux) aux 429 drivers/media/tuners/tuner-simple.c buffer[1] = aux; aux 2695 drivers/mtd/spi-nor/spi-nor.c uint64_t aux = addr; aux 2697 drivers/mtd/spi-nor/spi-nor.c page_offset = do_div(aux, nor->page_size); aux 541 drivers/net/ethernet/broadcom/b44.c u32 bmsr, aux; aux 559 drivers/net/ethernet/broadcom/b44.c !b44_readphy(bp, B44_MII_AUXCTRL, &aux) && aux 561 drivers/net/ethernet/broadcom/b44.c if (aux & MII_AUXCTRL_SPEED) aux 565 drivers/net/ethernet/broadcom/b44.c if (aux & MII_AUXCTRL_DUPLEX) aux 333 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c xdp->prog_id = bp->xdp_prog ? bp->xdp_prog->aux->id : 0; aux 1915 drivers/net/ethernet/cavium/thunder/nicvf_main.c xdp->prog_id = nic->xdp_prog ? nic->xdp_prog->aux->id : 0; aux 1837 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c xdp->prog_id = priv->xdp_prog ? priv->xdp_prog->aux->id : 0; aux 12828 drivers/net/ethernet/intel/i40e/i40e_main.c xdp->prog_id = vsi->xdp_prog ? vsi->xdp_prog->aux->id : 0; aux 10309 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->xdp_prog->aux->id : 0; aux 4495 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c adapter->xdp_prog->aux->id : 0; aux 1225 drivers/net/ethernet/marvell/skge.c u16 lpa, aux; aux 1236 drivers/net/ethernet/marvell/skge.c aux = xm_phy_read(hw, port, PHY_BCOM_AUX_STAT); aux 1239 drivers/net/ethernet/marvell/skge.c switch (aux & PHY_B_AS_AN_RES_MSK) { aux 1252 drivers/net/ethernet/marvell/skge.c switch (aux & PHY_B_AS_PAUSE_MSK) { aux 2282 drivers/net/ethernet/marvell/skge.c static u16 yukon_speed(const struct skge_hw *hw, u16 aux) aux 2284 drivers/net/ethernet/marvell/skge.c switch (aux & PHY_M_PS_SPEED_MSK) { aux 2150 drivers/net/ethernet/marvell/sky2.c static u16 sky2_phy_speed(const struct sky2_hw *hw, u16 aux) aux 2156 drivers/net/ethernet/marvell/sky2.c if (aux & PHY_M_PS_SPEED_100) aux 2162 drivers/net/ethernet/marvell/sky2.c switch (aux & PHY_M_PS_SPEED_MSK) { aux 2234 drivers/net/ethernet/marvell/sky2.c static int sky2_autoneg_done(struct sky2_port *sky2, u16 aux) aux 2247 drivers/net/ethernet/marvell/sky2.c if (!(aux & PHY_M_PS_SPDUP_RES)) { aux 2252 drivers/net/ethernet/marvell/sky2.c sky2->speed = sky2_phy_speed(hw, aux); aux 2253 drivers/net/ethernet/marvell/sky2.c sky2->duplex = (aux & PHY_M_PS_FULL_DUP) ? DUPLEX_FULL : DUPLEX_HALF; aux 2894 drivers/net/ethernet/mellanox/mlx4/en_netdev.c prog_id = xdp_prog->aux->id; aux 4516 drivers/net/ethernet/mellanox/mlx5/core/en_main.c prog_id = xdp_prog->aux->id; aux 120 drivers/net/ethernet/netronome/nfp/bpf/offload.c for (i = 0; i < prog->aux->used_map_cnt; i++) aux 121 drivers/net/ethernet/netronome/nfp/bpf/offload.c if (bpf_map_offload_neutral(prog->aux->used_maps[i])) aux 132 drivers/net/ethernet/netronome/nfp/bpf/offload.c for (i = 0; i < prog->aux->used_map_cnt; i++) aux 133 drivers/net/ethernet/netronome/nfp/bpf/offload.c if (bpf_map_offload_neutral(prog->aux->used_maps[i])) { aux 135 drivers/net/ethernet/netronome/nfp/bpf/offload.c prog->aux->used_maps[i]); aux 195 drivers/net/ethernet/netronome/nfp/bpf/offload.c prog->aux->offload->dev_priv = nfp_prog; aux 199 drivers/net/ethernet/netronome/nfp/bpf/offload.c nfp_prog->bpf = bpf_offload_dev_priv(prog->aux->offload->offdev); aux 217 drivers/net/ethernet/netronome/nfp/bpf/offload.c struct nfp_net *nn = netdev_priv(prog->aux->offload->netdev); aux 218 drivers/net/ethernet/netronome/nfp/bpf/offload.c struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; aux 223 drivers/net/ethernet/netronome/nfp/bpf/offload.c if (prog->aux->offload->opt_failed) aux 237 drivers/net/ethernet/netronome/nfp/bpf/offload.c prog->aux->offload->jited_len = nfp_prog->prog_len * sizeof(u64); aux 238 drivers/net/ethernet/netronome/nfp/bpf/offload.c prog->aux->offload->jited_image = nfp_prog->prog; aux 245 drivers/net/ethernet/netronome/nfp/bpf/offload.c struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; aux 484 drivers/net/ethernet/netronome/nfp/bpf/offload.c struct nfp_prog *nfp_prog = prog->aux->offload->dev_priv; aux 491 drivers/net/ethernet/netronome/nfp/bpf/offload.c pkt_off = min(prog->aux->max_pkt_offset, nn->dp.netdev->mtu); aux 629 drivers/net/ethernet/netronome/nfp/bpf/verifier.c struct nfp_prog *nfp_prog = env->prog->aux->offload->dev_priv; aux 748 drivers/net/ethernet/netronome/nfp/bpf/verifier.c struct bpf_insn_aux_data *aux) aux 753 drivers/net/ethernet/netronome/nfp/bpf/verifier.c if (aux[meta->n].zext_dst) aux 766 drivers/net/ethernet/netronome/nfp/bpf/verifier.c nfp_prog = env->prog->aux->offload->dev_priv; aux 789 drivers/net/ethernet/netronome/nfp/bpf/verifier.c nn = netdev_priv(env->prog->aux->offload->netdev); aux 805 drivers/net/ethernet/netronome/nfp/bpf/verifier.c struct nfp_prog *nfp_prog = env->prog->aux->offload->dev_priv; aux 838 drivers/net/ethernet/netronome/nfp/bpf/verifier.c struct nfp_prog *nfp_prog = env->prog->aux->offload->dev_priv; aux 1122 drivers/net/ethernet/qlogic/qede/qede_filter.c xdp->prog_id = edev->xdp_prog ? edev->xdp_prog->aux->id : 0; aux 1807 drivers/net/ethernet/socionext/netsec.c xdp->prog_id = priv->xdp_prog ? priv->xdp_prog->aux->id : 0; aux 1750 drivers/net/ethernet/sun/niu.c u16 aux; aux 1752 drivers/net/ethernet/sun/niu.c aux = (BCM5464R_AUX_CTL_EXT_LB | aux 1754 drivers/net/ethernet/sun/niu.c err = mii_write(np, np->phy_addr, BCM5464R_AUX_CTL, aux); aux 1833 drivers/net/geneve.c struct net_device *dev, *aux; aux 1836 drivers/net/geneve.c for_each_netdev_safe(net, dev, aux) aux 67 drivers/net/netdevsim/bpf.c state = env->prog->aux->offload->dev_priv; aux 91 drivers/net/netdevsim/bpf.c if (!prog || !prog->aux->offload) aux 94 drivers/net/netdevsim/bpf.c state = prog->aux->offload->dev_priv; aux 107 drivers/net/netdevsim/bpf.c ns->bpf_offloaded_id = prog ? prog->aux->id : 0; aux 142 drivers/net/netdevsim/bpf.c if (prog && !prog->aux->offload && !ns->bpf_tc_non_bound_accept) { aux 238 drivers/net/netdevsim/bpf.c debugfs_create_u32("id", 0400, state->ddir, &prog->aux->id); aux 245 drivers/net/netdevsim/bpf.c prog->aux->offload->dev_priv = state; aux 253 drivers/net/netdevsim/bpf.c bpf_offload_dev_priv(prog->aux->offload->offdev); aux 263 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_prog *state = prog->aux->offload->dev_priv; aux 273 drivers/net/netdevsim/bpf.c state = prog->aux->offload->dev_priv; aux 291 drivers/net/netdevsim/bpf.c if (bpf->prog && bpf->prog->aux->offload) { aux 310 drivers/net/netdevsim/bpf.c if (!bpf->prog->aux->offload) { aux 319 drivers/net/netdevsim/bpf.c state = bpf->prog->aux->offload->dev_priv; aux 922 drivers/net/ppp/ppp_generic.c struct net_device *aux; aux 928 drivers/net/ppp/ppp_generic.c for_each_netdev_safe(net, dev, aux) { aux 1228 drivers/net/tun.c return xdp_prog->aux->id; aux 1144 drivers/net/veth.c return xdp_prog->aux->id; aux 2527 drivers/net/virtio_net.c return xdp_prog->aux->id; aux 4415 drivers/net/vxlan.c struct net_device *dev, *aux; aux 4418 drivers/net/vxlan.c for_each_netdev_safe(net, dev, aux) aux 98 drivers/pci/controller/dwc/pcie-qcom.c struct clk *aux; aux 389 drivers/pci/controller/dwc/pcie-qcom.c res->aux = devm_clk_get(dev, "aux"); aux 390 drivers/pci/controller/dwc/pcie-qcom.c if (IS_ERR(res->aux)) aux 391 drivers/pci/controller/dwc/pcie-qcom.c return PTR_ERR(res->aux); aux 413 drivers/pci/controller/dwc/pcie-qcom.c clk_disable_unprepare(res->aux); aux 430 drivers/pci/controller/dwc/pcie-qcom.c ret = clk_prepare_enable(res->aux); aux 478 drivers/pci/controller/dwc/pcie-qcom.c clk_disable_unprepare(res->aux); aux 868 drivers/perf/arm_spe_pmu.c static void arm_spe_pmu_free_aux(void *aux) aux 870 drivers/perf/arm_spe_pmu.c struct arm_spe_pmu_buf *buf = aux; aux 237 drivers/s390/block/dasd_eckd.h __u8 aux; aux 180 drivers/scsi/qla2xxx/qla_attr.c if (active_regions.aux.vpd_nvram == QLA27XX_SECONDARY_IMAGE) aux 537 drivers/scsi/qla2xxx/qla_attr.c if (active_regions.aux.vpd_nvram == QLA27XX_SECONDARY_IMAGE) aux 542 drivers/scsi/qla2xxx/qla_attr.c active_regions.aux.vpd_nvram == QLA27XX_PRIMARY_IMAGE ? aux 2407 drivers/scsi/qla2xxx/qla_bsg.c regions.board_config = active_regions.aux.board_config; aux 2408 drivers/scsi/qla2xxx/qla_bsg.c regions.vpd_nvram = active_regions.aux.vpd_nvram; aux 2409 drivers/scsi/qla2xxx/qla_bsg.c regions.npiv_config_0_1 = active_regions.aux.npiv_config_0_1; aux 2410 drivers/scsi/qla2xxx/qla_bsg.c regions.npiv_config_2_3 = active_regions.aux.npiv_config_2_3; aux 4314 drivers/scsi/qla2xxx/qla_def.h } aux; aux 7385 drivers/scsi/qla2xxx/qla_init.c qla28xx_component_bitmask(struct qla27xx_image_status *aux, uint bitmask) aux 7387 drivers/scsi/qla2xxx/qla_init.c return aux->bitmap & bitmask ? aux 7393 drivers/scsi/qla2xxx/qla_init.c struct active_regions *active_regions, struct qla27xx_image_status *aux) aux 7395 drivers/scsi/qla2xxx/qla_init.c active_regions->aux.board_config = aux 7396 drivers/scsi/qla2xxx/qla_init.c qla28xx_component_bitmask(aux, QLA28XX_AUX_IMG_BOARD_CONFIG); aux 7398 drivers/scsi/qla2xxx/qla_init.c active_regions->aux.vpd_nvram = aux 7399 drivers/scsi/qla2xxx/qla_init.c qla28xx_component_bitmask(aux, QLA28XX_AUX_IMG_VPD_NVRAM); aux 7401 drivers/scsi/qla2xxx/qla_init.c active_regions->aux.npiv_config_0_1 = aux 7402 drivers/scsi/qla2xxx/qla_init.c qla28xx_component_bitmask(aux, QLA28XX_AUX_IMG_NPIV_CONFIG_0_1); aux 7404 drivers/scsi/qla2xxx/qla_init.c active_regions->aux.npiv_config_2_3 = aux 7405 drivers/scsi/qla2xxx/qla_init.c qla28xx_component_bitmask(aux, QLA28XX_AUX_IMG_NPIV_CONFIG_2_3); aux 7515 drivers/scsi/qla2xxx/qla_init.c active_regions->aux.board_config, aux 7516 drivers/scsi/qla2xxx/qla_init.c active_regions->aux.vpd_nvram, aux 7517 drivers/scsi/qla2xxx/qla_init.c active_regions->aux.npiv_config_0_1, aux 7518 drivers/scsi/qla2xxx/qla_init.c active_regions->aux.npiv_config_2_3); aux 8287 drivers/scsi/qla2xxx/qla_init.c if (active_regions.aux.vpd_nvram == QLA27XX_SECONDARY_IMAGE) aux 8291 drivers/scsi/qla2xxx/qla_init.c active_regions.aux.vpd_nvram == QLA27XX_PRIMARY_IMAGE ? aux 8299 drivers/scsi/qla2xxx/qla_init.c if (active_regions.aux.vpd_nvram == QLA27XX_SECONDARY_IMAGE) aux 8304 drivers/scsi/qla2xxx/qla_init.c active_regions.aux.vpd_nvram == QLA27XX_PRIMARY_IMAGE ? aux 31 drivers/staging/fbtft/fb_agm1264k-fl.c #define RW gpio.aux[2] aux 32 drivers/staging/fbtft/fb_agm1264k-fl.c #define CS0 gpio.aux[0] aux 33 drivers/staging/fbtft/fb_agm1264k-fl.c #define CS1 gpio.aux[1] aux 131 drivers/staging/fbtft/fbtft-core.c &par->gpio.aux[i]); aux 217 drivers/staging/fbtft/fbtft.h struct gpio_desc *aux[16]; aux 110 drivers/tty/cyclades.c char aux[32]; aux 408 drivers/tty/serial/8250/8250_fintek.c u16 aux; aux 411 drivers/tty/serial/8250/8250_fintek.c aux = sio_read_reg(pdata, IO_ADDR1); aux 412 drivers/tty/serial/8250/8250_fintek.c aux |= sio_read_reg(pdata, IO_ADDR2) << 8; aux 413 drivers/tty/serial/8250/8250_fintek.c if (aux != uart->port.iobase) aux 542 drivers/tty/serial/sb1250-duart.c unsigned int mode1 = 0, mode2 = 0, aux = 0; aux 614 drivers/tty/serial/sb1250-duart.c aux |= M_DUART_CTS_CHNG_ENA; aux 616 drivers/tty/serial/sb1250-duart.c aux &= ~M_DUART_CTS_CHNG_ENA; aux 636 drivers/tty/serial/sb1250-duart.c write_sbdchn(sport, R_DUART_AUXCTL_X, aux | oldaux); aux 1287 drivers/tty/serial/serial_core.c struct serial_rs485 aux; aux 1290 drivers/tty/serial/serial_core.c aux = port->rs485; aux 1293 drivers/tty/serial/serial_core.c if (copy_to_user(rs485, &aux, sizeof(aux))) aux 1328 drivers/tty/serial/serial_core.c struct serial_iso7816 aux; aux 1334 drivers/tty/serial/serial_core.c aux = port->iso7816; aux 1337 drivers/tty/serial/serial_core.c if (copy_to_user(iso7816, &aux, sizeof(aux))) aux 46 fs/afs/cache.c struct afs_vnode_cache_aux aux; aux 52 fs/afs/cache.c memcpy(&aux, buffer, sizeof(aux)); aux 55 fs/afs/cache.c if (buflen != sizeof(aux)) { aux 56 fs/afs/cache.c _leave(" = OBSOLETE [len %hx != %zx]", buflen, sizeof(aux)); aux 60 fs/afs/cache.c if (vnode->status.data_version != aux.data_version) { aux 62 fs/afs/cache.c aux.data_version, vnode->status.data_version); aux 481 fs/afs/inode.c struct afs_vnode_cache_aux aux; aux 492 fs/afs/inode.c aux.data_version = vnode->status.data_version; aux 497 fs/afs/inode.c &aux, sizeof(aux), aux 794 fs/afs/inode.c struct afs_vnode_cache_aux aux; aux 796 fs/afs/inode.c aux.data_version = vnode->status.data_version; aux 797 fs/afs/inode.c fscache_relinquish_cookie(vnode->cache, &aux, aux 590 fs/btrfs/backref.c return (struct extent_inode_elem *)(uintptr_t)node->aux; aux 1347 fs/btrfs/backref.c if (!node->aux) aux 1351 fs/btrfs/backref.c node->aux = 0; aux 1946 fs/btrfs/backref.c ref_node->aux); aux 1949 fs/btrfs/backref.c (uintptr_t)ref_node->aux, aux 161 fs/btrfs/qgroup.c return (struct btrfs_qgroup *)(uintptr_t)n->aux; aux 3454 fs/btrfs/qgroup.c unode->aux, EXTENT_QGROUP_RESERVED, 0, 0, NULL); aux 3481 fs/btrfs/qgroup.c u64 range_len = unode->aux - range_start + 1; aux 3775 fs/btrfs/qgroup.c inode->i_ino, unode->val, unode->aux); aux 186 fs/btrfs/ulist.c int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask) aux 188 fs/btrfs/ulist.c return ulist_add_merge(ulist, val, aux, NULL, gfp_mask); aux 191 fs/btrfs/ulist.c int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux, aux 200 fs/btrfs/ulist.c *old_aux = node->aux; aux 208 fs/btrfs/ulist.c node->aux = aux; aux 228 fs/btrfs/ulist.c int ulist_del(struct ulist *ulist, u64 val, u64 aux) aux 237 fs/btrfs/ulist.c if (node->aux != aux) aux 29 fs/btrfs/ulist.h u64 aux; /* auxiliary value saved along with the val */ aux 50 fs/btrfs/ulist.h int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask); aux 51 fs/btrfs/ulist.h int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux, aux 53 fs/btrfs/ulist.h int ulist_del(struct ulist *ulist, u64 val, u64 aux); aux 56 fs/btrfs/ulist.h static inline int ulist_add_merge_ptr(struct ulist *ulist, u64 val, void *aux, aux 61 fs/btrfs/ulist.h int ret = ulist_add_merge(ulist, val, (uintptr_t)aux, &old64, gfp_mask); aux 65 fs/btrfs/ulist.h return ulist_add_merge(ulist, val, (u64)aux, (u64 *)old_aux, gfp_mask); aux 88 fs/cachefiles/interface.c p = cookie->aux; aux 211 fs/cachefiles/interface.c const void *aux; aux 241 fs/cachefiles/interface.c aux = (auxlen <= sizeof(cookie->inline_aux)) ? aux 242 fs/cachefiles/interface.c cookie->inline_aux : cookie->aux; aux 244 fs/cachefiles/interface.c memcpy(auxdata->data, aux, auxlen); aux 111 fs/ceph/cache.c struct ceph_aux_inode aux; aux 115 fs/ceph/cache.c if (dlen != sizeof(aux) || aux 119 fs/ceph/cache.c memset(&aux, 0, sizeof(aux)); aux 120 fs/ceph/cache.c aux.version = ci->i_version; aux 121 fs/ceph/cache.c aux.mtime_sec = inode->i_mtime.tv_sec; aux 122 fs/ceph/cache.c aux.mtime_nsec = inode->i_mtime.tv_nsec; aux 124 fs/ceph/cache.c if (memcmp(data, &aux, sizeof(aux)) != 0) aux 141 fs/ceph/cache.c struct ceph_aux_inode aux; aux 153 fs/ceph/cache.c memset(&aux, 0, sizeof(aux)); aux 154 fs/ceph/cache.c aux.version = ci->i_version; aux 155 fs/ceph/cache.c aux.mtime_sec = inode->i_mtime.tv_sec; aux 156 fs/ceph/cache.c aux.mtime_nsec = inode->i_mtime.tv_nsec; aux 160 fs/ceph/cache.c &aux, sizeof(aux), aux 61 fs/fscache/cookie.c kfree(cookie->aux); aux 159 fs/fscache/cookie.c cookie->aux = kmemdup(aux_data, cookie->aux_len, GFP_KERNEL); aux 160 fs/fscache/cookie.c if (!cookie->aux) aux 361 fs/fscache/internal.h p = cookie->aux; aux 287 fs/fscache/object-list.c cookie->inline_aux : cookie->aux; aux 319 fs/fsopen.c int, aux) aux 334 fs/fsopen.c if (!_key || _value || aux) aux 338 fs/fsopen.c if (!_key || !_value || aux) aux 342 fs/fsopen.c if (!_key || !_value || aux <= 0 || aux > 1024 * 1024) aux 347 fs/fsopen.c if (!_key || !_value || (aux != AT_FDCWD && aux < 0)) aux 351 fs/fsopen.c if (!_key || _value || aux < 0) aux 356 fs/fsopen.c if (_key || _value || aux) aux 405 fs/fsopen.c param.size = aux; aux 406 fs/fsopen.c param.blob = memdup_user_nul(_value, aux); aux 419 fs/fsopen.c param.dirfd = aux; aux 429 fs/fsopen.c param.dirfd = aux; aux 435 fs/fsopen.c param.file = fget(aux); aux 1632 fs/fuse/file.c struct fuse_writepage_args *aux, *next; aux 1672 fs/fuse/file.c for (aux = wpa->next; aux; aux = next) { aux 1673 fs/fuse/file.c next = aux->next; aux 1674 fs/fuse/file.c aux->next = NULL; aux 1675 fs/fuse/file.c fuse_writepage_free(aux); aux 581 fs/nfs/nfs4idmap.c static int nfs_idmap_legacy_upcall(struct key *authkey, void *aux) aux 587 fs/nfs/nfs4idmap.c struct idmap *idmap = (struct idmap *)aux; aux 591 fs/nfs/nfs4idmap.c if (!aux) aux 1298 include/drm/drm_dp_helper.h ssize_t (*transfer)(struct drm_dp_aux *aux, aux 1318 include/drm/drm_dp_helper.h ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset, aux 1320 include/drm/drm_dp_helper.h ssize_t drm_dp_dpcd_write(struct drm_dp_aux *aux, unsigned int offset, aux 1332 include/drm/drm_dp_helper.h static inline ssize_t drm_dp_dpcd_readb(struct drm_dp_aux *aux, aux 1335 include/drm/drm_dp_helper.h return drm_dp_dpcd_read(aux, offset, valuep, 1); aux 1347 include/drm/drm_dp_helper.h static inline ssize_t drm_dp_dpcd_writeb(struct drm_dp_aux *aux, aux 1350 include/drm/drm_dp_helper.h return drm_dp_dpcd_write(aux, offset, &value, 1); aux 1353 include/drm/drm_dp_helper.h int drm_dp_dpcd_read_link_status(struct drm_dp_aux *aux, aux 1368 include/drm/drm_dp_helper.h int drm_dp_link_probe(struct drm_dp_aux *aux, struct drm_dp_link *link); aux 1369 include/drm/drm_dp_helper.h int drm_dp_link_power_up(struct drm_dp_aux *aux, struct drm_dp_link *link); aux 1370 include/drm/drm_dp_helper.h int drm_dp_link_power_down(struct drm_dp_aux *aux, struct drm_dp_link *link); aux 1371 include/drm/drm_dp_helper.h int drm_dp_link_configure(struct drm_dp_aux *aux, struct drm_dp_link *link); aux 1376 include/drm/drm_dp_helper.h int drm_dp_downstream_id(struct drm_dp_aux *aux, char id[6]); aux 1378 include/drm/drm_dp_helper.h const u8 port_cap[4], struct drm_dp_aux *aux); aux 1380 include/drm/drm_dp_helper.h void drm_dp_aux_init(struct drm_dp_aux *aux); aux 1381 include/drm/drm_dp_helper.h int drm_dp_aux_register(struct drm_dp_aux *aux); aux 1382 include/drm/drm_dp_helper.h void drm_dp_aux_unregister(struct drm_dp_aux *aux); aux 1384 include/drm/drm_dp_helper.h int drm_dp_start_crc(struct drm_dp_aux *aux, struct drm_crtc *crtc); aux 1385 include/drm/drm_dp_helper.h int drm_dp_stop_crc(struct drm_dp_aux *aux); aux 1405 include/drm/drm_dp_helper.h int drm_dp_read_desc(struct drm_dp_aux *aux, struct drm_dp_desc *desc, aux 1453 include/drm/drm_dp_helper.h void drm_dp_cec_irq(struct drm_dp_aux *aux); aux 1454 include/drm/drm_dp_helper.h void drm_dp_cec_register_connector(struct drm_dp_aux *aux, const char *name, aux 1456 include/drm/drm_dp_helper.h void drm_dp_cec_unregister_connector(struct drm_dp_aux *aux); aux 1457 include/drm/drm_dp_helper.h void drm_dp_cec_set_edid(struct drm_dp_aux *aux, const struct edid *edid); aux 1458 include/drm/drm_dp_helper.h void drm_dp_cec_unset_edid(struct drm_dp_aux *aux); aux 1460 include/drm/drm_dp_helper.h static inline void drm_dp_cec_irq(struct drm_dp_aux *aux) aux 1464 include/drm/drm_dp_helper.h static inline void drm_dp_cec_register_connector(struct drm_dp_aux *aux, aux 1470 include/drm/drm_dp_helper.h static inline void drm_dp_cec_unregister_connector(struct drm_dp_aux *aux) aux 1474 include/drm/drm_dp_helper.h static inline void drm_dp_cec_set_edid(struct drm_dp_aux *aux, aux 1479 include/drm/drm_dp_helper.h static inline void drm_dp_cec_unset_edid(struct drm_dp_aux *aux) aux 94 include/drm/drm_dp_mst_helper.h struct drm_dp_aux aux; /* i2c bus for this port? */ aux 472 include/drm/drm_dp_mst_helper.h struct drm_dp_aux *aux; aux 593 include/drm/drm_dp_mst_helper.h struct drm_device *dev, struct drm_dp_aux *aux, aux 647 include/drm/drm_dp_mst_helper.h ssize_t drm_dp_mst_dpcd_read(struct drm_dp_aux *aux, aux 649 include/drm/drm_dp_mst_helper.h ssize_t drm_dp_mst_dpcd_write(struct drm_dp_aux *aux, aux 295 include/linux/bpf.h bpf_ctx_record_field_size(struct bpf_insn_access_aux *aux, u32 size) aux 297 include/linux/bpf.h aux->ctx_field_size = size; aux 919 include/linux/bpf.h static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) aux 921 include/linux/bpf.h return aux->offload_requested; aux 938 include/linux/bpf.h static inline bool bpf_prog_is_dev_bound(struct bpf_prog_aux *aux) aux 537 include/linux/filter.h struct bpf_prog_aux *aux; /* Auxiliary fields */ aux 563 include/linux/filter.h stats = this_cpu_ptr(prog->aux->stats); \ aux 169 include/linux/fscache.h void *aux; /* Auxiliary data */ aux 40 include/linux/key-type.h typedef int (*request_key_actor_t)(struct key *auth_key, void *aux); aux 309 include/linux/key.h void *aux); aux 1817 include/linux/lsm_hooks.h int (*bpf_prog_alloc_security)(struct bpf_prog_aux *aux); aux 1818 include/linux/lsm_hooks.h void (*bpf_prog_free_security)(struct bpf_prog_aux *aux); aux 423 include/linux/perf_event.h void (*free_aux) (void *aux); /* optional */ aux 1863 include/linux/security.h extern int security_bpf_prog_alloc(struct bpf_prog_aux *aux); aux 1864 include/linux/security.h extern void security_bpf_prog_free(struct bpf_prog_aux *aux); aux 1890 include/linux/security.h static inline int security_bpf_prog_alloc(struct bpf_prog_aux *aux) aux 1895 include/linux/security.h static inline void security_bpf_prog_free(struct bpf_prog_aux *aux) aux 997 include/linux/syscalls.h const void __user *value, int aux); aux 86 include/net/9p/client.h void *aux; aux 1095 include/sound/soc.h #define for_each_card_pre_auxs(card, i, aux) \ aux 1097 include/sound/soc.h ((i) < (card)->num_aux_devs) && ((aux) = &(card)->aux_dev[i]); \ aux 610 include/trace/events/rxrpc.h int usage, const void *where, const void *aux), aux 612 include/trace/events/rxrpc.h TP_ARGS(call_debug_id, op, usage, where, aux), aux 619 include/trace/events/rxrpc.h __field(const void *, aux ) aux 627 include/trace/events/rxrpc.h __entry->aux = aux; aux 635 include/trace/events/rxrpc.h __entry->aux) aux 42 include/trace/events/xdp.h __entry->prog_id = xdp->aux->id; aux 102 include/trace/events/xdp.h __entry->prog_id = xdp->aux->id; aux 122 kernel/audit.h struct audit_aux_data *aux; aux 880 kernel/auditsc.c struct audit_aux_data *aux; aux 882 kernel/auditsc.c while ((aux = context->aux)) { aux 883 kernel/auditsc.c context->aux = aux->next; aux 884 kernel/auditsc.c kfree(aux); aux 886 kernel/auditsc.c while ((aux = context->aux_pids)) { aux 887 kernel/auditsc.c context->aux_pids = aux->next; aux 888 kernel/auditsc.c kfree(aux); aux 1449 kernel/auditsc.c struct audit_aux_data *aux; aux 1478 kernel/auditsc.c for (aux = context->aux; aux; aux = aux->next) { aux 1480 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, aux->type); aux 1484 kernel/auditsc.c switch (aux->type) { aux 1487 kernel/auditsc.c struct audit_aux_data_bprm_fcaps *axs = (void *)aux; aux 1531 kernel/auditsc.c for (aux = context->aux_pids; aux; aux = aux->next) { aux 1532 kernel/auditsc.c struct audit_aux_data_pids *axs = (void *)aux; aux 1723 kernel/auditsc.c context->aux = NULL; aux 2453 kernel/auditsc.c ax->d.next = context->aux; aux 2454 kernel/auditsc.c context->aux = (void *)ax; aux 592 kernel/bpf/arraymap.c return ((struct bpf_prog *)ptr)->aux->id; aux 539 kernel/bpf/cgroup.c id = pl->prog->aux->id; aux 80 kernel/bpf/core.c struct bpf_prog_aux *aux; aux 88 kernel/bpf/core.c aux = kzalloc(sizeof(*aux), GFP_KERNEL | gfp_extra_flags); aux 89 kernel/bpf/core.c if (aux == NULL) { aux 95 kernel/bpf/core.c fp->aux = aux; aux 96 kernel/bpf/core.c fp->aux->prog = fp; aux 99 kernel/bpf/core.c INIT_LIST_HEAD_RCU(&fp->aux->ksym_lnode); aux 114 kernel/bpf/core.c prog->aux->stats = alloc_percpu_gfp(struct bpf_prog_stats, gfp_flags); aux 115 kernel/bpf/core.c if (!prog->aux->stats) { aux 116 kernel/bpf/core.c kfree(prog->aux); aux 124 kernel/bpf/core.c pstats = per_cpu_ptr(prog->aux->stats, cpu); aux 133 kernel/bpf/core.c if (!prog->aux->nr_linfo || !prog->jit_requested) aux 136 kernel/bpf/core.c prog->aux->jited_linfo = kcalloc(prog->aux->nr_linfo, aux 137 kernel/bpf/core.c sizeof(*prog->aux->jited_linfo), aux 139 kernel/bpf/core.c if (!prog->aux->jited_linfo) aux 147 kernel/bpf/core.c kfree(prog->aux->jited_linfo); aux 148 kernel/bpf/core.c prog->aux->jited_linfo = NULL; aux 153 kernel/bpf/core.c if (prog->aux->jited_linfo && !prog->aux->jited_linfo[0]) aux 188 kernel/bpf/core.c if (!prog->aux->jited_linfo) aux 192 kernel/bpf/core.c linfo_idx = prog->aux->linfo_idx; aux 193 kernel/bpf/core.c linfo = &prog->aux->linfo[linfo_idx]; aux 197 kernel/bpf/core.c jited_linfo = &prog->aux->jited_linfo[linfo_idx]; aux 200 kernel/bpf/core.c nr_linfo = prog->aux->nr_linfo - linfo_idx; aux 213 kernel/bpf/core.c kvfree(prog->aux->linfo); aux 232 kernel/bpf/core.c ret = __bpf_prog_charge(fp_old->aux->user, delta); aux 238 kernel/bpf/core.c __bpf_prog_uncharge(fp_old->aux->user, delta); aux 242 kernel/bpf/core.c fp->aux->prog = fp; aux 247 kernel/bpf/core.c fp_old->aux = NULL; aux 256 kernel/bpf/core.c if (fp->aux) { aux 257 kernel/bpf/core.c free_percpu(fp->aux->stats); aux 258 kernel/bpf/core.c kfree(fp->aux); aux 417 kernel/bpf/core.c nr_linfo = prog->aux->nr_linfo; aux 421 kernel/bpf/core.c linfo = prog->aux->linfo; aux 509 kernel/bpf/core.c for (i = 0; i < fp->aux->func_cnt; i++) aux 510 kernel/bpf/core.c bpf_prog_kallsyms_del(fp->aux->func[i]); aux 555 kernel/bpf/core.c sizeof(prog->aux->name) > KSYM_NAME_LEN); aux 561 kernel/bpf/core.c if (prog->aux->func_info_cnt) { aux 562 kernel/bpf/core.c type = btf_type_by_id(prog->aux->btf, aux 563 kernel/bpf/core.c prog->aux->func_info[prog->aux->func_idx].type_id); aux 564 kernel/bpf/core.c func_name = btf_name_by_offset(prog->aux->btf, type->name_off); aux 569 kernel/bpf/core.c if (prog->aux->name[0]) aux 570 kernel/bpf/core.c snprintf(sym, (size_t)(end - sym), "_%s", prog->aux->name); aux 579 kernel/bpf/core.c const struct bpf_prog_aux *aux; aux 581 kernel/bpf/core.c aux = container_of(n, struct bpf_prog_aux, ksym_tnode); aux 582 kernel/bpf/core.c bpf_get_prog_addr_region(aux->prog, &symbol_start, &symbol_end); aux 597 kernel/bpf/core.c const struct bpf_prog_aux *aux; aux 599 kernel/bpf/core.c aux = container_of(n, struct bpf_prog_aux, ksym_tnode); aux 600 kernel/bpf/core.c bpf_get_prog_addr_region(aux->prog, &symbol_start, &symbol_end); aux 619 kernel/bpf/core.c static void bpf_prog_ksym_node_add(struct bpf_prog_aux *aux) aux 621 kernel/bpf/core.c WARN_ON_ONCE(!list_empty(&aux->ksym_lnode)); aux 622 kernel/bpf/core.c list_add_tail_rcu(&aux->ksym_lnode, &bpf_kallsyms); aux 623 kernel/bpf/core.c latch_tree_insert(&aux->ksym_tnode, &bpf_tree, &bpf_tree_ops); aux 626 kernel/bpf/core.c static void bpf_prog_ksym_node_del(struct bpf_prog_aux *aux) aux 628 kernel/bpf/core.c if (list_empty(&aux->ksym_lnode)) aux 631 kernel/bpf/core.c latch_tree_erase(&aux->ksym_tnode, &bpf_tree, &bpf_tree_ops); aux 632 kernel/bpf/core.c list_del_rcu(&aux->ksym_lnode); aux 642 kernel/bpf/core.c return list_empty(&fp->aux->ksym_lnode) || aux 643 kernel/bpf/core.c fp->aux->ksym_lnode.prev == LIST_POISON2; aux 653 kernel/bpf/core.c bpf_prog_ksym_node_add(fp->aux); aux 663 kernel/bpf/core.c bpf_prog_ksym_node_del(fp->aux); aux 718 kernel/bpf/core.c struct bpf_prog_aux *aux; aux 726 kernel/bpf/core.c list_for_each_entry_rcu(aux, &bpf_kallsyms, ksym_lnode) { aux 730 kernel/bpf/core.c bpf_get_prog_name(aux->prog, sym); aux 732 kernel/bpf/core.c *value = (unsigned long)aux->prog->bpf_func; aux 873 kernel/bpf/core.c else if (prog->aux->func && aux 874 kernel/bpf/core.c off >= 0 && off < prog->aux->func_cnt) aux 875 kernel/bpf/core.c addr = (u8 *)prog->aux->func[off]->bpf_func; aux 892 kernel/bpf/core.c const struct bpf_insn *aux, aux 1001 kernel/bpf/core.c *to++ = BPF_ALU64_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ aux[1].imm); aux 1004 kernel/bpf/core.c *to++ = BPF_ALU64_REG(BPF_MOV, aux[0].dst_reg, BPF_REG_AX); aux 1007 kernel/bpf/core.c *to++ = BPF_ALU32_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ aux[0].imm); aux 1011 kernel/bpf/core.c *to++ = BPF_ALU64_REG(BPF_OR, aux[0].dst_reg, BPF_REG_AX); aux 1054 kernel/bpf/core.c fp->aux = NULL; aux 1063 kernel/bpf/core.c fp->aux->prog = fp; aux 1069 kernel/bpf/core.c struct bpf_insn insn_buff[16], aux[2]; aux 1092 kernel/bpf/core.c memcpy(aux, insn, sizeof(aux)); aux 1094 kernel/bpf/core.c rewritten = bpf_jit_blind_insn(insn, aux, insn_buff, aux 1095 kernel/bpf/core.c clone->aux->verifier_zext); aux 1671 kernel/bpf/core.c struct bpf_prog_aux *aux = fp->aux; aux 1674 kernel/bpf/core.c for (i = 0; i < aux->used_map_cnt; i++) { aux 1675 kernel/bpf/core.c struct bpf_map *map = aux->used_maps[i]; aux 1692 kernel/bpf/core.c u32 stack_depth = max_t(u32, fp->aux->stack_depth, 1); aux 1724 kernel/bpf/core.c if (!bpf_prog_is_dev_bound(fp->aux)) { aux 1835 kernel/bpf/core.c prog_ids[i] = item->prog->aux->id; aux 1969 kernel/bpf/core.c struct bpf_prog_aux *aux; aux 1972 kernel/bpf/core.c aux = container_of(work, struct bpf_prog_aux, work); aux 1973 kernel/bpf/core.c if (bpf_prog_is_dev_bound(aux)) aux 1974 kernel/bpf/core.c bpf_prog_offload_destroy(aux->prog); aux 1976 kernel/bpf/core.c if (aux->prog->has_callchain_buf) aux 1979 kernel/bpf/core.c for (i = 0; i < aux->func_cnt; i++) aux 1980 kernel/bpf/core.c bpf_jit_free(aux->func[i]); aux 1981 kernel/bpf/core.c if (aux->func_cnt) { aux 1982 kernel/bpf/core.c kfree(aux->func); aux 1983 kernel/bpf/core.c bpf_prog_unlock_free(aux->prog); aux 1985 kernel/bpf/core.c bpf_jit_free(aux->prog); aux 1992 kernel/bpf/core.c struct bpf_prog_aux *aux = fp->aux; aux 1994 kernel/bpf/core.c INIT_WORK(&aux->work, bpf_prog_free_deferred); aux 1995 kernel/bpf/core.c schedule_work(&aux->work); aux 433 kernel/bpf/local_storage.c if (prog->aux->cgroup_storage[stype] && aux 434 kernel/bpf/local_storage.c prog->aux->cgroup_storage[stype] != _map) aux 438 kernel/bpf/local_storage.c prog->aux->cgroup_storage[stype] = _map; aux 453 kernel/bpf/local_storage.c WARN_ON(prog->aux->cgroup_storage[stype] != _map); aux 455 kernel/bpf/local_storage.c prog->aux->cgroup_storage[stype] = NULL; aux 486 kernel/bpf/local_storage.c map = prog->aux->cgroup_storage[stype]; aux 112 kernel/bpf/offload.c prog->aux->offload = offload; aux 133 kernel/bpf/offload.c offload = prog->aux->offload; aux 150 kernel/bpf/offload.c offload = env->prog->aux->offload; aux 165 kernel/bpf/offload.c offload = env->prog->aux->offload; aux 186 kernel/bpf/offload.c offload = env->prog->aux->offload; aux 203 kernel/bpf/offload.c offload = env->prog->aux->offload; aux 214 kernel/bpf/offload.c struct bpf_prog_offload *offload = prog->aux->offload; aux 224 kernel/bpf/offload.c prog->aux->offload = NULL; aux 230 kernel/bpf/offload.c if (prog->aux->offload) aux 241 kernel/bpf/offload.c offload = prog->aux->offload; aux 271 kernel/bpf/offload.c struct bpf_prog_aux *aux = args->prog->aux; aux 278 kernel/bpf/offload.c if (aux->offload) { aux 279 kernel/bpf/offload.c args->info->ifindex = aux->offload->netdev->ifindex; aux 280 kernel/bpf/offload.c net = dev_net(aux->offload->netdev); aux 301 kernel/bpf/offload.c struct bpf_prog_aux *aux = prog->aux; aux 317 kernel/bpf/offload.c if (!aux->offload) { aux 323 kernel/bpf/offload.c info->jited_prog_len = aux->offload->jited_len; aux 327 kernel/bpf/offload.c if (copy_to_user(uinsns, aux->offload->jited_image, ulen)) { aux 552 kernel/bpf/offload.c if (!bpf_prog_is_dev_bound(prog->aux)) aux 555 kernel/bpf/offload.c offload = prog->aux->offload; aux 1215 kernel/bpf/syscall.c if (!bpf_prog_is_dev_bound(prog->aux)) aux 1216 kernel/bpf/syscall.c prog->aux->ops = ops; aux 1218 kernel/bpf/syscall.c prog->aux->ops = &bpf_offload_prog_ops; aux 1224 kernel/bpf/syscall.c static void free_used_maps(struct bpf_prog_aux *aux) aux 1230 kernel/bpf/syscall.c if (!aux->cgroup_storage[stype]) aux 1232 kernel/bpf/syscall.c bpf_cgroup_storage_release(aux->prog, aux 1233 kernel/bpf/syscall.c aux->cgroup_storage[stype]); aux 1236 kernel/bpf/syscall.c for (i = 0; i < aux->used_map_cnt; i++) aux 1237 kernel/bpf/syscall.c bpf_map_put(aux->used_maps[i]); aux 1239 kernel/bpf/syscall.c kfree(aux->used_maps); aux 1275 kernel/bpf/syscall.c prog->aux->user = user; aux 1281 kernel/bpf/syscall.c struct user_struct *user = prog->aux->user; aux 1295 kernel/bpf/syscall.c prog->aux->id = id; aux 1313 kernel/bpf/syscall.c if (!prog->aux->id) aux 1321 kernel/bpf/syscall.c idr_remove(&prog_idr, prog->aux->id); aux 1322 kernel/bpf/syscall.c prog->aux->id = 0; aux 1332 kernel/bpf/syscall.c struct bpf_prog_aux *aux = container_of(rcu, struct bpf_prog_aux, rcu); aux 1334 kernel/bpf/syscall.c kvfree(aux->func_info); aux 1335 kernel/bpf/syscall.c free_used_maps(aux); aux 1336 kernel/bpf/syscall.c bpf_prog_uncharge_memlock(aux->prog); aux 1337 kernel/bpf/syscall.c security_bpf_prog_free(aux); aux 1338 kernel/bpf/syscall.c bpf_prog_free(aux->prog); aux 1344 kernel/bpf/syscall.c btf_put(prog->aux->btf); aux 1348 kernel/bpf/syscall.c call_rcu(&prog->aux->rcu, __bpf_prog_put_rcu); aux 1350 kernel/bpf/syscall.c __bpf_prog_put_rcu(&prog->aux->rcu); aux 1355 kernel/bpf/syscall.c if (atomic_dec_and_test(&prog->aux->refcnt)) { aux 1388 kernel/bpf/syscall.c st = per_cpu_ptr(prog->aux->stats, cpu); aux 1422 kernel/bpf/syscall.c prog->aux->id, aux 1463 kernel/bpf/syscall.c if (atomic_add_return(i, &prog->aux->refcnt) > BPF_MAX_REFCNT) { aux 1464 kernel/bpf/syscall.c atomic_sub(i, &prog->aux->refcnt); aux 1478 kernel/bpf/syscall.c WARN_ON(atomic_sub_return(i, &prog->aux->refcnt) == 0); aux 1493 kernel/bpf/syscall.c refold = atomic_fetch_add_unless(&prog->aux->refcnt, 1, 0); aux 1516 kernel/bpf/syscall.c if (bpf_prog_is_dev_bound(prog->aux) && !attach_drv) aux 1682 kernel/bpf/syscall.c prog->aux->offload_requested = !!attr->prog_ifindex; aux 1684 kernel/bpf/syscall.c err = security_bpf_prog_alloc(prog->aux); aux 1702 kernel/bpf/syscall.c atomic_set(&prog->aux->refcnt, 1); aux 1705 kernel/bpf/syscall.c if (bpf_prog_is_dev_bound(prog->aux)) { aux 1716 kernel/bpf/syscall.c prog->aux->load_time = ktime_get_boottime_ns(); aux 1717 kernel/bpf/syscall.c err = bpf_obj_name_cpy(prog->aux->name, attr->prog_name); aux 1761 kernel/bpf/syscall.c __bpf_prog_put_noref(prog, prog->aux->func_cnt); aux 1766 kernel/bpf/syscall.c security_bpf_prog_free(prog->aux); aux 2121 kernel/bpf/syscall.c if (prog->aux->ops->test_run) aux 2122 kernel/bpf/syscall.c ret = prog->aux->ops->test_run(prog, attr, uattr); aux 2233 kernel/bpf/syscall.c for (i = 0, *off = 0; i < prog->aux->used_map_cnt; i++) { aux 2234 kernel/bpf/syscall.c map = prog->aux->used_maps[i]; aux 2347 kernel/bpf/syscall.c info.id = prog->aux->id; aux 2348 kernel/bpf/syscall.c info.load_time = prog->aux->load_time; aux 2350 kernel/bpf/syscall.c prog->aux->user->uid); aux 2354 kernel/bpf/syscall.c memcpy(info.name, prog->aux->name, sizeof(prog->aux->name)); aux 2357 kernel/bpf/syscall.c info.nr_map_ids = prog->aux->used_map_cnt; aux 2364 kernel/bpf/syscall.c if (put_user(prog->aux->used_maps[i]->id, aux 2409 kernel/bpf/syscall.c if (bpf_prog_is_dev_bound(prog->aux)) { aux 2421 kernel/bpf/syscall.c if (prog->aux->func_cnt) { aux 2425 kernel/bpf/syscall.c for (i = 0; i < prog->aux->func_cnt; i++) aux 2426 kernel/bpf/syscall.c info.jited_prog_len += prog->aux->func[i]->jited_len; aux 2439 kernel/bpf/syscall.c if (prog->aux->func_cnt) { aux 2444 kernel/bpf/syscall.c for (i = 0; i < prog->aux->func_cnt; i++) { aux 2445 kernel/bpf/syscall.c len = prog->aux->func[i]->jited_len; aux 2447 kernel/bpf/syscall.c img = (u8 *) prog->aux->func[i]->bpf_func; aux 2465 kernel/bpf/syscall.c info.nr_jited_ksyms = prog->aux->func_cnt ? : 1; aux 2477 kernel/bpf/syscall.c if (prog->aux->func_cnt) { aux 2480 kernel/bpf/syscall.c prog->aux->func[i]->bpf_func; aux 2496 kernel/bpf/syscall.c info.nr_jited_func_lens = prog->aux->func_cnt ? : 1; aux 2505 kernel/bpf/syscall.c if (prog->aux->func_cnt) { aux 2508 kernel/bpf/syscall.c prog->aux->func[i]->jited_len; aux 2522 kernel/bpf/syscall.c if (prog->aux->btf) aux 2523 kernel/bpf/syscall.c info.btf_id = btf_id(prog->aux->btf); aux 2526 kernel/bpf/syscall.c info.nr_func_info = prog->aux->func_info_cnt; aux 2532 kernel/bpf/syscall.c if (copy_to_user(user_finfo, prog->aux->func_info, aux 2538 kernel/bpf/syscall.c info.nr_line_info = prog->aux->nr_linfo; aux 2544 kernel/bpf/syscall.c if (copy_to_user(user_linfo, prog->aux->linfo, aux 2550 kernel/bpf/syscall.c if (prog->aux->jited_linfo) aux 2551 kernel/bpf/syscall.c info.nr_jited_line_info = prog->aux->nr_linfo; aux 2562 kernel/bpf/syscall.c if (put_user((__u64)(long)prog->aux->jited_linfo[i], aux 2572 kernel/bpf/syscall.c info.nr_prog_tags = prog->aux->func_cnt ? : 1; aux 2579 kernel/bpf/syscall.c if (prog->aux->func_cnt) { aux 2582 kernel/bpf/syscall.c prog->aux->func[i]->tag, aux 2811 kernel/bpf/syscall.c raw_tp->prog->aux->id, aux 179 kernel/bpf/verifier.c static bool bpf_map_ptr_poisoned(const struct bpf_insn_aux_data *aux) aux 181 kernel/bpf/verifier.c return BPF_MAP_PTR(aux->map_state) == BPF_MAP_PTR_POISON; aux 184 kernel/bpf/verifier.c static bool bpf_map_ptr_unpriv(const struct bpf_insn_aux_data *aux) aux 186 kernel/bpf/verifier.c return aux->map_state & BPF_MAP_PTR_UNPRIV; aux 189 kernel/bpf/verifier.c static void bpf_map_ptr_store(struct bpf_insn_aux_data *aux, aux 193 kernel/bpf/verifier.c unpriv |= bpf_map_ptr_unpriv(aux); aux 194 kernel/bpf/verifier.c aux->map_state = (unsigned long)map | aux 219 kernel/bpf/verifier.c nr_linfo = prog->aux->nr_linfo; aux 224 kernel/bpf/verifier.c linfo = prog->aux->linfo; aux 312 kernel/bpf/verifier.c ltrim(btf_name_by_offset(env->prog->aux->btf, aux 2344 kernel/bpf/verifier.c env->prog->aux->max_pkt_offset = aux 2345 kernel/bpf/verifier.c max_t(u32, env->prog->aux->max_pkt_offset, aux 2372 kernel/bpf/verifier.c if (env->prog->aux->max_ctx_offset < off + size) aux 2373 kernel/bpf/verifier.c env->prog->aux->max_ctx_offset = off + size; aux 2722 kernel/bpf/verifier.c if (off + size > env->prog->aux->max_tp_access) aux 2723 kernel/bpf/verifier.c env->prog->aux->max_tp_access = off + size; aux 3921 kernel/bpf/verifier.c struct bpf_insn_aux_data *aux = &env->insn_aux_data[insn_idx]; aux 3951 kernel/bpf/verifier.c if (!BPF_MAP_PTR(aux->map_state)) aux 3952 kernel/bpf/verifier.c bpf_map_ptr_store(aux, meta->map_ptr, aux 3954 kernel/bpf/verifier.c else if (BPF_MAP_PTR(aux->map_state) != meta->map_ptr) aux 3955 kernel/bpf/verifier.c bpf_map_ptr_store(aux, BPF_MAP_PTR_POISON, aux 4274 kernel/bpf/verifier.c static int update_alu_sanitation_state(struct bpf_insn_aux_data *aux, aux 4280 kernel/bpf/verifier.c if (aux->alu_state && aux 4281 kernel/bpf/verifier.c (aux->alu_state != alu_state || aux 4282 kernel/bpf/verifier.c aux->alu_limit != alu_limit)) aux 4286 kernel/bpf/verifier.c aux->alu_state = alu_state; aux 4287 kernel/bpf/verifier.c aux->alu_limit = alu_limit; aux 4294 kernel/bpf/verifier.c struct bpf_insn_aux_data *aux = cur_aux(env); aux 4299 kernel/bpf/verifier.c return update_alu_sanitation_state(aux, BPF_ALU_NON_POINTER, 0); aux 4309 kernel/bpf/verifier.c struct bpf_insn_aux_data *aux = cur_aux(env); aux 4332 kernel/bpf/verifier.c if (update_alu_sanitation_state(aux, alu_state, alu_limit)) aux 6024 kernel/bpf/verifier.c struct bpf_insn_aux_data *aux = cur_aux(env); aux 6050 kernel/bpf/verifier.c map = env->used_maps[aux->map_index]; aux 6056 kernel/bpf/verifier.c regs[insn->dst_reg].off = aux->map_off; aux 6516 kernel/bpf/verifier.c btf = prog->aux->btf; aux 6580 kernel/bpf/verifier.c prog->aux->func_info = krecord; aux 6581 kernel/bpf/verifier.c prog->aux->func_info_cnt = nfuncs; aux 6593 kernel/bpf/verifier.c if (!env->prog->aux->func_info) aux 6597 kernel/bpf/verifier.c env->prog->aux->func_info[i].insn_off = env->subprog_info[i].start; aux 6635 kernel/bpf/verifier.c btf = prog->aux->btf; aux 6716 kernel/bpf/verifier.c prog->aux->linfo = linfo; aux 6717 kernel/bpf/verifier.c prog->aux->nr_linfo = nr_linfo; aux 6739 kernel/bpf/verifier.c env->prog->aux->btf = btf; aux 7646 kernel/bpf/verifier.c if (bpf_prog_is_dev_bound(env->prog->aux)) { aux 7902 kernel/bpf/verifier.c env->prog->aux->stack_depth = env->subprog_info[0].stack_depth; aux 7956 kernel/bpf/verifier.c if ((bpf_prog_is_dev_bound(prog->aux) || bpf_map_is_dev_bound(map)) && aux 7999 kernel/bpf/verifier.c struct bpf_insn_aux_data *aux; aux 8041 kernel/bpf/verifier.c aux = &env->insn_aux_data[i]; aux 8067 kernel/bpf/verifier.c aux->map_off = off; aux 8077 kernel/bpf/verifier.c aux->map_index = j; aux 8099 kernel/bpf/verifier.c aux->map_index = env->used_map_cnt; aux 8137 kernel/bpf/verifier.c if (!env->prog->aux->cgroup_storage[stype]) aux 8140 kernel/bpf/verifier.c env->prog->aux->cgroup_storage[stype]); aux 8249 kernel/bpf/verifier.c struct bpf_prog_aux *aux = env->prog->aux; aux 8261 kernel/bpf/verifier.c if (aux->func_info) { aux 8262 kernel/bpf/verifier.c move = aux->func_info_cnt - j; aux 8264 kernel/bpf/verifier.c memmove(aux->func_info + i, aux 8265 kernel/bpf/verifier.c aux->func_info + j, aux 8266 kernel/bpf/verifier.c sizeof(*aux->func_info) * move); aux 8267 kernel/bpf/verifier.c aux->func_info_cnt -= j - i; aux 8292 kernel/bpf/verifier.c nr_linfo = prog->aux->nr_linfo; aux 8296 kernel/bpf/verifier.c linfo = prog->aux->linfo; aux 8326 kernel/bpf/verifier.c prog->aux->nr_linfo -= l_cnt; aux 8327 kernel/bpf/verifier.c nr_linfo = prog->aux->nr_linfo; aux 8355 kernel/bpf/verifier.c if (bpf_prog_is_dev_bound(env->prog->aux)) aux 8435 kernel/bpf/verifier.c if (bpf_prog_is_dev_bound(env->prog->aux)) aux 8491 kernel/bpf/verifier.c struct bpf_insn_aux_data *aux = env->insn_aux_data; aux 8507 kernel/bpf/verifier.c if (!aux[adj_idx].zext_dst) { aux 8532 kernel/bpf/verifier.c aux[adj_idx].ptr_type == PTR_TO_CTX) aux 8558 kernel/bpf/verifier.c aux = env->insn_aux_data; aux 8601 kernel/bpf/verifier.c if (bpf_prog_is_dev_bound(env->prog->aux)) aux 8808 kernel/bpf/verifier.c func[i]->aux->func_idx = i; aux 8810 kernel/bpf/verifier.c func[i]->aux->btf = prog->aux->btf; aux 8811 kernel/bpf/verifier.c func[i]->aux->func_info = prog->aux->func_info; aux 8816 kernel/bpf/verifier.c func[i]->aux->name[0] = 'F'; aux 8817 kernel/bpf/verifier.c func[i]->aux->stack_depth = env->subprog_info[i].stack_depth; aux 8819 kernel/bpf/verifier.c func[i]->aux->linfo = prog->aux->linfo; aux 8820 kernel/bpf/verifier.c func[i]->aux->nr_linfo = prog->aux->nr_linfo; aux 8821 kernel/bpf/verifier.c func[i]->aux->jited_linfo = prog->aux->jited_linfo; aux 8822 kernel/bpf/verifier.c func[i]->aux->linfo_idx = env->subprog_info[i].linfo_idx; aux 8856 kernel/bpf/verifier.c func[i]->aux->func = func; aux 8857 kernel/bpf/verifier.c func[i]->aux->func_cnt = env->subprog_cnt; aux 8893 kernel/bpf/verifier.c prog->aux->func = func; aux 8894 kernel/bpf/verifier.c prog->aux->func_cnt = env->subprog_cnt; aux 8926 kernel/bpf/verifier.c !bpf_prog_is_dev_bound(env->prog->aux)) { aux 8960 kernel/bpf/verifier.c struct bpf_insn_aux_data *aux; aux 9035 kernel/bpf/verifier.c aux = &env->insn_aux_data[i + delta]; aux 9036 kernel/bpf/verifier.c if (!aux->alu_state || aux 9037 kernel/bpf/verifier.c aux->alu_state == BPF_ALU_NON_POINTER) aux 9040 kernel/bpf/verifier.c isneg = aux->alu_state & BPF_ALU_NEG_VALUE; aux 9041 kernel/bpf/verifier.c issrc = (aux->alu_state & BPF_ALU_SANITIZE) == aux 9047 kernel/bpf/verifier.c *patch++ = BPF_MOV32_IMM(BPF_REG_AX, aux->alu_limit - 1); aux 9096 kernel/bpf/verifier.c env->prog->aux->stack_depth = MAX_BPF_STACK; aux 9097 kernel/bpf/verifier.c env->prog->aux->max_pkt_offset = MAX_PACKET_OFF; aux 9107 kernel/bpf/verifier.c aux = &env->insn_aux_data[i + delta]; aux 9108 kernel/bpf/verifier.c if (!bpf_map_ptr_unpriv(aux)) aux 9117 kernel/bpf/verifier.c if (bpf_map_ptr_poisoned(aux)) { aux 9122 kernel/bpf/verifier.c map_ptr = BPF_MAP_PTR(aux->map_state); aux 9152 kernel/bpf/verifier.c aux = &env->insn_aux_data[i + delta]; aux 9153 kernel/bpf/verifier.c if (bpf_map_ptr_poisoned(aux)) aux 9156 kernel/bpf/verifier.c map_ptr = BPF_MAP_PTR(aux->map_state); aux 9360 kernel/bpf/verifier.c if (bpf_prog_is_dev_bound(env->prog->aux)) { aux 9391 kernel/bpf/verifier.c if (ret == 0 && bpf_prog_is_dev_bound(env->prog->aux)) aux 9424 kernel/bpf/verifier.c if (ret == 0 && !bpf_prog_is_dev_bound(env->prog->aux)) { aux 9426 kernel/bpf/verifier.c env->prog->aux->verifier_zext = bpf_jit_needs_zext() ? !ret aux 9445 kernel/bpf/verifier.c env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, aux 9449 kernel/bpf/verifier.c if (!env->prog->aux->used_maps) { aux 9454 kernel/bpf/verifier.c memcpy(env->prog->aux->used_maps, env->used_maps, aux 9456 kernel/bpf/verifier.c env->prog->aux->used_map_cnt = env->used_map_cnt; aux 9468 kernel/bpf/verifier.c if (!env->prog->aux->used_maps) aux 8036 kernel/events/core.c if (prog->aux->func_cnt == 0) { aux 8042 kernel/events/core.c for (i = 0; i < prog->aux->func_cnt; i++) { aux 8043 kernel/events/core.c struct bpf_prog *subprog = prog->aux->func[i]; aux 8086 kernel/events/core.c .id = prog->aux->id, aux 9098 kernel/events/core.c if (prog->aux->max_ctx_offset > off) { aux 572 kernel/power/snapshot.c struct mem_extent *ext, *aux; aux 574 kernel/power/snapshot.c list_for_each_entry_safe(ext, aux, list, hook) { aux 595 kernel/power/snapshot.c struct mem_extent *ext, *cur, *aux; aux 627 kernel/power/snapshot.c list_for_each_entry_safe_continue(cur, aux, list, hook) { aux 105 kernel/power/wakelock.c struct wakelock *wl, *aux; aux 111 kernel/power/wakelock.c list_for_each_entry_safe_reverse(wl, aux, &wakelocks_lru_list, lru) { aux 1392 kernel/trace/bpf_trace.c if (prog->aux->max_ctx_offset > btp->num_args * sizeof(u64)) aux 1395 kernel/trace/bpf_trace.c if (prog->aux->max_tp_access > btp->writable_size) aux 1427 kernel/trace/bpf_trace.c *prog_id = prog->aux->id; aux 73 lib/test_bpf.c __u8 aux; aux 6505 lib/test_bpf.c if (test->aux & FLAG_NO_DATA) aux 6516 lib/test_bpf.c if (test->aux & FLAG_SKB_FRAG) { aux 6548 lib/test_bpf.c if (test->aux & FLAG_NO_DATA) aux 6580 lib/test_bpf.c __u8 test_type = tests[which].aux & TEST_TYPE_MASK; aux 6592 lib/test_bpf.c if (tests[which].aux & FLAG_EXPECTED_FAIL) { aux 6626 lib/test_bpf.c fp->aux->stack_depth = tests[which].stack_depth; aux 6645 lib/test_bpf.c __u8 test_type = tests[which].aux & TEST_TYPE_MASK; aux 6692 lib/test_bpf.c if (!data && !(test->aux & FLAG_NO_DATA)) { aux 5094 net/core/dev.c xdp->prog_id = old ? old->aux->id : 0; aux 8425 net/core/dev.c if (!offload && bpf_prog_is_dev_bound(prog->aux)) { aux 8432 net/core/dev.c if (prog->aux->id && prog->aux->id == prog_id) { aux 10054 net/core/dev.c struct net_device *dev, *aux; aux 10060 net/core/dev.c for_each_netdev_safe(net, dev, aux) { aux 801 net/core/filter.c if (new_prog && new_prog->aux->stack_depth < stack_off) aux 802 net/core/filter.c new_prog->aux->stack_depth = stack_off; aux 6877 net/core/filter.c if (bpf_prog_is_dev_bound(prog->aux)) { aux 92 net/core/flow_dissector.c prog_id = attached->aux->id; aux 1376 net/core/rtnetlink.c return generic_xdp_prog->aux->id; aux 2792 net/core/rtnetlink.c struct net_device *dev, *aux; aux 2813 net/core/rtnetlink.c for_each_netdev_safe(net, dev, aux) { aux 3004 net/core/rtnetlink.c struct net_device *dev, *aux; aux 3007 net/core/rtnetlink.c for_each_netdev_safe(net, dev, aux) { aux 439 net/core/xdp.c bpf->prog_id = info->prog ? info->prog->aux->id : 0; aux 632 net/decnet/dn_nsp_out.c unsigned char aux; aux 669 net/decnet/dn_nsp_out.c aux = scp->accessdata.acc_userl; aux 670 net/decnet/dn_nsp_out.c skb_put_u8(skb, aux); aux 671 net/decnet/dn_nsp_out.c if (aux > 0) aux 672 net/decnet/dn_nsp_out.c skb_put_data(skb, scp->accessdata.acc_user, aux); aux 674 net/decnet/dn_nsp_out.c aux = scp->accessdata.acc_passl; aux 675 net/decnet/dn_nsp_out.c skb_put_u8(skb, aux); aux 676 net/decnet/dn_nsp_out.c if (aux > 0) aux 677 net/decnet/dn_nsp_out.c skb_put_data(skb, scp->accessdata.acc_pass, aux); aux 679 net/decnet/dn_nsp_out.c aux = scp->accessdata.acc_accl; aux 680 net/decnet/dn_nsp_out.c skb_put_u8(skb, aux); aux 681 net/decnet/dn_nsp_out.c if (aux > 0) aux 682 net/decnet/dn_nsp_out.c skb_put_data(skb, scp->accessdata.acc_acc, aux); aux 684 net/decnet/dn_nsp_out.c aux = (__u8)le16_to_cpu(scp->conndata_out.opt_optl); aux 685 net/decnet/dn_nsp_out.c skb_put_u8(skb, aux); aux 686 net/decnet/dn_nsp_out.c if (aux > 0) aux 687 net/decnet/dn_nsp_out.c skb_put_data(skb, scp->conndata_out.opt_data, aux); aux 1408 net/ipv4/igmp.c struct ip_mc_list *aux; aux 1413 net/ipv4/igmp.c while ((aux = rtnl_dereference(*mc_hash)) != im) aux 1414 net/ipv4/igmp.c mc_hash = &aux->next_hash; aux 96 net/ipv4/inet_diag.c size_t aux = 0; aux 100 net/ipv4/inet_diag.c aux = handler->idiag_get_aux_size(sk, net_admin); aux 109 net/ipv4/inet_diag.c + aux aux 1076 net/ipv4/ip_tunnel.c struct net_device *dev, *aux; aux 1079 net/ipv4/ip_tunnel.c for_each_netdev_safe(net, dev, aux) aux 1528 net/ipv6/ip6_gre.c struct net_device *dev, *aux; aux 1531 net/ipv6/ip6_gre.c for_each_netdev_safe(net, dev, aux) aux 2193 net/ipv6/ip6_tunnel.c struct net_device *dev, *aux; aux 2197 net/ipv6/ip6_tunnel.c for_each_netdev_safe(net, dev, aux) aux 869 net/ipv6/seg6_local.c if (nla_put_u32(skb, SEG6_LOCAL_BPF_PROG, slwt->bpf.prog->aux->id)) aux 1814 net/ipv6/sit.c struct net_device *dev, *aux; aux 1817 net/ipv6/sit.c for_each_netdev_safe(net, dev, aux) aux 189 net/netfilter/nf_conntrack_sip.c const char *aux = dptr; aux 201 net/netfilter/nf_conntrack_sip.c return dptr - aux; aux 677 net/netfilter/nf_conntrack_sip.c const char *aux = dptr; aux 684 net/netfilter/nf_conntrack_sip.c return dptr - aux; aux 3419 net/packet/af_packet.c struct tpacket_auxdata aux; aux 3421 net/packet/af_packet.c aux.tp_status = TP_STATUS_USER; aux 3423 net/packet/af_packet.c aux.tp_status |= TP_STATUS_CSUMNOTREADY; aux 3427 net/packet/af_packet.c aux.tp_status |= TP_STATUS_CSUM_VALID; aux 3429 net/packet/af_packet.c aux.tp_len = origlen; aux 3430 net/packet/af_packet.c aux.tp_snaplen = skb->len; aux 3431 net/packet/af_packet.c aux.tp_mac = 0; aux 3432 net/packet/af_packet.c aux.tp_net = skb_network_offset(skb); aux 3434 net/packet/af_packet.c aux.tp_vlan_tci = skb_vlan_tag_get(skb); aux 3435 net/packet/af_packet.c aux.tp_vlan_tpid = ntohs(skb->vlan_proto); aux 3436 net/packet/af_packet.c aux.tp_status |= TP_STATUS_VLAN_VALID | TP_STATUS_VLAN_TPID_VALID; aux 3438 net/packet/af_packet.c aux.tp_vlan_tci = 0; aux 3439 net/packet/af_packet.c aux.tp_vlan_tpid = 0; aux 3441 net/packet/af_packet.c put_cmsg(msg, SOL_PACKET, PACKET_AUXDATA, sizeof(aux), &aux); aux 122 net/sched/act_bpf.c if (nla_put_u32(skb, TCA_ACT_BPF_ID, prog->filter->aux->id)) aux 569 net/sched/cls_bpf.c if (nla_put_u32(skb, TCA_BPF_ID, prog->filter->aux->id)) aux 168 net/sched/sch_fq.c struct fq_flow *aux; aux 171 net/sched/sch_fq.c aux = rb_entry(parent, struct fq_flow, rate_node); aux 172 net/sched/sch_fq.c if (f->time_next_packet >= aux->time_next_packet) aux 389 net/sched/sch_fq.c struct sk_buff *head, *aux; aux 410 net/sched/sch_fq.c aux = rb_to_skb(parent); aux 411 net/sched/sch_fq.c if (fq_skb_cb(skb)->time_to_send >= fq_skb_cb(aux)->time_to_send) aux 83 samples/vfs/test-fsmount.c const char *key, const void *val, int aux) aux 85 samples/vfs/test-fsmount.c return syscall(__NR_fsconfig, fsfd, cmd, key, val, aux); aux 97 samples/vfs/test-fsmount.c #define E_fsconfig(fd, cmd, key, val, aux) \ aux 99 samples/vfs/test-fsmount.c if (fsconfig(fd, cmd, key, val, aux) == -1) \ aux 189 scripts/basic/fixdep.c struct item *aux; aux 191 scripts/basic/fixdep.c for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { aux 192 scripts/basic/fixdep.c if (aux->hash == hash && aux->len == len && aux 193 scripts/basic/fixdep.c memcmp(aux->name, name, len) == 0) aux 204 scripts/basic/fixdep.c struct item *aux = malloc(sizeof(*aux) + len); aux 206 scripts/basic/fixdep.c if (!aux) { aux 210 scripts/basic/fixdep.c memcpy(aux->name, name, len); aux 211 scripts/basic/fixdep.c aux->len = len; aux 212 scripts/basic/fixdep.c aux->hash = hash; aux 213 scripts/basic/fixdep.c aux->next = hashtab[hash % HASHSZ]; aux 214 scripts/basic/fixdep.c hashtab[hash % HASHSZ] = aux; aux 160 security/keys/internal.h void *aux, aux 115 security/keys/request_key.c static int call_sbin_request_key(struct key *authkey, void *aux) aux 224 security/keys/request_key.c size_t callout_len, void *aux, aux 231 security/keys/request_key.c kenter("%d,%p,%zu,%p", key->serial, callout_info, callout_len, aux); aux 244 security/keys/request_key.c ret = actor(authkey, aux); aux 476 security/keys/request_key.c void *aux, aux 503 security/keys/request_key.c ret = construct_key(key, callout_info, callout_len, aux, aux 563 security/keys/request_key.c void *aux, aux 586 security/keys/request_key.c callout_info, callout_len, aux, dest_keyring, flags); aux 638 security/keys/request_key.c aux, dest_keyring, flags); aux 735 security/keys/request_key.c void *aux) aux 742 security/keys/request_key.c aux, NULL, KEY_ALLOC_IN_QUOTA); aux 2388 security/security.c int security_bpf_prog_alloc(struct bpf_prog_aux *aux) aux 2390 security/security.c return call_int_hook(bpf_prog_alloc_security, 0, aux); aux 2396 security/security.c void security_bpf_prog_free(struct bpf_prog_aux *aux) aux 2398 security/security.c call_void_hook(bpf_prog_free_security, aux); aux 6745 security/selinux/hooks.c bpfsec = prog->aux->security; aux 6771 security/selinux/hooks.c bpfsec = prog->aux->security; aux 6799 security/selinux/hooks.c static int selinux_bpf_prog_alloc(struct bpf_prog_aux *aux) aux 6808 security/selinux/hooks.c aux->security = bpfsec; aux 6813 security/selinux/hooks.c static void selinux_bpf_prog_free(struct bpf_prog_aux *aux) aux 6815 security/selinux/hooks.c struct bpf_security_struct *bpfsec = aux->security; aux 6817 security/selinux/hooks.c aux->security = NULL; aux 326 sound/isa/sb/emu8000_pcm.c unsigned int temp, aux; aux 338 sound/isa/sb/emu8000_pcm.c aux = 0xff; aux 340 sound/isa/sb/emu8000_pcm.c aux = (-rec->panning[ch]) & 0xff; aux 341 sound/isa/sb/emu8000_pcm.c temp = (temp << 8) | (pt << 16) | aux; aux 114 sound/soc/meson/axg-card.c struct snd_soc_aux_dev *aux; aux 127 sound/soc/meson/axg-card.c for_each_card_pre_auxs(card, i, aux) aux 128 sound/soc/meson/axg-card.c of_node_put(aux->dlc.of_node); aux 138 sound/soc/meson/axg-card.c struct snd_soc_aux_dev *aux; aux 155 sound/soc/meson/axg-card.c aux = devm_kcalloc(card->dev, num, sizeof(*aux), GFP_KERNEL); aux 156 sound/soc/meson/axg-card.c if (!aux) aux 158 sound/soc/meson/axg-card.c card->aux_dev = aux; aux 161 sound/soc/meson/axg-card.c for_each_card_pre_auxs(card, i, aux) { aux 162 sound/soc/meson/axg-card.c aux->dlc.of_node = aux 164 sound/soc/meson/axg-card.c if (!aux->dlc.of_node) aux 91 sound/soc/pxa/palm27x.c SND_SOC_DAILINK_DEFS(aux, aux 106 sound/soc/pxa/palm27x.c SND_SOC_DAILINK_REG(aux), aux 1585 sound/soc/soc-core.c struct snd_soc_aux_dev *aux; aux 1588 sound/soc/soc-core.c for_each_card_pre_auxs(card, i, aux) { aux 1590 sound/soc/soc-core.c component = soc_find_component(&aux->dlc); aux 1594 sound/soc/soc-core.c component->init = aux->init; aux 90 tools/perf/arch/s390/util/auxtrace.c struct auxtrace_record *aux; aux 109 tools/perf/arch/s390/util/auxtrace.c aux = zalloc(sizeof(*aux)); aux 110 tools/perf/arch/s390/util/auxtrace.c if (aux == NULL) { aux 115 tools/perf/arch/s390/util/auxtrace.c aux->parse_snapshot_options = cpumsf_parse_snapshot_options; aux 116 tools/perf/arch/s390/util/auxtrace.c aux->recording_options = cpumsf_recording_options; aux 117 tools/perf/arch/s390/util/auxtrace.c aux->info_priv_size = cpumsf_info_priv_size; aux 118 tools/perf/arch/s390/util/auxtrace.c aux->info_fill = cpumsf_info_fill; aux 119 tools/perf/arch/s390/util/auxtrace.c aux->free = cpumsf_free; aux 120 tools/perf/arch/s390/util/auxtrace.c aux->reference = cpumsf_reference; aux 122 tools/perf/arch/s390/util/auxtrace.c return aux; aux 161 tools/perf/bench/epoll-wait.c void *aux; aux 167 tools/perf/bench/epoll-wait.c aux = calloc(1, size); aux 168 tools/perf/bench/epoll-wait.c if (!aux) aux 175 tools/perf/bench/epoll-wait.c memcpy(aux, &carray[j], size); aux 177 tools/perf/bench/epoll-wait.c memcpy(&carray[i*size], aux, size); aux 180 tools/perf/bench/epoll-wait.c free(aux); aux 680 tools/perf/builtin-inject.c inject->tool.aux = perf_event__drop_aux; aux 755 tools/perf/builtin-inject.c .aux = perf_event__repipe, aux 372 tools/perf/lib/include/perf/event.h struct perf_record_aux aux; aux 580 tools/perf/util/cs-etm.c struct cs_etm_auxtrace *aux = container_of(session->auxtrace, aux 583 tools/perf/util/cs-etm.c struct auxtrace_queues *queues = &aux->queues; aux 597 tools/perf/util/cs-etm.c struct cs_etm_auxtrace *aux = container_of(session->auxtrace, aux 609 tools/perf/util/cs-etm.c for (i = 0; i < aux->num_cpu; i++) aux 610 tools/perf/util/cs-etm.c zfree(&aux->metadata[i]); aux 612 tools/perf/util/cs-etm.c thread__zput(aux->unknown_thread); aux 613 tools/perf/util/cs-etm.c zfree(&aux->metadata); aux 614 tools/perf/util/cs-etm.c zfree(&aux); aux 353 tools/perf/util/event.c event->aux.aux_offset, event->aux.aux_size, aux 354 tools/perf/util/event.c event->aux.flags, aux 355 tools/perf/util/event.c event->aux.flags & PERF_AUX_FLAG_TRUNCATED ? "T" : "", aux 356 tools/perf/util/event.c event->aux.flags & PERF_AUX_FLAG_OVERWRITE ? "O" : "", aux 357 tools/perf/util/event.c event->aux.flags & PERF_AUX_FLAG_PARTIAL ? "P" : ""); aux 628 tools/perf/util/intel-bts.c (event->aux.flags & PERF_AUX_FLAG_TRUNCATED) && aux 2565 tools/perf/util/intel-pt.c (event->aux.flags & PERF_AUX_FLAG_TRUNCATED) && aux 943 tools/perf/util/s390-cpumsf.c event->aux.flags & PERF_AUX_FLAG_TRUNCATED) aux 478 tools/perf/util/session.c if (tool->aux == NULL) aux 479 tools/perf/util/session.c tool->aux = perf_event__process_aux; aux 626 tools/perf/util/session.c event->aux.aux_offset = bswap_64(event->aux.aux_offset); aux 627 tools/perf/util/session.c event->aux.aux_size = bswap_64(event->aux.aux_size); aux 628 tools/perf/util/session.c event->aux.flags = bswap_64(event->aux.flags); aux 631 tools/perf/util/session.c swap_sample_id_all(event, &event->aux + 1); aux 1452 tools/perf/util/session.c if (tool->aux == perf_event__process_aux) { aux 1453 tools/perf/util/session.c if (event->aux.flags & PERF_AUX_FLAG_TRUNCATED) aux 1455 tools/perf/util/session.c if (event->aux.flags & PERF_AUX_FLAG_PARTIAL) aux 1458 tools/perf/util/session.c return tool->aux(tool, event, sample, machine); aux 1767 tools/perf/util/session.c if (session->tool->aux == perf_event__process_aux && aux 1774 tools/perf/util/session.c if (session->tool->aux == perf_event__process_aux && aux 53 tools/perf/util/tool.h aux, aux 89 tools/testing/selftests/kvm/include/x86_64/processor.h static inline uint64_t rdtscp(uint32_t *aux) aux 93 tools/testing/selftests/kvm/include/x86_64/processor.h __asm__ __volatile__("rdtscp" : "=a"(eax), "=d"(edx), "=c"(*aux)); aux 217 tools/testing/selftests/vDSO/parse_vdso.c ELF(Verdaux) *aux = (ELF(Verdaux)*)((char *)def + def->vd_aux); aux 219 tools/testing/selftests/vDSO/parse_vdso.c && !strcmp(name, vdso_info.symstrings + aux->vda_name);