arch/alpha/boot/bootpz.c
48
extern int decompress_kernel(void* destination, void *source,
arch/alpha/kernel/core_tsunami.c
232
int source = (TSUNAMI_cchip->misc.csr >> 29) & 7;
arch/alpha/kernel/core_tsunami.c
235
printk("tsunami_probe_write: unit %d at 0x%016lx\n", source,
arch/alpha/kernel/err_ev6.c
101
int source = -1, stream = -1, bits = -1;
arch/alpha/kernel/err_ev6.c
136
source = EXTRACT(c_stat, EV6__C_STAT__SOURCE);
arch/alpha/kernel/err_ev6.c
142
source = -1;
arch/alpha/kernel/err_ev6.c
147
source = -1;
arch/alpha/kernel/err_ev6.c
154
source = -1;
arch/alpha/kernel/err_ev6.c
157
if (source != -1)
arch/alpha/kernel/err_ev6.c
160
streamname[stream], bitsname[bits], sourcename[source]);
arch/alpha/kernel/err_ev6.c
168
if (source == EV6__C_STAT__SOURCE_MEMORY ||
arch/alpha/kernel/err_ev6.c
169
source == EV6__C_STAT__SOURCE_BCACHE)
arch/arm/mach-omap1/timer.c
39
int source)
arch/arm/mach-omap1/timer.c
45
l |= source << n;
arch/arm/mach-s3c/s3c64xx.c
169
enum s3c64xx_timer_mode source)
arch/arm/mach-s3c/s3c64xx.c
172
s3c64xx_pwm_variant.output_mask &= ~(BIT(event) | BIT(source));
arch/arm/mach-s3c/s3c64xx.h
52
enum s3c64xx_timer_mode source);
arch/arm64/kernel/stacktrace.c
106
state->source = KUNWIND_SOURCE_CALLER;
arch/arm64/kernel/stacktrace.c
127
state->source = KUNWIND_SOURCE_TASK;
arch/arm64/kernel/stacktrace.c
185
state->source = KUNWIND_SOURCE_REGS_PC;
arch/arm64/kernel/stacktrace.c
242
state->source = KUNWIND_SOURCE_FRAME;
arch/arm64/kernel/stacktrace.c
261
switch (state->source) {
arch/arm64/kernel/stacktrace.c
404
if (state->source == KUNWIND_SOURCE_REGS_PC)
arch/arm64/kernel/stacktrace.c
450
switch (state->source) {
arch/arm64/kernel/stacktrace.c
461
const char *source = state_source_string(state);
arch/arm64/kernel/stacktrace.c
463
bool has_info = source || flags.all;
arch/arm64/kernel/stacktrace.c
469
source ? source : "",
arch/arm64/kernel/stacktrace.c
56
enum kunwind_source source;
arch/arm64/kernel/stacktrace.c
67
state->source = KUNWIND_SOURCE_UNKNOWN;
arch/arm64/kernel/stacktrace.c
88
state->source = KUNWIND_SOURCE_REGS_PC;
arch/arm64/kernel/topology.c
159
.source = SCALE_FREQ_SOURCE_ARCH,
arch/arm64/kvm/vgic/vgic-debug.c
229
irq->source,
arch/arm64/kvm/vgic/vgic-mmio-v2.c
155
irq->source |= 1U << source_vcpu->vcpu_id;
arch/arm64/kvm/vgic/vgic-mmio-v2.c
218
val |= (u64)irq->source << (i * 8);
arch/arm64/kvm/vgic/vgic-mmio-v2.c
238
irq->source &= ~((val >> (i * 8)) & 0xff);
arch/arm64/kvm/vgic/vgic-mmio-v2.c
239
if (!irq->source)
arch/arm64/kvm/vgic/vgic-mmio-v2.c
260
irq->source |= (val >> (i * 8)) & 0xff;
arch/arm64/kvm/vgic/vgic-mmio-v2.c
262
if (irq->source) {
arch/arm64/kvm/vgic/vgic-mmio.c
328
irq->source |= BIT(vcpu->vcpu_id);
arch/arm64/kvm/vgic/vgic-mmio.c
414
irq->source = 0;
arch/arm64/kvm/vgic/vgic-v2.c
271
u32 src = ffs(irq->source);
arch/arm64/kvm/vgic/vgic-v2.c
278
if (irq->source & ~BIT(src - 1))
arch/arm64/kvm/vgic/vgic-v2.c
311
u32 src = ffs(irq->source);
arch/arm64/kvm/vgic/vgic-v2.c
313
irq->source &= ~BIT(src - 1);
arch/arm64/kvm/vgic/vgic-v2.c
314
if (irq->source)
arch/arm64/kvm/vgic/vgic-v2.c
86
irq->source |= (1 << cpuid);
arch/arm64/kvm/vgic/vgic-v3.c
117
irq->source |= BIT(cpuid);
arch/arm64/kvm/vgic/vgic-v3.c
346
u32 src = ffs(irq->source);
arch/arm64/kvm/vgic/vgic-v3.c
353
if (irq->source & ~BIT(src - 1))
arch/arm64/kvm/vgic/vgic-v3.c
379
u32 src = ffs(irq->source);
arch/arm64/kvm/vgic/vgic-v3.c
381
irq->source &= ~BIT(src - 1);
arch/arm64/kvm/vgic/vgic-v3.c
382
if (irq->source)
arch/arm64/kvm/vgic/vgic.h
143
if (vgic_irq_is_sgi(irq->intid) && irq->source)
arch/arm64/kvm/vgic/vgic.h
144
return hweight8(irq->source) + irq->active;
arch/loongarch/include/asm/loongarch.h
1612
#define read_fcsr(source) \
arch/loongarch/include/asm/loongarch.h
1617
" movfcsr2gr %0, "__stringify(source)" \n" \
arch/m68k/fpsp040/fpsp.h
158
.set STAG,LV-40 | source tag (1 byte)
arch/m68k/fpsp040/fpsp.h
162
.set stag_mask,0xE0 | upper 3 bits are source tag type
arch/m68k/include/asm/atarihw.h
373
u_short source;
arch/m68k/math-emu/fp_decode.h
107
| decode source register for fmove reg,ea
arch/m68k/math-emu/fp_decode.h
96
| extract the source specifier, specifies
arch/m68k/math-emu/fp_decode.h
97
| either source fp register or data format
arch/mips/include/asm/mipsregs.h
1572
#define ___read_32bit_c0_register(source, sel, vol) \
arch/mips/include/asm/mipsregs.h
1576
"mfc0\t%0, " #source "\n\t" \
arch/mips/include/asm/mipsregs.h
1582
"mfc0\t%0, " #source ", " #sel "\n\t" \
arch/mips/include/asm/mipsregs.h
1588
#define ___read_64bit_c0_register(source, sel, vol) \
arch/mips/include/asm/mipsregs.h
1591
__res = __read_64bit_c0_split(source, sel, vol); \
arch/mips/include/asm/mipsregs.h
1596
"dmfc0\t%0, " #source "\n\t" \
arch/mips/include/asm/mipsregs.h
1603
"dmfc0\t%0, " #source ", " #sel "\n\t" \
arch/mips/include/asm/mipsregs.h
1609
#define __read_32bit_c0_register(source, sel) \
arch/mips/include/asm/mipsregs.h
1610
___read_32bit_c0_register(source, sel, __volatile__)
arch/mips/include/asm/mipsregs.h
1612
#define __read_const_32bit_c0_register(source, sel) \
arch/mips/include/asm/mipsregs.h
1613
___read_32bit_c0_register(source, sel,)
arch/mips/include/asm/mipsregs.h
1615
#define __read_64bit_c0_register(source, sel) \
arch/mips/include/asm/mipsregs.h
1616
___read_64bit_c0_register(source, sel, __volatile__)
arch/mips/include/asm/mipsregs.h
1618
#define __read_const_64bit_c0_register(source, sel) \
arch/mips/include/asm/mipsregs.h
1619
___read_64bit_c0_register(source, sel,)
arch/mips/include/asm/mipsregs.h
1677
#define __read_32bit_c0_ctrl_register(source) \
arch/mips/include/asm/mipsregs.h
1680
"cfc0\t%0, " #source "\n\t" \
arch/mips/include/asm/mipsregs.h
1696
#define __read_64bit_c0_split(source, sel, vol) \
arch/mips/include/asm/mipsregs.h
1706
"dmfc0\t%L0, " #source "\n\t" \
arch/mips/include/asm/mipsregs.h
1715
"dmfc0\t%L0, " #source ", " #sel "\n\t" \
arch/mips/include/asm/mipsregs.h
1725
#define __write_64bit_c0_split(source, sel, val) \
arch/mips/include/asm/mipsregs.h
1736
"dmtc0\t%L0, " #source ", " #sel "\n\t" \
arch/mips/include/asm/mipsregs.h
1747
"dmtc0\t%L0, " #source "\n\t" \
arch/mips/include/asm/mipsregs.h
1758
"dmtc0\t%L0, " #source ", " #sel "\n\t" \
arch/mips/include/asm/mipsregs.h
1782
#define __readx_32bit_c0_register(source, sel) \
arch/mips/include/asm/mipsregs.h
1790
" mfhc0 %0, " #source ", %1 \n" \
arch/mips/include/asm/mipsregs.h
2264
#define __read_32bit_gc0_register(source, sel) \
arch/mips/include/asm/mipsregs.h
2269
"mfgc0\t%0, " #source ", %1\n\t" \
arch/mips/include/asm/mipsregs.h
2277
#define __read_64bit_gc0_register(source, sel) \
arch/mips/include/asm/mipsregs.h
2282
"dmfgc0\t%0, " #source ", %1\n\t" \
arch/mips/include/asm/mipsregs.h
2532
#define read_32bit_cp1_register(source) \
arch/mips/include/asm/mipsregs.h
2543
" cfc1 %0,"STR(source)" \n" \
arch/parisc/boot/compressed/misc.c
94
const char *source = (const char *)s;
arch/parisc/boot/compressed/misc.c
97
*dest++ = *source++;
arch/parisc/include/asm/pdcpat.h
275
u64 source:4; /* for mem: always 0x07 */
arch/parisc/kernel/alternative.c
88
u32 *source;
arch/parisc/kernel/alternative.c
90
source = (u32 *)((ulong)&entry->replacement + entry->replacement);
arch/parisc/kernel/alternative.c
91
memcpy(from, source, 4 * len);
arch/parisc/math-emu/sgl_float.h
139
#define Sgl_copytoint_exponentmantissa(source,dest) \
arch/parisc/math-emu/sgl_float.h
140
dest = Sexponentmantissa(source)
arch/powerpc/include/asm/fsl_hcalls.h
342
uint64_t source; /**< guest physical address to copy from */
arch/powerpc/include/asm/fsl_hcalls.h
357
static inline unsigned int fh_partition_memcpy(unsigned int source,
arch/powerpc/include/asm/fsl_hcalls.h
368
r3 = source;
arch/powerpc/include/asm/icswx.h
146
struct data_descriptor_entry source;
arch/powerpc/kvm/book3s_xics.h
129
u32 irq, u16 *source)
arch/powerpc/kvm/book3s_xics.h
135
if (source)
arch/powerpc/kvm/book3s_xics.h
136
*source = src;
arch/powerpc/kvm/book3s_xive.h
212
u32 irq, u16 *source)
arch/powerpc/kvm/book3s_xive.h
217
if (source)
arch/powerpc/kvm/book3s_xive.h
218
*source = src;
arch/powerpc/platforms/book3s/vas-api.c
248
dde = &crb->source;
arch/powerpc/platforms/ps3/gelic_udbg.c
179
h_udp->source = GELIC_DEBUG_PORT;
arch/powerpc/sysdev/mpic.c
370
static inline int mpic_is_ht_interrupt(struct mpic *mpic, unsigned int source)
arch/powerpc/sysdev/mpic.c
372
if (source >= 128 || !mpic->fixups)
arch/powerpc/sysdev/mpic.c
374
return mpic->fixups[source].base != NULL;
arch/powerpc/sysdev/mpic.c
378
static inline void mpic_ht_end_irq(struct mpic *mpic, unsigned int source)
arch/powerpc/sysdev/mpic.c
380
struct mpic_irq_fixup *fixup = &mpic->fixups[source];
arch/powerpc/sysdev/mpic.c
394
static void mpic_startup_ht_interrupt(struct mpic *mpic, unsigned int source,
arch/powerpc/sysdev/mpic.c
397
struct mpic_irq_fixup *fixup = &mpic->fixups[source];
arch/powerpc/sysdev/mpic.c
405
source, fixup->index);
arch/powerpc/sysdev/mpic.c
419
mpic->save_data[source].fixup_data = tmp | 1;
arch/powerpc/sysdev/mpic.c
423
static void mpic_shutdown_ht_interrupt(struct mpic *mpic, unsigned int source)
arch/powerpc/sysdev/mpic.c
425
struct mpic_irq_fixup *fixup = &mpic->fixups[source];
arch/powerpc/sysdev/mpic.c
432
DBG("shutdown_ht_interrupt(0x%x)\n", source);
arch/powerpc/sysdev/mpic.c
445
mpic->save_data[source].fixup_data = tmp & ~1;
arch/powerpc/sysdev/mpic.c
594
static inline int mpic_is_ht_interrupt(struct mpic *mpic, unsigned int source)
arch/riscv/include/asm/kvm_aia.h
112
int kvm_riscv_aia_aplic_inject(struct kvm *kvm, u32 source, bool level);
arch/riscv/kernel/ftrace.c
49
static int __ftrace_modify_call(unsigned long source, unsigned long target, bool validate)
arch/riscv/kernel/ftrace.c
54
offset = target - source;
arch/riscv/kernel/ftrace.c
63
if (copy_from_kernel_nofault(replaced, (void *)source, 2 * MCOUNT_INSN_SIZE))
arch/riscv/kernel/ftrace.c
68
(void *)source, call[0], replaced[0]);
arch/riscv/kernel/ftrace.c
74
if (patch_insn_write((void *)(source + MCOUNT_AUIPC_SIZE), call + 1, MCOUNT_JALR_SIZE))
arch/riscv/kvm/aia_aplic.c
277
int kvm_riscv_aia_aplic_inject(struct kvm *kvm, u32 source, bool level)
arch/riscv/kvm/aia_aplic.c
285
if (!aplic || !source || (aplic->nr_irqs <= source))
arch/riscv/kvm/aia_aplic.c
287
irqd = &aplic->irqs[array_index_nospec(source, aplic->nr_irqs)];
arch/riscv/kvm/aia_aplic.c
332
aplic_inject_msi(kvm, source, target);
arch/s390/kvm/interrupt.c
2329
void __user *source;
arch/s390/kvm/interrupt.c
2341
source = &uptr->u.ext;
arch/s390/kvm/interrupt.c
2346
source = &uptr->u.io;
arch/s390/kvm/interrupt.c
2351
source = &uptr->u.mchk;
arch/s390/kvm/interrupt.c
2358
if (copy_from_user(target, source, size))
arch/sh/boards/mach-sdk7786/nmi.c
50
unsigned int source, mask, tmp;
arch/sh/boards/mach-sdk7786/nmi.c
54
source = NMISR_MAN_NMI;
arch/sh/boards/mach-sdk7786/nmi.c
58
source = NMISR_AUX_NMI;
arch/sh/boards/mach-sdk7786/nmi.c
62
source = NMISR_MAN_NMI | NMISR_AUX_NMI;
arch/sh/boards/mach-sdk7786/nmi.c
68
source = mask = 0;
arch/sh/boards/mach-sdk7786/nmi.c
75
tmp |= source;
arch/x86/include/asm/tdx.h
200
u64 tdh_mem_page_add(struct tdx_td *td, u64 gpa, struct page *page, struct page *source, u64 *ext_err1, u64 *ext_err2);
arch/x86/kvm/lapic.c
1064
struct kvm_lapic *source, struct kvm_lapic *target)
arch/x86/kvm/lapic.c
1066
bool ipi = source != NULL;
arch/x86/kvm/lapic.c
1075
bool kvm_apic_match_dest(struct kvm_vcpu *vcpu, struct kvm_lapic *source,
arch/x86/kvm/lapic.c
1079
u32 mda = kvm_apic_mda(vcpu, dest, source, target);
arch/x86/kvm/lapic.c
1088
return target == source;
arch/x86/kvm/lapic.c
1092
return target != source;
arch/x86/kvm/lapic.h
106
bool kvm_apic_match_dest(struct kvm_vcpu *vcpu, struct kvm_lapic *source,
arch/x86/kvm/svm/avic.c
516
static int avic_kick_target_vcpus_fast(struct kvm *kvm, struct kvm_lapic *source,
arch/x86/kvm/svm/avic.c
527
if (apic_x2apic_mode(source))
arch/x86/kvm/svm/avic.c
534
if (apic_x2apic_mode(source) && dest == X2APIC_BROADCAST)
arch/x86/kvm/svm/avic.c
536
if (!apic_x2apic_mode(source) && dest == APIC_BROADCAST)
arch/x86/kvm/svm/avic.c
548
if (apic_x2apic_mode(source)) {
arch/x86/kvm/svm/avic.c
552
} else if (kvm_lapic_get_reg(source, APIC_DFR) == APIC_DFR_FLAT) {
arch/x86/kvm/svm/avic.c
566
if (apic_x2apic_mode(source))
arch/x86/kvm/svm/avic.c
584
static void avic_kick_target_vcpus(struct kvm *kvm, struct kvm_lapic *source,
arch/x86/kvm/svm/avic.c
587
u32 dest = apic_x2apic_mode(source) ? icrh : GET_XAPIC_DEST_FIELD(icrh);
arch/x86/kvm/svm/avic.c
591
if (!avic_kick_target_vcpus_fast(kvm, source, icrl, icrh, index))
arch/x86/kvm/svm/avic.c
603
if (kvm_apic_match_dest(vcpu, source, icrl & APIC_SHORT_MASK,
arch/x86/lib/usercopy_64.c
108
:: "r" (source), "r" (dest)
arch/x86/lib/usercopy_64.c
111
source += 32;
arch/x86/lib/usercopy_64.c
119
:: "r" (source), "r" (dest)
arch/x86/lib/usercopy_64.c
122
source += 8;
arch/x86/lib/usercopy_64.c
130
:: "r" (source), "r" (dest)
arch/x86/lib/usercopy_64.c
133
source += 4;
arch/x86/lib/usercopy_64.c
139
memcpy((void *) dest, (void *) source, size);
arch/x86/lib/usercopy_64.c
83
unsigned long source = (unsigned long) _src;
arch/x86/lib/usercopy_64.c
89
memcpy((void *) dest, (void *) source, len);
arch/x86/lib/usercopy_64.c
92
source += len;
arch/x86/virt/vmx/tdx/tdx.c
1539
u64 tdh_mem_page_add(struct tdx_td *td, u64 gpa, struct page *page, struct page *source, u64 *ext_err1, u64 *ext_err2)
arch/x86/virt/vmx/tdx/tdx.c
1545
.r9 = page_to_phys(source),
certs/system_keyring.c
165
void __init add_to_secondary_keyring(const char *source, const void *data, size_t len)
certs/system_keyring.c
178
source, PTR_ERR(key));
crypto/krb5/rfc3961_simplified.c
187
static void rfc3961_nfold(const struct krb5_buffer *source, struct krb5_buffer *result)
crypto/krb5/rfc3961_simplified.c
189
const u8 *in = source->data;
crypto/krb5/rfc3961_simplified.c
196
inbits = source->len;
crypto/wp512.c
1011
static int wp512_update(struct shash_desc *desc, const u8 *source,
crypto/wp512.c
1021
wp512_process_buffer(wctx, source);
crypto/wp512.c
1022
source += WP512_BLOCK_SIZE;
drivers/accel/qaic/qaic_ras.c
209
le32_to_cpus(&msg->source);
drivers/accel/qaic/qaic_ras.c
216
switch (msg->source) {
drivers/accel/qaic/qaic_ras.c
323
switch (msg->source) {
drivers/accel/qaic/qaic_ras.c
329
err_src_str[msg->source],
drivers/accel/qaic/qaic_ras.c
345
err_src_str[msg->source],
drivers/accel/qaic/qaic_ras.c
388
err_src_str[msg->source],
drivers/accel/qaic/qaic_ras.c
409
err_src_str[msg->source],
drivers/accel/qaic/qaic_ras.c
428
err_src_str[msg->source],
drivers/accel/qaic/qaic_ras.c
453
err_src_str[msg->source],
drivers/accel/qaic/qaic_ras.c
483
err_src_str[msg->source],
drivers/accel/qaic/qaic_ras.c
90
u32 source;
drivers/acpi/acpica/acmacros.h
325
#define ACPI_INSERT_BITS(target, mask, source) \
drivers/acpi/acpica/acmacros.h
326
target = ((target & (~(mask))) | (source & mask))
drivers/acpi/acpica/acresrc.h
246
void *source, u16 item_count, u8 move_type);
drivers/acpi/acpica/acstruct.h
133
union acpi_operand_object *source;
drivers/acpi/acpica/acstruct.h
140
union acpi_operand_object *source;
drivers/acpi/acpica/acutils.h
627
u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source);
drivers/acpi/acpica/acutils.h
629
void acpi_ut_safe_strncpy(char *dest, char *source, acpi_size dest_size);
drivers/acpi/acpica/acutils.h
631
u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source);
drivers/acpi/acpica/acutils.h
636
char *source, acpi_size max_transfer_length);
drivers/acpi/acpica/nsrepair.c
444
union acpi_operand_object **source;
drivers/acpi/acpica/nsrepair.c
478
source = obj_desc->package.elements;
drivers/acpi/acpica/nsrepair.c
479
dest = source;
drivers/acpi/acpica/nsrepair.c
484
if (!*source) {
drivers/acpi/acpica/nsrepair.c
487
*dest = *source;
drivers/acpi/acpica/nsrepair.c
491
source++;
drivers/acpi/acpica/nsrepair2.c
499
char *source;
drivers/acpi/acpica/nsrepair2.c
534
source = return_object->string.pointer;
drivers/acpi/acpica/nsrepair2.c
535
if (*source == '*') {
drivers/acpi/acpica/nsrepair2.c
536
source++;
drivers/acpi/acpica/nsrepair2.c
552
for (dest = new_string->string.pointer; *source; dest++, source++) {
drivers/acpi/acpica/nsrepair2.c
553
*dest = (char)toupper((int)*source);
drivers/acpi/acpica/nsrepair2.c
919
union acpi_operand_object **source;
drivers/acpi/acpica/nsrepair2.c
930
source = obj_desc->package.elements;
drivers/acpi/acpica/nsrepair2.c
931
dest = source;
drivers/acpi/acpica/nsrepair2.c
937
acpi_ut_remove_reference(*source); /* Remove one ref for being in pkg */
drivers/acpi/acpica/nsrepair2.c
938
acpi_ut_remove_reference(*source);
drivers/acpi/acpica/nsrepair2.c
940
*dest = *source;
drivers/acpi/acpica/nsrepair2.c
944
source++;
drivers/acpi/acpica/nsxfname.c
183
struct acpi_pnp_device_id *source,
drivers/acpi/acpica/nsxfname.c
189
dest->length = source->length;
drivers/acpi/acpica/nsxfname.c
193
memcpy(string_area, source->string, source->length);
drivers/acpi/acpica/nsxfname.c
194
return (string_area + source->length);
drivers/acpi/acpica/nsxfname.c
24
struct acpi_pnp_device_id *source,
drivers/acpi/acpica/rscreate.c
310
(u32) ((u8 *) user_prt->source -
drivers/acpi/acpica/rscreate.c
312
path_buffer.pointer = user_prt->source;
drivers/acpi/acpica/rscreate.c
322
(u32)strlen(user_prt->source) + 1;
drivers/acpi/acpica/rscreate.c
327
strcpy(user_prt->source,
drivers/acpi/acpica/rsdumpinfo.c
573
{ACPI_RSD_STRING, ACPI_PRT_OFFSET(source[0]), "Source", NULL},
drivers/acpi/acpica/rsmisc.c
106
((ACPI_GET8(source) >> info->value) & 0x01));
drivers/acpi/acpica/rsmisc.c
114
((ACPI_GET8(source) >> info->value) & 0x03));
drivers/acpi/acpica/rsmisc.c
122
((ACPI_GET8(source) >> info->value) & 0x07));
drivers/acpi/acpica/rsmisc.c
130
((ACPI_GET8(source) >> info->value) & 0x3F));
drivers/acpi/acpica/rsmisc.c
135
item_count = ACPI_GET8(source);
drivers/acpi/acpica/rsmisc.c
154
item_count = ACPI_GET16(target) - ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
163
item_count = ACPI_GET8(source);
drivers/acpi/acpica/rsmisc.c
182
ACPI_GET16(target) - ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
188
ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
197
ACPI_MOVE_16_TO_16(&temp16, source);
drivers/acpi/acpica/rsmisc.c
206
ACPI_MOVE_16_TO_16(&temp16, source);
drivers/acpi/acpica/rsmisc.c
231
acpi_rs_move_data(destination, source, item_count,
drivers/acpi/acpica/rsmisc.c
246
source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source));
drivers/acpi/acpica/rsmisc.c
247
acpi_rs_move_data(target, source, item_count,
drivers/acpi/acpica/rsmisc.c
262
source = ACPI_ADD_PTR(void, aml, ACPI_GET16(source));
drivers/acpi/acpica/rsmisc.c
263
acpi_rs_move_data(target, source, item_count,
drivers/acpi/acpica/rsmisc.c
278
source = ACPI_ADD_PTR(void, aml, info->value);
drivers/acpi/acpica/rsmisc.c
279
acpi_rs_move_data(target, source, item_count,
drivers/acpi/acpica/rsmisc.c
294
ACPI_MOVE_16_TO_16(&temp16, source);
drivers/acpi/acpica/rsmisc.c
295
source =
drivers/acpi/acpica/rsmisc.c
297
acpi_rs_move_data(target, source, item_count,
drivers/acpi/acpica/rsmisc.c
309
memcpy(destination, source, ACPI_GET16(target));
drivers/acpi/acpica/rsmisc.c
356
acpi_rs_decode_bitmask(ACPI_GET8(source),
drivers/acpi/acpica/rsmisc.c
370
ACPI_MOVE_16_TO_16(&temp16, source);
drivers/acpi/acpica/rsmisc.c
396
if (ACPI_GET8(source) != info->value) {
drivers/acpi/acpica/rsmisc.c
40
void *source;
drivers/acpi/acpica/rsmisc.c
450
void *source = NULL;
drivers/acpi/acpica/rsmisc.c
475
source = ACPI_ADD_PTR(void, resource, info->resource_offset);
drivers/acpi/acpica/rsmisc.c
502
((ACPI_GET8(source) & 0x01) << info->
drivers/acpi/acpica/rsmisc.c
511
((ACPI_GET8(source) & 0x03) << info->
drivers/acpi/acpica/rsmisc.c
520
((ACPI_GET8(source) & 0x07) << info->
drivers/acpi/acpica/rsmisc.c
529
((ACPI_GET8(source) & 0x3F) << info->
drivers/acpi/acpica/rsmisc.c
535
item_count = ACPI_GET8(source);
drivers/acpi/acpica/rsmisc.c
544
item_count = ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
551
item_count = ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
562
item_count = ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
574
item_count = ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
591
item_count = ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
599
item_count = ACPI_GET16(source);
drivers/acpi/acpica/rsmisc.c
617
acpi_rs_move_data(destination, source, item_count,
drivers/acpi/acpica/rsmisc.c
626
source = *(u16 **)source;
drivers/acpi/acpica/rsmisc.c
627
acpi_rs_move_data(destination, source, item_count,
drivers/acpi/acpica/rsmisc.c
638
source = *(u8 **)source;
drivers/acpi/acpica/rsmisc.c
639
acpi_rs_move_data(destination, source, item_count,
drivers/acpi/acpica/rsmisc.c
648
source = *(u8 **)source;
drivers/acpi/acpica/rsmisc.c
649
acpi_rs_move_data(destination, source, item_count,
drivers/acpi/acpica/rsmisc.c
658
source = *(u8 **)source;
drivers/acpi/acpica/rsmisc.c
659
acpi_rs_move_data(destination, source, item_count,
drivers/acpi/acpica/rsmisc.c
677
aml_length, source);
drivers/acpi/acpica/rsmisc.c
688
source);
drivers/acpi/acpica/rsmisc.c
697
acpi_rs_encode_bitmask(source,
drivers/acpi/acpica/rsmisc.c
709
acpi_rs_encode_bitmask(source,
drivers/acpi/acpica/rsmisc.c
79
source = ACPI_ADD_PTR(void, aml, info->aml_offset);
drivers/acpi/acpica/rsutils.c
115
memcpy(destination, source, item_count);
drivers/acpi/acpica/rsutils.c
127
&ACPI_CAST_PTR(u16, source)[i]);
drivers/acpi/acpica/rsutils.c
133
&ACPI_CAST_PTR(u32, source)[i]);
drivers/acpi/acpica/rsutils.c
139
&ACPI_CAST_PTR(u64, source)[i]);
drivers/acpi/acpica/rsutils.c
246
static u16 acpi_rs_strcpy(char *destination, char *source)
drivers/acpi/acpica/rsutils.c
252
for (i = 0; source[i]; i++) {
drivers/acpi/acpica/rsutils.c
253
destination[i] = source[i];
drivers/acpi/acpica/rsutils.c
96
acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type)
drivers/acpi/acpica/tbfadt.c
113
u16 source;
drivers/acpi/acpica/tbfadt.c
705
fadt_pm_info_table[i].source);
drivers/acpi/acpica/utnonansi.c
128
u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source)
drivers/acpi/acpica/utnonansi.c
131
if (strlen(source) >= dest_size) {
drivers/acpi/acpica/utnonansi.c
135
strcpy(dest, source);
drivers/acpi/acpica/utnonansi.c
139
u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source)
drivers/acpi/acpica/utnonansi.c
142
if ((strlen(dest) + strlen(source)) >= dest_size) {
drivers/acpi/acpica/utnonansi.c
146
strcat(dest, source);
drivers/acpi/acpica/utnonansi.c
153
char *source, acpi_size max_transfer_length)
drivers/acpi/acpica/utnonansi.c
157
actual_transfer_length = ACPI_MIN(max_transfer_length, strlen(source));
drivers/acpi/acpica/utnonansi.c
163
strncat(dest, source, max_transfer_length);
drivers/acpi/acpica/utnonansi.c
167
void acpi_ut_safe_strncpy(char *dest, char *source, acpi_size dest_size)
drivers/acpi/acpica/utnonansi.c
171
strncpy(dest, source, dest_size);
drivers/acpi/irq.c
112
acpi_get_irq_source_fwhandle(const struct acpi_resource_source *source,
drivers/acpi/irq.c
120
if (!source->string_length)
drivers/acpi/irq.c
123
status = acpi_get_handle(NULL, source->string_ptr, &handle);
drivers/acpi/pci_irq.c
124
!strcmp(prt->source, quirk->source) &&
drivers/acpi/pci_irq.c
125
strlen(prt->source) >= strlen(quirk->actual_source)) {
drivers/acpi/pci_irq.c
131
prt->source, quirk->actual_source);
drivers/acpi/pci_irq.c
132
strcpy(prt->source, quirk->actual_source);
drivers/acpi/pci_irq.c
181
if (prt->source[0])
drivers/acpi/pci_irq.c
182
acpi_get_handle(handle, prt->source, &entry->link);
drivers/acpi/pci_irq.c
193
pin_name(entry->pin), prt->source, entry->index);
drivers/acpi/pci_irq.c
86
const char *source; /* according to BIOS */
drivers/acpi/riscv/irq.c
342
if (entry->source[0]) {
drivers/acpi/riscv/irq.c
343
acpi_get_handle(handle, entry->source, &link_handle);
drivers/ata/pata_hpt3x2n.c
271
static void hpt3x2n_set_clock(struct ata_port *ap, int source)
drivers/ata/pata_hpt3x2n.c
280
iowrite8(source, bmdma+0x7B);
drivers/base/arch_topology.c
101
void topology_clear_scale_freq_source(enum scale_freq_source source,
drivers/base/arch_topology.c
112
if (sfd && sfd->source == source) {
drivers/base/arch_topology.c
89
if (!sfd || sfd->source != SCALE_FREQ_SOURCE_ARCH) {
drivers/block/null_blk/main.c
1142
static blk_status_t copy_to_nullb(struct nullb *nullb, void *source,
drivers/block/null_blk/main.c
1163
source + count, temp);
drivers/bluetooth/btintel.h
132
__u8 source;
drivers/clk/clk-cdce706.c
485
unsigned clock, source;
drivers/clk/clk-cdce706.c
499
ret = cdce706_reg_read(cdce, CDCE706_CLKIN_SOURCE, &source);
drivers/clk/clk-cdce706.c
502
if ((source & CDCE706_CLKIN_SOURCE_MASK) ==
drivers/clk/renesas/r9a06g032-clocks.c
1356
const char *parent_name = d->source ?
drivers/clk/renesas/r9a06g032-clocks.c
1357
__clk_get_name(clocks->data.clks[d->source - 1]) :
drivers/clk/renesas/r9a06g032-clocks.c
140
uint32_t source:8; /* source index + 1 (0 == none) */
drivers/clk/renesas/r9a06g032-clocks.c
177
.source = 1 + R9A06G032_##_src, \
drivers/clk/renesas/r9a06g032-clocks.c
184
.source = 1 + R9A06G032_##_src, \
drivers/clk/renesas/r9a06g032-clocks.c
199
.source = 1 + R9A06G032_##_src, \
drivers/clk/renesas/r9a06g032-clocks.c
207
.source = 1 + R9A06G032_##_src, \
drivers/clk/renesas/r9a06g032-clocks.c
217
.source = 1 + R9A06G032_##_src, \
drivers/clk/renesas/r9a06g032-clocks.c
646
.source = 1 + R9A06G032_DIV_UART,
drivers/clk/renesas/r9a06g032-clocks.c
655
.source = 1 + R9A06G032_DIV_P2_PG,
drivers/clk/tegra/clk-super.c
38
u8 source, shift;
drivers/clk/tegra/clk-super.c
50
source = (val >> shift) & super_state_to_src_mask(mux);
drivers/clk/tegra/clk-super.c
57
(source == mux->pllx_index))
drivers/clk/tegra/clk-super.c
58
source = mux->div2_index;
drivers/clk/tegra/clk-super.c
60
return source;
drivers/clk/ux500/clk-prcmu.c
28
u8 source;
drivers/clk/ux500/clk-prcmu.c
304
return prcmu_config_clkout(clk->clkout_id, clk->source, clk->divider);
drivers/clk/ux500/clk-prcmu.c
313
ret = prcmu_config_clkout(clk->clkout_id, clk->source, 0);
drivers/clk/ux500/clk-prcmu.c
331
return clk->source;
drivers/clk/ux500/clk-prcmu.c
338
clk->source = index;
drivers/clk/ux500/clk-prcmu.c
357
u8 source, u8 divider)
drivers/clk/ux500/clk-prcmu.c
384
clk->source = source;
drivers/clk/ux500/clk.h
66
u8 source, u8 divider);
drivers/clk/ux500/u8500_of_clk.c
109
id + 1, source, divider);
drivers/clk/ux500/u8500_of_clk.c
114
source, divider);
drivers/clk/ux500/u8500_of_clk.c
77
u32 id, source, divider;
drivers/clk/ux500/u8500_of_clk.c
84
source = clkspec->args[1];
drivers/clk/ux500/u8500_of_clk.c
98
if (source > 7) {
drivers/clk/ux500/u8500_of_clk.c
99
pr_err("%s: invalid source ID %d\n", __func__, source);
drivers/clocksource/timer-tegra186.c
303
unsigned int offset = 0x10000, source;
drivers/clocksource/timer-tegra186.c
323
source = value & WDTCR_TIMER_SOURCE_MASK;
drivers/clocksource/timer-tegra186.c
325
wdt->tmr = tegra186_tmr_create(tegra, source);
drivers/clocksource/timer-ti-dm.c
409
static int omap_dm_timer_set_source(struct omap_dm_timer *cookie, int source)
drivers/clocksource/timer-ti-dm.c
421
switch (source) {
drivers/clocksource/timer-ti-dm.c
443
return pdata->set_timer_src(timer->pdev, source);
drivers/comedi/drivers/amplc_dio200_common.c
42
unsigned int source)
drivers/comedi/drivers/amplc_dio200_common.c
45
((source & 030) << 3) | (source & 007);
drivers/comedi/drivers/cb_pcidas.c
383
unsigned int source = data[1];
drivers/comedi/drivers/cb_pcidas.c
387
if (source >= 8) {
drivers/comedi/drivers/cb_pcidas.c
390
source);
drivers/comedi/drivers/cb_pcidas.c
393
devpriv->calib_src = source;
drivers/comedi/drivers/cb_pcidas64.c
1873
unsigned int source = data[1];
drivers/comedi/drivers/cb_pcidas64.c
1880
if (source >= num_calibration_sources) {
drivers/comedi/drivers/cb_pcidas64.c
1882
source);
drivers/comedi/drivers/cb_pcidas64.c
1886
devpriv->calibration_source = source;
drivers/comedi/drivers/cb_pcidas64.c
306
static inline u16 adc_src_bits(unsigned int source)
drivers/comedi/drivers/cb_pcidas64.c
308
return (source & 0xf) << 3;
drivers/comedi/drivers/cb_pcidas64.c
401
static inline u8 adc_src_4020_bits(unsigned int source)
drivers/comedi/drivers/cb_pcidas64.c
403
return (source << 4) & ADC_SRC_4020_MASK;
drivers/comedi/drivers/ni_660x.c
1142
unsigned int source = (i < 8) ? NI_660X_PFI_OUTPUT_DIO
drivers/comedi/drivers/ni_660x.c
1145
ni_660x_set_pfi_routing(dev, i, source);
drivers/comedi/drivers/ni_660x.c
640
unsigned int chan, unsigned int source)
drivers/comedi/drivers/ni_660x.c
648
switch (source) {
drivers/comedi/drivers/ni_660x.c
661
devpriv->io_cfg[chan] = source;
drivers/comedi/drivers/ni_660x.c
902
unsigned int source = ((CR_CHAN(dest) - NI_PFI(0)) < 8)
drivers/comedi/drivers/ni_660x.c
908
ni_660x_set_pfi_routing(dev, dest, source);
drivers/comedi/drivers/ni_mio_common.c
4593
unsigned int chan, unsigned int source)
drivers/comedi/drivers/ni_mio_common.c
4596
if (source != ni_old_get_pfi_routing(dev, chan))
drivers/comedi/drivers/ni_mio_common.c
4612
unsigned int chan, unsigned int source)
drivers/comedi/drivers/ni_mio_common.c
4618
if ((source & 0x1f) != source)
drivers/comedi/drivers/ni_mio_common.c
4622
val |= NI_M_PFI_OUT_SEL(chan, source);
drivers/comedi/drivers/ni_mio_common.c
4645
unsigned int chan, unsigned int source)
drivers/comedi/drivers/ni_mio_common.c
4654
? ni_m_series_set_pfi_routing(dev, chan, source)
drivers/comedi/drivers/ni_mio_common.c
4655
: ni_old_set_pfi_routing(dev, chan, source);
drivers/comedi/drivers/ni_mio_common.c
4940
unsigned int source,
drivers/comedi/drivers/ni_mio_common.c
4954
if (source == NI_MIO_PLL_PXI10_CLOCK)
drivers/comedi/drivers/ni_mio_common.c
4973
switch (source) {
drivers/comedi/drivers/ni_mio_common.c
4983
if (source == NI_MIO_PLL_RTSI_CLOCK(rtsi)) {
drivers/comedi/drivers/ni_mio_common.c
5008
devpriv->clock_source = source;
drivers/comedi/drivers/ni_mio_common.c
5018
__func__, source, period_ns);
drivers/comedi/drivers/ni_mio_common.c
5025
unsigned int source, unsigned int period_ns)
drivers/comedi/drivers/ni_mio_common.c
5029
if (source == NI_MIO_INTERNAL_CLOCK) {
drivers/comedi/drivers/ni_mio_common.c
5042
devpriv->clock_source = source;
drivers/comedi/drivers/ni_mio_common.c
5045
return ni_mseries_set_pll_master_clock(dev, source,
drivers/comedi/drivers/ni_mio_common.c
5048
if (source == NI_MIO_RTSI_CLOCK) {
drivers/comedi/drivers/ni_mio_common.c
5060
devpriv->clock_source = source;
drivers/comedi/drivers/ni_mio_common.c
5070
unsigned int chan, unsigned int source)
drivers/comedi/drivers/ni_mio_common.c
5076
if (source == NI_RTSI_OUTPUT_RTSI_OSC)
drivers/comedi/drivers/ni_mio_common.c
5086
switch (source) {
drivers/comedi/drivers/ni_routes.c
394
const int source)
drivers/comedi/drivers/ni_routes.c
396
if (!bsearch(&source, routes->src, routes->n_src, sizeof(int),
drivers/comedi/drivers/ni_tio.c
1120
unsigned int source)
drivers/comedi/drivers/ni_tio.c
1147
if (source > 0x1f)
drivers/comedi/drivers/ni_tio.c
1148
source = 0x1f; /* Disable gate */
drivers/comedi/drivers/ni_tio.c
1151
counter_dev->regs[chip][abz_reg] |= (source << shift) & mask;
drivers/comedi/drivers/ni_tio.c
1157
unsigned int *source)
drivers/comedi/drivers/ni_tio.c
1185
*source = (ni_tio_get_soft_copy(counter, abz_reg) >> shift) & mask;
drivers/comedi/drivers/ni_tio.c
1191
unsigned int source;
drivers/comedi/drivers/ni_tio.c
1196
source = NI_GPCT_SOURCE_PIN_i_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1199
source = NI_GPCT_GATE_PIN_i_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1202
source = NI_GPCT_NEXT_SOURCE_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1205
source = NI_GPCT_NEXT_OUT_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1208
source = NI_GPCT_LOGIC_LOW_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1213
source = NI_GPCT_RTSI_GATE_SELECT(i);
drivers/comedi/drivers/ni_tio.c
1221
source = NI_GPCT_GATE_PIN_GATE_SELECT(i);
drivers/comedi/drivers/ni_tio.c
1229
*src = source;
drivers/comedi/drivers/ni_tio.c
1235
unsigned int source;
drivers/comedi/drivers/ni_tio.c
1240
source = NI_GPCT_TIMESTAMP_MUX_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1243
source = NI_GPCT_AI_START2_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1246
source = NI_GPCT_PXI_STAR_TRIGGER_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1249
source = NI_GPCT_NEXT_OUT_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1252
source = NI_GPCT_AI_START1_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1255
source = NI_GPCT_NEXT_SOURCE_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1258
source = NI_GPCT_ANALOG_TRIGGER_OUT_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1261
source = NI_GPCT_LOGIC_LOW_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1266
source = NI_GPCT_RTSI_GATE_SELECT(i);
drivers/comedi/drivers/ni_tio.c
1274
source = NI_GPCT_PFI_GATE_SELECT(i);
drivers/comedi/drivers/ni_tio.c
1282
*src = source;
drivers/comedi/drivers/ni_tio.c
1288
unsigned int source;
drivers/comedi/drivers/ni_tio.c
1293
source = NI_GPCT_SOURCE_PIN_i_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1296
source = NI_GPCT_UP_DOWN_PIN_i_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1299
source = NI_GPCT_NEXT_SOURCE_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1302
source = NI_GPCT_NEXT_OUT_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1305
source = NI_GPCT_SELECTED_GATE_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1308
source = NI_GPCT_LOGIC_LOW_GATE_SELECT;
drivers/comedi/drivers/ni_tio.c
1313
source = NI_GPCT_RTSI_GATE_SELECT(i);
drivers/comedi/drivers/ni_tio.c
1321
source = NI_GPCT_UP_DOWN_PIN_GATE_SELECT(i);
drivers/comedi/drivers/ni_tio.c
1329
*src = source;
drivers/cpufreq/cppc_cpufreq.c
104
.source = SCALE_FREQ_SOURCE_CPPC,
drivers/cpufreq/cppc_cpufreq.c
143
.source = SCALE_FREQ_SOURCE_CPPC,
drivers/cpufreq/virtual-cpufreq.c
88
.source = SCALE_FREQ_SOURCE_VIRT,
drivers/crypto/mxs-dcp.c
291
desc->source = src_phys;
drivers/crypto/mxs-dcp.c
52
uint32_t source;
drivers/crypto/mxs-dcp.c
626
desc->source = buf_phys;
drivers/crypto/nx/nx-common-powernv.c
405
ret = setup_ddl(&crb->source, wmem->ddl_in,
drivers/crypto/sahara.c
313
u8 source = SAHARA_ERRSTATUS_GET_SOURCE(error);
drivers/crypto/sahara.c
318
dev_err(dev->device, " - %s.\n", sahara_err_src[source]);
drivers/crypto/sahara.c
320
if (source == SAHARA_ERRSOURCE_DMA) {
drivers/crypto/sahara.c
330
} else if (source == SAHARA_ERRSOURCE_CHA) {
drivers/cxl/core/trace.h
1001
#define __show_poison_source(source) \
drivers/cxl/core/trace.h
1002
__print_symbolic(source, \
drivers/cxl/core/trace.h
1009
#define show_poison_source(source) \
drivers/cxl/core/trace.h
1010
(((source > CXL_POISON_SOURCE_INJECTED) && \
drivers/cxl/core/trace.h
1011
(source != CXL_POISON_SOURCE_VENDOR)) ? "Reserved" \
drivers/cxl/core/trace.h
1012
: __show_poison_source(source))
drivers/cxl/core/trace.h
1051
__field(u8, source)
drivers/cxl/core/trace.h
1062
__entry->source = cxl_poison_record_source(record);
drivers/cxl/core/trace.h
1096
show_poison_source(__entry->source),
drivers/dma/amba-pl08x.c
969
bool source)
drivers/dma/amba-pl08x.c
974
if (source)
drivers/dma/amba-pl08x.c
981
if (source)
drivers/firewire/core-cdev.c
729
int tcode, int destination, int source,
drivers/firewire/core-cdev.c
783
req->source_node_id = source;
drivers/firewire/core-cdev.c
797
req->source_node_id = source;
drivers/firewire/core-transaction.c
1013
handler->address_callback(card, request, tcode, destination, source, p->generation, offset,
drivers/firewire/core-transaction.c
1028
int tcode, destination, source, i, count, buffer_size;
drivers/firewire/core-transaction.c
1040
source = async_header_get_source(p->header);
drivers/firewire/core-transaction.c
1089
handler->address_callback(card, request, tcode, destination, source,
drivers/firewire/core-transaction.c
1143
int tcode, tlabel, source, rcode;
drivers/firewire/core-transaction.c
1147
source = async_header_get_source(p->header);
drivers/firewire/core-transaction.c
1183
iter->node_id == source && iter->tlabel == tlabel);
drivers/firewire/core-transaction.c
1191
source, tlabel);
drivers/firewire/core-transaction.c
1241
int tcode, int destination, int source, int generation,
drivers/firewire/core-transaction.c
1291
int tcode, int destination, int source, int generation,
drivers/firewire/core-transaction.c
1415
int tcode, int destination, int source, int generation,
drivers/firewire/core-transaction.c
788
int tcode, tlabel, extended_tcode, source, destination;
drivers/firewire/core-transaction.c
792
source = async_header_get_destination(request_header); // Exchange.
drivers/firewire/core-transaction.c
799
async_header_set_source(response->header, source);
drivers/firewire/core-transaction.c
992
int tcode, destination, source;
drivers/firewire/core-transaction.c
995
source = async_header_get_source(p->header);
drivers/firewire/net.c
704
int tcode, int destination, int source, int generation,
drivers/firewire/net.c
722
source, generation, false) != 0) {
drivers/firewire/packet-header-definitions.h
130
unsigned int source)
drivers/firewire/packet-header-definitions.h
133
header[1] |= (((u32)source) << ASYNC_HEADER_Q1_SOURCE_SHIFT) & ASYNC_HEADER_Q1_SOURCE_MASK;
drivers/firewire/sbp2.c
407
int tcode, int destination, int source,
drivers/firmware/ti_sci.c
1856
u32 *source, u64 *timestamp, u8 *pin, u8 *mode)
drivers/firmware/ti_sci.c
1896
if (source)
drivers/firmware/ti_sci.c
1897
*source = resp->wake_source;
drivers/firmware/ti_sci.c
3846
u32 source;
drivers/firmware/ti_sci.c
3857
ret = ti_sci_msg_cmd_lpm_wake_reason(&info->handle, &source, &time, &pin, &mode);
drivers/firmware/ti_sci.c
3861
source, pin, mode);
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1027
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
320
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
618
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
426
struct amdgpu_irq_src *source)
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
434
if (!source->funcs)
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
448
if (source->num_types && !source->enabled_types) {
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
451
types = kzalloc_objs(atomic_t, source->num_types);
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
455
source->enabled_types = types;
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
458
adev->irq.client[client_id].sources[src_id] = source;
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
131
struct amdgpu_irq_src *source);
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
74
int (*set)(struct amdgpu_device *adev, struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
78
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
271
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
166
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
133
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
204
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
387
int amdgpu_sync_clone(struct amdgpu_sync *source, struct amdgpu_sync *clone)
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
394
hash_for_each_safe(source->fences, i, tmp, e, node) {
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h
59
int amdgpu_sync_clone(struct amdgpu_sync *source, struct amdgpu_sync *clone);
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
384
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
162
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
1263
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
548
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
1132
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
1173
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
3052
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
3082
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
3153
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
3251
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
3265
if (amdgpu_irq_enabled(adev, source, irq_type)) {
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
3289
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
3068
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
3083
if (amdgpu_irq_enabled(adev, source, irq_type)) {
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
3128
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
3181
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
3084
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
3099
if (amdgpu_irq_enabled(adev, source, irq_type)) {
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
3144
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
3197
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
9179
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
9219
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
9265
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
9310
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
9376
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
9385
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
9394
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
9448
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6447
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6500
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6546
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6591
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6660
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6669
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6678
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6687
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
6691
return adev->gfx.ras->rlc_gc_fed_irq(adev, source, entry);
drivers/gpu/drm/amd/amdgpu/gfx_v11_0_3.c
35
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
4813
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
4866
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
4912
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
4957
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
5026
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
5035
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
5044
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
3603
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
3662
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
3685
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
3749
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
3758
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
3325
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
3362
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
3371
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
4778
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
4829
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
4838
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6444
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6455
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6505
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6550
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6576
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6635
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6644
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6653
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
6741
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
6048
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
6084
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
6120
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
6147
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
6217
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
6284
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
6293
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
6302
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
3130
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
3170
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
3210
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
3283
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
3353
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
3362
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
3371
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
100
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
100
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
93
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
104
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
1068
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
1258
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
1429
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
544
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/ih_v6_0.c
540
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/ih_v6_1.c
509
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/ih_v7_0.c
531
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c
432
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c
440
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
743
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c
751
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
601
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
609
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
617
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
535
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
543
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c
700
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c
708
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
1050
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
1058
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
1066
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c
735
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c
760
amdgpu_jpeg_process_poison_irq(adev, source, entry);
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c
621
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c
629
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
741
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
749
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
759
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_3_0.c
604
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_3_0.c
612
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
231
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
239
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
341
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
313
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
321
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
432
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
492
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
547
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/navi10_ih.c
519
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c
551
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c
580
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
482
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
526
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c
600
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c
622
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
1031
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
1071
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
1323
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
1369
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
1409
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
2060
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
2075
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
2130
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
2150
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
2198
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
2207
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
2216
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
2226
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1747
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1762
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1826
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1846
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1893
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1902
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1912
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1922
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
1932
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
1674
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
1695
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
1743
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
1583
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
1601
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
1681
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1605
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1624
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1653
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1676
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c
1539
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c
1556
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c
1585
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c
1608
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
1476
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
1493
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
1536
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/si_dma.c
638
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c
505
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c
513
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
695
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
704
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
616
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
625
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
1243
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
1252
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
1468
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
1477
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vce_v1_0.c
712
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vce_v1_0.c
727
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
554
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
568
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
732
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
746
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c
777
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c
794
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
1797
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
1805
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
1793
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
1801
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
2025
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
2033
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
2041
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
2282
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
2290
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
2153
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
2169
static int vcn_v4_0_process_interrupt(struct amdgpu_device *adev, struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
1919
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
1936
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
1970
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
1643
static int vcn_v4_0_5_process_interrupt(struct amdgpu_device *adev, struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c
1667
amdgpu_vcn_process_poison_irq(adev, source, entry);
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
1364
static int vcn_v5_0_0_process_interrupt(struct amdgpu_device *adev, struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
1388
amdgpu_vcn_process_poison_irq(adev, source, entry);
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
1576
static int vcn_v5_0_1_process_interrupt(struct amdgpu_device *adev, struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
1609
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vega10_ih.c
449
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vega20_ih.c
534
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vpe_v6_1.c
310
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdgpu/vpe_v6_1.c
334
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
1200
#define KFD_IRQ_IS_FENCE(client, source) \
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
1202
(source) == KFD_IRQ_FENCE_SOURCEID)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
46
static enum amdgpu_dm_pipe_crc_source dm_parse_crc_source(const char *source)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
48
if (!source || !strcmp(source, "none"))
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
488
enum amdgpu_dm_pipe_crc_source source = dm_parse_crc_source(src_name);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
490
if (source < 0) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
50
if (!strcmp(source, "auto") || !strcmp(source, "crtc"))
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
502
enum amdgpu_dm_pipe_crc_source source)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
507
bool enable = amdgpu_dm_is_valid_crc_source(source);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
52
if (!strcmp(source, "dprx"))
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
54
if (!strcmp(source, "crtc dither"))
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
541
if (dm_is_crc_source_crtc(source) || source == AMDGPU_DM_PIPE_CRC_SOURCE_NONE) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
550
if (!dm_need_crc_dither(source)) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
56
if (!strcmp(source, "dprx dither"))
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
575
enum amdgpu_dm_pipe_crc_source source = dm_parse_crc_source(src_name);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
590
if (source < 0) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
621
enable = amdgpu_dm_is_valid_crc_source(source);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
640
if (dm_is_crc_source_dprx(source) ||
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
641
(source == AMDGPU_DM_PIPE_CRC_SOURCE_NONE &&
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
699
if (amdgpu_dm_crtc_configure_crc_source(crtc, crtc_state, source)) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
705
if (dm_is_crc_source_dprx(source)) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
714
if (dm_is_crc_source_dprx(source)) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
724
acrtc->dm_irq_params.crc_src = source;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h
117
static inline bool amdgpu_dm_is_valid_crc_source(enum amdgpu_dm_pipe_crc_source source)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h
119
return (source > AMDGPU_DM_PIPE_CRC_SOURCE_NONE) &&
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h
120
(source < AMDGPU_DM_PIPE_CRC_SOURCE_MAX);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h
127
enum amdgpu_dm_pipe_crc_source source);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
658
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
699
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
711
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
745
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
751
source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
759
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
765
source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
773
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
779
source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
787
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
799
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
805
source,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
813
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h
180
int source,
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h
186
int source);
drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
305
int source)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_resource_mgmt.c
1002
if (odm_factor.target > odm_factor.source)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_resource_mgmt.c
933
mpc_factors[i].source = get_source_mpc_factor(ctx, state, status->plane_states[i]);
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_resource_mgmt.c
948
odm_factors[i].source = get_source_odm_factor(ctx, state, state->streams[i]);
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_resource_mgmt.c
966
if (mpc_factors[plane_idx].target < mpc_factors[plane_idx].source)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_resource_mgmt.c
973
if (odm_factor.target < odm_factor.source)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_resource_mgmt.c
995
if (mpc_factors[plane_idx].target > mpc_factors[plane_idx].source)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_internal_types.h
126
unsigned int source;
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
110
enum dc_irq_source source,
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
114
find_irq_source_info(irq_service, source);
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
119
source);
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
123
dal_irq_service_ack(irq_service, source);
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
128
source, enable);
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
154
enum dc_irq_source source)
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
157
find_irq_source_info(irq_service, source);
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
162
source);
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
168
DC_LOG_WARNING("%s: src: %d\n", __func__, source);
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
87
enum dc_irq_source source)
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
89
if (source >= DAL_IRQ_SOURCES_NUMBER)
drivers/gpu/drm/amd/display/dc/irq/irq_service.c
92
return &irq_service->info[source];
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
191
#define dmub_memcpy(dest, source, bytes) memcpy((dest), (source), (bytes))
drivers/gpu/drm/amd/display/include/irq_service_interface.h
39
enum dc_irq_source source,
drivers/gpu/drm/amd/display/include/irq_service_interface.h
44
enum dc_irq_source source);
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
3165
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3828
enum si_dpm_auto_throttle_src source,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3834
if (!(pi->active_auto_throttle_sources & (1 << source))) {
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3835
pi->active_auto_throttle_sources |= 1 << source;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3839
if (pi->active_auto_throttle_sources & (1 << source)) {
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3840
pi->active_auto_throttle_sources &= ~(1 << source);
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7596
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7644
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
1418
PHM_AutoThrottleSource source)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
1422
if (!(data->active_auto_throttle_sources & (1 << source))) {
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
1423
data->active_auto_throttle_sources |= 1 << source;
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
1435
PHM_AutoThrottleSource source)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
1439
if (data->active_auto_throttle_sources & (1 << source)) {
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
1440
data->active_auto_throttle_sources &= ~(1 << source);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
4654
struct amdgpu_irq_src *source =
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
4657
if (!source)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
4660
source->funcs = &smu7_irq_funcs;
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
4665
source);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
4669
source);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
4675
source);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c
601
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c
646
struct amdgpu_irq_src *source =
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c
649
if (!source)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c
652
source->funcs = &smu9_irq_funcs;
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c
657
source);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c
661
source);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c
667
source);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.h
109
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
1335
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
1405
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
1188
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
1264
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
1793
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
1848
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
864
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
948
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0.c
829
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0.c
885
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_nbio_v7_9.c
42
struct amdgpu_irq_src *source,
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_nbio_v7_9.c
64
struct amdgpu_irq_src *source,
drivers/gpu/drm/drm_crtc.c
143
crtc->crc.source = kstrdup("auto", GFP_KERNEL);
drivers/gpu/drm/drm_crtc.c
144
if (!crtc->crc.source)
drivers/gpu/drm/drm_crtc.c
153
kfree(crtc->crc.source);
drivers/gpu/drm/drm_debugfs_crc.c
101
if (strcmp(sources[i], crtc->crc.source))
drivers/gpu/drm/drm_debugfs_crc.c
110
seq_printf(m, "%s*\n", crtc->crc.source);
drivers/gpu/drm/drm_debugfs_crc.c
127
char *source;
drivers/gpu/drm/drm_debugfs_crc.c
140
source = memdup_user_nul(ubuf, len);
drivers/gpu/drm/drm_debugfs_crc.c
141
if (IS_ERR(source))
drivers/gpu/drm/drm_debugfs_crc.c
142
return PTR_ERR(source);
drivers/gpu/drm/drm_debugfs_crc.c
144
if (source[len - 1] == '\n')
drivers/gpu/drm/drm_debugfs_crc.c
145
source[len - 1] = '\0';
drivers/gpu/drm/drm_debugfs_crc.c
147
ret = crtc->funcs->verify_crc_source(crtc, source, &values_cnt);
drivers/gpu/drm/drm_debugfs_crc.c
149
kfree(source);
drivers/gpu/drm/drm_debugfs_crc.c
157
kfree(source);
drivers/gpu/drm/drm_debugfs_crc.c
161
kfree(crc->source);
drivers/gpu/drm/drm_debugfs_crc.c
162
crc->source = source;
drivers/gpu/drm/drm_debugfs_crc.c
217
ret = crtc->funcs->verify_crc_source(crtc, crc->source, &values_cnt);
drivers/gpu/drm/drm_debugfs_crc.c
246
ret = crtc->funcs->set_crc_source(crtc, crc->source);
drivers/gpu/drm/drm_debugfs_crc.c
296
if (!crc->source) {
drivers/gpu/drm/drm_debugfs_crc.c
354
if (crc->source && crtc_crc_data_count(crc))
drivers/gpu/drm/i915/display/intel_display_types.h
1463
enum intel_pipe_crc_source source;
drivers/gpu/drm/i915/display/intel_dp_aux.c
879
const char *source;
drivers/gpu/drm/i915/display/intel_dp_aux.c
884
source = "VBT";
drivers/gpu/drm/i915/display/intel_dp_aux.c
888
source = "platform default";
drivers/gpu/drm/i915/display/intel_dp_aux.c
909
aux_ch_name(display, buf, sizeof(buf), aux_ch), source);
drivers/gpu/drm/i915/display/intel_hdmi.c
2984
const char *source;
drivers/gpu/drm/i915/display/intel_hdmi.c
2988
source = "VBT";
drivers/gpu/drm/i915/display/intel_hdmi.c
2992
source = "platform default";
drivers/gpu/drm/i915/display/intel_hdmi.c
3014
ddc_pin, source);
drivers/gpu/drm/i915/display/intel_pfit.c
329
static u32 panel_fitter_scaling(u32 source, u32 target)
drivers/gpu/drm/i915/display/intel_pfit.c
338
u32 ratio = source * FACTOR / target;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
101
*source = INTEL_PIPE_CRC_SOURCE_TV;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
108
*source = INTEL_PIPE_CRC_SOURCE_DP_B;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
111
*source = INTEL_PIPE_CRC_SOURCE_DP_C;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
114
*source = INTEL_PIPE_CRC_SOURCE_DP_D;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
131
enum intel_pipe_crc_source *source,
drivers/gpu/drm/i915/display/intel_pipe_crc.c
136
if (*source == INTEL_PIPE_CRC_SOURCE_AUTO)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
137
i9xx_pipe_crc_auto_source(display, pipe, source);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
139
switch (*source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
198
enum intel_pipe_crc_source *source,
drivers/gpu/drm/i915/display/intel_pipe_crc.c
201
if (*source == INTEL_PIPE_CRC_SOURCE_AUTO)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
202
i9xx_pipe_crc_auto_source(display, pipe, source);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
204
switch (*source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
256
static int ilk_pipe_crc_ctl_reg(enum intel_pipe_crc_source *source,
drivers/gpu/drm/i915/display/intel_pipe_crc.c
259
if (*source == INTEL_PIPE_CRC_SOURCE_AUTO)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
260
*source = INTEL_PIPE_CRC_SOURCE_PIPE;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
262
switch (*source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
339
enum intel_pipe_crc_source *source,
drivers/gpu/drm/i915/display/intel_pipe_crc.c
342
if (*source == INTEL_PIPE_CRC_SOURCE_AUTO)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
343
*source = INTEL_PIPE_CRC_SOURCE_PIPE;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
345
switch (*source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
367
enum intel_pipe_crc_source *source,
drivers/gpu/drm/i915/display/intel_pipe_crc.c
370
if (*source == INTEL_PIPE_CRC_SOURCE_AUTO)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
371
*source = INTEL_PIPE_CRC_SOURCE_PIPE;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
373
switch (*source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
410
enum intel_pipe_crc_source *source, u32 *val)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
413
return i8xx_pipe_crc_ctl_reg(source, val);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
415
return i9xx_pipe_crc_ctl_reg(display, pipe, source, val);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
417
return vlv_pipe_crc_ctl_reg(display, pipe, source, val);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
419
return ilk_pipe_crc_ctl_reg(source, val);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
421
return ivb_pipe_crc_ctl_reg(display, pipe, source, val);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
423
return skl_pipe_crc_ctl_reg(display, pipe, source, val);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
452
const enum intel_pipe_crc_source source)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
454
switch (source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
464
const enum intel_pipe_crc_source source)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
466
switch (source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
477
const enum intel_pipe_crc_source source)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
479
switch (source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
492
const enum intel_pipe_crc_source source)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
494
switch (source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
506
const enum intel_pipe_crc_source source)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
508
switch (source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
520
const enum intel_pipe_crc_source source)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
522
switch (source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
540
const enum intel_pipe_crc_source source)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
543
return i8xx_crc_source_valid(display, source);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
545
return i9xx_crc_source_valid(display, source);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
547
return vlv_crc_source_valid(display, source);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
549
return ilk_crc_source_valid(display, source);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
551
return ivb_crc_source_valid(display, source);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
553
return skl_crc_source_valid(display, source);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
567
enum intel_pipe_crc_source source;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
569
if (display_crc_ctl_parse_source(source_name, &source) < 0) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
574
if (source == INTEL_PIPE_CRC_SOURCE_AUTO ||
drivers/gpu/drm/i915/display/intel_pipe_crc.c
575
intel_is_valid_crc_source(display, source) == 0) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
589
enum intel_pipe_crc_source source;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
59
static int i8xx_pipe_crc_ctl_reg(enum intel_pipe_crc_source *source,
drivers/gpu/drm/i915/display/intel_pipe_crc.c
596
if (display_crc_ctl_parse_source(source_name, &source) < 0) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
609
enable = source != INTEL_PIPE_CRC_SOURCE_NONE;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
613
ret = get_new_crc_ctl_reg(display, pipe, &source, &val);
drivers/gpu/drm/i915/display/intel_pipe_crc.c
617
pipe_crc->source = source;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
62
if (*source == INTEL_PIPE_CRC_SOURCE_AUTO)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
621
if (!source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
63
*source = INTEL_PIPE_CRC_SOURCE_PIPE;
drivers/gpu/drm/i915/display/intel_pipe_crc.c
647
if (get_new_crc_ctl_reg(display, pipe, &pipe_crc->source, &val) < 0)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
65
switch (*source) {
drivers/gpu/drm/i915/display/intel_pipe_crc.c
81
enum intel_pipe_crc_source *source)
drivers/gpu/drm/i915/display/intel_pipe_crc.c
87
*source = INTEL_PIPE_CRC_SOURCE_PIPE;
drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c
161
u32 source, u32 dest)
drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c
167
if (header->destination != dest || header->source != source) {
drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c
204
to_gsc->proxy_header.source = GSC_PROXY_ADDRESSING_KMD;
drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c
63
u32 source; /* Source of the Proxy message */
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
131
enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name);
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
140
if (source < 0) {
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
150
enable = (source != DPU_CRTC_CRC_SOURCE_NONE);
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
170
crtc_state->crc_source = source;
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
175
if (source == DPU_CRTC_CRC_SOURCE_LAYER_MIXER)
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
177
else if (source == DPU_CRTC_CRC_SOURCE_ENCODER)
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
83
enum dpu_crtc_crc_source source = dpu_crtc_parse_crc_source(src_name);
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
86
if (source < 0) {
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
91
if (source == DPU_CRTC_CRC_SOURCE_LAYER_MIXER) {
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
93
} else if (source == DPU_CRTC_CRC_SOURCE_ENCODER) {
drivers/gpu/drm/mxsfb/mxsfb_kms.c
444
static int mxsfb_crtc_set_crc_source(struct drm_crtc *crtc, const char *source)
drivers/gpu/drm/mxsfb/mxsfb_kms.c
453
if (source && strcmp(source, "auto") == 0)
drivers/gpu/drm/mxsfb/mxsfb_kms.c
455
else if (!source)
drivers/gpu/drm/mxsfb/mxsfb_kms.c
464
const char *source, size_t *values_cnt)
drivers/gpu/drm/mxsfb/mxsfb_kms.c
469
if (source && strcmp(source, "auto") != 0) {
drivers/gpu/drm/mxsfb/mxsfb_kms.c
471
source, crtc->name);
drivers/gpu/drm/nouveau/dispnv50/crc.c
131
enum nv50_crc_source source)
drivers/gpu/drm/nouveau/dispnv50/crc.c
144
source, crc->entry_idx);
drivers/gpu/drm/nouveau/dispnv50/crc.c
430
enum nv50_crc_source source)
drivers/gpu/drm/nouveau/dispnv50/crc.c
434
switch (source) {
drivers/gpu/drm/nouveau/dispnv50/crc.c
481
nv50_crc_raster_type(enum nv50_crc_source source)
drivers/gpu/drm/nouveau/dispnv50/crc.c
483
switch (source) {
drivers/gpu/drm/nouveau/dispnv50/crc.c
54
enum nv50_crc_source source;
drivers/gpu/drm/nouveau/dispnv50/crc.c
555
enum nv50_crc_source source;
drivers/gpu/drm/nouveau/dispnv50/crc.c
558
ret = nv50_crc_parse_source(source_str, &source);
drivers/gpu/drm/nouveau/dispnv50/crc.c
56
if (nv50_crc_parse_source(source_name, &source) < 0) {
drivers/gpu/drm/nouveau/dispnv50/crc.c
566
if (source)
drivers/gpu/drm/nouveau/dispnv50/crc.c
577
if (source) {
drivers/gpu/drm/nouveau/dispnv50/crc.c
596
asyh->crc.src = source;
drivers/gpu/drm/nouveau/dispnv50/crc.c
597
asyh->or.crc_raster = nv50_crc_raster_type(source);
drivers/gpu/drm/nouveau/dispnv50/crc.c
605
if (!source) {
drivers/gpu/drm/nouveau/dispnv50/crc.c
616
if (!source || ret) {
drivers/gpu/drm/nouveau/dispnv50/crc907d.c
26
crc907d_set_src(struct nv50_head *head, int or, enum nv50_crc_source_type source,
drivers/gpu/drm/nouveau/dispnv50/crc907d.c
39
switch (source) {
drivers/gpu/drm/nouveau/dispnv50/crc907d.c
63
if (source) {
drivers/gpu/drm/nouveau/dispnv50/crc907d.c
90
enum nv50_crc_source source, int idx)
drivers/gpu/drm/nouveau/dispnv50/crcc37d.c
15
crcc37d_set_src(struct nv50_head *head, int or, enum nv50_crc_source_type source,
drivers/gpu/drm/nouveau/dispnv50/crcc37d.c
26
switch (source) {
drivers/gpu/drm/nouveau/dispnv50/crcc37d.c
43
if (source) {
drivers/gpu/drm/nouveau/dispnv50/crcc37d.c
68
enum nv50_crc_source source, int idx)
drivers/gpu/drm/nouveau/dispnv50/crcc37d.c
74
if (source == NV50_CRC_SOURCE_RG)
drivers/gpu/drm/nouveau/dispnv50/crcc37d.h
37
enum nv50_crc_source source, int idx);
drivers/gpu/drm/nouveau/dispnv50/crcc57d.c
13
static int crcc57d_set_src(struct nv50_head *head, int or, enum nv50_crc_source_type source,
drivers/gpu/drm/nouveau/dispnv50/crcc57d.c
24
switch (source) {
drivers/gpu/drm/nouveau/dispnv50/crcc57d.c
39
if (source) {
drivers/gpu/drm/nouveau/dispnv50/crcca7d.c
43
crcca7d_set_src(struct nv50_head *head, int or, enum nv50_crc_source_type source,
drivers/gpu/drm/nouveau/dispnv50/crcca7d.c
50
if (!source) {
drivers/gpu/drm/nouveau/dispnv50/crcca7d.c
60
switch (source) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
188
char *source;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
193
source = optarg ? kstrndup(optarg, optlen, GFP_KERNEL) : NULL;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
194
if (source) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
198
!strcasecmp(source, mthd->func->name)) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
208
shadow_method(bios, mthd, source);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
213
nvkm_error(subdev, "%s invalid\n", source);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
214
kfree(source);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
215
source = NULL;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
243
best->func->name : source);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
246
kfree(source);
drivers/gpu/drm/omapdrm/dss/dsi.c
1838
switch (dsi->vc[vc].source) {
drivers/gpu/drm/omapdrm/dss/dsi.c
1893
dsi->vc[vc].source = DSI_VC_SOURCE_L4;
drivers/gpu/drm/omapdrm/dss/dsi.c
3405
dsi->vc[VC_CMD].source = DSI_VC_SOURCE_L4;
drivers/gpu/drm/omapdrm/dss/dsi.c
3411
dsi->vc[VC_VIDEO].source = DSI_VC_SOURCE_VP;
drivers/gpu/drm/omapdrm/dss/dsi.c
4994
dsi->vc[i].source = DSI_VC_SOURCE_L4;
drivers/gpu/drm/omapdrm/dss/dsi.c
793
enum dss_clk_source source;
drivers/gpu/drm/omapdrm/dss/dsi.c
795
source = dss_get_dsi_clk_source(dsi->dss, dsi->module_id);
drivers/gpu/drm/omapdrm/dss/dsi.c
796
if (source == DSS_CLK_SRC_FCK) {
drivers/gpu/drm/omapdrm/dss/dsi.h
372
enum dsi_vc_source source;
drivers/gpu/drm/radeon/ci_dpm.c
1388
enum radeon_dpm_auto_throttle_src source,
drivers/gpu/drm/radeon/ci_dpm.c
1394
if (!(pi->active_auto_throttle_sources & (1 << source))) {
drivers/gpu/drm/radeon/ci_dpm.c
1395
pi->active_auto_throttle_sources |= 1 << source;
drivers/gpu/drm/radeon/ci_dpm.c
1399
if (pi->active_auto_throttle_sources & (1 << source)) {
drivers/gpu/drm/radeon/ci_dpm.c
1400
pi->active_auto_throttle_sources &= ~(1 << source);
drivers/gpu/drm/radeon/rv6xx_dpm.c
1389
enum radeon_dpm_auto_throttle_src source,
drivers/gpu/drm/radeon/rv6xx_dpm.c
1395
if (!(pi->active_auto_throttle_sources & (1 << source))) {
drivers/gpu/drm/radeon/rv6xx_dpm.c
1396
pi->active_auto_throttle_sources |= 1 << source;
drivers/gpu/drm/radeon/rv6xx_dpm.c
1400
if (pi->active_auto_throttle_sources & (1 << source)) {
drivers/gpu/drm/radeon/rv6xx_dpm.c
1401
pi->active_auto_throttle_sources &= ~(1 << source);
drivers/gpu/drm/radeon/rv770_dpm.c
1852
enum radeon_dpm_auto_throttle_src source,
drivers/gpu/drm/radeon/rv770_dpm.c
1858
if (!(pi->active_auto_throttle_sources & (1 << source))) {
drivers/gpu/drm/radeon/rv770_dpm.c
1859
pi->active_auto_throttle_sources |= 1 << source;
drivers/gpu/drm/radeon/rv770_dpm.c
1863
if (pi->active_auto_throttle_sources & (1 << source)) {
drivers/gpu/drm/radeon/rv770_dpm.c
1864
pi->active_auto_throttle_sources &= ~(1 << source);
drivers/gpu/drm/radeon/rv770_dpm.h
251
enum radeon_dpm_auto_throttle_src source,
drivers/gpu/drm/radeon/si_dpm.c
3258
enum radeon_dpm_auto_throttle_src source,
drivers/gpu/drm/radeon/si_dpm.c
3264
if (!(pi->active_auto_throttle_sources & (1 << source))) {
drivers/gpu/drm/radeon/si_dpm.c
3265
pi->active_auto_throttle_sources |= 1 << source;
drivers/gpu/drm/radeon/si_dpm.c
3269
if (pi->active_auto_throttle_sources & (1 << source)) {
drivers/gpu/drm/radeon/si_dpm.c
3270
pi->active_auto_throttle_sources &= ~(1 << source);
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1013
state->crc.source = VSP1_DU_CRC_NONE;
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1040
enum vsp1_du_crc_source *source)
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1052
*source = VSP1_DU_CRC_NONE;
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1055
*source = VSP1_DU_CRC_OUTPUT;
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1060
*source = VSP1_DU_CRC_PLANE;
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1080
enum vsp1_du_crc_source source;
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1082
if (rcar_du_crtc_parse_crc_source(rcrtc, source_name, &source) < 0) {
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1107
enum vsp1_du_crc_source source;
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1111
ret = rcar_du_crtc_parse_crc_source(rcrtc, source_name, &source);
drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c
1134
rcrtc_state->crc.source = source;
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
104
if (state->source == RCAR_DU_PLANE_VSPD0) {
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
110
} else if (state->source == RCAR_DU_PLANE_VSPD1) {
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
342
if (state->source == RCAR_DU_PLANE_MEMORY) {
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
499
if (state->source != RCAR_DU_PLANE_MEMORY)
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
576
if (state->source == RCAR_DU_PLANE_VSPD1) {
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
64
if (old_state->source != new_state->source)
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
673
if ((old_rstate->source == RCAR_DU_PLANE_MEMORY) !=
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
674
(new_rstate->source == RCAR_DU_PLANE_MEMORY))
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
731
state->source = RCAR_DU_PLANE_MEMORY;
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.h
55
enum rcar_du_plane_source source;
drivers/gpu/drm/renesas/rcar-du/rcar_du_vsp.c
78
.source = RCAR_DU_PLANE_VSPD1,
drivers/gpu/drm/stm/ltdc.c
1152
static int ltdc_crtc_set_crc_source(struct drm_crtc *crtc, const char *source)
drivers/gpu/drm/stm/ltdc.c
1164
if (source && strcmp(source, "auto") == 0) {
drivers/gpu/drm/stm/ltdc.c
1167
} else if (!source) {
drivers/gpu/drm/stm/ltdc.c
1179
const char *source, size_t *values_cnt)
drivers/gpu/drm/stm/ltdc.c
1186
if (source && strcmp(source, "auto") != 0) {
drivers/gpu/drm/stm/ltdc.c
1188
source, crtc->name);
drivers/gpu/drm/tegra/hdmi.c
490
u32 source, value;
drivers/gpu/drm/tegra/hdmi.c
496
source = SOR_AUDIO_CNTRL0_SOURCE_SELECT_HDAL;
drivers/gpu/drm/tegra/hdmi.c
504
source = SOR_AUDIO_CNTRL0_SOURCE_SELECT_SPDIF;
drivers/gpu/drm/tegra/hdmi.c
506
source = AUDIO_CNTRL0_SOURCE_SELECT_SPDIF;
drivers/gpu/drm/tegra/hdmi.c
511
source = SOR_AUDIO_CNTRL0_SOURCE_SELECT_AUTO;
drivers/gpu/drm/tegra/hdmi.c
513
source = AUDIO_CNTRL0_SOURCE_SELECT_AUTO;
drivers/gpu/drm/tegra/hdmi.c
540
value |= source;
drivers/gpu/drm/tegra/hdmi.c
553
value |= source;
drivers/gpu/drm/v3d/v3d_perfmon.c
242
u32 source = i / 4;
drivers/gpu/drm/v3d/v3d_perfmon.c
255
V3D_CORE_WRITE(0, V3D_V4_PCTR_0_SRC_X(source), channel);
drivers/gpu/drm/xe/abi/gsc_proxy_commands_abi.h
26
u32 source; /* Source of the Proxy message */
drivers/gpu/drm/xe/xe_gsc_proxy.c
156
u32 source, u32 dest, u32 max_size)
drivers/gpu/drm/xe/xe_gsc_proxy.c
162
if (header->destination != dest || header->source != source) {
drivers/gpu/drm/xe/xe_gsc_proxy.c
194
header->source, source, header->destination, dest,
drivers/gpu/drm/xe/xe_gsc_proxy.c
214
proxy_header_wr(xe, map, offset, source, GSC_PROXY_ADDRESSING_KMD);
drivers/gpu/drm/xe/xe_guc_capture.c
1310
node->source = XE_ENGINE_CAPTURE_SOURCE_GUC;
drivers/gpu/drm/xe/xe_guc_capture.c
1671
new->source = XE_ENGINE_CAPTURE_SOURCE_MANUAL;
drivers/gpu/drm/xe/xe_guc_capture.c
1835
devcore_snapshot->matched_node->source == XE_ENGINE_CAPTURE_SOURCE_GUC ?
drivers/gpu/drm/xe/xe_guc_capture.c
1900
if (ss->matched_node && ss->matched_node->source == XE_ENGINE_CAPTURE_SOURCE_GUC)
drivers/gpu/drm/xe/xe_guc_capture.c
1925
n->source == XE_ENGINE_CAPTURE_SOURCE_GUC) {
drivers/gpu/drm/xe/xe_guc_capture.c
77
enum xe_hw_engine_snapshot_source_id source;
drivers/gpu/drm/xe/xe_memirq.c
194
memirq->source = IOSYS_MAP_INIT_OFFSET(&bo->vmap, XE_MEMIRQ_SOURCE_OFFSET(0));
drivers/gpu/drm/xe/xe_memirq.c
198
memirq_assert(memirq, !memirq->source.is_iomem);
drivers/gpu/drm/xe/xe_memirq.c
338
u32 source, status;
drivers/gpu/drm/xe/xe_memirq.c
343
source = __memirq_source_page(memirq, 0) + offset;
drivers/gpu/drm/xe/xe_memirq.c
347
source);
drivers/gpu/drm/xe/xe_memirq.c
519
memirq_assert(memirq, !memirq->source.is_iomem);
drivers/gpu/drm/xe/xe_memirq.c
520
memirq_debug(memirq, "SOURCE %*ph\n", 32, memirq->source.vaddr);
drivers/gpu/drm/xe/xe_memirq.c
521
memirq_debug(memirq, "SOURCE %*ph\n", 32, memirq->source.vaddr + 32);
drivers/gpu/drm/xe/xe_memirq.c
533
if (memirq_received(memirq, &memirq->source, ilog2(INTR_GUC), "SRC")) {
drivers/gpu/drm/xe/xe_memirq.c
541
if (memirq_received(memirq, &memirq->source, ilog2(INTR_MGUC), "SRC")) {
drivers/gpu/drm/xe/xe_memirq_types.h
31
struct iosys_map source;
drivers/hid/bpf/hid_bpf_dispatch.c
111
ret = e->hid_hw_request(&ctx_kern.ctx, reportnum, rtype, reqtype, source);
drivers/hid/bpf/hid_bpf_dispatch.c
124
__u8 *buf, u32 size, u64 source,
drivers/hid/bpf/hid_bpf_dispatch.c
148
ret = e->hid_hw_output_report(&ctx_kern.ctx, source);
drivers/hid/bpf/hid_bpf_dispatch.c
27
u32 *size, int interrupt, u64 source, bool from_bpf)
drivers/hid/bpf/hid_bpf_dispatch.c
57
ret = e->hid_device_event(&ctx_kern.ctx, type, source);
drivers/hid/bpf/hid_bpf_dispatch.c
85
u64 source, bool from_bpf)
drivers/hid/bpf/hid_bpf_struct_ops.c
269
static int __hid_bpf_device_event(struct hid_bpf_ctx *ctx, enum hid_report_type type, u64 source)
drivers/hid/bpf/hid_bpf_struct_ops.c
281
u64 source)
drivers/hid/bpf/hid_bpf_struct_ops.c
286
static int __hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, u64 source)
drivers/hid/hid-core.c
2090
u8 *data, u32 size, int interrupt, u64 source, bool from_bpf,
drivers/hid/hid-core.c
2116
data = dispatch_hid_bpf_device_event(hid, type, data, &size, interrupt, source, from_bpf);
drivers/hid/hid-core.c
2478
u64 source, bool from_bpf)
drivers/hid/hid-core.c
2490
reqtype, source, from_bpf);
drivers/hid/hid-core.c
2520
int __hid_hw_output_report(struct hid_device *hdev, __u8 *buf, size_t len, u64 source,
drivers/hid/hid-core.c
2532
ret = dispatch_hid_bpf_output_report(hdev, buf, len, source, from_bpf);
drivers/hwmon/asus_wmi_sensors.c
152
int source;
drivers/hwmon/asus_wmi_sensors.c
327
s->source = source_obj.integer.value;
drivers/hwmon/asus_wmi_sensors.c
343
static int asus_wmi_update_buffer(int source)
drivers/hwmon/asus_wmi_sensors.c
346
u32 args[] = {source, 0};
drivers/hwmon/asus_wmi_sensors.c
379
static int asus_wmi_update_values_for_source(u8 source, struct asus_wmi_sensors *sensor_data)
drivers/hwmon/asus_wmi_sensors.c
388
if (sensor && sensor->source == source) {
drivers/hwmon/asus_wmi_sensors.c
425
if (time_after(jiffies, sensor_data->wmi.source_last_updated[sensor->source] + HZ)) {
drivers/hwmon/asus_wmi_sensors.c
426
ret = asus_wmi_update_buffer(sensor->source);
drivers/hwmon/asus_wmi_sensors.c
430
ret = asus_wmi_update_values_for_source(sensor->source, sensor_data);
drivers/hwmon/asus_wmi_sensors.c
434
sensor_data->wmi.source_last_updated[sensor->source] = jiffies;
drivers/hwmon/nct6775-core.c
1767
int source = data->temp_src[index];
drivers/hwmon/nct6775-core.c
1776
if ((src & 0x1f) == source)
drivers/hwtracing/coresight/coresight-core.c
1025
struct coresight_device *source = to_coresight_device(dev);
drivers/hwtracing/coresight/coresight-core.c
1027
if (source->def_sink == sink)
drivers/hwtracing/coresight/coresight-core.c
1028
source->def_sink = NULL;
drivers/hwtracing/coresight/coresight-core.c
1142
struct coresight_device *source = data;
drivers/hwtracing/coresight/coresight-core.c
1146
if (csdev->pdata->out_conns[i]->filter_src_dev == source)
drivers/hwtracing/coresight/coresight-core.c
317
struct coresight_device *source)
drivers/hwtracing/coresight/coresight-core.c
325
inconn = coresight_find_out_connection(parent, csdev, source);
drivers/hwtracing/coresight/coresight-core.c
326
outconn = coresight_find_out_connection(csdev, child, source);
drivers/hwtracing/coresight/coresight-core.c
340
struct coresight_device *source)
drivers/hwtracing/coresight/coresight-core.c
347
inconn = coresight_find_out_connection(parent, csdev, source);
drivers/hwtracing/coresight/coresight-core.c
348
outconn = coresight_find_out_connection(csdev, child, source);
drivers/hwtracing/coresight/coresight-core.c
511
struct coresight_device *source;
drivers/hwtracing/coresight/coresight-core.c
513
source = coresight_get_source(path);
drivers/hwtracing/coresight/coresight-core.c
553
ret = coresight_enable_link(csdev, parent, child, source);
drivers/hwtracing/coresight/coresight-core.c
774
struct coresight_device *source,
drivers/hwtracing/coresight/coresight-core.c
788
if (_coresight_build_path(sink, source, sink, path) == 0) {
drivers/hwtracing/coresight/coresight-core.c
800
if (coresight_blocks_source(source, csdev->pdata->out_conns[i]))
drivers/hwtracing/coresight/coresight-core.c
804
_coresight_build_path(child_dev, source, sink, path) == 0) {
drivers/hwtracing/coresight/coresight-core.c
834
struct coresight_path *coresight_build_path(struct coresight_device *source,
drivers/hwtracing/coresight/coresight-core.c
849
rc = _coresight_build_path(source, source, sink, path);
drivers/hwtracing/stm/core.c
603
unsigned int chan, const char *buf, size_t count, struct stm_source_data *source)
drivers/hwtracing/stm/core.c
611
err = stm->pdrv->write(stm->data, output, chan, buf, count, source);
drivers/hwtracing/stm/p_basic.c
14
struct stm_source_data *source)
drivers/hwtracing/stm/p_sys-t.c
315
static inline u32 sys_t_header(struct stm_source_data *source)
drivers/hwtracing/stm/p_sys-t.c
317
if (source && source->type == STM_FTRACE)
drivers/hwtracing/stm/p_sys-t.c
323
struct stm_source_data *source,
drivers/hwtracing/stm/p_sys-t.c
335
if (source && source->type == STM_FTRACE) {
drivers/hwtracing/stm/p_sys-t.c
370
struct stm_source_data *source)
drivers/hwtracing/stm/p_sys-t.c
375
u32 header = sys_t_header(source);
drivers/hwtracing/stm/p_sys-t.c
432
return sys_t_write_data(data, source, m, c, false, buf, count);
drivers/hwtracing/stm/stm.h
99
const char *buf, size_t count, struct stm_source_data *source);
drivers/iio/afe/iio-rescale.c
163
return iio_read_channel_processed(rescale->source, val);
drivers/iio/afe/iio-rescale.c
165
return iio_read_channel_raw(rescale->source, val);
drivers/iio/afe/iio-rescale.c
176
ret = iio_read_channel_scale(rescale->source, val, val2);
drivers/iio/afe/iio-rescale.c
209
if (iio_channel_has_info(rescale->source->channel,
drivers/iio/afe/iio-rescale.c
211
ret = iio_read_channel_offset(rescale->source,
drivers/iio/afe/iio-rescale.c
217
if (iio_channel_has_info(rescale->source->channel,
drivers/iio/afe/iio-rescale.c
219
ret = iio_read_channel_scale(rescale->source, &scale, &scale2);
drivers/iio/afe/iio-rescale.c
245
return iio_read_avail_channel_raw(rescale->source,
drivers/iio/afe/iio-rescale.c
264
return iio_read_channel_ext_info(rescale->source,
drivers/iio/afe/iio-rescale.c
276
return iio_write_channel_ext_info(rescale->source,
drivers/iio/afe/iio-rescale.c
285
struct iio_chan_spec const *schan = rescale->source->channel;
drivers/iio/afe/iio-rescale.c
525
struct iio_channel *source;
drivers/iio/afe/iio-rescale.c
532
source = devm_iio_channel_get(dev, NULL);
drivers/iio/afe/iio-rescale.c
533
if (IS_ERR(source))
drivers/iio/afe/iio-rescale.c
534
return dev_err_probe(dev, PTR_ERR(source),
drivers/iio/afe/iio-rescale.c
537
sizeof_ext_info = iio_get_channel_ext_info_count(source);
drivers/iio/afe/iio-rescale.c
567
rescale->source = source;
drivers/iio/afe/iio-rescale.c
576
source->channel->ext_info,
drivers/iio/afe/iio-rescale.c
585
if (source->channel->ext_info[i].read)
drivers/iio/afe/iio-rescale.c
587
if (source->channel->ext_info[i].write)
drivers/iio/dac/ad3552r-hs.c
548
int ret, source;
drivers/iio/dac/ad3552r-hs.c
569
source = IIO_BACKEND_INTERNAL_RAMP_16BIT;
drivers/iio/dac/ad3552r-hs.c
572
source = IIO_BACKEND_EXTERNAL;
drivers/iio/dac/ad3552r-hs.c
578
ret = ad3552r_hs_set_data_source(st, source);
drivers/iio/dac/ad5766.c
22
#define AD5766_DITHER_SOURCE(ch, source) BIT((ch * 2) + source)
drivers/iio/dac/ad5766.c
289
u32 source;
drivers/iio/dac/ad5766.c
291
source = st->dither_source & AD5766_DITHER_SOURCE_MASK(chan->channel);
drivers/iio/dac/ad5766.c
292
source = source >> (chan->channel * 2);
drivers/iio/dac/ad5766.c
293
source -= 1;
drivers/iio/dac/ad5766.c
295
return source;
drivers/iio/dac/ad5766.c
300
unsigned int source)
drivers/iio/dac/ad5766.c
307
st->dither_source |= AD5766_DITHER_SOURCE(chan->channel, source);
drivers/iio/proximity/irsd200.c
681
unsigned int source = 0;
drivers/iio/proximity/irsd200.c
686
ret = regmap_read(data->regmap, IRS_REG_INTR, &source);
drivers/iio/proximity/irsd200.c
706
source & BIT(IRS_INTR_COUNT_THR_OR)) {
drivers/infiniband/core/lag.c
36
uh->source =
drivers/infiniband/hw/cxgb4/cm.c
4139
ntohs(tcph->source), iph->tos);
drivers/infiniband/hw/cxgb4/cm.c
4143
tcph->source, iph->tos);
drivers/infiniband/hw/cxgb4/cm.c
4194
tcph->source, ntohl(tcph->seq), filter, window,
drivers/infiniband/hw/hfi1/chip.c
1021
static void handle_qsfp_int(struct hfi1_devdata *dd, u32 source, u64 reg);
drivers/infiniband/hw/hfi1/chip.c
1076
void (*handler)(struct hfi1_devdata *dd, u32 source, u64 reg);
drivers/infiniband/hw/hfi1/chip.c
5334
static char *is_misc_err_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5336
if (source < ARRAY_SIZE(cce_misc_names))
drivers/infiniband/hw/hfi1/chip.c
5337
strscpy_pad(buf, cce_misc_names[source], bsize);
drivers/infiniband/hw/hfi1/chip.c
5340
source + IS_GENERAL_ERR_START);
drivers/infiniband/hw/hfi1/chip.c
5348
static char *is_sdma_eng_err_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5350
snprintf(buf, bsize, "SDmaEngErrInt%u", source);
drivers/infiniband/hw/hfi1/chip.c
5357
static char *is_sendctxt_err_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5359
snprintf(buf, bsize, "SendCtxtErrInt%u", source);
drivers/infiniband/hw/hfi1/chip.c
5374
static char *is_various_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5376
if (source < ARRAY_SIZE(various_names))
drivers/infiniband/hw/hfi1/chip.c
5377
strscpy_pad(buf, various_names[source], bsize);
drivers/infiniband/hw/hfi1/chip.c
5379
snprintf(buf, bsize, "Reserved%u", source + IS_VARIOUS_START);
drivers/infiniband/hw/hfi1/chip.c
5386
static char *is_dc_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5395
if (source < ARRAY_SIZE(dc_int_names))
drivers/infiniband/hw/hfi1/chip.c
5396
snprintf(buf, bsize, "dc_%s_int", dc_int_names[source]);
drivers/infiniband/hw/hfi1/chip.c
5398
snprintf(buf, bsize, "DCInt%u", source);
drivers/infiniband/hw/hfi1/chip.c
5411
static char *is_sdma_eng_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5414
unsigned int what = source / TXE_NUM_SDMA_ENGINES;
drivers/infiniband/hw/hfi1/chip.c
5416
unsigned int which = source % TXE_NUM_SDMA_ENGINES;
drivers/infiniband/hw/hfi1/chip.c
5421
snprintf(buf, bsize, "Invalid SDMA interrupt %u", source);
drivers/infiniband/hw/hfi1/chip.c
5428
static char *is_rcv_avail_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5430
snprintf(buf, bsize, "RcvAvailInt%u", source);
drivers/infiniband/hw/hfi1/chip.c
5437
static char *is_rcv_urgent_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5439
snprintf(buf, bsize, "RcvUrgentInt%u", source);
drivers/infiniband/hw/hfi1/chip.c
5446
static char *is_send_credit_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5448
snprintf(buf, bsize, "SendCreditInt%u", source);
drivers/infiniband/hw/hfi1/chip.c
5455
static char *is_reserved_name(char *buf, size_t bsize, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5457
snprintf(buf, bsize, "Reserved%u", source + IS_RESERVED_START);
drivers/infiniband/hw/hfi1/chip.c
5918
static void is_misc_err_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
5920
const struct err_reg_info *eri = &misc_errs[source];
drivers/infiniband/hw/hfi1/chip.c
5926
source);
drivers/infiniband/hw/hfi1/chip.c
6006
unsigned int source, u64 status)
drivers/infiniband/hw/hfi1/chip.c
6011
sde = &dd->per_sdma[source];
drivers/infiniband/hw/hfi1/chip.c
6016
sde->this_idx, source, (unsigned long long)status);
drivers/infiniband/hw/hfi1/chip.c
6035
static void is_sdma_eng_err_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
6038
struct sdma_engine *sde = &dd->per_sdma[source];
drivers/infiniband/hw/hfi1/chip.c
6043
source);
drivers/infiniband/hw/hfi1/chip.c
6046
interrupt_clear_down(dd, source, &sdma_eng_err);
drivers/infiniband/hw/hfi1/chip.c
6052
static void is_various_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
6054
const struct err_reg_info *eri = &various_err[source];
drivers/infiniband/hw/hfi1/chip.c
6061
if (source == TCRIT_INT_SOURCE)
drivers/infiniband/hw/hfi1/chip.c
6068
__func__, source);
drivers/infiniband/hw/hfi1/chip.c
8098
static void is_dc_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
8100
const struct err_reg_info *eri = &dc_errs[source];
drivers/infiniband/hw/hfi1/chip.c
8104
} else if (source == 3 /* dc_lbm_int */) {
drivers/infiniband/hw/hfi1/chip.c
8116
dd_dev_err(dd, "Invalid DC interrupt %u\n", source);
drivers/infiniband/hw/hfi1/chip.c
8123
static void is_send_credit_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
8125
sc_group_release_update(dd, source);
drivers/infiniband/hw/hfi1/chip.c
8137
static void is_sdma_eng_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
8140
unsigned int what = source / TXE_NUM_SDMA_ENGINES;
drivers/infiniband/hw/hfi1/chip.c
8142
unsigned int which = source % TXE_NUM_SDMA_ENGINES;
drivers/infiniband/hw/hfi1/chip.c
8151
sdma_engine_interrupt(&dd->per_sdma[which], 1ull << source);
drivers/infiniband/hw/hfi1/chip.c
8154
dd_dev_err(dd, "Invalid SDMA interrupt 0x%x\n", source);
drivers/infiniband/hw/hfi1/chip.c
8168
static void is_rcv_avail_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
8173
if (likely(source < dd->num_rcv_contexts)) {
drivers/infiniband/hw/hfi1/chip.c
8174
rcd = hfi1_rcd_get_by_index(dd, source);
drivers/infiniband/hw/hfi1/chip.c
8187
err_detail, source);
drivers/infiniband/hw/hfi1/chip.c
8199
static void is_rcv_urgent_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
8204
if (likely(source < dd->num_rcv_contexts)) {
drivers/infiniband/hw/hfi1/chip.c
8205
rcd = hfi1_rcd_get_by_index(dd, source);
drivers/infiniband/hw/hfi1/chip.c
8218
err_detail, source);
drivers/infiniband/hw/hfi1/chip.c
8224
static void is_reserved_int(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
8229
is_reserved_name(name, sizeof(name), source));
drivers/infiniband/hw/hfi1/chip.c
8263
static void is_interrupt(struct hfi1_devdata *dd, unsigned int source)
drivers/infiniband/hw/hfi1/chip.c
8269
if (source <= entry->end) {
drivers/infiniband/hw/hfi1/chip.c
8270
trace_hfi1_interrupt(dd, entry, source);
drivers/infiniband/hw/hfi1/chip.c
8271
entry->is_int(dd, source - entry->start);
drivers/infiniband/hw/hfi1/chip.c
8276
dd_dev_err(dd, "invalid interrupt source %u\n", source);
drivers/infiniband/hw/hfi1/chip.h
1423
char *(*is_name)(char *name, size_t size, unsigned int source);
drivers/infiniband/hw/hfi1/chip.h
1425
void (*is_int)(struct hfi1_devdata *dd, unsigned int source);
drivers/infiniband/hw/irdma/cm.c
3198
cm_info.rem_port = ntohs(tcph->source);
drivers/infiniband/hw/irdma/cm.c
349
tcph->source = htons(cm_node->loc_port);
drivers/infiniband/hw/irdma/cm.c
537
tcph->source = htons(cm_node->loc_port);
drivers/infiniband/hw/irdma/utils.c
1417
rem_port = ntohs(tcph->source);
drivers/infiniband/hw/mthca/mthca_dev.h
387
#define MTHCA_GET(dest, source, offset) \
drivers/infiniband/hw/mthca/mthca_dev.h
389
void *__p = (char *) (source) + (offset); \
drivers/infiniband/hw/mthca/mthca_dev.h
399
#define MTHCA_PUT(dest, source, offset) \
drivers/infiniband/hw/mthca/mthca_dev.h
402
switch (sizeof(source)) { \
drivers/infiniband/hw/mthca/mthca_dev.h
403
case 1: *(u8 *) __d = (source); break; \
drivers/infiniband/hw/mthca/mthca_dev.h
404
case 2: *(__be16 *) __d = cpu_to_be16(source); break; \
drivers/infiniband/hw/mthca/mthca_dev.h
405
case 4: *(__be32 *) __d = cpu_to_be32(source); break; \
drivers/infiniband/hw/mthca/mthca_dev.h
406
case 8: *(__be64 *) __d = cpu_to_be64(source); break; \
drivers/infiniband/sw/rxe/rxe_net.c
302
udph->source = src_port;
drivers/iommu/hyperv-iommu.c
211
if (data->entry.source == HV_DEVICE_TYPE_IOAPIC
drivers/iommu/hyperv-iommu.c
218
data->entry.source = 0; /* Invalid source */
drivers/iommu/hyperv-iommu.c
316
if (e->source == HV_DEVICE_TYPE_IOAPIC &&
drivers/leds/leds-an30259a.c
211
u32 source;
drivers/leds/leds-an30259a.c
213
ret = of_property_read_u32(child, "reg", &source);
drivers/leds/leds-an30259a.c
214
if (ret != 0 || !source || source > AN30259A_MAX_LEDS) {
drivers/leds/leds-an30259a.c
223
led->num = source;
drivers/leds/leds-aw200xx.c
392
u32 source;
drivers/leds/leds-aw200xx.c
395
ret = fwnode_property_read_u32(child, "reg", &source);
drivers/leds/leds-aw200xx.c
396
if (ret || source >= chip->cdef->channels)
drivers/leds/leds-aw200xx.c
399
max_source = max(max_source, source);
drivers/leds/leds-aw200xx.c
429
u32 source, imax;
drivers/leds/leds-aw200xx.c
431
ret = fwnode_property_read_u32(child, "reg", &source);
drivers/leds/leds-aw200xx.c
438
if (source >= chip->cdef->channels) {
drivers/leds/leds-aw200xx.c
440
source, chip->cdef->channels);
drivers/leds/leds-aw200xx.c
461
led->num = source;
drivers/leds/leds-aw2013.c
278
u32 source;
drivers/leds/leds-aw2013.c
281
ret = of_property_read_u32(child, "reg", &source);
drivers/leds/leds-aw2013.c
282
if (ret != 0 || source >= AW2013_MAX_LEDS) {
drivers/leds/leds-aw2013.c
290
led->num = source;
drivers/md/dm-kcopyd.c
362
struct dm_io_region source;
drivers/md/dm-kcopyd.c
434
job->master_job->write_offset += job->source.count;
drivers/md/dm-kcopyd.c
581
r = dm_io(&io_req, 1, &job->source, NULL, IOPRIO_DEFAULT);
drivers/md/dm-kcopyd.c
684
if (unlikely(!job->source.count))
drivers/md/dm-kcopyd.c
719
count = job->source.count - progress;
drivers/md/dm-kcopyd.c
734
sub_job->source.sector += progress;
drivers/md/dm-kcopyd.c
735
sub_job->source.count = count;
drivers/md/dm-kcopyd.c
825
job->source = *from;
drivers/md/dm-kcopyd.c
829
memset(&job->source, 0, sizeof(job->source));
drivers/md/dm-kcopyd.c
830
job->source.count = job->dests[0].count;
drivers/md/dm-kcopyd.c
849
if (job->source.count <= kc->sub_job_size)
drivers/md/dm-vdo/dedupe.c
510
const struct zoned_pbn source)
drivers/md/dm-vdo/dedupe.c
512
data_vio->is_duplicate = (source.pbn != VDO_ZERO_BLOCK);
drivers/md/dm-vdo/dedupe.c
513
data_vio->duplicate = source;
drivers/md/dm-vdo/indexer/delta-index.c
1583
u64 source;
drivers/md/dm-vdo/indexer/delta-index.c
1643
source = delta_list->start;
drivers/md/dm-vdo/indexer/delta-index.c
1644
destination = source - size;
drivers/md/dm-vdo/indexer/delta-index.c
1648
source = delta_list->start + delta_entry->offset;
drivers/md/dm-vdo/indexer/delta-index.c
1649
destination = source + size;
drivers/md/dm-vdo/indexer/delta-index.c
165
u64 source;
drivers/md/dm-vdo/indexer/delta-index.c
1654
move_bits(memory, source, memory, destination, count);
drivers/md/dm-vdo/indexer/delta-index.c
168
source = get_delta_list_byte_start(delta_list);
drivers/md/dm-vdo/indexer/delta-index.c
172
delta_zone->memory + source,
drivers/md/dm-vdo/indexer/delta-index.c
1802
u64 source;
drivers/md/dm-vdo/indexer/delta-index.c
1833
source = delta_list->start;
drivers/md/dm-vdo/indexer/delta-index.c
1834
destination = source + size;
drivers/md/dm-vdo/indexer/delta-index.c
1839
source = destination + size;
drivers/md/dm-vdo/indexer/delta-index.c
1843
move_bits(memory, source, memory, destination, count);
drivers/md/dm-vdo/indexer/delta-index.c
604
const u8 *source;
drivers/md/dm-vdo/indexer/delta-index.c
620
source = from + (from_offset - offset) / BITS_PER_BYTE;
drivers/md/dm-vdo/indexer/delta-index.c
623
put_unaligned_le32(get_unaligned_le64(source) >> offset, destination);
drivers/md/dm-vdo/indexer/delta-index.c
624
source += sizeof(u32);
drivers/md/dm-vdo/indexer/delta-index.c
644
const u8 *source;
drivers/md/dm-vdo/indexer/delta-index.c
660
source = from + (from_offset + size - offset) / BITS_PER_BYTE;
drivers/md/dm-vdo/indexer/delta-index.c
663
source -= sizeof(u32);
drivers/md/dm-vdo/indexer/delta-index.c
666
put_unaligned_le32(get_unaligned_le64(source) >> offset, destination);
drivers/md/dm-vdo/indexer/geometry.c
111
int uds_copy_index_geometry(struct index_geometry *source,
drivers/md/dm-vdo/indexer/geometry.c
114
return uds_make_index_geometry(source->bytes_per_page,
drivers/md/dm-vdo/indexer/geometry.c
115
source->record_pages_per_chapter,
drivers/md/dm-vdo/indexer/geometry.c
116
source->chapters_per_volume,
drivers/md/dm-vdo/indexer/geometry.c
117
source->sparse_chapters_per_volume,
drivers/md/dm-vdo/indexer/geometry.c
118
source->remapped_virtual, source->remapped_physical,
drivers/md/dm-vdo/indexer/geometry.h
104
int __must_check uds_copy_index_geometry(struct index_geometry *source,
drivers/md/dm-vdo/indexer/sparse-cache.c
479
static inline void copy_search_list(const struct search_list *source,
drivers/md/dm-vdo/indexer/sparse-cache.c
482
*target = *source;
drivers/md/dm-vdo/indexer/sparse-cache.c
483
memcpy(target->entries, source->entries,
drivers/md/dm-vdo/indexer/sparse-cache.c
484
source->capacity * sizeof(struct cached_chapter_index *));
drivers/md/dm-writecache.c
1210
static void memcpy_flushcache_optimized(void *dest, void *source, size_t size)
drivers/md/dm-writecache.c
1234
memcpy((void *)dest, (void *)source, 64);
drivers/md/dm-writecache.c
1237
source += 64;
drivers/md/dm-writecache.c
1243
memcpy_flushcache(dest, source, size);
drivers/media/common/b2c2/flexcop.c
82
fc->hw_frontend.source = DMX_FRONTEND_0;
drivers/media/common/b2c2/flexcop.c
99
fc->mem_frontend.source = DMX_MEMORY_FE;
drivers/media/common/saa7146/saa7146_hlp.c
16
static void calculate_hps_source_and_sync(struct saa7146_dev *dev, int source, int sync, u32* hps_ctrl)
drivers/media/common/saa7146/saa7146_hlp.c
19
*hps_ctrl |= (source << 30) | (sync << 28);
drivers/media/common/saa7146/saa7146_hlp.c
313
int source = vv->current_hps_source;
drivers/media/common/saa7146/saa7146_hlp.c
331
calculate_hps_source_and_sync(dev, source, sync, &hps_ctrl);
drivers/media/common/saa7146/saa7146_hlp.c
357
void saa7146_set_hps_source_and_sync(struct saa7146_dev *dev, int source, int sync)
drivers/media/common/saa7146/saa7146_hlp.c
366
hps_ctrl |= (source << 30) | (sync << 28);
drivers/media/common/saa7146/saa7146_hlp.c
372
vv->current_hps_source = source;
drivers/media/common/videobuf2/videobuf2-dvb.c
142
dvb->fe_hw.source = DMX_FRONTEND_0;
drivers/media/common/videobuf2/videobuf2-dvb.c
150
dvb->fe_mem.source = DMX_MEMORY_FE;
drivers/media/dvb-core/dmxdev.c
110
if (DMX_FE_ENTRY(pos)->source == type)
drivers/media/dvb-core/dvb_demux.c
1150
if ((!demux->frontend) || (demux->frontend->source != DMX_MEMORY_FE))
drivers/media/firewire/firedtv-dvb.c
128
(demux->dmx.frontend->source != DMX_MEMORY_FE))) {
drivers/media/firewire/firedtv-dvb.c
191
fdtv->frontend.source = DMX_FRONTEND_0;
drivers/media/firewire/firedtv-fw.c
196
int tcode, int destination, int source, int generation,
drivers/media/firewire/firedtv-fw.c
219
device->node_id == source &&
drivers/media/i2c/ds90ub960.c
3489
ret = v4l2_subdev_call(it.rxport->source.sd, pad,
drivers/media/i2c/ds90ub960.c
3490
get_frame_desc, it.rxport->source.pad,
drivers/media/i2c/ds90ub960.c
3736
priv->rxports[nport]->source.sd,
drivers/media/i2c/ds90ub960.c
3737
priv->rxports[nport]->source.pad,
drivers/media/i2c/ds90ub960.c
3763
priv->rxports[nport]->source.sd,
drivers/media/i2c/ds90ub960.c
3764
priv->rxports[nport]->source.pad,
drivers/media/i2c/ds90ub960.c
3822
priv->rxports[nport]->source.sd,
drivers/media/i2c/ds90ub960.c
3823
priv->rxports[nport]->source.pad,
drivers/media/i2c/ds90ub960.c
3920
ret = v4l2_subdev_call(priv->rxports[nport]->source.sd, pad,
drivers/media/i2c/ds90ub960.c
3922
priv->rxports[nport]->source.pad,
drivers/media/i2c/ds90ub960.c
4372
fwnode_handle_put(it.rxport->source.ep_fwnode);
drivers/media/i2c/ds90ub960.c
4527
rxport->source.ep_fwnode = fwnode_graph_get_remote_endpoint(ep_fwnode);
drivers/media/i2c/ds90ub960.c
4528
if (!rxport->source.ep_fwnode) {
drivers/media/i2c/ds90ub960.c
4561
fwnode_handle_put(rxport->source.ep_fwnode);
drivers/media/i2c/ds90ub960.c
4756
rxport->source.ep_fwnode,
drivers/media/i2c/ds90ub960.c
4763
rxport->source.sd = subdev;
drivers/media/i2c/ds90ub960.c
4764
rxport->source.pad = ret;
drivers/media/i2c/ds90ub960.c
4766
ret = media_create_pad_link(&rxport->source.sd->entity,
drivers/media/i2c/ds90ub960.c
4767
rxport->source.pad, &priv->sd.entity, nport,
drivers/media/i2c/ds90ub960.c
4772
rxport->source.sd->name, rxport->source.pad,
drivers/media/i2c/ds90ub960.c
4778
if (!it.rxport->source.sd) {
drivers/media/i2c/ds90ub960.c
4793
rxport->source.sd = NULL;
drivers/media/i2c/ds90ub960.c
4812
it.rxport->source.ep_fwnode,
drivers/media/i2c/ds90ub960.c
488
} source;
drivers/media/i2c/max9271.c
348
int max9271_set_translation(struct max9271_device *dev, u8 source, u8 dest)
drivers/media/i2c/max9271.c
352
ret = max9271_write(dev, 0x09, source << 1);
drivers/media/i2c/max9271.h
236
int max9271_set_translation(struct max9271_device *dev, u8 source, u8 dest);
drivers/media/i2c/max9286.c
1267
struct max9286_source *source;
drivers/media/i2c/max9286.c
1280
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
1281
ret = regulator_enable(source->regulator);
drivers/media/i2c/max9286.c
1285
enabled |= BIT(to_index(priv, source));
drivers/media/i2c/max9286.c
1291
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
1292
if (enabled & BIT(to_index(priv, source)))
drivers/media/i2c/max9286.c
1293
regulator_disable(source->regulator);
drivers/media/i2c/max9286.c
1301
struct max9286_source *source;
drivers/media/i2c/max9286.c
1311
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
1314
err = regulator_disable(source->regulator);
drivers/media/i2c/max9286.c
1384
struct max9286_source *source;
drivers/media/i2c/max9286.c
1386
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
1387
fwnode_handle_put(source->fwnode);
drivers/media/i2c/max9286.c
1388
source->fwnode = NULL;
drivers/media/i2c/max9286.c
1429
struct max9286_source *source;
drivers/media/i2c/max9286.c
1474
source = &priv->sources[ep.port];
drivers/media/i2c/max9286.c
1475
source->fwnode = fwnode_graph_get_remote_endpoint(
drivers/media/i2c/max9286.c
1477
if (!source->fwnode) {
drivers/media/i2c/max9286.c
1545
struct max9286_source *source;
drivers/media/i2c/max9286.c
1562
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
1563
unsigned int index = to_index(priv, source);
drivers/media/i2c/max9286.c
1567
source->regulator = devm_regulator_get(dev, name);
drivers/media/i2c/max9286.c
1568
if (IS_ERR(source->regulator)) {
drivers/media/i2c/max9286.c
1569
ret = PTR_ERR(source->regulator);
drivers/media/i2c/max9286.c
164
struct max9286_source *source;
drivers/media/i2c/max9286.c
210
struct max9286_source *source)
drivers/media/i2c/max9286.c
212
if (!source)
drivers/media/i2c/max9286.c
213
source = &priv->sources[0];
drivers/media/i2c/max9286.c
215
source++;
drivers/media/i2c/max9286.c
217
for (; source < &priv->sources[MAX9286_NUM_GMSL]; source++) {
drivers/media/i2c/max9286.c
218
if (source->fwnode)
drivers/media/i2c/max9286.c
219
return source;
drivers/media/i2c/max9286.c
225
#define for_each_source(priv, source) \
drivers/media/i2c/max9286.c
226
for ((source) = NULL; ((source) = next_source((priv), (source))); )
drivers/media/i2c/max9286.c
228
#define to_index(priv, source) ((source) - &(priv)->sources[0])
drivers/media/i2c/max9286.c
361
struct max9286_source *source;
drivers/media/i2c/max9286.c
376
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
377
unsigned int index = to_index(priv, source);
drivers/media/i2c/max9286.c
615
struct max9286_source *source = NULL;
drivers/media/i2c/max9286.c
618
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
623
ctrl = v4l2_ctrl_find(source->sd->ctrl_handler,
drivers/media/i2c/max9286.c
662
struct max9286_source *source = to_max9286_asd(asd)->source;
drivers/media/i2c/max9286.c
663
unsigned int index = to_index(priv, source);
drivers/media/i2c/max9286.c
668
source->fwnode,
drivers/media/i2c/max9286.c
677
source->sd = subdev;
drivers/media/i2c/max9286.c
680
ret = media_create_pad_link(&source->sd->entity, src_pad,
drivers/media/i2c/max9286.c
687
source->sd->name, src_pad, priv->sd.name, index);
drivers/media/i2c/max9286.c
724
struct max9286_source *source = to_max9286_asd(asd)->source;
drivers/media/i2c/max9286.c
725
unsigned int index = to_index(priv, source);
drivers/media/i2c/max9286.c
727
source->sd = NULL;
drivers/media/i2c/max9286.c
739
struct max9286_source *source = NULL;
drivers/media/i2c/max9286.c
747
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
748
unsigned int i = to_index(priv, source);
drivers/media/i2c/max9286.c
751
mas = v4l2_async_nf_add_fwnode(&priv->notifier, source->fwnode,
drivers/media/i2c/max9286.c
760
mas->source = source;
drivers/media/i2c/max9286.c
788
struct max9286_source *source;
drivers/media/i2c/max9286.c
815
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
816
ret = v4l2_subdev_call(source->sd, video, s_stream, 1);
drivers/media/i2c/max9286.c
862
for_each_source(priv, source)
drivers/media/i2c/max9286.c
863
v4l2_subdev_call(source->sd, video, s_stream, 0);
drivers/media/i2c/max9286.c
917
struct max9286_source *source;
drivers/media/i2c/max9286.c
940
for_each_source(priv, source) {
drivers/media/i2c/max9286.c
941
unsigned int index = to_index(priv, source);
drivers/media/i2c/max96714.c
269
if (!priv->rxport.source.sd) {
drivers/media/i2c/max96714.c
280
ret = v4l2_subdev_enable_streams(priv->rxport.source.sd,
drivers/media/i2c/max96714.c
281
priv->rxport.source.pad,
drivers/media/i2c/max96714.c
314
ret = v4l2_subdev_disable_streams(priv->rxport.source.sd,
drivers/media/i2c/max96714.c
315
priv->rxport.source.pad,
drivers/media/i2c/max96714.c
513
priv->rxport.source.ep_fwnode,
drivers/media/i2c/max96714.c
520
priv->rxport.source.sd = subdev;
drivers/media/i2c/max96714.c
521
priv->rxport.source.pad = ret;
drivers/media/i2c/max96714.c
523
ret = media_create_pad_link(&priv->rxport.source.sd->entity,
drivers/media/i2c/max96714.c
524
priv->rxport.source.pad, &priv->sd.entity,
drivers/media/i2c/max96714.c
530
priv->rxport.source.sd->name, priv->rxport.source.pad,
drivers/media/i2c/max96714.c
549
if (!rxport->source.ep_fwnode)
drivers/media/i2c/max96714.c
555
rxport->source.ep_fwnode,
drivers/media/i2c/max96714.c
815
rxport->source.ep_fwnode = fwnode_graph_get_remote_endpoint(ep_fwnode);
drivers/media/i2c/max96714.c
818
if (!rxport->source.ep_fwnode) {
drivers/media/i2c/max96714.c
837
fwnode_handle_put(rxport->source.ep_fwnode);
drivers/media/i2c/max96714.c
95
} source;
drivers/media/i2c/max96714.c
978
fwnode_handle_put(priv->rxport.source.ep_fwnode);
drivers/media/i2c/max96714.c
993
fwnode_handle_put(priv->rxport.source.ep_fwnode);
drivers/media/i2c/msp3400-kthreads.c
887
int source, matrix;
drivers/media/i2c/msp3400-kthreads.c
891
source = 0; /* mono only */
drivers/media/i2c/msp3400-kthreads.c
895
source = 4; /* stereo or B */
drivers/media/i2c/msp3400-kthreads.c
899
source = 1; /* stereo or A|B */
drivers/media/i2c/msp3400-kthreads.c
903
source = 3; /* stereo or A */
drivers/media/i2c/msp3400-kthreads.c
908
source = 3; /* stereo or A */
drivers/media/i2c/msp3400-kthreads.c
914
source = (source << 8) | 0x20;
drivers/media/i2c/msp3400-kthreads.c
918
source = ((in + 1) << 8) | matrix;
drivers/media/i2c/msp3400-kthreads.c
920
source = (in << 8) | matrix;
drivers/media/i2c/msp3400-kthreads.c
923
"set source to %d (0x%x) for output %02x\n", in, source, reg);
drivers/media/i2c/msp3400-kthreads.c
924
msp_write_dsp(client, reg, source);
drivers/media/i2c/sony-btf-mpx.c
119
u16 source;
drivers/media/i2c/sony-btf-mpx.c
160
u16 source = 0;
drivers/media/i2c/sony-btf-mpx.c
185
source = mpx_audio_modes[mode].source;
drivers/media/i2c/sony-btf-mpx.c
188
source = 0x0000;
drivers/media/i2c/sony-btf-mpx.c
191
source = 0x0200;
drivers/media/i2c/sony-btf-mpx.c
198
source = mpx_audio_modes[mode].source;
drivers/media/i2c/sony-btf-mpx.c
201
source = 0x0300;
drivers/media/i2c/sony-btf-mpx.c
204
source = 0x0400;
drivers/media/i2c/sony-btf-mpx.c
207
source |= mpx_audio_modes[mode].source & 0x00ff;
drivers/media/i2c/sony-btf-mpx.c
209
source = mpx_audio_modes[mode].source;
drivers/media/i2c/sony-btf-mpx.c
212
mpx_write(client, 0x12, 0x0008, source);
drivers/media/i2c/sony-btf-mpx.c
234
source,
drivers/media/i2c/tda1997x.c
1369
u8 reg, source;
drivers/media/i2c/tda1997x.c
1371
source = io_read(sd, REG_INT_FLG_CLR_SUS);
drivers/media/i2c/tda1997x.c
1372
io_write(sd, REG_INT_FLG_CLR_SUS, source);
drivers/media/i2c/tda1997x.c
1374
if (source & MASK_MPT) {
drivers/media/i2c/tda1997x.c
1380
if (source & MASK_SUS_END) {
drivers/media/i2c/tda1997x.c
1395
|| (source & MASK_MPT)) {
drivers/media/i2c/tda1997x.c
1396
source &= ~MASK_FMT;
drivers/media/i2c/tda1997x.c
1399
if (source & (MASK_FMT | MASK_SUS_END)) {
drivers/media/i2c/tda1997x.c
1415
u8 source;
drivers/media/i2c/tda1997x.c
1417
source = io_read(sd, REG_INT_FLG_CLR_DDC);
drivers/media/i2c/tda1997x.c
1418
io_write(sd, REG_INT_FLG_CLR_DDC, source);
drivers/media/i2c/tda1997x.c
1419
if (source & MASK_EDID_MTP) {
drivers/media/i2c/tda1997x.c
1426
if (source & MASK_DET_5V) {
drivers/media/i2c/tda1997x.c
1435
u8 reg, source;
drivers/media/i2c/tda1997x.c
1439
source = io_read(sd, REG_INT_FLG_CLR_RATE);
drivers/media/i2c/tda1997x.c
1440
io_write(sd, REG_INT_FLG_CLR_RATE, source);
drivers/media/i2c/tda1997x.c
1449
reg = source;
drivers/media/i2c/tda1997x.c
1454
source |= reg;
drivers/media/i2c/tda1997x.c
1458
if (source & (MASK_RATE_A_ST | MASK_RATE_B_ST)) {
drivers/media/i2c/tda1997x.c
1459
int input = (source & MASK_RATE_A_ST)?0:1;
drivers/media/i2c/tda1997x.c
1500
u8 source;
drivers/media/i2c/tda1997x.c
1502
source = io_read(sd, REG_INT_FLG_CLR_INFO);
drivers/media/i2c/tda1997x.c
1503
io_write(sd, REG_INT_FLG_CLR_INFO, source);
drivers/media/i2c/tda1997x.c
1506
if (source & MASK_AUD_IF) {
drivers/media/i2c/tda1997x.c
1508
source &= ~MASK_AUD_IF;
drivers/media/i2c/tda1997x.c
1512
if (source & MASK_SPD_IF) {
drivers/media/i2c/tda1997x.c
1514
source &= ~MASK_SPD_IF;
drivers/media/i2c/tda1997x.c
1518
if (source & MASK_AVI_IF) {
drivers/media/i2c/tda1997x.c
1520
source &= ~MASK_AVI_IF;
drivers/media/i2c/tda1997x.c
1527
u8 reg, source;
drivers/media/i2c/tda1997x.c
1529
source = io_read(sd, REG_INT_FLG_CLR_AUDIO);
drivers/media/i2c/tda1997x.c
1530
io_write(sd, REG_INT_FLG_CLR_AUDIO, source);
drivers/media/i2c/tda1997x.c
1533
if (source & MASK_ERROR_FIFO_PT ||
drivers/media/i2c/tda1997x.c
1534
source & MASK_MUTE_FLG) {
drivers/media/i2c/tda1997x.c
1544
source &= ~(MASK_CH_STATE);
drivers/media/i2c/tda1997x.c
1547
if (source & MASK_AUDIO_FREQ_FLG) {
drivers/media/i2c/tda1997x.c
1557
if (source & MASK_AUDIO_FLG) {
drivers/media/i2c/tda1997x.c
1575
u8 reg, source;
drivers/media/i2c/tda1997x.c
1577
source = io_read(sd, REG_INT_FLG_CLR_HDCP);
drivers/media/i2c/tda1997x.c
1578
io_write(sd, REG_INT_FLG_CLR_HDCP, source);
drivers/media/i2c/tda1997x.c
1581
if (source & MASK_HDCP_MTP)
drivers/media/i2c/tda1997x.c
1583
if (source & MASK_STATE_C5) {
drivers/media/mc/mc-device.c
181
if (link->source->entity != entity)
drivers/media/mc/mc-device.c
184
media_device_kpad_to_upad(link->source,
drivers/media/mc/mc-device.c
185
&klink_desc.source);
drivers/media/mc/mc-device.c
204
struct media_entity *source;
drivers/media/mc/mc-device.c
209
source = find_entity(mdev, linkd->source.entity);
drivers/media/mc/mc-device.c
212
if (source == NULL || sink == NULL)
drivers/media/mc/mc-device.c
215
if (linkd->source.index >= source->num_pads ||
drivers/media/mc/mc-device.c
219
link = media_entity_find_link(&source->pads[linkd->source.index],
drivers/media/mc/mc-entity.c
1081
link->source->num_links--;
drivers/media/mc/mc-entity.c
1084
if (link->source->entity == entity)
drivers/media/mc/mc-entity.c
1087
remote = link->source->entity;
drivers/media/mc/mc-entity.c
1093
if (link->source->entity == entity)
drivers/media/mc/mc-entity.c
1132
media_create_pad_link(struct media_entity *source, u16 source_pad,
drivers/media/mc/mc-entity.c
1143
if (WARN_ON(!source || !sink) ||
drivers/media/mc/mc-entity.c
1144
WARN_ON(source_pad >= source->num_pads) ||
drivers/media/mc/mc-entity.c
1147
if (WARN_ON(!(source->pads[source_pad].flags & MEDIA_PAD_FL_SOURCE)))
drivers/media/mc/mc-entity.c
1152
link = media_add_link(&source->links);
drivers/media/mc/mc-entity.c
1156
link->source = &source->pads[source_pad];
drivers/media/mc/mc-entity.c
1161
media_gobj_create(source->graph_obj.mdev, MEDIA_GRAPH_LINK,
drivers/media/mc/mc-entity.c
1169
__media_entity_remove_link(source, link);
drivers/media/mc/mc-entity.c
1173
backlink->source = &source->pads[source_pad];
drivers/media/mc/mc-entity.c
1187
source->num_links++;
drivers/media/mc/mc-entity.c
1189
link->source->num_links++;
drivers/media/mc/mc-entity.c
1198
struct media_entity *source,
drivers/media/mc/mc-entity.c
1211
if (source && sink)
drivers/media/mc/mc-entity.c
1212
return media_create_pad_link(source, source_pad,
drivers/media/mc/mc-entity.c
1216
if (!source && !sink) {
drivers/media/mc/mc-entity.c
1219
media_device_for_each_entity(source, mdev) {
drivers/media/mc/mc-entity.c
1220
if (source->function != source_function)
drivers/media/mc/mc-entity.c
1225
ret = media_create_pad_link(source, source_pad,
drivers/media/mc/mc-entity.c
1238
if (source)
drivers/media/mc/mc-entity.c
1247
if (source)
drivers/media/mc/mc-entity.c
1248
ret = media_create_pad_link(source, source_pad,
drivers/media/mc/mc-entity.c
1292
ret = media_entity_call(link->source->entity, link_setup,
drivers/media/mc/mc-entity.c
1293
link->source, link->sink, flags);
drivers/media/mc/mc-entity.c
1298
link->sink, link->source, flags);
drivers/media/mc/mc-entity.c
1300
media_entity_call(link->source->entity, link_setup,
drivers/media/mc/mc-entity.c
1301
link->source, link->sink, link->flags);
drivers/media/mc/mc-entity.c
1315
struct media_pad *source, *sink;
drivers/media/mc/mc-entity.c
1331
source = link->source;
drivers/media/mc/mc-entity.c
1335
(media_pad_is_streaming(source) || media_pad_is_streaming(sink)))
drivers/media/mc/mc-entity.c
1338
mdev = source->graph_obj.mdev;
drivers/media/mc/mc-entity.c
1370
media_entity_find_link(struct media_pad *source, struct media_pad *sink)
drivers/media/mc/mc-entity.c
1374
for_each_media_entity_data_link(source->entity, link) {
drivers/media/mc/mc-entity.c
1375
if (link->source->entity == source->entity &&
drivers/media/mc/mc-entity.c
1376
link->source->index == source->index &&
drivers/media/mc/mc-entity.c
1394
if (link->source == pad)
drivers/media/mc/mc-entity.c
1398
return link->source;
drivers/media/mc/mc-entity.c
1424
remote_pad = link->source;
drivers/media/mc/mc-entity.c
1426
local_pad = link->source;
drivers/media/mc/mc-entity.c
1457
remote_pad = link->source;
drivers/media/mc/mc-entity.c
1458
else if (link->source == pad)
drivers/media/mc/mc-entity.c
285
if (link->source->entity == entity)
drivers/media/mc/mc-entity.c
288
return link->source->entity;
drivers/media/mc/mc-entity.c
378
link->source->entity->name, link->source->index,
drivers/media/mc/mc-entity.c
630
link->source->entity->name, link->source->index,
drivers/media/mc/mc-entity.c
634
if (link->source->entity == origin->entity) {
drivers/media/mc/mc-entity.c
635
local = link->source;
drivers/media/mc/mc-entity.c
639
remote = link->source;
drivers/media/mc/mc-entity.c
838
if (link->sink != pad && link->source != pad)
drivers/media/mc/mc-entity.c
862
link->source->entity->name,
drivers/media/mc/mc-entity.c
863
link->source->index,
drivers/media/mc/mc-entity.c
871
link->source->entity->name,
drivers/media/mc/mc-entity.c
872
link->source->index,
drivers/media/pci/bt8xx/dvb-bt8xx.c
757
card->fe_hw.source = DMX_FRONTEND_0;
drivers/media/pci/bt8xx/dvb-bt8xx.c
765
card->fe_mem.source = DMX_MEMORY_FE;
drivers/media/pci/cx18/cx18-dvb.c
370
dvb->hw_frontend.source = DMX_FRONTEND_0;
drivers/media/pci/cx18/cx18-dvb.c
371
dvb->mem_frontend.source = DMX_MEMORY_FE;
drivers/media/pci/ddbridge/ddbridge-core.c
1484
dvb->mem_frontend.source = DMX_MEMORY_FE;
drivers/media/pci/ddbridge/ddbridge-core.c
1486
dvb->hw_frontend.source = DMX_FRONTEND_0;
drivers/media/pci/dm1105/dm1105.c
1098
dev->hw_frontend.source = DMX_FRONTEND_0;
drivers/media/pci/dm1105/dm1105.c
1104
dev->mem_frontend.source = DMX_MEMORY_FE;
drivers/media/pci/intel/ipu3/ipu3-cio2.c
1311
ret = cio2_subdev_link_validate_get_format(link->source, &source_fmt);
drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c
545
csi2->asd.source = IPU6_FW_ISYS_STREAM_SRC_CSI2_PORT0 + index;
drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c
604
struct v4l2_subdev *source;
drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c
609
source = media_entity_to_v4l2_subdev(source_entity);
drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c
610
if (!source)
drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c
617
ret = v4l2_subdev_call(source, pad, get_frame_desc, pad->index, &desc);
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c
372
asd->source = -1;
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.h
22
int source; /* SSI stream source; -1 if unset */
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
391
if (!link->source->entity)
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
394
s_sd = media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
400
link->source->entity->name, link->source->index,
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
733
stream->stream_source = stream->asd->source;
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
745
struct media_entity *source)
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
759
esd = media_entity_to_v4l2_subdev(source);
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
794
source->name);
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
936
ipu6_isys_query_stream_by_source(struct ipu6_isys *isys, int source, u8 vc)
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
945
if (source < 0) {
drivers/media/pci/intel/ipu6/ipu6-isys-video.c
956
if (isys->streams[i].stream_source == source &&
drivers/media/pci/intel/ipu6/ipu6-isys-video.h
123
ipu6_isys_query_stream_by_source(struct ipu6_isys *isys, int source, u8 vc);
drivers/media/pci/intel/ipu6/ipu6-isys-video.h
126
struct media_entity *source);
drivers/media/pci/intel/ipu6/ipu6-isys.c
312
int source;
drivers/media/pci/intel/ipu6/ipu6-isys.c
322
source = csi2->asd.source;
drivers/media/pci/intel/ipu6/ipu6-isys.c
326
source, i);
drivers/media/pci/intel/ipu6/ipu6-isys.c
335
source, i);
drivers/media/pci/ivtv/ivtvfb.c
322
static int ivtvfb_prep_frame(struct ivtv *itv, int cmd, void __user *source,
drivers/media/pci/ivtv/ivtvfb.c
342
if ((unsigned long)source & 3)
drivers/media/pci/ivtv/ivtvfb.c
344
source);
drivers/media/pci/ivtv/ivtvfb.c
353
if (!access_ok(source + dest_offset, count)) {
drivers/media/pci/ivtv/ivtvfb.c
354
IVTVFB_WARN("Invalid userspace pointer %p\n", source);
drivers/media/pci/ivtv/ivtvfb.c
357
dest_offset, source, count);
drivers/media/pci/ivtv/ivtvfb.c
365
return ivtvfb_prep_dec_dma_to_device(itv, dest_offset, source, count);
drivers/media/pci/ivtv/ivtvfb.c
489
return ivtvfb_prep_frame(itv, cmd, args.source, args.dest_offset, args.count);
drivers/media/pci/mantis/mantis_dvb.c
186
mantis->fe_hw.source = DMX_FRONTEND_0;
drivers/media/pci/mantis/mantis_dvb.c
194
mantis->fe_mem.source = DMX_MEMORY_FE;
drivers/media/pci/mgb4/mgb4_vout.c
690
u32 source = (voutdev->config->id + MGB4_VIN_DEVICES) << 2;
drivers/media/pci/mgb4/mgb4_vout.c
701
mgb4_write_reg(video, regs->config, source | dp << 4);
drivers/media/pci/ngene/ngene-dvb.c
335
hw_frontend->source = DMX_FRONTEND_0;
drivers/media/pci/ngene/ngene-dvb.c
337
mem_frontend->source = DMX_MEMORY_FE;
drivers/media/pci/pluto2/pluto2.c
671
pluto->hw_frontend.source = DMX_FRONTEND_0;
drivers/media/pci/pluto2/pluto2.c
672
pluto->mem_frontend.source = DMX_MEMORY_FE;
drivers/media/pci/saa7134/saa7134-video.c
582
struct media_entity *source;
drivers/media/pci/saa7134/saa7134-video.c
608
source = found_link->source->entity;
drivers/media/pci/saa7134/saa7134-video.c
609
list_for_each_entry(link, &source->links, list) {
drivers/media/pci/saa7134/saa7134-video.c
621
source->name, sink->name,
drivers/media/pci/saa7164/saa7164-dvb.c
427
dvb->fe_hw.source = DMX_FRONTEND_0;
drivers/media/pci/saa7164/saa7164-dvb.c
435
dvb->fe_mem.source = DMX_MEMORY_FE;
drivers/media/pci/smipcie/smipcie-main.c
764
hw_frontend->source = DMX_FRONTEND_0;
drivers/media/pci/smipcie/smipcie-main.c
766
mem_frontend->source = DMX_MEMORY_FE;
drivers/media/pci/ttpci/budget-core.c
371
budget->hw_frontend.source = DMX_FRONTEND_0;
drivers/media/pci/ttpci/budget-core.c
378
budget->mem_frontend.source = DMX_MEMORY_FE;
drivers/media/pci/zoran/videocodec.h
267
int (*handle_interrupt)(struct videocodec *codec, int source, long flag);
drivers/media/platform/amlogic/c3/isp/c3-isp-capture.c
512
media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/amlogic/c3/isp/c3-isp-capture.c
516
.pad = link->source->index,
drivers/media/platform/amlogic/c3/isp/c3-isp-capture.c
529
link->source->entity->name, link->source->index,
drivers/media/platform/amlogic/c3/isp/c3-isp-core.c
292
if ((link->source->index == C3_ISP_CORE_PAD_SOURCE_VIDEO_0 ||
drivers/media/platform/amlogic/c3/isp/c3-isp-core.c
293
link->source->index == C3_ISP_CORE_PAD_SOURCE_VIDEO_1 ||
drivers/media/platform/amlogic/c3/isp/c3-isp-core.c
294
link->source->index == C3_ISP_CORE_PAD_SOURCE_VIDEO_2) &&
drivers/media/platform/arm/mali-c55/mali-c55-capture.c
285
media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/arm/mali-c55/mali-c55-capture.c
290
.pad = link->source->index,
drivers/media/platform/arm/mali-c55/mali-c55-capture.c
305
link->source->entity->name, link->source->index,
drivers/media/platform/arm/mali-c55/mali-c55-capture.c
315
link->source->entity->name, link->source->index,
drivers/media/platform/broadcom/bcm2835-unicam.c
2131
media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/broadcom/bcm2835-unicam.c
2442
struct media_pad *source;
drivers/media/platform/broadcom/bcm2835-unicam.c
2453
source = media_pad_remote_pad_unique(sink);
drivers/media/platform/broadcom/bcm2835-unicam.c
2454
if (IS_ERR(source)) {
drivers/media/platform/broadcom/bcm2835-unicam.c
2456
return PTR_ERR(source);
drivers/media/platform/broadcom/bcm2835-unicam.c
2460
unicam->sensor.pad = source;
drivers/media/platform/nxp/imx-mipi-csis.c
1021
v4l2_subdev_disable_streams(csis->source.sd,
drivers/media/platform/nxp/imx-mipi-csis.c
1022
csis->source.pad->index, BIT(0));
drivers/media/platform/nxp/imx-mipi-csis.c
1038
ret = v4l2_get_active_data_lanes(csis->source.pad, csis->bus.num_data_lanes);
drivers/media/platform/nxp/imx-mipi-csis.c
1056
ret = v4l2_subdev_enable_streams(csis->source.sd,
drivers/media/platform/nxp/imx-mipi-csis.c
1057
csis->source.pad->index, BIT(0));
drivers/media/platform/nxp/imx-mipi-csis.c
1304
if (csis->source.sd)
drivers/media/platform/nxp/imx-mipi-csis.c
1307
csis->source.sd = remote_sd;
drivers/media/platform/nxp/imx-mipi-csis.c
1308
csis->source.pad = remote_pad;
drivers/media/platform/nxp/imx-mipi-csis.c
1310
csis->source.sd = NULL;
drivers/media/platform/nxp/imx-mipi-csis.c
1311
csis->source.pad = NULL;
drivers/media/platform/nxp/imx-mipi-csis.c
348
} source;
drivers/media/platform/nxp/imx-mipi-csis.c
628
link_freq = v4l2_get_link_freq(csis->source.pad, csis_fmt->width,
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1779
link->source->entity->name, link->source->index,
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1787
source_sd = media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1791
source_fmt = v4l2_subdev_state_get_format(state, link->source->index);
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1862
link->source->entity->name, link->source->index,
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1869
link->source->entity != &cfe->node[i].video_dev.entity)
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1882
if (link->source->entity != csi2)
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1891
if (link->source->index == node_desc[CSI2_CH0].link_pad)
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1893
else if (link->source->index == node_desc[CSI2_CH1].link_pad)
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1895
else if (link->source->index == node_desc[CSI2_CH2].link_pad)
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
1897
else if (link->source->index == node_desc[CSI2_CH3].link_pad)
drivers/media/platform/raspberrypi/rp1-cfe/pisp-fe.c
520
link->source->entity->name, link->source->index,
drivers/media/platform/renesas/rcar-csi2.c
966
struct v4l2_subdev *source;
drivers/media/platform/renesas/rcar-csi2.c
973
source = priv->remote;
drivers/media/platform/renesas/rcar-csi2.c
974
remote_pad = &source->entity.pads[priv->remote_pad];
drivers/media/platform/renesas/rcar-csi2.c
981
source->name, ret);
drivers/media/platform/renesas/rcar-vin/rcar-core.c
583
csi_id = rvin_group_entity_to_remote_id(group, link->source->entity);
drivers/media/platform/renesas/rcar-vin/rcar-core.c
595
sd = media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/renesas/rcar-vin/rcar-core.c
606
link->source->entity->name);
drivers/media/platform/renesas/rcar-vin/rcar-core.c
633
if (csi_pad->entity != link->source->entity) {
drivers/media/platform/renesas/rcar-vin/rcar-core.c
673
struct media_entity *source = &group->remotes[route->csi].subdev->entity;
drivers/media/platform/renesas/rcar-vin/rcar-core.c
681
struct media_pad *source_pad = &source->pads[source_idx];
drivers/media/platform/renesas/rcar-vin/rcar-core.c
687
ret = media_create_pad_link(source, source_idx, sink, 0, 0);
drivers/media/platform/renesas/rcar-vin/rcar-core.c
712
struct media_entity *source;
drivers/media/platform/renesas/rcar-vin/rcar-core.c
720
source = &vin->parallel.subdev->entity;
drivers/media/platform/renesas/rcar-vin/rcar-core.c
723
ret = media_create_pad_link(source, vin->parallel.source_pad,
drivers/media/platform/renesas/rcar-vin/rcar-core.c
797
struct media_entity *source, *sink;
drivers/media/platform/renesas/rcar-vin/rcar-core.c
809
source = &group->remotes[source_slot].subdev->entity;
drivers/media/platform/renesas/rcar-vin/rcar-core.c
810
source_pad = &source->pads[source_idx];
drivers/media/platform/renesas/rcar-vin/rcar-core.c
819
ret = media_create_pad_link(source, source_idx, sink, 0,
drivers/media/platform/renesas/rcar-vin/rcar-core.c
824
source->name, sink->name);
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
43
struct media_entity *source, *sink;
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
66
source = &cru->csi.subdev->entity;
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
68
ret = media_create_pad_link(source, 1, sink, 0,
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
73
source->name, sink->name);
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
79
source = &cru->ip.subdev.entity;
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
81
ret = media_create_pad_link(source, 1, sink, 0,
drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
86
source->name, sink->name);
drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c
290
struct v4l2_subdev *source = csi2->remote_source;
drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c
317
source->name);
drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c
1122
subdev = media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c
1123
fmt.pad = link->source->index;
drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-subdev.c
272
media_entity_to_video_device(link->source->entity);
drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-subdev.c
292
link->source->entity->name, link->source->index,
drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-subdev.c
305
link->source->entity->name, link->source->index,
drivers/media/platform/renesas/vsp1/vsp1_drm.c
439
uif = drm_pipe->crc.source == VSP1_DU_CRC_PLANE &&
drivers/media/platform/renesas/vsp1/vsp1_drm.c
453
uif = drm_pipe->crc.source == VSP1_DU_CRC_OUTPUT ? drm_pipe->uif : NULL;
drivers/media/platform/renesas/vsp1/vsp1_drv.c
105
struct vsp1_entity *source;
drivers/media/platform/renesas/vsp1/vsp1_drv.c
109
list_for_each_entry(source, &vsp1->entities, list_dev) {
drivers/media/platform/renesas/vsp1/vsp1_drv.c
112
if (source->type == sink->type)
drivers/media/platform/renesas/vsp1/vsp1_drv.c
115
if (source->type == VSP1_ENTITY_HGO ||
drivers/media/platform/renesas/vsp1/vsp1_drv.c
116
source->type == VSP1_ENTITY_HGT ||
drivers/media/platform/renesas/vsp1/vsp1_drv.c
117
source->type == VSP1_ENTITY_LIF ||
drivers/media/platform/renesas/vsp1/vsp1_drv.c
118
source->type == VSP1_ENTITY_WPF)
drivers/media/platform/renesas/vsp1/vsp1_drv.c
121
flags = source->type == VSP1_ENTITY_RPF &&
drivers/media/platform/renesas/vsp1/vsp1_drv.c
123
source->index == sink->index
drivers/media/platform/renesas/vsp1/vsp1_drv.c
130
ret = media_create_pad_link(&source->subdev.entity,
drivers/media/platform/renesas/vsp1/vsp1_drv.c
131
source->source_pad,
drivers/media/platform/renesas/vsp1/vsp1_drv.c
137
source->sink = sink;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
27
struct vsp1_entity *source;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
37
source = entity->sources[0];
drivers/media/platform/renesas/vsp1/vsp1_entity.c
39
| (source->route->output << VI6_DPR_SMPPT_PT_SHIFT);
drivers/media/platform/renesas/vsp1/vsp1_entity.c
420
struct vsp1_entity *source;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
422
source = media_entity_to_vsp1_entity(source_pad->entity);
drivers/media/platform/renesas/vsp1/vsp1_entity.c
424
if (!source->route)
drivers/media/platform/renesas/vsp1/vsp1_entity.c
437
if (source->sink)
drivers/media/platform/renesas/vsp1/vsp1_entity.c
439
source->sink = sink;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
440
source->sink_pad = sink_pad->index;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
443
source->sink = NULL;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
444
source->sink_pad = 0;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
455
struct vsp1_entity *source;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
458
source = media_entity_to_vsp1_entity(source_pad->entity);
drivers/media/platform/renesas/vsp1/vsp1_entity.c
465
sink->sources[sink_pad->index] = source;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
50
source = entity->sources[0];
drivers/media/platform/renesas/vsp1/vsp1_entity.c
512
return link->source;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
514
if (link->source != pad)
drivers/media/platform/renesas/vsp1/vsp1_entity.c
52
| (source->route->output << VI6_DPR_SMPPT_PT_SHIFT);
drivers/media/platform/renesas/vsp1/vsp1_entity.c
58
source = entity;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
59
if (source->route->reg == 0)
drivers/media/platform/renesas/vsp1/vsp1_entity.c
62
route = source->sink->route->inputs[source->sink_pad];
drivers/media/platform/renesas/vsp1/vsp1_entity.c
70
if (source->type == VSP1_ENTITY_BRS)
drivers/media/platform/renesas/vsp1/vsp1_entity.c
72
else if (source->type == VSP1_ENTITY_IIF)
drivers/media/platform/renesas/vsp1/vsp1_entity.c
74
vsp1_dl_body_write(dlb, source->route->reg, route);
drivers/media/platform/rockchip/rkcif/rkcif-stream.c
472
sd = media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/rockchip/rkcif/rkcif-stream.c
476
source_fmt = v4l2_subdev_state_get_format(state, link->source->index,
drivers/media/platform/rockchip/rkcif/rkcif-stream.c
485
link->source->entity->name, link->source->index,
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
1459
media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
1465
.pad = link->source->index,
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c
1478
link->source->entity->name, link->source->index,
drivers/media/platform/rockchip/rkisp1/rkisp1-common.h
212
struct v4l2_subdev *source;
drivers/media/platform/rockchip/rkisp1/rkisp1-common.h
523
struct v4l2_subdev *source;
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c
358
struct v4l2_subdev *source;
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c
362
v4l2_subdev_call(csi->source, video, s_stream, false);
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c
376
source = media_entity_to_v4l2_subdev(source_pad->entity);
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c
377
if (!source) {
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c
382
asc = v4l2_async_connection_unique(source);
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c
399
ret = v4l2_subdev_call(source, video, s_stream, true);
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c
405
csi->source = source;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
202
struct fwnode_handle *source;
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
255
source = fwnode_graph_get_remote_endpoint(ep);
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
256
if (!source) {
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
264
rk_asd = v4l2_async_nf_add_fwnode(ntf, source,
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
267
fwnode_handle_put(source);
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
273
rk_asd->source_ep = source;
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
103
source_sd = media_entity_to_v4l2_subdev(source->entity);
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
105
source->index, &fd);
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
433
struct media_pad *source)
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
444
ret = rkisp1_gasket_enable(rkisp1, source);
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
87
struct media_pad *source)
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
931
v4l2_subdev_call(rkisp1->source, video, s_stream, false);
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
944
rkisp1->source = media_entity_to_v4l2_subdev(source_pad->entity);
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
945
if (!rkisp1->source) {
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
950
if (rkisp1->source == &rkisp1->csi.sd) {
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
957
asc = v4l2_async_connection_unique(rkisp1->source);
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
980
ret = v4l2_subdev_call(rkisp1->source, video, s_stream, true);
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1061
struct flite_frame *source = &fimc->out_frame;
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1106
source->rect = sink->rect;
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1107
source->f_width = mf->width;
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1108
source->f_height = mf->height;
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1366
struct flite_frame *source = &fimc->out_frame;
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1377
*source = *sink;
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
599
struct fimc_source_info *source)
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
606
switch (source->fimc_bus_type) {
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
629
if (source->fimc_bus_type == FIMC_BUS_TYPE_ITU_601) {
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
671
const struct fimc_source_info *source)
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
685
switch (source->fimc_bus_type) {
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
689
if (source->mux_id == 0)
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
713
if (source->mux_id == 0) /* ITU-A, ITU-B: 0, 1 */
drivers/media/platform/samsung/exynos4-is/fimc-reg.c
730
source->fimc_bus_type);
drivers/media/platform/samsung/exynos4-is/media-dev.c
1002
if (source == NULL)
drivers/media/platform/samsung/exynos4-is/media-dev.c
1006
ret = __fimc_md_create_fimc_sink_links(fmd, source, sensor,
drivers/media/platform/samsung/exynos4-is/media-dev.c
1014
source = &fmd->csis[i].sd->entity;
drivers/media/platform/samsung/exynos4-is/media-dev.c
1019
ret = __fimc_md_create_fimc_sink_links(fmd, source, sensor,
drivers/media/platform/samsung/exynos4-is/media-dev.c
1029
source = &fmd->fimc[i]->vid_cap.subdev.entity;
drivers/media/platform/samsung/exynos4-is/media-dev.c
1032
ret = media_create_pad_link(source, FIMC_SD_PAD_SOURCE,
drivers/media/platform/samsung/exynos4-is/media-dev.c
805
struct media_entity *source,
drivers/media/platform/samsung/exynos4-is/media-dev.c
834
ret = media_create_pad_link(source, pad, sink,
drivers/media/platform/samsung/exynos4-is/media-dev.c
841
&source->pads[pad], flags);
drivers/media/platform/samsung/exynos4-is/media-dev.c
846
source->name, flags ? '=' : '-', sink->name);
drivers/media/platform/samsung/exynos4-is/media-dev.c
854
ret = media_create_pad_link(source, pad, sink,
drivers/media/platform/samsung/exynos4-is/media-dev.c
861
&source->pads[pad], 0);
drivers/media/platform/samsung/exynos4-is/media-dev.c
866
source->name, sink->name);
drivers/media/platform/samsung/exynos4-is/media-dev.c
874
struct media_entity *source, *sink;
drivers/media/platform/samsung/exynos4-is/media-dev.c
883
source = &fimc->subdev.entity;
drivers/media/platform/samsung/exynos4-is/media-dev.c
886
ret = media_create_pad_link(source, FLITE_SD_PAD_SOURCE_DMA,
drivers/media/platform/samsung/exynos4-is/media-dev.c
892
ret = media_create_pad_link(source, FLITE_SD_PAD_SOURCE_ISP,
drivers/media/platform/samsung/exynos4-is/media-dev.c
905
struct media_entity *source, *sink;
drivers/media/platform/samsung/exynos4-is/media-dev.c
908
source = &isp->subdev.entity;
drivers/media/platform/samsung/exynos4-is/media-dev.c
916
ret = media_create_pad_link(source, FIMC_ISP_SD_PAD_SRC_FIFO,
drivers/media/platform/samsung/exynos4-is/media-dev.c
929
return media_create_pad_link(source, FIMC_ISP_SD_PAD_SRC_DMA,
drivers/media/platform/samsung/exynos4-is/media-dev.c
951
struct media_entity *source, *sink;
drivers/media/platform/samsung/exynos4-is/media-dev.c
964
source = NULL;
drivers/media/platform/samsung/exynos4-is/media-dev.c
988
source = NULL;
drivers/media/platform/samsung/exynos4-is/media-dev.c
993
source = &sensor->entity;
drivers/media/platform/st/stm32/stm32-dcmi.c
1128
ret = v4l2_subdev_call(dcmi->source, pad, get_fmt, NULL, &fmt);
drivers/media/platform/st/stm32/stm32-dcmi.c
1156
ret = v4l2_subdev_call_state_try(dcmi->source, pad, set_fmt, &format);
drivers/media/platform/st/stm32/stm32-dcmi.c
1178
ret = v4l2_subdev_call(dcmi->source, pad, get_selection,
drivers/media/platform/st/stm32/stm32-dcmi.c
135
struct v4l2_subdev *source;
drivers/media/platform/st/stm32/stm32-dcmi.c
1359
ret = v4l2_subdev_call(dcmi->source, pad, enum_frame_size,
drivers/media/platform/st/stm32/stm32-dcmi.c
1376
return v4l2_g_parm_cap(video_devdata(file), dcmi->source, p);
drivers/media/platform/st/stm32/stm32-dcmi.c
1384
return v4l2_s_parm_cap(video_devdata(file), dcmi->source, p);
drivers/media/platform/st/stm32/stm32-dcmi.c
1406
ret = v4l2_subdev_call(dcmi->source, pad,
drivers/media/platform/st/stm32/stm32-dcmi.c
1426
struct v4l2_subdev *sd = dcmi->source;
drivers/media/platform/st/stm32/stm32-dcmi.c
1457
struct v4l2_subdev *sd = dcmi->source;
drivers/media/platform/st/stm32/stm32-dcmi.c
1644
struct v4l2_subdev *subdev = dcmi->source;
drivers/media/platform/st/stm32/stm32-dcmi.c
1699
struct v4l2_subdev *subdev = dcmi->source;
drivers/media/platform/st/stm32/stm32-dcmi.c
1751
dcmi->source = media_entity_to_v4l2_subdev(dcmi_find_source(dcmi));
drivers/media/platform/st/stm32/stm32-dcmi.c
1752
if (!dcmi->source) {
drivers/media/platform/st/stm32/stm32-dcmi.c
1757
dcmi->vdev->ctrl_handler = dcmi->source->ctrl_handler;
drivers/media/platform/st/stm32/stm32-dcmi.c
627
struct media_entity *entity = &dcmi->source->entity;
drivers/media/platform/st/stm32/stm32-dcmi.c
995
ret = v4l2_subdev_call_state_try(dcmi->source, pad, set_fmt, &format);
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c
818
media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c
821
.pad = link->source->index,
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
394
struct sun6i_csi_bridge_source *source)
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
398
if (source == &bridge->source_parallel)
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
415
struct sun6i_csi_bridge_source *source;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
432
source = &bridge->source_parallel;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
434
source = &bridge->source_mipi_csi2;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
454
sun6i_csi_bridge_configure(csi_dev, source);
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
657
struct sun6i_csi_bridge_source *source = bridge_async_subdev->source;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
661
switch (source->endpoint.base.port) {
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
672
source->subdev = remote_subdev;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
711
struct sun6i_csi_bridge_source *source,
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
717
struct v4l2_fwnode_endpoint *endpoint = &source->endpoint;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
758
bridge_async_subdev->source = source;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
760
source->expected = true;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.h
38
struct sun6i_csi_bridge_source *source;
drivers/media/platform/ti/cal/cal-camerarx.c
322
ret = v4l2_subdev_enable_streams(phy->source, remote_pad->index,
drivers/media/platform/ti/cal/cal-camerarx.c
338
ret = v4l2_subdev_call(phy->source, core, s_power, 1);
drivers/media/platform/ti/cal/cal-camerarx.c
432
ret = v4l2_subdev_enable_streams(phy->source, remote_pad->index,
drivers/media/platform/ti/cal/cal-camerarx.c
435
v4l2_subdev_call(phy->source, core, s_power, 0);
drivers/media/platform/ti/cal/cal-camerarx.c
472
ret = v4l2_subdev_disable_streams(phy->source,
drivers/media/platform/ti/cal/cal-camerarx.c
499
ret = v4l2_subdev_disable_streams(phy->source, remote_pad->index,
drivers/media/platform/ti/cal/cal-camerarx.c
504
ret = v4l2_subdev_call(phy->source, core, s_power, 0);
drivers/media/platform/ti/cal/cal-camerarx.c
85
freq = v4l2_get_link_freq(&phy->source->entity.pads[phy->source_pad],
drivers/media/platform/ti/cal/cal-camerarx.c
89
phy->source->name);
drivers/media/platform/ti/cal/cal-camerarx.c
896
ret = v4l2_subdev_call(phy->source, pad, get_frame_desc,
drivers/media/platform/ti/cal/cal-video.c
111
struct v4l2_subdev *sd = ctx->phy->source;
drivers/media/platform/ti/cal/cal-video.c
134
struct v4l2_subdev *sd = ctx->phy->source;
drivers/media/platform/ti/cal/cal-video.c
181
struct v4l2_subdev *sd = ctx->phy->source;
drivers/media/platform/ti/cal/cal-video.c
296
struct v4l2_subdev *sd = ctx->phy->source;
drivers/media/platform/ti/cal/cal-video.c
357
struct v4l2_subdev *sd = ctx->phy->source;
drivers/media/platform/ti/cal/cal-video.c
386
return v4l2_g_parm_cap(video_devdata(file), ctx->phy->source, a);
drivers/media/platform/ti/cal/cal-video.c
393
return v4l2_s_parm_cap(video_devdata(file), ctx->phy->source, a);
drivers/media/platform/ti/cal/cal-video.c
843
struct v4l2_subdev *sd = ctx->phy->source;
drivers/media/platform/ti/cal/cal-video.c
960
ret = v4l2_ctrl_add_handler(hdl, ctx->phy->source->ctrl_handler,
drivers/media/platform/ti/cal/cal.c
796
if (phy->source) {
drivers/media/platform/ti/cal/cal.c
823
phy->source = subdev;
drivers/media/platform/ti/cal/cal.h
176
struct v4l2_subdev *source;
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
110
struct v4l2_subdev *source;
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
421
csi->source = subdev;
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
436
ret = media_create_pad_link(&csi->source->entity, CSI2RX_BRIDGE_SOURCE_PAD,
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
503
ret = cdns_csi2rx_negotiate_ppc(csi->source, pad->index, &ppc);
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
874
ret = v4l2_subdev_call(csi->source, video, s_stream, 1);
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
901
ret = v4l2_subdev_call(csi->source, video, s_stream, 0);
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
951
.pad = link->source->index,
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
956
ret = v4l2_subdev_call_state_active(csi->source, pad,
drivers/media/platform/ti/omap3isp/ispccdc.c
2436
media_entity_to_v4l2_subdev(link->source->entity);
drivers/media/platform/ti/omap3isp/ispresizer.c
1184
const struct v4l2_mbus_framefmt *source,
drivers/media/platform/ti/omap3isp/ispresizer.c
1194
((32 * sph + (source->width - 1) * 64 + 16) >> 8) + 7;
drivers/media/platform/ti/omap3isp/ispresizer.c
1196
((32 * spv + (source->height - 1) * 64 + 16) >> 8) + 4;
drivers/media/platform/ti/omap3isp/ispresizer.c
1198
((64 * sph + (source->width - 1) * 1024 + 32) >> 8) + 7;
drivers/media/platform/ti/omap3isp/ispresizer.c
1200
((64 * spv + (source->height - 1) * 1024 + 32) >> 8) + 7;
drivers/media/platform/ti/omap3isp/ispresizer.c
289
enum resizer_input_entity source)
drivers/media/platform/ti/omap3isp/ispresizer.c
293
if (source == RESIZER_INPUT_MEMORY)
drivers/media/platform/ti/omap3isp/ispvideo.c
1035
struct media_entity *source = NULL;
drivers/media/platform/ti/omap3isp/ispvideo.c
1059
source = source_pad->entity;
drivers/media/platform/ti/omap3isp/ispvideo.c
1064
if (!source) {
drivers/media/platform/ti/omap3isp/ispvideo.c
1069
if (!is_media_entity_v4l2_subdev(source))
drivers/media/platform/ti/omap3isp/ispvideo.c
1072
pipe->external = media_entity_to_v4l2_subdev(source);
drivers/media/platform/ti/vpe/vpdma_priv.h
588
static inline u32 ctd_type_source_ctl(int source, int control)
drivers/media/platform/ti/vpe/vpdma_priv.h
591
(source << CTD_SOURCE_SHFT) | control;
drivers/media/platform/xilinx/xilinx-vipp.c
196
struct media_entity *source;
drivers/media/platform/xilinx/xilinx-vipp.c
251
source = &dma->video.entity;
drivers/media/platform/xilinx/xilinx-vipp.c
256
source = ent->entity;
drivers/media/platform/xilinx/xilinx-vipp.c
257
source_pad = &source->pads[link.remote_port];
drivers/media/platform/xilinx/xilinx-vipp.c
266
source->name, source_pad->index,
drivers/media/platform/xilinx/xilinx-vipp.c
269
ret = media_create_pad_link(source, source_pad->index,
drivers/media/platform/xilinx/xilinx-vipp.c
275
source->name, source_pad->index,
drivers/media/spi/cxd2880-spi.c
588
dvb_spi->dmx_fe.source = DMX_FRONTEND_0;
drivers/media/test-drivers/vidtv/vidtv_bridge.c
459
dvb->dmx_fe[j].source = DMX_FRONTEND_0;
drivers/media/test-drivers/vimc/vimc-common.c
282
ret = vimc_get_pix_format(link->source, &source_fmt);
drivers/media/test-drivers/vimc/vimc-common.c
294
link->source->entity->name,
drivers/media/usb/au0828/au0828-core.c
291
struct media_entity *source, *find_source;
drivers/media/usb/au0828/au0828-core.c
393
link->source->entity == find_source) {
drivers/media/usb/au0828/au0828-core.c
405
source = found_link->source->entity;
drivers/media/usb/au0828/au0828-core.c
409
source->name, sink->name, ret);
drivers/media/usb/au0828/au0828-core.c
416
source->name, entity->name, ret);
drivers/media/usb/au0828/au0828-core.c
429
dev->active_source = source;
drivers/media/usb/au0828/au0828-core.c
462
dev->active_link->source->entity == dev->active_source) {
drivers/media/usb/au0828/au0828-dvb.c
471
dvb->fe_hw.source = DMX_FRONTEND_0;
drivers/media/usb/au0828/au0828-dvb.c
479
dvb->fe_mem.source = DMX_MEMORY_FE;
drivers/media/usb/cx231xx/cx231xx-dvb.c
532
dvb->fe_hw.source = DMX_FRONTEND_0;
drivers/media/usb/cx231xx/cx231xx-dvb.c
541
dvb->fe_mem.source = DMX_MEMORY_FE;
drivers/media/usb/cx231xx/cx231xx-video.c
129
source = found_link->source->entity;
drivers/media/usb/cx231xx/cx231xx-video.c
130
list_for_each_entry(link, &source->links, list) {
drivers/media/usb/cx231xx/cx231xx-video.c
143
source->name, sink->name,
drivers/media/usb/cx231xx/cx231xx-video.c
150
source->name, sink->name,
drivers/media/usb/cx231xx/cx231xx-video.c
94
struct media_entity *entity, *decoder = NULL, *source;
drivers/media/usb/em28xx/em28xx-dvb.c
1051
dvb->fe_hw.source = DMX_FRONTEND_0;
drivers/media/usb/em28xx/em28xx-dvb.c
1060
dvb->fe_mem.source = DMX_MEMORY_FE;
drivers/media/usb/em28xx/em28xx-video.c
900
struct media_entity *source;
drivers/media/usb/em28xx/em28xx-video.c
926
source = found_link->source->entity;
drivers/media/usb/em28xx/em28xx-video.c
927
list_for_each_entry(link, &source->links, list) {
drivers/media/usb/em28xx/em28xx-video.c
940
source->name, sink->name,
drivers/media/usb/em28xx/em28xx-video.c
947
source->name, sink->name,
drivers/media/usb/ttusb-dec/ttusb_dec.c
1503
dec->frontend.source = DMX_FRONTEND_0;
drivers/media/usb/uvc/uvc_driver.c
1555
struct uvc_entity *source;
drivers/media/usb/uvc/uvc_driver.c
1557
source = uvc_entity_by_id(chain->dev,
drivers/media/usb/uvc/uvc_driver.c
1559
if (!source) {
drivers/media/usb/uvc/uvc_driver.c
1566
forward->baSourceID[0] = source->id;
drivers/media/usb/uvc/uvc_entity.c
32
struct media_entity *source;
drivers/media/usb/uvc/uvc_entity.c
43
source = (UVC_ENTITY_TYPE(remote) == UVC_TT_STREAMING)
drivers/media/usb/uvc/uvc_entity.c
46
if (source == NULL)
drivers/media/usb/uvc/uvc_entity.c
50
ret = media_create_pad_link(source, remote_pad,
drivers/media/v4l2-core/v4l2-mc.c
583
struct media_entity *source = link->source->entity;
drivers/media/v4l2-core/v4l2-mc.c
589
source_use = pipeline_pm_use_count(source, graph);
drivers/media/v4l2-core/v4l2-mc.c
595
pipeline_pm_power(source, -sink_use, graph);
drivers/media/v4l2-core/v4l2-mc.c
603
ret = pipeline_pm_power(source, sink_use, graph);
drivers/media/v4l2-core/v4l2-mc.c
609
pipeline_pm_power(source, -sink_use, graph);
drivers/media/v4l2-core/v4l2-mem2mem.c
1022
media_entity_remove_links(m2m_dev->source);
drivers/media/v4l2-core/v4l2-mem2mem.c
1025
media_device_unregister_entity(m2m_dev->source);
drivers/media/v4l2-core/v4l2-mem2mem.c
1028
kfree(m2m_dev->source->name);
drivers/media/v4l2-core/v4l2-mem2mem.c
1045
entity = m2m_dev->source;
drivers/media/v4l2-core/v4l2-mem2mem.c
1110
m2m_dev->source = &vdev->entity;
drivers/media/v4l2-core/v4l2-mem2mem.c
1125
ret = media_create_pad_link(m2m_dev->source, 0, &m2m_dev->proc, 0,
drivers/media/v4l2-core/v4l2-mem2mem.c
1145
link = media_create_intf_link(m2m_dev->source,
drivers/media/v4l2-core/v4l2-mem2mem.c
1170
media_entity_remove_links(m2m_dev->source);
drivers/media/v4l2-core/v4l2-mem2mem.c
1178
media_device_unregister_entity(m2m_dev->source);
drivers/media/v4l2-core/v4l2-mem2mem.c
1179
kfree(m2m_dev->source->name);
drivers/media/v4l2-core/v4l2-mem2mem.c
98
struct media_entity *source;
drivers/media/v4l2-core/v4l2-subdev.c
1314
link->source->entity->name, link->source->index,
drivers/media/v4l2-core/v4l2-subdev.c
1427
link->source->entity->name, link->source->index,
drivers/media/v4l2-core/v4l2-subdev.c
1430
v4l2_link_validate_get_streams(link->source, &source_streams_mask, states_locked);
drivers/media/v4l2-core/v4l2-subdev.c
1455
link->source->entity->name, link->source->index, stream,
drivers/media/v4l2-core/v4l2-subdev.c
1458
ret = v4l2_subdev_link_validate_get_format(link->source, stream,
drivers/media/v4l2-core/v4l2-subdev.c
1463
link->source->entity->name, link->source->index,
drivers/media/v4l2-core/v4l2-subdev.c
1517
if (is_media_entity_v4l2_video_device(link->source->entity)) {
drivers/media/v4l2-core/v4l2-subdev.c
1518
struct media_entity *source = link->source->entity;
drivers/media/v4l2-core/v4l2-subdev.c
1520
if (!source->ops || !source->ops->link_validate) {
drivers/media/v4l2-core/v4l2-subdev.c
1530
source->name);
drivers/media/v4l2-core/v4l2-subdev.c
1538
if (WARN_ON(source->ops->link_validate == v4l2_subdev_link_validate))
drivers/media/v4l2-core/v4l2-subdev.c
1541
return source->ops->link_validate(link);
drivers/media/v4l2-core/v4l2-subdev.c
1548
if (WARN_ON(!is_media_entity_v4l2_subdev(link->source->entity)))
drivers/media/v4l2-core/v4l2-subdev.c
1552
source_sd = media_entity_to_v4l2_subdev(link->source->entity);
drivers/mfd/db8500-prcmu.c
637
int prcmu_config_clkout(u8 clkout, u8 source, u8 div)
drivers/mfd/db8500-prcmu.c
649
BUG_ON((clkout == 0) && (source > PRCMU_CLKSRC_CLK009));
drivers/mfd/db8500-prcmu.c
657
bits = ((source << PRCM_CLKOCR_CLKOSEL0_SHIFT) |
drivers/mfd/db8500-prcmu.c
663
bits = ((source << PRCM_CLKOCR_CLKOSEL1_SHIFT) |
drivers/most/most_snd.c
101
static void swap_copy32(u32 *dest, const u32 *source, unsigned int bytes)
drivers/most/most_snd.c
106
dest[i] = swab32(source[i]);
drivers/most/most_snd.c
77
static void swap_copy16(u16 *dest, const u16 *source, unsigned int bytes)
drivers/most/most_snd.c
82
dest[i] = swab16(source[i]);
drivers/most/most_snd.c
87
static void swap_copy24(u8 *dest, const u8 *source, unsigned int bytes)
drivers/most/most_snd.c
94
dest[i] = source[i + 2];
drivers/most/most_snd.c
95
dest[i + 1] = source[i + 1];
drivers/most/most_snd.c
96
dest[i + 2] = source[i];
drivers/mtd/mtdsuper.c
106
if (!fc->source)
drivers/mtd/mtdsuper.c
109
pr_debug("MTDSB: dev_name \"%s\"\n", fc->source);
drivers/mtd/mtdsuper.c
116
if (fc->source[0] == 'm' &&
drivers/mtd/mtdsuper.c
117
fc->source[1] == 't' &&
drivers/mtd/mtdsuper.c
118
fc->source[2] == 'd') {
drivers/mtd/mtdsuper.c
119
if (fc->source[3] == ':') {
drivers/mtd/mtdsuper.c
124
fc->source + 4);
drivers/mtd/mtdsuper.c
126
mtd = get_mtd_device_nm(fc->source + 4);
drivers/mtd/mtdsuper.c
131
fc->source + 4);
drivers/mtd/mtdsuper.c
133
} else if (isdigit(fc->source[3])) {
drivers/mtd/mtdsuper.c
137
mtdnr = simple_strtoul(fc->source + 3, &endptr, 0);
drivers/mtd/mtdsuper.c
150
ret = lookup_bdev(fc->source, &dev);
drivers/mtd/mtdsuper.c
152
errorf(fc, "MTD: Couldn't look up '%s': %d", fc->source, ret);
drivers/mtd/mtdsuper.c
164
fc->source);
drivers/net/amt.c
2609
udph->source = amt->relay_port;
drivers/net/amt.c
2658
amt_send_advertisement(amt, amtd->nonce, iph->saddr, udph->source);
drivers/net/amt.c
2702
tunnel->source_port = udph->source;
drivers/net/amt.c
668
udph->source = amt->gw_port;
drivers/net/amt.c
759
udph->source = amt->gw_port;
drivers/net/arcnet/arc-rawmode.c
96
pkt->hard.source = *dev->dev_addr;
drivers/net/arcnet/arcnet.c
1148
bufnum, rxdata.pkt.hard.source, rxdata.pkt.hard.dest, length);
drivers/net/arcnet/arcnet.c
1157
*oldp = arc_proto_map[lp->default_proto[rxdata.pkt.hard.source]],
drivers/net/arcnet/arcnet.c
1163
soft->proto, rxdata.pkt.hard.source,
drivers/net/arcnet/arcnet.c
1172
lp->default_proto[rxdata.pkt.hard.source] = soft->proto;
drivers/net/arcnet/arcnet.c
1183
pkthdr->soft.rfc1201.proto, pkthdr->hard.source);
drivers/net/arcnet/arcnet.c
1209
newpkt.source = newpkt.dest = dev->dev_addr[0];
drivers/net/arcnet/capmode.c
115
pkt->hard.source = *dev->dev_addr;
drivers/net/arcnet/rfc1051.c
191
pkt->hard.source = *dev->dev_addr;
drivers/net/arcnet/rfc1201.c
140
int saddr = pkt->hard.source, ofs;
drivers/net/arcnet/rfc1201.c
365
skb->len, pkt->hard.source);
drivers/net/arcnet/rfc1201.c
367
skb->len, pkt->hard.source);
drivers/net/arcnet/rfc1201.c
422
pkt->hard.source = *dev->dev_addr;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13318
const __be32 *source = (const __be32 *)_source;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13323
target[i] = be32_to_cpu(source[i]);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13332
const __be32 *source = (const __be32 *)_source;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13337
tmp = be32_to_cpu(source[j]);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13340
target[i].raw_data = be32_to_cpu(source[j + 1]);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13349
const __be32 *source = (const __be32 *)_source;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13354
target[i].base = be32_to_cpu(source[j]);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13356
tmp = be32_to_cpu(source[j]);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13360
tmp = be32_to_cpu(source[j]);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13369
const __be16 *source = (const __be16 *)_source;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13374
target[i] = be16_to_cpu(source[i]);
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2621
void *source;
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2624
source = qs;
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2626
source = adapter;
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
2628
t3_intr_handler(adapter, qs->rspq.polling) (0, source);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c
90
uh->source == htons(PTP_EVENT_PORT);
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
1376
chtls_set_req_port(oreq, tcph->source, tcph->dest);
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.h
158
__be16 source, __be16 dest)
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.h
160
inet_rsk(oreq)->ir_rmt_port = source;
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c
60
ntohs(tcp->source), ntohs(tcp->dest));
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c
67
ntohs(tcp->source), ntohs(tcp->dest));
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c
72
*peer_port = tcp->source;
drivers/net/ethernet/emulex/benet/be_main.c
1466
ntohs(tcphdr->source));
drivers/net/ethernet/emulex/benet/be_main.c
1477
ntohs(udphdr->source));
drivers/net/ethernet/i825xx/sun3_82586.h
138
unsigned char source[ETH_ALEN]; /* ethernet-address, source */
drivers/net/ethernet/intel/i40e/i40e_txrx.c
239
udp->source = data->src_port;
drivers/net/ethernet/intel/i40e/i40e_txrx.c
265
tcp->source = data->src_port;
drivers/net/ethernet/intel/i40e/i40e_txrx.c
288
sctp->source = data->src_port;
drivers/net/ethernet/intel/iavf/iavf_fdir.c
404
tcph->source = fltr->ip_data.src_port;
drivers/net/ethernet/intel/iavf/iavf_fdir.c
433
udph->source = fltr->ip_data.src_port;
drivers/net/ethernet/intel/iavf/iavf_fdir.c
465
sctph->source = fltr->ip_data.src_port;
drivers/net/ethernet/intel/ice/devlink/health.c
257
u16 source;
drivers/net/ethernet/intel/ice/devlink/health.c
259
source = le16_to_cpu(health_info->event_source);
drivers/net/ethernet/intel/ice/devlink/health.c
264
status_code, source, data1, data2);
drivers/net/ethernet/intel/ice/virt/fdir.c
1000
input->ip.v4.src_port = tcph->source;
drivers/net/ethernet/intel/ice/virt/fdir.c
1003
input->ip.v6.src_port = tcph->source;
drivers/net/ethernet/intel/ice/virt/fdir.c
1017
input->ip.v4.src_port = udph->source;
drivers/net/ethernet/intel/ice/virt/fdir.c
1020
input->ip.v6.src_port = udph->source;
drivers/net/ethernet/intel/ice/virt/fdir.c
1036
input->ip.v4.src_port = sctph->source;
drivers/net/ethernet/intel/ice/virt/fdir.c
1039
input->ip.v6.src_port = sctph->source;
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
123
udph->source = fsp->h_u.udp_ip4_spec.psrc;
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
125
udpm->source = fsp->m_u.udp_ip4_spec.psrc;
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
128
udph->source = fsp->h_u.udp_ip6_spec.psrc;
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
130
udpm->source = fsp->m_u.udp_ip6_spec.psrc;
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
147
tcph->source = fsp->h_u.tcp_ip4_spec.psrc;
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
149
tcpm->source = fsp->m_u.tcp_ip4_spec.psrc;
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
152
tcph->source = fsp->h_u.tcp_ip6_spec.psrc;
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
154
tcpm->source = fsp->m_u.tcp_ip6_spec.psrc;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
9215
common.port.dst ^= th->source;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1057
if (udph->source == htons(PTP_PORT) &&
drivers/net/ethernet/mellanox/mlx4/fw.c
58
#define MLX4_GET(dest, source, offset) \
drivers/net/ethernet/mellanox/mlx4/fw.c
60
void *__p = (char *) (source) + (offset); \
drivers/net/ethernet/mellanox/mlx4/fw.c
72
#define MLX4_PUT(dest, source, offset) \
drivers/net/ethernet/mellanox/mlx4/fw.c
75
switch (sizeof(source)) { \
drivers/net/ethernet/mellanox/mlx4/fw.c
76
case 1: *(u8 *) __d = (source); break; \
drivers/net/ethernet/mellanox/mlx4/fw.c
77
case 2: *(__be16 *) __d = cpu_to_be16(source); break; \
drivers/net/ethernet/mellanox/mlx4/fw.c
78
case 4: *(__be32 *) __d = cpu_to_be32(source); break; \
drivers/net/ethernet/mellanox/mlx4/fw.c
79
case 8: *(__be64 *) __d = cpu_to_be64(source); break; \
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
325
if (offset == offsetof(struct tcphdr, source))
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
334
if (offset == offsetof(struct udphdr, source))
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
648
if (offset == offsetof(struct tcphdr, source))
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
658
if (offset == offsetof(struct udphdr, source))
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c
1897
udphdr->source = attrs->sport;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c
517
sk = inet_lookup_established(net, iph->saddr, th->source,
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c
527
sk = __inet6_lookup_established(net, &ipv6h->saddr, th->source,
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c
114
udph->source = htons(9);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3277
OFFLOAD(TCP_SPORT, 16, U16_MAX, tcp.source, 0, tcp_sport),
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3282
OFFLOAD(UDP_SPORT, 16, U16_MAX, udp.source, 0, udp_sport),
drivers/net/ethernet/mellanox/mlx5/core/lib/pci_vsc.c
8
#define MLX5_EXTRACT_C(source, offset, size) \
drivers/net/ethernet/mellanox/mlx5/core/lib/pci_vsc.c
9
((((u32)(source)) >> (offset)) & MLX5_ONES32(size))
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
1487
u8 source:1; /* Source or destination */
drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c
42
ntohl(key->source.addr4),
drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c
52
key->source.addr6,
drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c
148
(char *) &key->source.addr4,
drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c
167
&key->source.addr6.s6_addr[0x0],
drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c
170
&key->source.addr6.s6_addr[0x4],
drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c
173
&key->source.addr6.s6_addr[0x8],
drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c
176
&key->source.addr6.s6_addr[0xc],
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c
464
.source = true,
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c
808
key->source.addr4 = mfc->mfc_origin;
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c
852
key->source.addr6 = mfc->mf6c_origin;
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.h
23
union mlxsw_sp_l3addr source;
drivers/net/ethernet/mellanox/mlxsw/spectrum_port_range.c
108
prr->range.source == range->source)
drivers/net/ethernet/mellanox/mlxsw/spectrum_port_range.c
36
mlxsw_reg_pprr_src_set(pprr_pl, prr->range.source);
drivers/net/ethernet/mellanox/mlxsw/spectrum_port_range.c
37
mlxsw_reg_pprr_dst_set(pprr_pl, !prr->range.source);
drivers/net/ethernet/meta/fbnic/fbnic_netdev.c
326
if (config->source != HWTSTAMP_SOURCE_NETDEV)
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
479
if (cfg->source != HWTSTAMP_SOURCE_NETDEV &&
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
480
cfg->source != HWTSTAMP_SOURCE_PHYLIB)
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
483
if (cfg->source == HWTSTAMP_SOURCE_NETDEV && !port->lan966x->ptp)
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
490
if (cfg->source == HWTSTAMP_SOURCE_NETDEV) {
drivers/net/ethernet/netronome/nfp/crypto/tls.c
502
sk = inet_lookup_established(net, iph->saddr, th->source,
drivers/net/ethernet/netronome/nfp/crypto/tls.c
508
sk = __inet6_lookup_established(net, &ipv6h->saddr, th->source,
drivers/net/ethernet/netronome/nfp/flower/conntrack.c
1434
if (mangle_action->mangle.offset == offsetof(struct tcphdr, source)) {
drivers/net/ethernet/qlogic/qed/qed_debug.c
7183
u8 source, err_type, i, is_cleanup;
drivers/net/ethernet/qlogic/qed/qed_debug.c
7198
source = GET_FIELD(element->dword0, IGU_FIFO_ELEMENT_DWORD0_SOURCE);
drivers/net/ethernet/qlogic/qed/qed_debug.c
7201
if (source >= ARRAY_SIZE(s_igu_fifo_source_strs))
drivers/net/ethernet/qlogic/qed/qed_debug.c
7243
if (source == IGU_SRC_ATTN) {
drivers/net/ethernet/qlogic/qed/qed_debug.c
7295
s_igu_fifo_source_strs[source],
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
1761
iph->ihl, tcph->source, tcph->dest);
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
1766
cm_info->remote_port = ntohs(tcph->source);
drivers/net/ethernet/sfc/ethtool_common.c
26
} source;
drivers/net/ethernet/sfc/ethtool_common.c
35
.source = EFX_ETHTOOL_STAT_SOURCE_##source_name, \
drivers/net/ethernet/sfc/ethtool_common.c
499
switch (stat->source) {
drivers/net/ethernet/sfc/falcon/ethtool.c
25
} source;
drivers/net/ethernet/sfc/falcon/ethtool.c
34
.source = EF4_ETHTOOL_STAT_SOURCE_##source_name, \
drivers/net/ethernet/sfc/falcon/ethtool.c
443
switch (stat->source) {
drivers/net/ethernet/sfc/falcon/selftest.c
403
payload->udp.source = 0;
drivers/net/ethernet/sfc/ptp.c
1383
udp_hdr(skb)->source == htons(PTP_EVENT_PORT);
drivers/net/ethernet/sfc/ptp.c
1387
udp_hdr(skb)->source == htons(PTP_EVENT_PORT);
drivers/net/ethernet/sfc/selftest.c
400
payload->udp.source = 0;
drivers/net/ethernet/sfc/siena/ethtool_common.c
26
} source;
drivers/net/ethernet/sfc/siena/ethtool_common.c
35
.source = EFX_ETHTOOL_STAT_SOURCE_##source_name, \
drivers/net/ethernet/sfc/siena/ethtool_common.c
499
switch (stat->source) {
drivers/net/ethernet/sfc/siena/selftest.c
401
payload->udp.source = 0;
drivers/net/ethernet/sfc/tc_conntrack.c
327
case offsetof(struct tcphdr, source):
drivers/net/ethernet/sfc/tc_conntrack.c
328
BUILD_BUG_ON(offsetof(struct tcphdr, source) !=
drivers/net/ethernet/sfc/tc_conntrack.c
329
offsetof(struct udphdr, source));
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
150
thdr->source = htons(attr->sport);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
155
uhdr->source = htons(attr->sport);
drivers/net/ethernet/ti/cpsw_priv.c
625
if (cfg->source != HWTSTAMP_SOURCE_NETDEV) {
drivers/net/ethernet/wangxun/txgbe/txgbe_fdir.c
285
common.port.dst ^= th->source;
drivers/net/geneve.c
860
if (udp->source != udp2->source || udp->dest != udp2->dest ||
drivers/net/ieee802154/ca8210.c
1793
hdr.source.mode = data_ind[0];
drivers/net/ieee802154/ca8210.c
1794
dev_dbg(&priv->spi->dev, "srcAddrMode: %#03x\n", hdr.source.mode);
drivers/net/ieee802154/ca8210.c
1795
hdr.source.pan_id = cpu_to_le16(get_unaligned_le16(&data_ind[1]));
drivers/net/ieee802154/ca8210.c
1796
dev_dbg(&priv->spi->dev, "srcPanId: %#06x\n", hdr.source.pan_id);
drivers/net/ieee802154/ca8210.c
1797
memcpy(&hdr.source.extended_addr, &data_ind[3], 8);
drivers/net/ieee802154/ca8210.c
1815
hdr.fc.source_addr_mode = hdr.source.mode;
drivers/net/ieee802154/ca8210.c
1925
header.source.mode,
drivers/net/mctp/mctp-i3c.c
122
put_unaligned_be48(mi->pid, ihdr->source);
drivers/net/mctp/mctp-i3c.c
522
memcpy(ihdr->source, saddr, PID_SIZE);
drivers/net/mctp/mctp-i3c.c
97
u8 source[PID_SIZE];
drivers/net/netdevsim/dev.c
846
get_random_bytes(&udph->source, sizeof(u16));
drivers/net/netdevsim/psample.c
74
get_random_bytes(&udph->source, sizeof(u16));
drivers/net/ovpn/bind.h
77
if (unlikely(remote->in4.sin_port != udp_hdr(skb)->source))
drivers/net/ovpn/bind.h
88
if (unlikely(remote->in6.sin6_port != udp_hdr(skb)->source))
drivers/net/ovpn/peer.c
220
sa->sin_port = udp_hdr(skb)->source;
drivers/net/ovpn/peer.c
248
sa6->sin6_port = udp_hdr(skb)->source;
drivers/net/ovpn/peer.c
390
sa4->sin_port = udp_hdr(skb)->source;
drivers/net/ovpn/peer.c
396
sa6->sin6_port = udp_hdr(skb)->source;
drivers/net/slip/slhc.c
299
&& th->source == cs->cs_tcp.source
drivers/net/wireguard/cookie.c
113
blake2s_update(&blake, (u8 *)&udp_hdr(skb)->source, sizeof(__be16));
drivers/net/wireguard/socket.c
241
endpoint->addr4.sin_port = udp_hdr(skb)->source;
drivers/net/wireguard/socket.c
247
endpoint->addr6.sin6_port = udp_hdr(skb)->source;
drivers/net/wireless/ath/ath6kl/wmi.c
3013
int ath6kl_wmi_get_challenge_resp_cmd(struct wmi *wmi, u32 cookie, u32 source)
drivers/net/wireless/ath/ath6kl/wmi.c
3025
cmd->source = cpu_to_le32(source);
drivers/net/wireless/ath/ath6kl/wmi.h
2511
__le32 source;
drivers/net/wireless/ath/ath6kl/wmi.h
2608
int ath6kl_wmi_get_challenge_resp_cmd(struct wmi *wmi, u32 cookie, u32 source);
drivers/net/wireless/ath/ath6kl/wmi.h
2724
int ath6kl_wmi_get_challenge_resp_cmd(struct wmi *wmi, u32 cookie, u32 source);
drivers/net/wireless/broadcom/b43legacy/pio.c
47
const u8 *source;
drivers/net/wireless/broadcom/b43legacy/pio.c
52
source = txhdr;
drivers/net/wireless/broadcom/b43legacy/pio.c
54
source = packet;
drivers/net/wireless/broadcom/b43legacy/pio.c
57
ret = le16_to_cpu(*((__le16 *)(source + i)));
drivers/net/wireless/intel/iwlegacy/common.c
3176
out_meta->source = cmd;
drivers/net/wireless/intel/iwlegacy/common.c
3316
meta->source->reply_page = (unsigned long)rxb_addr(rxb);
drivers/net/wireless/intel/iwlegacy/common.h
94
struct il_host_cmd *source;
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
696
struct iwl_host_cmd *source;
drivers/net/wireless/intel/iwlwifi/mei/net.c
173
if ((filt->src_port && filt->src_port != udp_hdr(skb)->source) ||
drivers/net/wireless/intel/iwlwifi/mei/net.c
381
udp_hdr(origskb)->source != htons(DHCP_CLIENT_PORT) ||
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx-gen2.c
1308
out_meta->source = cmd;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
1464
out_meta->source = cmd;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
1663
meta->source->resp_pkt = pkt;
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
1664
meta->source->_rx_page_addr = (unsigned long)page_address(p);
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c
1665
meta->source->_rx_page_order = trans_pcie->rx_page_order;
drivers/net/wireless/intersil/p54/eeprom.c
426
void *source, *target;
drivers/net/wireless/intersil/p54/eeprom.c
439
source = curve_data->data;
drivers/net/wireless/intersil/p54/eeprom.c
442
__le16 *freq = source;
drivers/net/wireless/intersil/p54/eeprom.c
443
source += sizeof(__le16);
drivers/net/wireless/intersil/p54/eeprom.c
448
src = source;
drivers/net/wireless/intersil/p54/eeprom.c
461
source += sizeof(*src);
drivers/net/wireless/intersil/p54/eeprom.c
478
void *source, *target;
drivers/net/wireless/intersil/p54/eeprom.c
491
source = curve_data->data;
drivers/net/wireless/intersil/p54/eeprom.c
494
__le16 *freq = source;
drivers/net/wireless/intersil/p54/eeprom.c
495
source += sizeof(__le16);
drivers/net/wireless/intersil/p54/eeprom.c
499
memcpy(target, source, sizeof(*src));
drivers/net/wireless/intersil/p54/eeprom.c
502
source += sizeof(*src);
drivers/net/wireless/intersil/p54/eeprom.c
504
source++;
drivers/net/wireless/realtek/rtw89/core.c
1118
if (((udphdr->source == htons(67) && udphdr->dest == htons(68)) ||
drivers/net/wireless/realtek/rtw89/core.c
1119
(udphdr->source == htons(68) && udphdr->dest == htons(67))) &&
drivers/net/wireless/realtek/rtw89/fw.c
10177
int rtw89_fw_h2c_mcc_sync(struct rtw89_dev *rtwdev, u8 group, u8 source,
drivers/net/wireless/realtek/rtw89/fw.c
10193
RTW89_SET_FWCMD_MCC_SYNC_MACID_SOURCE(skb->data, source);
drivers/net/wireless/realtek/rtw89/fw.h
5441
int rtw89_fw_h2c_mcc_sync(struct rtw89_dev *rtwdev, u8 group, u8 source,
drivers/net/xen-netback/hash.c
294
.source.u.ref = gref,
drivers/net/xen-netback/hash.c
295
.source.domid = vif->domid,
drivers/net/xen-netback/hash.c
340
.source.u.ref = gref,
drivers/net/xen-netback/hash.c
341
.source.domid = vif->domid,
drivers/net/xen-netback/hash.c
355
copy_op[1].source.offset = XEN_PAGE_SIZE - copy_op[0].dest.offset;
drivers/net/xen-netback/hash.c
358
copy_op[1].len = copy_op[0].len - copy_op[1].source.offset;
drivers/net/xen-netback/hash.c
359
copy_op[0].len = copy_op[1].source.offset;
drivers/net/xen-netback/netback.c
407
cop->source.u.ref = txp->gref;
drivers/net/xen-netback/netback.c
408
cop->source.domid = queue->vif->domid;
drivers/net/xen-netback/netback.c
409
cop->source.offset = txp->offset;
drivers/net/xen-netback/netback.c
598
(*gopp_copy)->source.u.ref);
drivers/net/xen-netback/rx.c
212
op->source.domid = foreign->domid;
drivers/net/xen-netback/rx.c
213
op->source.u.ref = foreign->gref;
drivers/net/xen-netback/rx.c
216
op->source.u.gmfn = virt_to_gfn(data);
drivers/net/xen-netback/rx.c
217
op->source.domid = DOMID_SELF;
drivers/net/xen-netback/rx.c
220
op->source.offset = xen_offset_in_page(data);
drivers/pci/controller/pci-hyperv.c
641
params->int_entry.source = HV_INTERRUPT_SOURCE_MSI;
drivers/pci/pcie/aer.c
855
u16 source = info->id;
drivers/pci/pcie/aer.c
860
pci_domain_nr(dev->bus), PCI_BUS_NUM(source),
drivers/pci/pcie/aer.c
861
PCI_SLOT(source), PCI_FUNC(source),
drivers/pci/pcie/dpc.c
265
u16 cap = pdev->dpc_cap, status, source, reason, ext_reason;
drivers/pci/pcie/dpc.c
286
&source);
drivers/pci/pcie/dpc.c
291
pci_domain_nr(pdev->bus), PCI_BUS_NUM(source),
drivers/pci/pcie/dpc.c
292
PCI_SLOT(source), PCI_FUNC(source));
drivers/perf/arm-cci.c
213
CCI_FORMAT_EXT_ATTR_ENTRY(source, "config:5-7"),
drivers/perf/arm-cci.c
449
CCI_FORMAT_EXT_ATTR_ENTRY(source, "config:5-8"),
drivers/perf/arm-ccn.c
1000
writel(val, source->base + CCN_XP_PMU_EVENT_SEL);
drivers/perf/arm-ccn.c
1007
struct arm_ccn_component *source =
drivers/perf/arm-ccn.c
1008
ccn->dt.pmu_counters[hw->idx].source;
drivers/perf/arm-ccn.c
1032
val = readl(source->base + CCN_HNF_PMU_EVENT_SEL);
drivers/perf/arm-ccn.c
1037
writel(val, source->base + CCN_HNF_PMU_EVENT_SEL);
drivers/perf/arm-ccn.c
153
struct arm_ccn_component *source;
drivers/perf/arm-ccn.c
627
struct arm_ccn_component *source;
drivers/perf/arm-ccn.c
655
source = &ccn->xp[node_xp];
drivers/perf/arm-ccn.c
657
source = &ccn->node[node_xp];
drivers/perf/arm-ccn.c
658
ccn->dt.pmu_counters[hw->idx].source = source;
drivers/perf/arm-ccn.c
662
bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask,
drivers/perf/arm-ccn.c
665
bit = arm_ccn_pmu_alloc_bit(source->pmu_events_mask,
drivers/perf/arm-ccn.c
688
struct arm_ccn_component *source =
drivers/perf/arm-ccn.c
689
ccn->dt.pmu_counters[hw->idx].source;
drivers/perf/arm-ccn.c
694
clear_bit(hw->config_base, source->xp.dt_cmp_mask);
drivers/perf/arm-ccn.c
696
clear_bit(hw->config_base, source->pmu_events_mask);
drivers/perf/arm-ccn.c
700
ccn->dt.pmu_counters[hw->idx].source = NULL;
drivers/perf/arm-ccn.c
938
struct arm_ccn_component *source =
drivers/perf/arm-ccn.c
939
ccn->dt.pmu_counters[hw->idx].source;
drivers/perf/arm-ccn.c
950
val = readl(source->base + CCN_XP_DT_INTERFACE_SEL);
drivers/perf/arm-ccn.c
963
writel(val, source->base + CCN_XP_DT_INTERFACE_SEL);
drivers/perf/arm-ccn.c
966
writel(cmp_l & 0xffffffff, source->base + CCN_XP_DT_CMP_VAL_L(wp));
drivers/perf/arm-ccn.c
968
source->base + CCN_XP_DT_CMP_VAL_L(wp) + 4);
drivers/perf/arm-ccn.c
969
writel(cmp_h & 0xffffffff, source->base + CCN_XP_DT_CMP_VAL_H(wp));
drivers/perf/arm-ccn.c
971
source->base + CCN_XP_DT_CMP_VAL_H(wp) + 4);
drivers/perf/arm-ccn.c
974
writel(mask_l & 0xffffffff, source->base + CCN_XP_DT_CMP_MASK_L(wp));
drivers/perf/arm-ccn.c
976
source->base + CCN_XP_DT_CMP_MASK_L(wp) + 4);
drivers/perf/arm-ccn.c
977
writel(mask_h & 0xffffffff, source->base + CCN_XP_DT_CMP_MASK_H(wp));
drivers/perf/arm-ccn.c
979
source->base + CCN_XP_DT_CMP_MASK_H(wp) + 4);
drivers/perf/arm-ccn.c
986
struct arm_ccn_component *source =
drivers/perf/arm-ccn.c
987
ccn->dt.pmu_counters[hw->idx].source;
drivers/perf/arm-ccn.c
996
val = readl(source->base + CCN_XP_PMU_EVENT_SEL);
drivers/pinctrl/pinctrl-keembay.c
1363
irq->source = src;
drivers/pinctrl/pinctrl-keembay.c
1505
kmb_irq->source = i;
drivers/pinctrl/pinctrl-keembay.c
91
unsigned int source;
drivers/platform/surface/aggregator/ssh_packet_layer.c
1697
static size_t ssh_ptl_rx_eval(struct ssh_ptl *ptl, struct ssam_span *source)
drivers/platform/surface/aggregator/ssh_packet_layer.c
1706
ssh_ptl_rx_inject_invalid_syn(ptl, source);
drivers/platform/surface/aggregator/ssh_packet_layer.c
1709
syn_found = sshp_find_syn(source, &aligned);
drivers/platform/surface/aggregator/ssh_packet_layer.c
1711
if (unlikely(aligned.ptr != source->ptr)) {
drivers/platform/surface/aggregator/ssh_packet_layer.c
1753
return aligned.ptr - source->ptr;
drivers/platform/surface/aggregator/ssh_packet_layer.c
1762
return aligned.ptr - source->ptr + sizeof(u16);
drivers/platform/surface/aggregator/ssh_packet_layer.c
1764
return aligned.ptr - source->ptr;
drivers/platform/surface/aggregator/ssh_packet_layer.c
1791
return aligned.ptr - source->ptr + SSH_MESSAGE_LENGTH(payload.len);
drivers/platform/surface/aggregator/ssh_parser.c
117
int sshp_parse_frame(const struct device *dev, const struct ssam_span *source,
drivers/platform/surface/aggregator/ssh_parser.c
129
if (!sshp_starts_with_syn(source)) {
drivers/platform/surface/aggregator/ssh_parser.c
135
if (unlikely(source->len < SSH_MESSAGE_LENGTH(0))) {
drivers/platform/surface/aggregator/ssh_parser.c
141
sf.ptr = source->ptr + sizeof(u16);
drivers/platform/surface/aggregator/ssh_parser.c
162
if (source->len < SSH_MESSAGE_LENGTH(sp.len)) {
drivers/platform/surface/aggregator/ssh_parser.c
206
int sshp_parse_command(const struct device *dev, const struct ssam_span *source,
drivers/platform/surface/aggregator/ssh_parser.c
211
if (unlikely(source->len < sizeof(struct ssh_command))) {
drivers/platform/surface/aggregator/ssh_parser.c
220
*command = (struct ssh_command *)source->ptr;
drivers/platform/surface/aggregator/ssh_parser.c
221
command_data->ptr = source->ptr + sizeof(struct ssh_command);
drivers/platform/surface/aggregator/ssh_parser.c
222
command_data->len = source->len - sizeof(struct ssh_command);
drivers/platform/surface/aggregator/ssh_parser.h
146
int sshp_parse_frame(const struct device *dev, const struct ssam_span *source,
drivers/platform/surface/aggregator/ssh_parser.h
150
int sshp_parse_command(const struct device *dev, const struct ssam_span *source,
drivers/platform/surface/surface_aggregator_tabletsw.c
24
u32 source;
drivers/platform/surface/surface_aggregator_tabletsw.c
282
state->source = 0; /* Unused for KIP switch. */
drivers/platform/surface/surface_aggregator_tabletsw.c
409
switch (state->source) {
drivers/platform/surface/surface_aggregator_tabletsw.c
417
dev_warn(&sw->sdev->dev, "unknown device posture source: %u\n", state->source);
drivers/platform/surface/surface_aggregator_tabletsw.c
463
switch (state->source) {
drivers/platform/surface/surface_aggregator_tabletsw.c
471
dev_warn(&sw->sdev->dev, "unknown device posture source: %u\n", state->source);
drivers/platform/surface/surface_aggregator_tabletsw.c
581
state->source = source_id;
drivers/platform/surface/surface_aggregator_tabletsw.c
98
if (sw->state.source == state.source && sw->state.state == state.state)
drivers/platform/x86/dell/alienware-wmi-wmax.c
439
static DEVICE_ATTR_RW(source);
drivers/power/supply/apm_power.c
117
static int do_calculate_time(int status, enum apm_source source)
drivers/power/supply/apm_power.c
139
switch (source) {
drivers/power/supply/apm_power.c
165
printk(KERN_ERR "Unsupported source: %d\n", source);
drivers/power/supply/apm_power.c
212
static int calculate_capacity(enum apm_source source)
drivers/power/supply/apm_power.c
220
switch (source) {
drivers/power/supply/apm_power.c
246
printk(KERN_ERR "Unsupported source: %d\n", source);
drivers/power/supply/qcom_battmgr.c
1261
unsigned int source;
drivers/power/supply/qcom_battmgr.c
1324
source = le32_to_cpu(resp->status.charging_source);
drivers/power/supply/qcom_battmgr.c
1325
battmgr->ac.online = source == BATTMGR_CHARGING_SOURCE_AC;
drivers/power/supply/qcom_battmgr.c
1326
battmgr->usb.online = source == BATTMGR_CHARGING_SOURCE_USB;
drivers/power/supply/qcom_battmgr.c
1327
battmgr->wireless.online = source == BATTMGR_CHARGING_SOURCE_WIRELESS;
drivers/ps3/ps3av.c
407
int ps3av_set_audio_mode(u32 ch, u32 fs, u32 word_bits, u32 format, u32 source)
drivers/ps3/ps3av.c
437
fs, word_bits, format, source);
drivers/ps3/ps3av_cmd.c
549
static u8 ps3av_cnv_enable(u32 source, const u8 *enable)
drivers/ps3/ps3av_cmd.c
553
if (source == PS3AV_CMD_AUDIO_SOURCE_SPDIF) {
drivers/ps3/ps3av_cmd.c
555
} else if (source == PS3AV_CMD_AUDIO_SOURCE_SERIAL) {
drivers/ps3/ps3av_cmd.c
559
printk(KERN_ERR "%s failed, source:%x\n", __func__, source);
drivers/ps3/ps3av_cmd.c
668
u32 source)
drivers/ps3/ps3av_cmd.c
673
if (!(ch | fs | format | word_bits | source)) {
drivers/ps3/ps3av_cmd.c
678
source = PS3AV_CMD_AUDIO_SOURCE_SERIAL;
drivers/ps3/ps3av_cmd.c
691
audio->audio_source = source;
drivers/remoteproc/imx_dsp_rproc.c
806
const u32 *source = src;
drivers/remoteproc/imx_dsp_rproc.c
820
writel(source[i], dest + i * 4);
drivers/s390/cio/vfio_ccw_cp.c
213
static void convert_ccw0_to_ccw1(struct ccw1 *source, unsigned long len)
drivers/s390/cio/vfio_ccw_cp.c
216
struct ccw1 *pccw1 = source;
drivers/scsi/aic7xxx/aic79xx_core.c
321
#define AHD_ASSERT_MODES(ahd, source, dest) \
drivers/scsi/aic7xxx/aic79xx_core.c
322
ahd_assert_modes(ahd, source, dest, __FILE__, __LINE__);
drivers/scsi/aic7xxx/aic7xxx_core.c
7030
| (fmt3_ins->source << 8)
drivers/scsi/aic7xxx/aic7xxx_core.c
7036
| (fmt1_ins->source << 8)
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
1241
T_BMOV destination ',' source ',' immediate ret ';'
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
1248
T_MOV destination ',' source ret ';'
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
1389
T_TEST source ',' immediate_or_a jz_jnz address ';'
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
1396
T_CMP source ',' immediate_or_a je_jne address ';'
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
1403
T_MOV source jmp_jc_jnc_call address ';'
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
1671
f1_instr->source = src->symbol->info.rinfo->address
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
1744
f2_instr->source = src->symbol->info.rinfo->address
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
1808
f3_instr->source = src->symbol->info.rinfo->address
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
214
%type <sym_ref> reg_symbol address destination source opt_source
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
961
source:
drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
974
| ',' source
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
106
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
116
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
125
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
133
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
143
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
151
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
51
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
61
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
70
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
80
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
89
source : 9,
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
97
source : 9,
drivers/scsi/isci/init.c
597
char *source = "(platform)";
drivers/scsi/isci/init.c
624
source = "(firmware)";
drivers/scsi/isci/init.c
643
(orom->hdr.version & 0xf), source);
drivers/soc/fsl/qe/qe.c
246
enum qe_clock qe_clock_source(const char *source)
drivers/soc/fsl/qe/qe.c
250
if (strcasecmp(source, "none") == 0)
drivers/soc/fsl/qe/qe.c
253
if (strcmp(source, "tsync_pin") == 0)
drivers/soc/fsl/qe/qe.c
256
if (strcmp(source, "rsync_pin") == 0)
drivers/soc/fsl/qe/qe.c
259
if (strncasecmp(source, "brg", 3) == 0) {
drivers/soc/fsl/qe/qe.c
260
i = simple_strtoul(source + 3, NULL, 10);
drivers/soc/fsl/qe/qe.c
267
if (strncasecmp(source, "clk", 3) == 0) {
drivers/soc/fsl/qe/qe.c
268
i = simple_strtoul(source + 3, NULL, 10);
drivers/soc/fsl/qe/ucc.c
552
int source = -EINVAL;
drivers/soc/fsl/qe/ucc.c
555
source = 0;
drivers/soc/fsl/qe/ucc.c
556
return source;
drivers/soc/fsl/qe/ucc.c
559
source = 0;
drivers/soc/fsl/qe/ucc.c
560
return source;
drivers/soc/fsl/qe/ucc.c
568
source = 1;
drivers/soc/fsl/qe/ucc.c
571
source = 2;
drivers/soc/fsl/qe/ucc.c
581
source = 1;
drivers/soc/fsl/qe/ucc.c
584
source = 2;
drivers/soc/fsl/qe/ucc.c
594
source = 1;
drivers/soc/fsl/qe/ucc.c
597
source = 2;
drivers/soc/fsl/qe/ucc.c
607
source = 1;
drivers/soc/fsl/qe/ucc.c
610
source = 2;
drivers/soc/fsl/qe/ucc.c
618
return source;
drivers/soc/fsl/qe/ucc.c
634
int source;
drivers/soc/fsl/qe/ucc.c
647
source = ucc_get_tdm_sync_source(tdm_num, clock, mode);
drivers/soc/fsl/qe/ucc.c
648
if (source < 0)
drivers/soc/fsl/qe/ucc.c
655
source << shift);
drivers/soc/tegra/cbb/tegra194-cbb.c
1866
tegra194_cbb_errors[hdr.errcode].source);
drivers/soc/tegra/cbb/tegra194-cbb.c
240
.source = "Target",
drivers/soc/tegra/cbb/tegra194-cbb.c
244
.source = "Initiator NIU",
drivers/soc/tegra/cbb/tegra194-cbb.c
248
.source = "Target NIU",
drivers/soc/tegra/cbb/tegra194-cbb.c
252
.source = "Power Disconnect",
drivers/soc/tegra/cbb/tegra194-cbb.c
256
.source = "Initiator NIU or Firewall",
drivers/soc/tegra/cbb/tegra194-cbb.c
260
.source = "Firewall",
drivers/soc/tegra/cbb/tegra194-cbb.c
264
.source = "Target NIU",
drivers/soc/tegra/cbb/tegra194-cbb.c
268
.source = "None",
drivers/soundwire/intel_ace2x.c
451
static void intel_shim_vs_set_clock_source(struct sdw_intel *sdw, u32 source)
drivers/soundwire/intel_ace2x.c
458
u32p_replace_bits(&val, source, SDW_SHIM2_INTEL_VS_LVSCTL_MLCS);
drivers/soundwire/intel_ace2x.c
462
dev_dbg(sdw->cdns.dev, "clock source %d LVSCTL %#x\n", source, val);
drivers/staging/greybus/audio_topology.c
1287
dapm_routes->source =
drivers/staging/greybus/audio_topology.c
1289
if (!dapm_routes->source) {
drivers/staging/greybus/audio_topology.c
1310
dapm_routes->source);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
1745
stream_env->stream_config.source.port.port = port;
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
1746
stream_env->stream_config.source.port.num_lanes = num_lanes;
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
1747
stream_env->stream_config.source.port.timeout = timeout;
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
1749
stream_env->stream_config.source.port.rxcount = rxcount;
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
277
s_config->source.port.port);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
279
s_config->source.port.num_lanes);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
281
s_config->source.port.timeout);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
283
s_config->source.port.rxcount);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
285
s_config->source.port.compression.type);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
288
s_config->source.port.compression.
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
292
s_config->source.port.compression.
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
296
s_config->source.prbs.id);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
298
s_config->source.prbs.h_blank);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
300
s_config->source.prbs.v_blank);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
302
s_config->source.prbs.seed);
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
304
s_config->source.prbs.seed1);
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
469
csi_cfg_t source = config.csi_value[port];//.csi_cfg;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
473
switch (source.buffering_mode) {
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
484
size_requested = source.csi_buffer.mem_reg_size *
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
485
source.csi_buffer.nof_mem_regs;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
486
if (source.csi_buffer.mem_reg_size > 0
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
487
&& source.csi_buffer.nof_mem_regs > 0
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
491
config.csi_buffer[port].mem_reg_size = source.csi_buffer.mem_reg_size;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
492
config.csi_buffer[port].nof_mem_regs = source.csi_buffer.nof_mem_regs;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
508
switch (source.buffering_mode) {
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
519
size_requested = source.acquisition_buffer.mem_reg_size
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
520
* source.acquisition_buffer.nof_mem_regs;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
521
if (source.acquisition_buffer.mem_reg_size > 0
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
522
&& source.acquisition_buffer.nof_mem_regs > 0
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
525
candidate_buffer_acq = source.acquisition_buffer;
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
530
if (source.acquisition_buffer.mem_reg_size != candidate_buffer_acq.mem_reg_size
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
531
|| source.acquisition_buffer.nof_mem_regs != candidate_buffer_acq.nof_mem_regs
drivers/staging/media/atomisp/pci/ia_css_acc_types.h
103
u32 source; /* memory, sensor, variable */
drivers/staging/media/atomisp/pci/ia_css_stream_public.h
88
} source; /** Source of input data */
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
1123
if (online && candidate->input.source == IA_CSS_BINARY_INPUT_MEMORY) {
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
1126
__LINE__, online, candidate->input.source,
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
1130
if (!online && candidate->input.source == IA_CSS_BINARY_INPUT_SENSOR) {
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
1133
__LINE__, online, candidate->input.source,
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1535
config->source.port.port);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1537
config->source.port.num_lanes);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1539
config->source.port.timeout);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1541
config->source.port.compression.type);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1546
config->source.prbs.id);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1548
config->source.prbs.h_blank);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1550
config->source.prbs.v_blank);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1552
config->source.prbs.seed);
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
1554
config->source.prbs.seed1);
drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c
119
port = config->source.port.port;
drivers/staging/media/atomisp/pci/sh_css.c
1076
retval = func(stream->config.source.port.port, isys_stream_id);
drivers/staging/media/atomisp/pci/sh_css.c
1183
me->stream->config.source.port.port);
drivers/staging/media/atomisp/pci/sh_css.c
3384
pipe->stream->config.source.port.port);
drivers/staging/media/atomisp/pci/sh_css.c
4816
pipe->stream->config.source.port.port);
drivers/staging/media/atomisp/pci/sh_css.c
642
if (stream_cfg->source.prbs.id == IA_CSS_PRBS_ID0)
drivers/staging/media/atomisp/pci/sh_css.c
644
else if (stream_cfg->source.prbs.id == IA_CSS_PRBS_ID1)
drivers/staging/media/atomisp/pci/sh_css.c
646
else if (stream_cfg->source.prbs.id == IA_CSS_PRBS_ID2)
drivers/staging/media/atomisp/pci/sh_css.c
652
if (stream_cfg->source.port.port == MIPI_PORT0_ID)
drivers/staging/media/atomisp/pci/sh_css.c
654
else if (stream_cfg->source.port.port == MIPI_PORT1_ID)
drivers/staging/media/atomisp/pci/sh_css.c
656
else if (stream_cfg->source.port.port == MIPI_PORT2_ID)
drivers/staging/media/atomisp/pci/sh_css.c
706
isys_stream_descr->prbs_port_attr.seed0 = stream_cfg->source.prbs.seed;
drivers/staging/media/atomisp/pci/sh_css.c
707
isys_stream_descr->prbs_port_attr.seed1 = stream_cfg->source.prbs.seed1;
drivers/staging/media/atomisp/pci/sh_css.c
736
stream_cfg->source.port.num_lanes;
drivers/staging/media/atomisp/pci/sh_css.c
744
&stream_cfg->source.port.compression,
drivers/staging/media/atomisp/pci/sh_css.c
7491
stream_config->source.port.rxcount = 0x04040404;
drivers/staging/media/atomisp/pci/sh_css.c
7740
config = &stream->config.source.port;
drivers/staging/media/atomisp/pci/sh_css.c
7861
unsigned int port = (unsigned int)stream_config->source.port.port;
drivers/staging/media/atomisp/pci/sh_css.c
7940
curr_stream->config.source.port.num_lanes =
drivers/staging/media/atomisp/pci/sh_css.c
7941
stream_config->source.port.num_lanes;
drivers/staging/media/atomisp/pci/sh_css.c
7966
sh_css_sp_configure_prbs(curr_stream->config.source.prbs.seed);
drivers/staging/media/atomisp/pci/sh_css.c
804
stream_cfg->source.port.compression.type != IA_CSS_CSI2_COMPRESSION_TYPE_NONE) {
drivers/staging/media/atomisp/pci/sh_css.c
805
if (stream_cfg->source.port.compression.uncompressed_bits_per_pixel ==
drivers/staging/media/atomisp/pci/sh_css.c
808
else if (stream_cfg->source.port.compression.uncompressed_bits_per_pixel ==
drivers/staging/media/atomisp/pci/sh_css.c
8351
unsigned int port = (unsigned int)(stream->config.source.port.port);
drivers/staging/media/atomisp/pci/sh_css.c
8387
unsigned int port = (unsigned int)(stream->config.source.port.port);
drivers/staging/media/atomisp/pci/sh_css_mipi.c
319
port = (unsigned int)pipe->stream->config.source.port.port;
drivers/staging/media/atomisp/pci/sh_css_mipi.c
429
port = (unsigned int)pipe->stream->config.source.port.port;
drivers/staging/media/atomisp/pci/sh_css_mipi.c
510
port = (unsigned int)pipe->stream->config.source.port.port;
drivers/staging/media/av7110/av7110.c
1022
(demux->dmx.frontend->source != DMX_MEMORY_FE))
drivers/staging/media/av7110/av7110.c
1036
if (demux->dmx.frontend->source != DMX_MEMORY_FE) {
drivers/staging/media/av7110/av7110.c
1295
av7110->hw_frontend.source = DMX_FRONTEND_0;
drivers/staging/media/av7110/av7110.c
1302
av7110->mem_frontend.source = DMX_MEMORY_FE;
drivers/staging/media/av7110/av7110.c
277
if (dvbdmxfilter->feed->demux->dmx.frontend->source == DMX_MEMORY_FE)
drivers/staging/media/av7110/av7110.c
952
switch (demux->dmx.frontend->source) {
drivers/staging/media/av7110/av7110.c
970
(demux->dmx.frontend->source != DMX_MEMORY_FE)) {
drivers/staging/media/av7110/av7110.c
991
if (demux->dmx.frontend->source != DMX_MEMORY_FE) {
drivers/staging/media/av7110/av7110_av.c
846
if (av7110->full_ts && demux->dmx.frontend->source != DMX_MEMORY_FE)
drivers/staging/media/av7110/av7110_v4l.c
218
int source, sync;
drivers/staging/media/av7110/av7110_v4l.c
225
source = SAA7146_HPS_SOURCE_PORT_B;
drivers/staging/media/av7110/av7110_v4l.c
264
source = SAA7146_HPS_SOURCE_PORT_A;
drivers/staging/media/av7110/av7110_v4l.c
288
saa7146_set_hps_source_and_sync(dev, source, sync);
drivers/staging/media/imx/imx-media-dev-common.c
107
link->source);
drivers/staging/media/imx/imx-media-dev-common.c
160
ret = imx_media_add_vdev_to_pad(imxmd, vdev, link->source);
drivers/staging/media/imx/imx-media-dev-common.c
240
struct media_entity *source = link->source->entity;
drivers/staging/media/imx/imx-media-dev-common.c
252
if (!is_media_entity_v4l2_subdev(source))
drivers/staging/media/imx/imx-media-dev-common.c
255
sd = media_entity_to_v4l2_subdev(source);
drivers/staging/media/imx/imx-media-dev-common.c
256
pad_idx = link->source->index;
drivers/staging/media/ipu3/ipu3-abi.h
1551
u32 source; /* enum imgu_abi_bin_input_src */
drivers/staging/media/ipu3/ipu3-css.c
1593
if (bi->info.isp.sp.input.source !=
drivers/staging/media/ipu7/ipu7-isys-csi2.c
431
csi2->asd.source = (int)index;
drivers/staging/media/ipu7/ipu7-isys-csi2.c
495
struct v4l2_subdev *source;
drivers/staging/media/ipu7/ipu7-isys-csi2.c
500
source = media_entity_to_v4l2_subdev(source_entity);
drivers/staging/media/ipu7/ipu7-isys-csi2.c
501
if (!source)
drivers/staging/media/ipu7/ipu7-isys-csi2.c
508
ret = v4l2_subdev_call(source, pad, get_frame_desc, pad->index, &desc);
drivers/staging/media/ipu7/ipu7-isys-subdev.c
316
asd->source = -1;
drivers/staging/media/ipu7/ipu7-isys-subdev.h
24
int source; /* SSI stream source; -1 if unset */
drivers/staging/media/ipu7/ipu7-isys-video.c
292
if (!link->source->entity)
drivers/staging/media/ipu7/ipu7-isys-video.c
295
s_sd = media_entity_to_v4l2_subdev(link->source->entity);
drivers/staging/media/ipu7/ipu7-isys-video.c
301
link->source->entity->name, link->source->index,
drivers/staging/media/ipu7/ipu7-isys-video.c
641
stream->stream_source = stream->asd->source;
drivers/staging/media/ipu7/ipu7-isys-video.c
745
ipu7_isys_query_stream_by_source(struct ipu7_isys *isys, int source, u8 vc)
drivers/staging/media/ipu7/ipu7-isys-video.c
754
if (source < 0) {
drivers/staging/media/ipu7/ipu7-isys-video.c
765
if (isys->streams[i].stream_source == source &&
drivers/staging/media/ipu7/ipu7-isys-video.h
116
ipu7_isys_query_stream_by_source(struct ipu7_isys *isys, int source, u8 vc);
drivers/staging/media/ipu7/ipu7-isys.c
1052
csi2->asd.source, vc);
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
110
struct sun6i_isp_proc_source *source)
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
118
if (source == &proc->source_csi0)
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
173
struct sun6i_isp_proc_source *source;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
190
source = &proc->source_csi0;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
192
source = &proc->source_csi1;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
225
sun6i_isp_proc_enable(isp_dev, source);
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
409
struct sun6i_isp_proc_source *source = proc_async_subdev->source;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
412
switch (source->endpoint.base.port) {
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
414
source = &proc->source_csi0;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
418
source = &proc->source_csi1;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
425
source->subdev = remote_subdev;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
455
struct sun6i_isp_proc_source *source,
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
460
struct v4l2_fwnode_endpoint *endpoint = &source->endpoint;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
482
proc_async_subdev->source = source;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
484
source->expected = true;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.h
38
struct sun6i_isp_proc_source *source;
drivers/staging/media/tegra-video/vi.c
1367
struct media_entity *source = &csi_chan->subdev.entity;
drivers/staging/media/tegra-video/vi.c
1389
source->name, source_pad->index,
drivers/staging/media/tegra-video/vi.c
1392
ret = media_create_pad_link(source, source_pad->index,
drivers/staging/media/tegra-video/vi.c
1398
source->name, source_pad->index,
drivers/staging/rtl8723bs/core/rtw_ieee80211.c
109
u8 *rtw_set_fixed_ie(unsigned char *pbuf, unsigned int len, unsigned char *source,
drivers/staging/rtl8723bs/core/rtw_ieee80211.c
112
memcpy((void *)pbuf, (void *)source, len);
drivers/staging/rtl8723bs/core/rtw_ieee80211.c
121
u8 *source,
drivers/staging/rtl8723bs/core/rtw_ieee80211.c
129
memcpy((void *)(pbuf + 2), (void *)source, len);
drivers/staging/rtl8723bs/include/ieee80211.h
732
u8 *rtw_set_fixed_ie(unsigned char *pbuf, unsigned int len, unsigned char *source, unsigned int *frlen);
drivers/staging/rtl8723bs/include/ieee80211.h
733
u8 *rtw_set_ie(u8 *pbuf, signed int index, uint len, u8 *source, uint *frlen);
drivers/target/sbp/sbp_target.c
1578
struct fw_request *request, int tcode, int destination, int source,
drivers/target/sbp/sbp_target.c
1614
req->node_addr = source;
drivers/target/sbp/sbp_target.c
796
int tcode, int destination, int source, int generation,
drivers/target/sbp/sbp_target.c
815
if (source != sess_node) {
drivers/target/sbp/sbp_target.c
817
source, sess_node);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
114
if (!acpi_fetch_acpi_dev(trt->source))
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
190
if (!acpi_fetch_acpi_dev(art->source))
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
316
res = acpi_fetch_acpi_dev(psvt->source);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
383
get_single_name(arts[i].source, art_user[i].source_device);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
420
get_single_name(trts[i].source, trt_user[i].source_device);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
455
get_single_name(psvts[i].source, psvt_user[i].source_device);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h
28
acpi_handle source;
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h
46
acpi_handle source;
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h
61
acpi_handle source;
drivers/tty/hvc/hvsi.c
907
static ssize_t hvsi_write(struct tty_struct *tty, const u8 *source,
drivers/tty/hvc/hvsi.c
934
memcpy(hp->outbuf + hp->n_outbuf, source, chunksize);
drivers/tty/hvc/hvsi.c
938
source += chunksize;
drivers/uio/uio_mf624.c
32
static void mf624_disable_interrupt(enum mf624_interrupt_source source,
drivers/uio/uio_mf624.c
37
switch (source) {
drivers/uio/uio_mf624.c
60
static void mf624_enable_interrupt(enum mf624_interrupt_source source,
drivers/uio/uio_mf624.c
65
switch (source) {
drivers/usb/atm/usbatm.c
291
static void usbatm_extract_one_cell(struct usbatm_data *instance, unsigned char *source)
drivers/usb/atm/usbatm.c
295
short vpi = ((source[0] & 0x0f) << 4) | (source[1] >> 4);
drivers/usb/atm/usbatm.c
296
int vci = ((source[1] & 0x0f) << 12) | (source[2] << 4) | (source[3] >> 4);
drivers/usb/atm/usbatm.c
297
u8 pti = ((source[3] & 0xe) >> 1);
drivers/usb/atm/usbatm.c
332
memcpy(skb_tail_pointer(sarb), source + ATM_CELL_HEADER, ATM_CELL_PAYLOAD);
drivers/usb/atm/usbatm.c
340
length = (source[ATM_CELL_SIZE - 6] << 8) + source[ATM_CELL_SIZE - 5];
drivers/usb/atm/usbatm.c
410
unsigned char *source, unsigned int avail_data)
drivers/usb/atm/usbatm.c
425
memcpy(cell_buf + buf_usage, source, space_left);
drivers/usb/atm/usbatm.c
426
source += space_left;
drivers/usb/atm/usbatm.c
432
memcpy(cell_buf + buf_usage, source, avail_data);
drivers/usb/atm/usbatm.c
438
for (; avail_data >= stride; avail_data -= stride, source += stride)
drivers/usb/atm/usbatm.c
439
usbatm_extract_one_cell(instance, source);
drivers/usb/atm/usbatm.c
444
memcpy(instance->cell_buf, source, avail_data);
drivers/usb/gadget/function/f_fs.c
2022
if (!fc->source)
drivers/usb/gadget/function/f_fs.c
2025
ffs = ffs_data_new(fc->source);
drivers/usb/gadget/function/f_fs.c
2031
ffs->dev_name = kstrdup(fc->source, GFP_KERNEL);
drivers/usb/gadget/function/f_midi2.c
1701
unsigned int type, unsigned int source)
drivers/usb/gadget/function/f_midi2.c
1714
jack->pins[0].baSourceID = source;
drivers/usb/typec/class.c
1932
bool source;
drivers/usb/typec/class.c
1945
ret = kstrtobool(buf, &source);
drivers/usb/typec/class.c
1949
ret = port->ops->vconn_set(port, (enum typec_role)source);
drivers/usb/typec/tcpm/tcpci.c
521
static int tcpci_set_vbus(struct tcpc_dev *tcpc, bool source, bool sink)
drivers/usb/typec/tcpm/tcpci.c
527
ret = tcpci->data->set_vbus(tcpci, tcpci->data, source, sink);
drivers/usb/typec/tcpm/tcpci.c
535
if (!source) {
drivers/usb/typec/tcpm/tcpci.c
549
if (source) {
drivers/usb/typec/tcpm/tcpci_maxim_core.c
205
static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink)
drivers/usb/typec/tcpm/tcpci_maxim_core.c
219
.buf = source ? buffer_source : sink ? buffer_sink : buffer_none,
drivers/usb/typec/tcpm/tcpci_maxim_core.c
223
if (source && sink) {
drivers/usb/typec/tcpm/tcpci_mt6370.c
79
bool source, bool sink)
drivers/usb/typec/tcpm/tcpci_mt6370.c
89
if (ret && !source)
drivers/usb/typec/tcpm/tcpci_mt6370.c
92
if (!ret && source)
drivers/video/fbdev/aty/radeon_base.c
1559
int source;
drivers/video/fbdev/aty/radeon_base.c
1568
source = (fp2_gen_cntl >> 10) & 0x3;
drivers/video/fbdev/aty/radeon_base.c
1572
if (source == 3) {
drivers/video/fbdev/aty/radeon_base.c
1574
source = (disp_output_cntl >> 12) & 0x3;
drivers/video/fbdev/aty/radeon_base.c
1577
source = (fp2_gen_cntl >> 13) & 0x1;
drivers/video/fbdev/aty/radeon_base.c
1579
if (source == 1)
drivers/video/fbdev/fsl-diu-fb.c
1071
uint32_t *image, *source, *mask;
drivers/video/fbdev/fsl-diu-fb.c
1090
source = (uint32_t *)cursor->image.data;
drivers/video/fbdev/fsl-diu-fb.c
1095
image[i] = source[i] ^ mask[i];
drivers/video/fbdev/fsl-diu-fb.c
1098
image[i] = source[i] & mask[i];
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2389
switch (dsi->vc[channel].source) {
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2447
dsi->vc[channel].source = DSI_VC_SOURCE_L4;
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2451
enum dsi_vc_source source)
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2455
if (dsi->vc[channel].source == source)
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2471
REG_FLD_MOD(dsidev, DSI_VC_CTRL(channel), source, 1, 1);
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2475
bool enable = source == DSI_VC_SOURCE_VP;
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2481
dsi->vc[channel].source = source;
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
317
enum dsi_vc_source source;
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
5397
dsi->vc[i].source = DSI_VC_SOURCE_L4;
drivers/video/fbdev/via/via_clock.c
215
static inline u8 set_clock_source_common(enum via_clksrc source, bool use_pll)
drivers/video/fbdev/via/via_clock.c
219
switch (source) {
drivers/video/fbdev/via/via_clock.c
246
static void set_primary_clock_source(enum via_clksrc source, bool use_pll)
drivers/video/fbdev/via/via_clock.c
248
u8 data = set_clock_source_common(source, use_pll) << 4;
drivers/video/fbdev/via/via_clock.c
252
static void set_secondary_clock_source(enum via_clksrc source, bool use_pll)
drivers/video/fbdev/via/via_clock.c
254
u8 data = set_clock_source_common(source, use_pll);
drivers/video/fbdev/via/via_clock.c
263
static void dummy_set_clock_source(enum via_clksrc source, bool use_pll)
drivers/virt/fsl_hypervisor.c
173
if ((param.source == -1) == (param.target == -1))
drivers/virt/fsl_hypervisor.c
250
num_pages, param.source != -1 ? FOLL_WRITE : 0, pages);
drivers/virt/fsl_hypervisor.c
262
if (param.source == -1) {
drivers/virt/fsl_hypervisor.c
263
sg_list[0].source = page_to_phys(pages[0]) + lb_offset;
drivers/virt/fsl_hypervisor.c
266
sg_list[0].source = param.remote_paddr;
drivers/virt/fsl_hypervisor.c
275
if (param.source == -1) {
drivers/virt/fsl_hypervisor.c
277
sg_list[i].source = page_to_phys(pages[i]);
drivers/virt/fsl_hypervisor.c
281
sg_list[i].source = remote_paddr;
drivers/virt/fsl_hypervisor.c
290
param.ret = fh_partition_memcpy(param.source, param.target,
drivers/xen/gntdev.c
878
if (seg->source.foreign.offset + seg->len > XEN_PAGE_SIZE)
drivers/xen/gntdev.c
908
op->source.u.ref = seg->source.foreign.ref;
drivers/xen/gntdev.c
909
op->source.domid = seg->source.foreign.domid;
drivers/xen/gntdev.c
910
op->source.offset = seg->source.foreign.offset + copied;
drivers/xen/gntdev.c
913
virt = seg->source.virt + copied;
drivers/xen/gntdev.c
922
op->source.u.gmfn = gfn;
drivers/xen/gntdev.c
923
op->source.domid = DOMID_SELF;
drivers/xen/gntdev.c
924
op->source.offset = off;
fs/9p/v9fs.c
237
if (fc->source) {
fs/9p/v9fs.c
241
fc->source = param->string;
fs/9p/v9fs.c
508
rc = v9fs_cache_session_get_cookie(v9ses, fc->source);
fs/afs/cell.c
190
vllist->source = DNS_RECORD_FROM_CONFIG;
fs/afs/cell.c
198
vllist->source = DNS_RECORD_UNAVAILABLE;
fs/afs/cell.c
205
cell->dns_source = vllist->source;
fs/afs/cell.c
508
_debug("%s: got list %d %d", cell->name, vllist->source, vllist->status);
fs/afs/cell.c
520
if (vllist->source == DNS_RECORD_UNAVAILABLE) {
fs/afs/cell.c
548
cell->dns_source = vllist->source;
fs/afs/internal.h
118
enum dns_record_source source:8;
fs/afs/internal.h
462
enum dns_record_source source:8;
fs/afs/internal.h
473
enum dns_record_source source:8;
fs/afs/proc.c
351
dns_record_sources[vllist ? vllist->source : 0],
fs/afs/proc.c
362
dns_record_sources[alist ? alist->source : entry->source],
fs/afs/super.c
232
if (fc->source)
fs/afs/super.c
310
fc->source = param->string;
fs/afs/vl_list.c
188
vllist->source = (hdr->source < NR__dns_record_source) ?
fs/afs/vl_list.c
189
hdr->source : NR__dns_record_source;
fs/afs/vl_list.c
205
bs.source = *b++;
fs/afs/vl_list.c
228
if (bs.source > NR__dns_record_source)
fs/afs/vl_list.c
229
bs.source = NR__dns_record_source;
fs/afs/vl_list.c
271
addrs->source = bs.source;
fs/btrfs/accessors.h
45
#define write_eb_member(eb, ptr, type, member, source) ( \
fs/btrfs/accessors.h
46
write_extent_buffer(eb, (const char *)(source), \
fs/btrfs/super.c
1858
device = btrfs_scan_one_device(fc->source, true);
fs/btrfs/super.c
2159
fc->source = src_fc->source;
fs/btrfs/super.c
2160
src_fc->source = NULL;
fs/ceph/super.c
1304
if (!fc->source)
fs/ceph/super.c
384
fc->source = param->string;
fs/ceph/super.c
446
if (fc->source)
fs/debugfs/inode.c
132
if (fc->source)
fs/debugfs/inode.c
134
fc->source = param->string;
fs/ecryptfs/main.c
446
if (!fc->source) {
fs/ecryptfs/main.c
484
rc = kern_path(fc->source, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path);
fs/erofs/fscache.c
122
enum netfs_io_source source;
fs/erofs/fscache.c
135
source = cres->ops->prepare_ondemand_read(cres,
fs/erofs/fscache.c
138
source = NETFS_INVALID_READ;
fs/erofs/fscache.c
139
if (source != NETFS_READ_FROM_CACHE) {
fs/erofs/fscache.c
140
erofs_err(NULL, "prepare_ondemand_read failed (source %d)", source);
fs/erofs/super.c
804
if (!fc->source)
fs/erofs/super.c
806
file = filp_open(fc->source, O_RDONLY | O_LARGEFILE, 0);
fs/ext2/super.c
95
s_id = strrchr(fc->source, '/');
fs/ext2/super.c
99
s_id = fc->source;
fs/fs_context.c
379
fc->source = NULL;
fs/fs_context.c
507
kfree(fc->source);
fs/fs_context.c
545
kfree(fc->source);
fs/fs_context.c
546
fc->source = NULL;
fs/fs_context.c
88
if (fc->source)
fs/fs_context.c
91
fc->source = param->string;
fs/fuse/inode.c
828
if (fsc->source)
fs/fuse/inode.c
830
fsc->source = param->string;
fs/fuse/virtio_fs.c
1669
if (!fsc->source)
fs/fuse/virtio_fs.c
1676
fs = virtio_fs_find_instance(fsc->source);
fs/fuse/virtio_fs.c
1678
pr_info("virtio-fs: tag <%s> not found\n", fsc->source);
fs/gfs2/ops_fstype.c
1679
if (!fc->source || !*fc->source)
fs/gfs2/ops_fstype.c
1682
error = kern_path(fc->source, LOOKUP_FOLLOW, &path);
fs/gfs2/ops_fstype.c
1685
fc->source, error);
fs/jbd2/transaction.c
919
char *source;
fs/jbd2/transaction.c
923
source = kmap_local_folio(bh->b_folio, bh_offset(bh));
fs/jbd2/transaction.c
925
jbd2_buffer_frozen_trigger(jh, source, jh->b_triggers);
fs/jbd2/transaction.c
926
memcpy(jh->b_frozen_data, source, bh->b_size);
fs/jbd2/transaction.c
927
kunmap_local(source);
fs/namei.c
5912
struct inode *source = old_dentry->d_inode;
fs/namei.c
5919
if (source == target)
fs/namei.c
5950
error = inode_permission(rd->mnt_idmap, source,
fs/namei.c
5987
inode_lock_nested(source, I_MUTEX_CHILD);
fs/namei.c
5993
inode_lock(source);
fs/namei.c
5995
lock_two_nondirectories(source, target);
fs/namei.c
5999
if (IS_SWAPFILE(source) || (target && IS_SWAPFILE(target)))
fs/namei.c
6023
error = try_break_deleg(source, delegated_inode);
fs/namei.c
6053
inode_unlock(source);
fs/namespace.c
1178
mnt = alloc_vfsmnt(fc->source);
fs/netfs/buffered_read.c
135
enum netfs_io_source source;
fs/netfs/buffered_read.c
139
source = cres->ops->prepare_read(subreq, i_size);
fs/netfs/buffered_read.c
141
return source;
fs/netfs/buffered_read.c
192
switch (subreq->source) {
fs/netfs/buffered_read.c
224
enum netfs_io_source source = NETFS_SOURCE_UNKNOWN;
fs/netfs/buffered_read.c
236
source = netfs_cache_prepare_read(rreq, subreq, rreq->i_size);
fs/netfs/buffered_read.c
237
subreq->source = source;
fs/netfs/buffered_read.c
238
if (source == NETFS_DOWNLOAD_FROM_SERVER) {
fs/netfs/buffered_read.c
245
subreq->source = source = NETFS_FILL_WITH_ZEROES;
fs/netfs/buffered_read.c
278
if (source == NETFS_FILL_WITH_ZEROES) {
fs/netfs/buffered_read.c
279
subreq->source = NETFS_FILL_WITH_ZEROES;
fs/netfs/buffered_read.c
285
if (source == NETFS_READ_FROM_CACHE) {
fs/netfs/buffered_read.c
290
pr_err("Unexpected read source %u\n", source);
fs/netfs/buffered_read.c
87
if (subreq->source == NETFS_DOWNLOAD_FROM_SERVER)
fs/netfs/direct_read.c
65
subreq->source = NETFS_DOWNLOAD_FROM_SERVER;
fs/netfs/direct_write.c
172
if (stream->source == NETFS_UPLOAD_TO_SERVER &&
fs/netfs/direct_write.c
194
struct iov_iter source;
fs/netfs/direct_write.c
197
source = subreq->io_iter;
fs/netfs/direct_write.c
198
netfs_reissue_write(stream, subreq, &source);
fs/netfs/internal.h
206
struct iov_iter *source);
fs/netfs/read_collect.c
295
stream->source = front->source;
fs/netfs/read_collect.c
380
if (!rreq->error && stream->source == NETFS_DOWNLOAD_FROM_SERVER &&
fs/netfs/read_collect.c
518
switch (subreq->source) {
fs/netfs/read_collect.c
560
if (subreq->source == NETFS_READ_FROM_CACHE) {
fs/netfs/read_retry.c
117
source = from->io_iter;
fs/netfs/read_retry.c
118
source.count = len;
fs/netfs/read_retry.c
127
subreq->source = NETFS_DOWNLOAD_FROM_SERVER;
fs/netfs/read_retry.c
147
part = netfs_limit_iter(&source, 0, part, stream->sreq_max_segs);
fs/netfs/read_retry.c
149
subreq->io_iter = source;
fs/netfs/read_retry.c
151
iov_iter_advance(&source, part);
fs/netfs/read_retry.c
196
subreq->source = NETFS_DOWNLOAD_FROM_SERVER;
fs/netfs/read_retry.c
213
part = netfs_limit_iter(&source, 0, part, stream->sreq_max_segs);
fs/netfs/read_retry.c
224
subreq->io_iter = source;
fs/netfs/read_retry.c
226
iov_iter_advance(&source, part);
fs/netfs/read_retry.c
77
struct iov_iter source;
fs/netfs/read_single.c
100
subreq->source = NETFS_SOURCE_UNKNOWN;
fs/netfs/read_single.c
115
switch (subreq->source) {
fs/netfs/read_single.c
134
pr_warn("Unexpected single-read source %u\n", subreq->source);
fs/netfs/read_single.c
67
subreq->source = NETFS_DOWNLOAD_FROM_SERVER;
fs/netfs/read_single.c
70
subreq->source = cres->ops->prepare_read(subreq, rreq->i_size);
fs/netfs/write_collect.c
264
if (stream->source == NETFS_UPLOAD_TO_SERVER)
fs/netfs/write_collect.c
39
s->stream_nr, s->source, s->error,
fs/netfs/write_collect.c
45
sreq->stream_nr, sreq->debug_index, sreq->source,
fs/netfs/write_collect.c
461
switch (subreq->source) {
fs/netfs/write_collect.c
480
switch (subreq->source) {
fs/netfs/write_issue.c
117
wreq->io_streams[0].source = NETFS_UPLOAD_TO_SERVER;
fs/netfs/write_issue.c
124
wreq->io_streams[1].source = NETFS_WRITE_TO_CACHE;
fs/netfs/write_issue.c
173
subreq->source = stream->source;
fs/netfs/write_issue.c
184
switch (stream->source) {
fs/netfs/write_issue.c
242
struct iov_iter *source)
fs/netfs/write_issue.c
247
subreq->io_iter = *source;
fs/netfs/write_issue.c
248
iov_iter_advance(source, size);
fs/netfs/write_issue.c
457
(stream->source == NETFS_WRITE_TO_CACHE && streamw) ||
fs/netfs/write_issue.c
458
(stream->source == NETFS_UPLOAD_TO_SERVER &&
fs/netfs/write_retry.c
109
part = netfs_limit_iter(&source, 0, part, stream->sreq_max_segs);
fs/netfs/write_retry.c
119
netfs_reissue_write(stream, subreq, &source);
fs/netfs/write_retry.c
146
subreq->source = to->source;
fs/netfs/write_retry.c
162
switch (stream->source) {
fs/netfs/write_retry.c
185
netfs_reissue_write(stream, subreq, &source);
fs/netfs/write_retry.c
27
if (stream->source == NETFS_UPLOAD_TO_SERVER &&
fs/netfs/write_retry.c
42
struct iov_iter source;
fs/netfs/write_retry.c
45
source = subreq->io_iter;
fs/netfs/write_retry.c
47
netfs_reissue_write(stream, subreq, &source);
fs/netfs/write_retry.c
57
struct iov_iter source;
fs/netfs/write_retry.c
89
source = from->io_iter;
fs/netfs/write_retry.c
90
source.count = len;
fs/nfs/client.c
1000
target->auth_info = source->auth_info;
fs/nfs/client.c
1001
target->port = source->port;
fs/nfs/client.c
1204
struct nfs_server *nfs_clone_server(struct nfs_server *source,
fs/nfs/client.c
1216
server->cred = get_cred(source->cred);
fs/nfs/client.c
1219
server->nfs_client = source->nfs_client;
fs/nfs/client.c
1220
server->destroy = source->destroy;
fs/nfs/client.c
1222
nfs_server_copy_userdata(server, source);
fs/nfs/client.c
1232
source->client->cl_timeout,
fs/nfs/client.c
985
void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *source)
fs/nfs/client.c
987
target->flags = source->flags;
fs/nfs/client.c
988
target->automount_inherit = source->automount_inherit;
fs/nfs/client.c
989
if (source->automount_inherit & NFS_AUTOMOUNT_INHERIT_BSIZE)
fs/nfs/client.c
990
target->bsize = source->bsize;
fs/nfs/client.c
991
if (source->automount_inherit & NFS_AUTOMOUNT_INHERIT_RSIZE)
fs/nfs/client.c
992
target->rsize = source->rsize;
fs/nfs/client.c
993
if (source->automount_inherit & NFS_AUTOMOUNT_INHERIT_WSIZE)
fs/nfs/client.c
994
target->wsize = source->wsize;
fs/nfs/client.c
995
target->acregmin = source->acregmin;
fs/nfs/client.c
996
target->acregmax = source->acregmax;
fs/nfs/client.c
997
target->acdirmin = source->acdirmin;
fs/nfs/client.c
998
target->acdirmax = source->acdirmax;
fs/nfs/client.c
999
target->options = source->options;
fs/nfs/fs_context.c
1069
const char *dev_name = fc->source;
fs/nfs/fs_context.c
1509
if (!fc->source)
fs/nfs/fs_context.c
607
if (fc->source)
fs/nfs/fs_context.c
609
fc->source = param->string;
fs/nfs/getroot.c
78
name = kstrdup(fc->source, GFP_KERNEL);
fs/nfs/nfs3client.c
64
struct nfs_server *nfs3_clone_server(struct nfs_server *source,
fs/nfs/nfs3client.c
69
struct nfs_server *server = nfs_clone_server(source, fh, fattr, flavor);
fs/nfs/nfs3client.c
70
if (!IS_ERR(server) && !IS_ERR(source->client_acl))
fs/nfs/nfs4namespace.c
293
char *export_path, *source, *p;
fs/nfs/nfs4namespace.c
320
source = kmalloc(len + 1 + ctx->nfs_server.export_path_len + 1,
fs/nfs/nfs4namespace.c
322
if (!source)
fs/nfs/nfs4namespace.c
325
kfree(fc->source);
fs/nfs/nfs4namespace.c
326
fc->source = source;
fs/nfs/nfs4namespace.c
346
p = source;
fs/nfs/nfs4proc.c
10610
static struct nfs_server *nfs4_clone_server(struct nfs_server *source,
fs/nfs/nfs4proc.c
10617
server = nfs_clone_server(source, fh, fattr, flavor);
fs/nfs/nfs4super.c
152
char *source;
fs/nfs/nfs4super.c
163
kfree(root_fc->source);
fs/nfs/nfs4super.c
164
root_fc->source = NULL;
fs/nfs/nfs4super.c
182
source = kasprintf(GFP_KERNEL, "[%s]:/", hostname);
fs/nfs/nfs4super.c
184
source = kasprintf(GFP_KERNEL, "%s:/", hostname);
fs/nfs/nfs4super.c
186
if (!source) {
fs/nfs/nfs4super.c
190
ret = vfs_parse_fs_string(root_fc, "source", source);
fs/nfs/nfs4super.c
191
kfree(source);
fs/nfsd/nfs4state.c
2580
static void copy_verf(struct nfs4_client *target, nfs4_verifier *source)
fs/nfsd/nfs4state.c
2582
memcpy(target->cl_verifier.data, source->data,
fs/nfsd/nfs4state.c
2586
static void copy_clid(struct nfs4_client *target, struct nfs4_client *source)
fs/nfsd/nfs4state.c
2588
target->cl_clientid.cl_boot = source->cl_clientid.cl_boot;
fs/nfsd/nfs4state.c
2589
target->cl_clientid.cl_id = source->cl_clientid.cl_id;
fs/nfsd/nfs4state.c
2592
static int copy_cred(struct svc_cred *target, struct svc_cred *source)
fs/nfsd/nfs4state.c
2594
target->cr_principal = kstrdup(source->cr_principal, GFP_KERNEL);
fs/nfsd/nfs4state.c
2595
target->cr_raw_principal = kstrdup(source->cr_raw_principal,
fs/nfsd/nfs4state.c
2597
target->cr_targ_princ = kstrdup(source->cr_targ_princ, GFP_KERNEL);
fs/nfsd/nfs4state.c
2598
if ((source->cr_principal && !target->cr_principal) ||
fs/nfsd/nfs4state.c
2599
(source->cr_raw_principal && !target->cr_raw_principal) ||
fs/nfsd/nfs4state.c
2600
(source->cr_targ_princ && !target->cr_targ_princ))
fs/nfsd/nfs4state.c
2603
target->cr_flavor = source->cr_flavor;
fs/nfsd/nfs4state.c
2604
target->cr_uid = source->cr_uid;
fs/nfsd/nfs4state.c
2605
target->cr_gid = source->cr_gid;
fs/nfsd/nfs4state.c
2606
target->cr_group_info = source->cr_group_info;
fs/nfsd/nfs4state.c
2608
target->cr_gss_mech = source->cr_gss_mech;
fs/nfsd/nfs4state.c
2609
if (source->cr_gss_mech)
fs/nfsd/nfs4state.c
2610
gss_mech_get(source->cr_gss_mech);
fs/nfsd/trace.h
2591
const char *source,
fs/nfsd/trace.h
2596
TP_ARGS(rqstp, sfhp, tfhp, source, sourcelen, target, targetlen),
fs/nfsd/trace.h
2601
__string_len(source, source, sourcelen)
fs/nfsd/trace.h
2608
__assign_str(source);
fs/nfsd/trace.h
2613
__get_str(source), __get_str(target)
fs/nilfs2/super.c
1217
err = lookup_bdev(fc->source, &dev);
fs/orangefs/super.c
461
if (!fc->source)
fs/orangefs/super.c
466
fc->source);
fs/orangefs/super.c
472
strscpy(new_op->upcall.req.fs_mount.orangefs_config_server, fc->source);
fs/orangefs/super.c
496
fc->source);
fs/orangefs/super.c
510
strscpy(ORANGEFS_SB(sb)->devname, fc->source);
fs/smb/client/cifs_unicode.c
438
cifsConvertToUTF16(__le16 *target, const char *source, int srclen,
fs/smb/client/cifs_unicode.c
451
return cifs_strtoUTF16(target, source, PATH_MAX, cp);
fs/smb/client/cifs_unicode.c
456
src_char = source[i];
fs/smb/client/cifs_unicode.c
476
if ((i == 0 || source[i-1] == '\\') &&
fs/smb/client/cifs_unicode.c
477
source[i] == '.' &&
fs/smb/client/cifs_unicode.c
478
(i == srclen-1 || source[i+1] == '\\'))
fs/smb/client/cifs_unicode.c
481
(i == 1 || source[i-2] == '\\') &&
fs/smb/client/cifs_unicode.c
482
source[i-1] == '.' &&
fs/smb/client/cifs_unicode.c
483
source[i] == '.' &&
fs/smb/client/cifs_unicode.c
484
(i == srclen-1 || source[i+1] == '\\'))
fs/smb/client/cifs_unicode.c
486
else if ((i == srclen - 1) || (source[i+1] == '\\'))
fs/smb/client/cifs_unicode.c
500
charlen = cp->char2uni(source + i, srclen - i, &tmp);
fs/smb/client/cifs_unicode.c
513
if (*(source + i) & 0x80) {
fs/smb/client/cifs_unicode.c
514
charlen = utf8_to_utf32(source + i, 6, &u);
fs/smb/client/cifs_unicode.c
519
ret = utf8s_to_utf16s(source + i, charlen,
fs/smb/client/cifs_unicode.h
67
int cifsConvertToUTF16(__le16 *target, const char *source, int srclen,
fs/smb/client/cifsfs.c
1022
old_ctx->source, flags);
fs/smb/client/cifsfs.c
1024
cifs_info("Attempting to mount %s\n", old_ctx->source);
fs/smb/client/cifsfs.c
597
char *devname = kstrdup(cifs_sb->ctx->source, GFP_KERNEL);
fs/smb/client/cifsproto.h
283
void cifs_move_llist(struct list_head *source, struct list_head *dest);
fs/smb/client/compress.c
160
static int collect_sample(const struct iov_iter *source, ssize_t max, u8 *sample)
fs/smb/client/compress.c
162
struct iov_iter iter = *source;
fs/smb/client/connect.c
2545
if (!ctx->source ||
fs/smb/client/connect.c
2546
!dfs_src_pathname_equal(ctx->source,
fs/smb/client/connect.c
2983
dfs_src_pathname_equal(tcon->origin_fullpath, ctx->source))
fs/smb/client/connect.c
3088
static void rfc1002mangle(char *target, char *source, unsigned int length)
fs/smb/client/connect.c
3094
target[j] = 'A' + (0x0F & (source[i] >> 4));
fs/smb/client/connect.c
3095
target[j+1] = 'A' + (0x0F & source[i]);
fs/smb/client/connect.c
4255
origin_fullpath = dfs_get_path(cifs_sb, cifs_sb->ctx->source);
fs/smb/client/dfs.c
210
origin_fullpath = dfs_get_path(cifs_sb, ctx->source);
fs/smb/client/dfs.c
257
rc = dns_resolve_unc(NULL, ctx->source, addr);
fs/smb/client/file.c
2138
cifs_move_llist(struct list_head *source, struct list_head *dest)
fs/smb/client/file.c
2141
list_for_each_safe(li, tmp, source)
fs/smb/client/file.c
323
if (rdata->subreq.source == NETFS_DOWNLOAD_FROM_SERVER) {
fs/smb/client/fs_context.c
1101
STEAL_STRING(cifs_sb, ctx, source);
fs/smb/client/fs_context.c
1526
kfree(ctx->source);
fs/smb/client/fs_context.c
1527
ctx->source = smb3_fs_context_fullpath(ctx, '/');
fs/smb/client/fs_context.c
1528
if (IS_ERR(ctx->source)) {
fs/smb/client/fs_context.c
1529
ctx->source = NULL;
fs/smb/client/fs_context.c
1533
kfree(fc->source);
fs/smb/client/fs_context.c
1534
fc->source = kstrdup(ctx->source, GFP_KERNEL);
fs/smb/client/fs_context.c
1535
if (fc->source == NULL) {
fs/smb/client/fs_context.c
1918
kfree(ctx->source);
fs/smb/client/fs_context.c
1919
ctx->source = NULL;
fs/smb/client/fs_context.c
1920
kfree(fc->source);
fs/smb/client/fs_context.c
1921
fc->source = NULL;
fs/smb/client/fs_context.c
2042
kfree(ctx->source);
fs/smb/client/fs_context.c
2043
ctx->source = NULL;
fs/smb/client/fs_context.c
443
new_ctx->source = NULL;
fs/smb/client/fs_context.c
457
DUP_CTX_STR(source);
fs/smb/client/fs_context.h
227
char *source;
fs/smb/client/namespace.c
239
tmp.source = NULL;
fs/smb/client/namespace.c
257
ctx->source = smb3_fs_context_fullpath(ctx, '/');
fs/smb/client/namespace.c
258
if (IS_ERR(ctx->source)) {
fs/smb/client/namespace.c
259
mnt = ERR_CAST(ctx->source);
fs/smb/client/namespace.c
260
ctx->source = NULL;
fs/smb/client/namespace.c
265
__func__, ctx->source, ctx->UNC, ctx->prepath, ctx->dfs_automount);
fs/smb/server/unicode.c
342
int smbConvertToUTF16(__le16 *target, const char *source, int srclen,
fs/smb/server/unicode.c
354
return smb_strtoUTF16(target, source, srclen, cp);
fs/smb/server/unicode.c
357
src_char = source[i];
fs/smb/server/unicode.c
387
charlen = cp->char2uni(source + i, srclen - i, &tmp);
fs/smb/server/unicode.c
400
if (*(source + i) & 0x80) {
fs/smb/server/unicode.c
401
charlen = utf8_to_utf32(source + i, 6, &u);
fs/smb/server/unicode.c
406
ret = utf8s_to_utf16s(source + i, charlen,
fs/smb/server/unicode.h
36
int smbConvertToUTF16(__le16 *target, const char *source, int srclen,
fs/super.c
1615
errorf(fc, "%s: Can't open blockdev", fc->source);
fs/super.c
1670
if (!fc->source)
fs/super.c
1673
error = lookup_bdev(fc->source, &dev);
fs/super.c
1676
errorf(fc, "%s: Can't lookup blockdev", fc->source);
fs/ubifs/super.c
2038
const char *name = fc->source;
fs/ubifs/super.c
2239
if (!fc->source || !*fc->source)
fs/ubifs/super.c
2242
dbg_gen("name %s, flags %#x", fc->source, fc->sb_flags);
fs/ubifs/super.c
2254
current->pid, fc->source, err);
fs/vboxsf/super.c
122
if (!fc->source)
fs/vboxsf/super.c
163
size = strlen(fc->source) + 1;
fs/vboxsf/super.c
171
strscpy(folder_name->string.utf8, fc->source, size);
fs/vboxsf/super.c
176
fc->source, err);
include/acpi/acrestyp.h
704
ACPI_FLEX_ARRAY(char, source);
include/drm/drm_crtc.h
795
int (*set_crc_source)(struct drm_crtc *crtc, const char *source);
include/drm/drm_crtc.h
811
int (*verify_crc_source)(struct drm_crtc *crtc, const char *source,
include/drm/drm_debugfs_crc.h
61
const char *source;
include/hyperv/hvgdk_mini.h
1445
u32 source;
include/keys/system_keyring.h
53
void __init add_to_secondary_keyring(const char *source, const void *data, size_t len);
include/keys/system_keyring.h
57
static inline void __init add_to_secondary_keyring(const char *source, const void *data, size_t len)
include/kvm/arm_vgic.h
160
u8 source; /* GICv2 SGIs only */
include/linux/arch_topology.h
44
enum scale_freq_source source;
include/linux/arch_topology.h
50
void topology_clear_scale_freq_source(enum scale_freq_source source, const struct cpumask *cpus);
include/linux/efi.h
827
typedef void (*efi_element_handler_t)(const char *source,
include/linux/efi.h
831
const char *source,
include/linux/firewire.h
315
int tcode, int destination, int source,
include/linux/fs_context.h
101
const char *source; /* The source name (eg. dev path) */
include/linux/fsnotify.h
254
struct inode *source = moved->d_inode;
include/linux/fsnotify.h
271
fsnotify_name(old_dir_mask, source, FSNOTIFY_EVENT_INODE,
include/linux/fsnotify.h
273
fsnotify_name(new_dir_mask, source, FSNOTIFY_EVENT_INODE,
include/linux/fsnotify.h
278
fsnotify_inode(source, FS_MOVE_SELF);
include/linux/hid.h
1186
__u64 source, bool from_bpf);
include/linux/hid.h
1187
int __hid_hw_output_report(struct hid_device *hdev, __u8 *buf, size_t len, __u64 source,
include/linux/hid_bpf.h
118
u64 source);
include/linux/hid_bpf.h
160
u64 source);
include/linux/hid_bpf.h
179
int (*hid_hw_output_report)(struct hid_bpf_ctx *ctx, u64 source);
include/linux/hid_bpf.h
203
u32 *size, int interrupt, u64 source, bool from_bpf);
include/linux/hid_bpf.h
208
u64 source, bool from_bpf);
include/linux/hid_bpf.h
210
u64 source, bool from_bpf);
include/linux/hid_bpf.h
219
u64 source, bool from_bpf) { return data; }
include/linux/hid_bpf.h
224
u64 source, bool from_bpf) { return 0; }
include/linux/hid_bpf.h
226
u64 source, bool from_bpf) { return 0; }
include/linux/hid_bpf.h
71
u64 source, bool from_bpf);
include/linux/hid_bpf.h
73
u64 source, bool from_bpf);
include/linux/hid_bpf.h
75
u8 *data, u32 size, int interrupt, u64 source, bool from_bpf,
include/linux/iio/afe/rescale.h
22
struct iio_channel *source;
include/linux/lz4.h
197
int LZ4_compress_default(const char *source, char *dest, int inputSize,
include/linux/lz4.h
221
int LZ4_compress_fast(const char *source, char *dest, int inputSize,
include/linux/lz4.h
245
int LZ4_compress_destSize(const char *source, char *dest, int *sourceSizePtr,
include/linux/lz4.h
271
int LZ4_decompress_fast(const char *source, char *dest, int originalSize);
include/linux/lz4.h
292
int LZ4_decompress_safe(const char *source, char *dest, int compressedSize,
include/linux/lz4.h
320
int LZ4_decompress_safe_partial(const char *source, char *dest,
include/linux/lz4.h
561
const char *source, char *dest, int compressedSize,
include/linux/lz4.h
600
const char *source, char *dest, int originalSize);
include/linux/lz4.h
622
int LZ4_decompress_safe_usingDict(const char *source, char *dest,
include/linux/lz4.h
645
int LZ4_decompress_fast_usingDict(const char *source, char *dest,
include/linux/memory-tiers.h
135
const char *source)
include/linux/memory-tiers.h
50
const char *source);
include/linux/mfd/db8500-prcmu.h
503
int prcmu_config_clkout(u8 clkout, u8 source, u8 div);
include/linux/mfd/db8500-prcmu.h
608
static inline int prcmu_config_clkout(u8 clkout, u8 source, u8 div)
include/linux/mfd/dbx500-prcmu.h
262
int prcmu_config_clkout(u8 clkout, u8 source, u8 div);
include/linux/mfd/dbx500-prcmu.h
424
static inline int prcmu_config_clkout(u8 clkout, u8 source, u8 div)
include/linux/net_tstamp.h
39
enum hwtstamp_source source;
include/linux/net_tstamp.h
68
enum hwtstamp_source source;
include/linux/netfs.h
146
enum netfs_io_source source; /* Where to read from/write to */
include/linux/netfs.h
186
enum netfs_io_source source; /* Where to read from/write to */
include/linux/nfs.h
43
static inline void nfs_copy_fh(struct nfs_fh *target, const struct nfs_fh *source)
include/linux/nfs.h
45
target->size = source->size;
include/linux/nfs.h
46
memcpy(target->data, source->data, source->size);
include/linux/platform_data/dmtimer-omap.h
31
int (*set_source)(struct omap_dm_timer *timer, int source);
include/linux/platform_data/dmtimer-omap.h
55
int (*set_timer_src)(struct platform_device *pdev, int source);
include/linux/sctp.h
46
__be16 source;
include/linux/soc/ti/ti_sci_protocol.h
220
u32 *source, u64 *timestamp, u8 *pin, u8 *mode);
include/linux/syslog.h
39
int do_syslog(int type, char __user *buf, int count, int source);
include/linux/usb/tcpci.h
224
int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink);
include/media/demux.h
253
struct dmx_ts_feed *source,
include/media/demux.h
299
struct dmx_section_filter *source,
include/media/demux.h
334
enum dmx_frontend_source source;
include/media/drv-intf/saa7146_vv.h
156
void saa7146_set_hps_source_and_sync(struct saa7146_dev *saa, int source, int sync);
include/media/media-entity.h
181
struct media_pad *source;
include/media/media-entity.h
784
__must_check int media_create_pad_link(struct media_entity *source,
include/media/media-entity.h
833
struct media_entity *source,
include/media/media-entity.h
917
struct media_link *media_entity_find_link(struct media_pad *source,
include/media/vsp1.h
94
enum vsp1_du_crc_source source;
include/net/bluetooth/mgmt.h
391
__le16 source;
include/net/ieee802154_netdev.h
188
struct ieee802154_addr source;
include/net/ieee802154_netdev.h
393
struct ieee802154_addr source;
include/net/mctp.h
316
enum mctp_neigh_source source;
include/net/netfilter/nf_flow_table.h
330
__be16 source, dest;
include/net/sctp/structs.h
614
union sctp_addr source;
include/soc/fsl/qe/qe.h
221
enum qe_clock qe_clock_source(const char *source);
include/soc/tegra/tegra-cbb.h
13
const char *source;
include/sound/soc-component.h
314
int clk_id, int source,
include/sound/soc-component.h
317
int source, unsigned int freq_in,
include/sound/soc-component.h
96
int clk_id, int source, unsigned int freq, int dir);
include/sound/soc-component.h
98
int source, unsigned int freq_in, unsigned int freq_out);
include/sound/soc-dai.h
172
int pll_id, int source, unsigned int freq_in, unsigned int freq_out);
include/sound/soc-dai.h
285
int (*set_pll)(struct snd_soc_dai *dai, int pll_id, int source,
include/sound/soc-dapm.h
476
const char *source;
include/sound/soc-dapm.h
479
int (*connected)(struct snd_soc_dapm_widget *source,
include/sound/soc-dapm.h
496
struct snd_soc_dapm_widget *source;
include/sound/soc-dapm.h
507
int (*connected)(struct snd_soc_dapm_widget *source,
include/trace/events/bridge.h
100
TP_ARGS(br, source, addr, vid, flags),
include/trace/events/bridge.h
104
__string(dev, source->dev->name)
include/trace/events/bridge.h
97
TP_PROTO(struct net_bridge *br, struct net_bridge_port *source,
include/trace/events/cachefiles.h
448
enum netfs_io_source source,
include/trace/events/cachefiles.h
452
TP_ARGS(obj, start, len, flags, source, why, cache_inode, netfs_inode),
include/trace/events/cachefiles.h
457
__field(enum netfs_io_source, source)
include/trace/events/cachefiles.h
468
__entry->source = source;
include/trace/events/cachefiles.h
478
__print_symbolic(__entry->source, netfs_sreq_sources),
include/trace/events/icmp.h
45
__entry->sport = ntohs(uh->source);
include/trace/events/net_probe_common.h
78
v4->sin_port = protoh->source; \
include/trace/events/net_probe_common.h
96
v6->sin6_port = protoh->source; \
include/trace/events/netfs.h
362
__field(enum netfs_io_source, source)
include/trace/events/netfs.h
375
__entry->source = sreq->source;
include/trace/events/netfs.h
385
__print_symbolic(__entry->source, netfs_sreq_sources),
include/trace/events/netfs.h
404
__field(enum netfs_io_source, source)
include/trace/events/netfs.h
416
__entry->source = sreq ? sreq->source : NETFS_INVALID_READ;
include/trace/events/netfs.h
425
__print_symbolic(__entry->source, netfs_sreq_sources),
include/trace/events/sof_intel.h
18
TP_PROTO(struct snd_sof_dev *sdev, char *source),
include/trace/events/sof_intel.h
19
TP_ARGS(sdev, source),
include/trace/events/sof_intel.h
22
__string(source, source)
include/trace/events/sof_intel.h
26
__assign_str(source);
include/trace/events/sof_intel.h
29
__get_str(device_name), __get_str(source))
include/trace/events/tcp.h
559
__entry->sport = ntohs(th->source);
include/trace/events/tcp.h
660
__entry->sport = ntohs(th->source);
include/trace/events/udp.h
34
__entry->sport = ntohs(uh->source);
include/uapi/linux/dns_resolver.h
102
__u8 source; /* enum dns_record_source */
include/uapi/linux/dns_resolver.h
86
__u8 source; /* enum dns_record_source */
include/uapi/linux/fsl_hypervisor.h
143
__u32 source;
include/uapi/linux/if_arcnet.h
106
__u8 source; /* source ARCnet - filled in automagically */
include/uapi/linux/ivtvfb.h
31
void __user *source;
include/uapi/linux/media.h
229
struct media_pad_desc source;
include/uapi/linux/netfilter/xt_addrtype.h
32
__u16 source; /* source-type mask */
include/uapi/linux/netfilter/xt_addrtype.h
39
__u16 source; /* source-type mask */
include/uapi/linux/tcp.h
26
__be16 source;
include/uapi/linux/udp.h
24
__be16 source;
include/uapi/sound/asequencer.h
289
struct snd_seq_addr source; /* source address */
include/uapi/sound/asequencer.h
302
struct snd_seq_addr source; /* source address */
include/uapi/sound/asoc.h
461
char source[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
include/uapi/sound/firewire.h
229
} source[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_COUNT];
include/uapi/xen/gntdev.h
163
} source, dest;
include/xen/interface/grant_table.h
397
} source, dest;
kernel/audit.c
2533
ntohs(th->source), ntohs(th->dest));
kernel/audit.c
2548
ntohs(uh->source), ntohs(uh->dest));
kernel/audit.c
2562
ntohs(sh->source), ntohs(sh->dest));
kernel/audit.c
2599
ntohs(th->source), ntohs(th->dest));
kernel/audit.c
2614
ntohs(uh->source), ntohs(uh->dest));
kernel/audit.c
2628
ntohs(sh->source), ntohs(sh->dest));
kernel/bpf/cpumask.c
459
unsigned long source = (unsigned long)src;
kernel/bpf/cpumask.c
467
!IS_ALIGNED(source, sizeof(long)))
kernel/gcov/gcov.h
69
void gcov_info_add(struct gcov_info *dest, struct gcov_info *source);
kernel/locking/lockdep.c
1891
struct lock_class *source = hlock_class(src);
kernel/locking/lockdep.c
1910
if (parent != source) {
kernel/locking/lockdep.c
1912
__print_lock_name(src, source);
kernel/locking/lockdep.c
1941
__print_lock_name(src, source);
kernel/module/internal.h
119
struct module *source, *target;
kernel/module/main.c
646
if (use->source == a)
kernel/module/main.c
669
use->source = a;
kernel/module/procfs.c
29
seq_printf(m, "%s,", use->source->name);
kernel/printk/printk.c
1740
int do_syslog(int type, char __user *buf, int len, int source)
kernel/printk/printk.c
1747
error = check_syslog_permissions(type, source);
kernel/printk/printk.c
1819
if (source == SYSLOG_FROM_PROC) {
kernel/printk/printk.c
617
static int check_syslog_permissions(int type, int source)
kernel/printk/printk.c
623
if (source == SYSLOG_FROM_PROC && type != SYSLOG_ACTION_OPEN)
lib/lz4/lz4_compress.c
177
const char * const source,
lib/lz4/lz4_compress.c
187
const BYTE *ip = (const BYTE *) source;
lib/lz4/lz4_compress.c
193
const size_t dictDelta = dictEnd - (const BYTE *)source;
lib/lz4/lz4_compress.c
194
const BYTE *anchor = (const BYTE *) source;
lib/lz4/lz4_compress.c
214
base = (const BYTE *)source;
lib/lz4/lz4_compress.c
215
lowLimit = (const BYTE *)source;
lib/lz4/lz4_compress.c
218
base = (const BYTE *)source - dictPtr->currentOffset;
lib/lz4/lz4_compress.c
219
lowLimit = (const BYTE *)source - dictPtr->dictSize;
lib/lz4/lz4_compress.c
222
base = (const BYTE *)source - dictPtr->currentOffset;
lib/lz4/lz4_compress.c
223
lowLimit = (const BYTE *)source;
lib/lz4/lz4_compress.c
269
if (match < (const BYTE *)source) {
lib/lz4/lz4_compress.c
274
lowLimit = (const BYTE *)source;
lib/lz4/lz4_compress.c
354
(const BYTE *)source,
lib/lz4/lz4_compress.c
404
if (match < (const BYTE *)source) {
lib/lz4/lz4_compress.c
409
lowLimit = (const BYTE *)source;
lib/lz4/lz4_compress.c
459
const char *source,
lib/lz4/lz4_compress.c
479
return LZ4_compress_generic(ctx, source,
lib/lz4/lz4_compress.c
484
return LZ4_compress_generic(ctx, source,
lib/lz4/lz4_compress.c
490
return LZ4_compress_generic(ctx, source,
lib/lz4/lz4_compress.c
495
return LZ4_compress_generic(ctx, source,
lib/lz4/lz4_compress.c
502
int LZ4_compress_fast(const char *source, char *dest, int inputSize,
lib/lz4/lz4_compress.c
505
return LZ4_compress_fast_extState(wrkmem, source, dest, inputSize,
lib/lz4/lz4_compress.c
510
int LZ4_compress_default(const char *source, char *dest, int inputSize,
lib/lz4/lz4_compress.c
513
return LZ4_compress_fast(source, dest, inputSize,
lib/lz4/lz4_compress.c
856
int LZ4_compress_fast_continue(LZ4_stream_t *LZ4_stream, const char *source,
lib/lz4/lz4_compress.c
863
const BYTE *smallest = (const BYTE *) source;
lib/lz4/lz4_compress.c
880
const BYTE *sourceEnd = (const BYTE *) source + inputSize;
lib/lz4/lz4_compress.c
894
if (dictEnd == (const BYTE *)source) {
lib/lz4/lz4_compress.c
900
streamPtr, source, dest, inputSize,
lib/lz4/lz4_compress.c
905
streamPtr, source, dest, inputSize,
lib/lz4/lz4_compress.c
921
streamPtr, source, dest, inputSize,
lib/lz4/lz4_compress.c
926
streamPtr, source, dest, inputSize,
lib/lz4/lz4_compress.c
930
streamPtr->dictionary = (const BYTE *)source;
lib/lz4/lz4_decompress.c
459
int LZ4_decompress_safe(const char *source, char *dest,
lib/lz4/lz4_decompress.c
462
return LZ4_decompress_generic(source, dest,
lib/lz4/lz4_decompress.c
477
int LZ4_decompress_fast(const char *source, char *dest, int originalSize)
lib/lz4/lz4_decompress.c
479
return LZ4_decompress_generic(source, dest, 0, originalSize,
lib/lz4/lz4_decompress.c
487
static int LZ4_decompress_safe_withPrefix64k(const char *source, char *dest,
lib/lz4/lz4_decompress.c
490
return LZ4_decompress_generic(source, dest,
lib/lz4/lz4_decompress.c
497
static int LZ4_decompress_safe_withSmallPrefix(const char *source, char *dest,
lib/lz4/lz4_decompress.c
502
return LZ4_decompress_generic(source, dest,
lib/lz4/lz4_decompress.c
509
static int LZ4_decompress_safe_forceExtDict(const char *source, char *dest,
lib/lz4/lz4_decompress.c
513
return LZ4_decompress_generic(source, dest,
lib/lz4/lz4_decompress.c
520
static int LZ4_decompress_fast_extDict(const char *source, char *dest,
lib/lz4/lz4_decompress.c
524
return LZ4_decompress_generic(source, dest,
lib/lz4/lz4_decompress.c
537
int LZ4_decompress_safe_doubleDict(const char *source, char *dest,
lib/lz4/lz4_decompress.c
542
return LZ4_decompress_generic(source, dest,
lib/lz4/lz4_decompress.c
550
int LZ4_decompress_fast_doubleDict(const char *source, char *dest,
lib/lz4/lz4_decompress.c
554
return LZ4_decompress_generic(source, dest,
lib/lz4/lz4_decompress.c
587
const char *source, char *dest, int compressedSize, int maxOutputSize)
lib/lz4/lz4_decompress.c
596
result = LZ4_decompress_safe(source, dest,
lib/lz4/lz4_decompress.c
605
result = LZ4_decompress_safe_withPrefix64k(source, dest,
lib/lz4/lz4_decompress.c
608
result = LZ4_decompress_safe_withSmallPrefix(source,
lib/lz4/lz4_decompress.c
612
result = LZ4_decompress_safe_doubleDict(source, dest,
lib/lz4/lz4_decompress.c
627
result = LZ4_decompress_safe_forceExtDict(source, dest,
lib/lz4/lz4_decompress.c
640
const char *source, char *dest, int originalSize)
lib/lz4/lz4_decompress.c
647
result = LZ4_decompress_fast(source, dest, originalSize);
lib/lz4/lz4_decompress.c
655
result = LZ4_decompress_fast(source, dest,
lib/lz4/lz4_decompress.c
658
result = LZ4_decompress_fast_doubleDict(source, dest,
lib/lz4/lz4_decompress.c
668
result = LZ4_decompress_fast_extDict(source, dest,
lib/lz4/lz4_decompress.c
678
int LZ4_decompress_safe_usingDict(const char *source, char *dest,
lib/lz4/lz4_decompress.c
683
return LZ4_decompress_safe(source, dest,
lib/lz4/lz4_decompress.c
687
return LZ4_decompress_safe_withPrefix64k(source, dest,
lib/lz4/lz4_decompress.c
689
return LZ4_decompress_safe_withSmallPrefix(source, dest,
lib/lz4/lz4_decompress.c
692
return LZ4_decompress_safe_forceExtDict(source, dest,
lib/lz4/lz4_decompress.c
696
int LZ4_decompress_fast_usingDict(const char *source, char *dest,
lib/lz4/lz4_decompress.c
701
return LZ4_decompress_fast(source, dest, originalSize);
lib/lz4/lz4_decompress.c
703
return LZ4_decompress_fast_extDict(source, dest, originalSize,
lib/lz4/lz4hc_compress.c
339
const char * const source,
lib/lz4/lz4hc_compress.c
347
const BYTE *ip = (const BYTE *) source;
lib/lz4/lz4hc_compress.c
669
const char *source,
lib/lz4/lz4hc_compress.c
679
LZ4HC_init(ctxPtr, (const BYTE *) source);
lib/lz4/lz4hc_compress.c
692
if ((const BYTE *)source != ctxPtr->end)
lib/lz4/lz4hc_compress.c
693
LZ4HC_setExternalDict(ctxPtr, (const BYTE *)source);
lib/lz4/lz4hc_compress.c
697
const BYTE *sourceEnd = (const BYTE *) source + inputSize;
lib/lz4/lz4hc_compress.c
702
&& ((const BYTE *)source < dictEnd)) {
lib/lz4/lz4hc_compress.c
712
return LZ4HC_compress_generic(ctxPtr, source, dest,
lib/lz4/lz4hc_compress.c
718
const char *source,
lib/lz4/lz4hc_compress.c
725
source, dest, inputSize, maxOutputSize, limitedOutput);
lib/lz4/lz4hc_compress.c
728
source, dest, inputSize, maxOutputSize, noLimit);
lib/tests/blackhole_dev_kunit.c
48
uh->source = uh->dest = htons(UDP_PORT);
lib/zstd/compress/hist.c
152
const void* source, size_t sourceSize,
lib/zstd/compress/hist.c
156
return HIST_count_simple(count, maxSymbolValuePtr, source, sourceSize);
lib/zstd/compress/hist.c
159
return HIST_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, trustInput, (U32*)workSpace);
lib/zstd/compress/hist.c
166
const void* source, size_t sourceSize,
lib/zstd/compress/hist.c
172
return HIST_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, checkMaxSymbolValue, (U32*)workSpace);
lib/zstd/compress/hist.c
174
return HIST_countFast_wksp(count, maxSymbolValuePtr, source, sourceSize, workSpace, workSpaceSize);
lib/zstd/compress/hist.c
79
const void* source, size_t sourceSize,
lib/zstd/compress/hist.c
83
const BYTE* ip = (const BYTE*)source;
mm/memory-tiers.c
747
const char *source)
mm/memory-tiers.c
760
default_dram_perf_ref_source = kstrdup(source, GFP_KERNEL);
mm/memory-tiers.c
784
pr_info(" performance of DRAM node %d from %s:\n", nid, source);
mm/memory_hotplug.c
1796
LIST_HEAD(source);
mm/memory_hotplug.c
1833
if (!isolate_folio_to_list(folio, &source)) {
mm/memory_hotplug.c
1843
if (!list_empty(&source)) {
mm/memory_hotplug.c
1856
mtc.nid = folio_nid(list_first_entry(&source, struct folio, lru));
mm/memory_hotplug.c
1866
ret = migrate_pages(&source, alloc_migration_target, NULL,
mm/memory_hotplug.c
1869
list_for_each_entry(folio, &source, lru) {
mm/memory_hotplug.c
1877
putback_movable_pages(&source);
mm/mempolicy.c
1282
static long migrate_to_node(struct mm_struct *mm, int source, int dest,
mm/mempolicy.c
1297
node_set(source, nmask);
mm/mempolicy.c
1379
int source = NUMA_NO_NODE;
mm/mempolicy.c
1407
source = s; /* Node moved. Memorize */
mm/mempolicy.c
1414
if (source == NUMA_NO_NODE)
mm/mempolicy.c
1417
node_clear(source, tmp);
mm/mempolicy.c
1418
err = migrate_to_node(mm, source, dest, flags);
net/6lowpan/nhc_udp.c
120
if (((ntohs(uh->source) & LOWPAN_NHC_UDP_4BIT_MASK) ==
net/6lowpan/nhc_udp.c
130
((ntohs(uh->source) - LOWPAN_NHC_UDP_4BIT_PORT) << 4);
net/6lowpan/nhc_udp.c
139
lowpan_push_hc_data(hc_ptr, &uh->source, sizeof(uh->source));
net/6lowpan/nhc_udp.c
143
} else if ((ntohs(uh->source) & LOWPAN_NHC_UDP_8BIT_MASK) ==
net/6lowpan/nhc_udp.c
150
tmp = ntohs(uh->source) - LOWPAN_NHC_UDP_8BIT_PORT;
net/6lowpan/nhc_udp.c
160
lowpan_push_hc_data(hc_ptr, &uh->source, sizeof(uh->source));
net/6lowpan/nhc_udp.c
48
fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source));
net/6lowpan/nhc_udp.c
52
fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source));
net/6lowpan/nhc_udp.c
58
uh.source = htons(val + LOWPAN_NHC_UDP_8BIT_PORT);
net/6lowpan/nhc_udp.c
63
uh.source = htons(LOWPAN_NHC_UDP_4BIT_PORT + (val >> 4));
net/6lowpan/nhc_udp.c
71
ntohs(uh.source), ntohs(uh.dest));
net/9p/trans_fd.c
875
const char *addr = fc->source;
net/9p/trans_fd.c
933
const char *addr = fc->source;
net/9p/trans_rdma.c
524
const char *addr = fc->source;
net/9p/trans_usbg.c
382
const char *devname = fc->source;
net/9p/trans_virtio.c
694
const char *devname = fc->source;
net/9p/trans_xen.c
72
const char *addr = fc->source;
net/batman-adv/distributed-arp-table.c
1442
if (!udphdr || udphdr->source != htons(67))
net/batman-adv/gateway_client.c
624
else if (udphdr->source == htons(67))
net/batman-adv/gateway_client.c
630
else if (udphdr->source == htons(547))
net/bluetooth/mgmt.c
6390
__u16 source;
net/bluetooth/mgmt.c
6394
source = __le16_to_cpu(cp->source);
net/bluetooth/mgmt.c
6396
if (source > 0x0002)
net/bluetooth/mgmt.c
6402
hdev->devid_source = source;
net/bridge/br_fdb.c
1010
source->dev->name, addr, vid);
net/bridge/br_fdb.c
1021
if (unlikely(source != READ_ONCE(fdb->dst) &&
net/bridge/br_fdb.c
1024
WRITE_ONCE(fdb->dst, source);
net/bridge/br_fdb.c
1045
trace_br_fdb_update(br, source, addr, vid, flags);
net/bridge/br_fdb.c
1051
fdb = fdb_create(br, source, addr, vid, flags);
net/bridge/br_fdb.c
1053
trace_br_fdb_update(br, source, addr, vid, flags);
net/bridge/br_fdb.c
1168
static int fdb_add_entry(struct net_bridge *br, struct net_bridge_port *source,
net/bridge/br_fdb.c
1180
if (source && !(state & NUD_PERMANENT) && !(state & NUD_NOARP) &&
net/bridge/br_fdb.c
1181
!(source->state == BR_STATE_LEARNING ||
net/bridge/br_fdb.c
1182
source->state == BR_STATE_FORWARDING))
net/bridge/br_fdb.c
1185
if (!source && !(state & NUD_PERMANENT)) {
net/bridge/br_fdb.c
1206
fdb = fdb_create(br, source, addr, vid,
net/bridge/br_fdb.c
1216
if (READ_ONCE(fdb->dst) != source) {
net/bridge/br_fdb.c
1217
WRITE_ONCE(fdb->dst, source);
net/bridge/br_fdb.c
383
struct net_bridge_port *source,
net/bridge/br_fdb.c
407
WRITE_ONCE(fdb->dst, source);
net/bridge/br_fdb.c
426
static int fdb_add_local(struct net_bridge *br, struct net_bridge_port *source,
net/bridge/br_fdb.c
442
source ? source->dev->name : br->dev->name, addr, vid);
net/bridge/br_fdb.c
446
fdb = fdb_create(br, source, addr, vid,
net/bridge/br_fdb.c
977
int br_fdb_add_local(struct net_bridge *br, struct net_bridge_port *source,
net/bridge/br_fdb.c
983
ret = fdb_add_local(br, source, addr, vid);
net/bridge/br_fdb.c
995
void br_fdb_update(struct net_bridge *br, struct net_bridge_port *source,
net/bridge/br_private.h
858
int br_fdb_add_local(struct net_bridge *br, struct net_bridge_port *source,
net/bridge/br_private.h
860
void br_fdb_update(struct net_bridge *br, struct net_bridge_port *source,
net/core/dev_ioctl.c
266
if (hwprov->source == HWTSTAMP_SOURCE_PHYLIB &&
net/core/dev_ioctl.c
270
if (hwprov->source == HWTSTAMP_SOURCE_NETDEV)
net/core/dev_ioctl.c
342
if (hwprov->source == HWTSTAMP_SOURCE_PHYLIB &&
net/core/dev_ioctl.c
346
} else if (hwprov->source == HWTSTAMP_SOURCE_NETDEV) {
net/core/dev_ioctl.c
359
cfg->source = phy_ts ? HWTSTAMP_SOURCE_PHYLIB : HWTSTAMP_SOURCE_NETDEV;
net/core/netpoll.c
475
udph->source = htons(np->local_port);
net/core/pktgen.c
3006
udph->source = htons(pkt_dev->cur_udp_src);
net/core/pktgen.c
3139
udph->source = htons(pkt_dev->cur_udp_src);
net/core/selftests.c
69
thdr->source = htons(attr->sport);
net/core/selftests.c
73
uhdr->source = htons(attr->sport);
net/core/timestamping.c
37
if (hwprov->source != HWTSTAMP_SOURCE_PHYLIB ||
net/core/timestamping.c
80
if (hwprov->source != HWTSTAMP_SOURCE_PHYLIB ||
net/ethtool/tsconfig.c
263
enum hwtstamp_source source;
net/ethtool/tsconfig.c
269
source = HWTSTAMP_SOURCE_NETDEV;
net/ethtool/tsconfig.c
280
source = HWTSTAMP_SOURCE_PHYLIB;
net/ethtool/tsconfig.c
289
hwprov->source = source;
net/ieee802154/6lowpan/reassembly.c
308
fq = fq_find(net, cb, &hdr.source, &hdr.dest);
net/ieee802154/6lowpan/rx.c
90
return lowpan_header_decompress(skb, skb->dev, &hdr.dest, &hdr.source);
net/ieee802154/6lowpan/tx.c
123
&master_hdr->source, size);
net/ieee802154/header_ops.c
100
rc = ieee802154_hdr_push_addr(buf + pos, &hdr->source, fc->intra_pan);
net/ieee802154/header_ops.c
272
hdr->fc.intra_pan, &hdr->source);
net/ieee802154/header_ops.c
275
hdr->source.pan_id = hdr->dest.pan_id;
net/ieee802154/header_ops.c
94
fc->source_addr_mode = hdr->source.mode;
net/ieee802154/header_ops.c
96
if (hdr->source.pan_id == hdr->dest.pan_id &&
net/ieee802154/nl-mac.c
580
u32 source = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_KEY_SOURCE_SHORT]);
net/ieee802154/nl-mac.c
582
desc->short_source = cpu_to_le32(source);
net/ieee802154/socket.c
739
ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source);
net/ipv4/esp4.c
321
uh->source = sport;
net/ipv4/esp4.c
734
__be16 source;
net/ipv4/esp4.c
738
source = th->source;
net/ipv4/esp4.c
741
source = uh->source;
net/ipv4/esp4.c
756
source != encap->encap_sport) {
net/ipv4/esp4.c
760
km_new_mapping(x, &ipaddr, source);
net/ipv4/fou_core.c
1045
uh->source = sport;
net/ipv4/ip_output.c
1643
tcp_hdr(skb)->source, tcp_hdr(skb)->dest,
net/ipv4/ip_tunnel.c
372
info->encap.sport = udph->source;
net/ipv4/ipconfig.c
1025
if (b->udph.source != htons(67) || b->udph.dest != htons(68))
net/ipv4/ipconfig.c
848
b->udph.source = htons(68);
net/ipv4/netfilter/nf_nat_snmp_basic_main.c
170
if (udph->source == htons(SNMP_PORT) && dir != IP_CT_DIR_REPLY)
net/ipv4/netfilter/nf_reject_ipv4.c
234
tcph->source = oth->dest;
net/ipv4/netfilter/nf_reject_ipv4.c
235
tcph->dest = oth->source;
net/ipv4/netfilter/nf_socket_ipv4.c
109
sport = hp->source;
net/ipv4/netfilter/nf_tproxy_ipv4.c
38
hp->source, lport ? lport : hp->dest,
net/ipv4/route.c
3191
udph->source = sport;
net/ipv4/route.c
3201
tcph->source = sport;
net/ipv4/syncookies.c
167
th->source, th->dest, ntohl(th->seq),
net/ipv4/syncookies.c
191
th->source, th->dest, seq);
net/ipv4/syncookies.c
275
ireq->ir_rmt_port = th->source;
net/ipv4/syncookies.c
387
tcp_hdr(skb)->source);
net/ipv4/syncookies.c
465
ireq->ir_loc_addr, th->source, th->dest,
net/ipv4/tcp_ao.c
422
th->source, th->dest, sisn, disn);
net/ipv4/tcp_input.c
7533
ireq->ir_rmt_port = tcp_hdr(skb)->source;
net/ipv4/tcp_input.c
7741
pr_drop_req(req, ntohs(tcp_hdr(skb)->source),
net/ipv4/tcp_ipv4.c
1136
ntohs(tcp_hdr(skb)->source),
net/ipv4/tcp_ipv4.c
115
tcp_hdr(skb)->source);
net/ipv4/tcp_ipv4.c
1954
sk = __inet_lookup_established(net, iph->saddr, th->source,
net/ipv4/tcp_ipv4.c
2191
sk = __inet_lookup_skb(skb, __tcp_hdrlen(th), th->source,
net/ipv4/tcp_ipv4.c
2381
iph->saddr, th->source,
net/ipv4/tcp_ipv4.c
510
ntohs(th->source), inet_iif(skb), 0);
net/ipv4/tcp_ipv4.c
773
rep.th.dest = th->source;
net/ipv4/tcp_ipv4.c
774
rep.th.source = th->dest;
net/ipv4/tcp_ipv4.c
825
th->source, ip_hdr(skb)->daddr,
net/ipv4/tcp_ipv4.c
826
ntohs(th->source), dif, sdif);
net/ipv4/tcp_ipv4.c
963
rep.th.dest = th->source;
net/ipv4/tcp_ipv4.c
964
rep.th.source = th->dest;
net/ipv4/tcp_offload.c
275
if (*(u32 *)&th->source ^ *(u32 *)&th2->source) {
net/ipv4/tcp_offload.c
410
sk = __inet_lookup_established(net, iph->saddr, th->source,
net/ipv4/tcp_offload.c
69
if (!(*(const u32 *)&th->source ^ *(const u32 *)&th2->source) &&
net/ipv4/tcp_offload.c
79
&th2->source, th->source);
net/ipv4/tcp_output.c
1607
th->source = inet->inet_sport;
net/ipv4/tcp_output.c
4043
th->source = htons(ireq->ir_num);
net/ipv4/udp.c
1134
uh->source = inet->inet_sport;
net/ipv4/udp.c
2145
sin->sin_port = udp_hdr(skb)->source;
net/ipv4/udp.c
2582
uh->source, saddr, dif, sdif, hnum))
net/ipv4/udp.c
2730
sk = inet_steal_sock(net, skb, sizeof(struct udphdr), saddr, uh->source, daddr, uh->dest,
net/ipv4/udp.c
2752
sk = __udp4_lib_lookup_skb(skb, uh->source, uh->dest, udptable);
net/ipv4/udp.c
2779
&saddr, ntohs(uh->source),
net/ipv4/udp.c
2792
&saddr, ntohs(uh->source), &daddr, ntohs(uh->dest),
net/ipv4/udp.c
2896
uh->source, iph->saddr,
net/ipv4/udp.c
2900
uh->source, iph->saddr, dif, sdif);
net/ipv4/udp.c
899
sk = __udp4_lib_lookup(net, iph->daddr, uh->source,
net/ipv4/udp.c
945
iph->saddr, uh->source, skb->dev->ifindex,
net/ipv4/udp_offload.c
386
(udp_hdr(seg)->source == udp_hdr(seg->next)->source) &&
net/ipv4/udp_offload.c
397
&uh2->source, &uh->source);
net/ipv4/udp_offload.c
444
if (!(*(const u32 *)&uh->source ^ *(const u32 *)&uh2->source) &&
net/ipv4/udp_offload.c
454
&uh2->source, uh->source);
net/ipv4/udp_offload.c
735
if ((*(u32 *)&uh->source != *(u32 *)&uh2->source)) {
net/ipv4/udp_offload.c
840
if ((*(u32 *)&uh->source != *(u32 *)&uh2->source) ||
net/ipv4/udp_offload.c
898
sk = udp4_gro_lookup_skb(skb, uh->source, uh->dest);
net/ipv4/udp_offload.c
936
udp4_lib_lookup_skb, skb, uh->source, uh->dest);
net/ipv4/udp_tunnel_core.c
186
uh->source = src_port;
net/ipv4/udp_tunnel_core.c
222
info->key.tp_src = udp_hdr(skb)->source;
net/ipv6/esp6.c
356
uh->source = sport;
net/ipv6/esp6.c
763
__be16 frag_off, source;
net/ipv6/esp6.c
779
source = th->source;
net/ipv6/esp6.c
782
source = uh->source;
net/ipv6/esp6.c
797
source != encap->encap_sport) {
net/ipv6/esp6.c
801
km_new_mapping(x, &ipaddr, source);
net/ipv6/fou6.c
32
uh->source = sport;
net/ipv6/ip6_udp_tunnel.c
94
uh->source = src_port;
net/ipv6/mcast.c
357
struct in6_addr *source, *group;
net/ipv6/mcast.c
366
source = &((struct sockaddr_in6 *)&pgsr->gsr_source)->sin6_addr;
net/ipv6/mcast.c
414
rv = !ipv6_addr_equal(&psl->sl_addr[i], source);
net/ipv6/mcast.c
428
ip6_mc_del_src(idev, group, omode, 1, source, 1);
net/ipv6/mcast.c
468
rv = !ipv6_addr_equal(&psl->sl_addr[i], source);
net/ipv6/mcast.c
474
psl->sl_addr[i] = *source;
net/ipv6/mcast.c
478
ip6_mc_add_src(idev, group, omode, 1, source, 1);
net/ipv6/netfilter/nf_reject_ipv6.c
275
tcph->source = oth->dest;
net/ipv6/netfilter/nf_reject_ipv6.c
276
tcph->dest = oth->source;
net/ipv6/netfilter/nf_reject_ipv6.c
337
fl6.fl6_dport = otcph->source;
net/ipv6/netfilter/nf_socket_ipv6.c
126
sport = hp->source;
net/ipv6/netfilter/nf_tproxy_ipv6.c
62
hp->source,
net/ipv6/syncookies.c
105
return secure_tcp_syn_cookie(&iph->saddr, &iph->daddr, th->source,
net/ipv6/syncookies.c
125
th->source, th->dest, seq);
net/ipv6/syncookies.c
160
tcp_hdr(skb)->source);
net/ipv6/tcp_ao.c
60
&iph->daddr, th->source,
net/ipv6/tcp_ipv6.c
1032
sk1 = inet6_lookup_listener(net, NULL, 0, &ipv6h->saddr, th->source,
net/ipv6/tcp_ipv6.c
1033
&ipv6h->daddr, ntohs(th->source),
net/ipv6/tcp_ipv6.c
115
tcp_hdr(skb)->source);
net/ipv6/tcp_ipv6.c
1211
ntohs(tcp_hdr(skb)->source),
net/ipv6/tcp_ipv6.c
1738
th->source, th->dest, inet6_iif(skb), sdif,
net/ipv6/tcp_ipv6.c
1925
&ipv6_hdr(skb)->saddr, th->source,
net/ipv6/tcp_ipv6.c
1980
sk = __inet6_lookup_established(net, &hdr->saddr, th->source,
net/ipv6/tcp_ipv6.c
393
&hdr->saddr, ntohs(th->source),
net/ipv6/tcp_ipv6.c
865
t1->dest = th->source;
net/ipv6/tcp_ipv6.c
866
t1->source = th->dest;
net/ipv6/tcp_ipv6.c
946
fl6.fl6_sport = t1->source;
net/ipv6/tcpv6_offload.c
129
if (!(*(const u32 *)&th->source ^ *(const u32 *)&th2->source) &&
net/ipv6/tcpv6_offload.c
139
&th2->source, th->source);
net/ipv6/tcpv6_offload.c
36
sk = __inet6_lookup_established(net, &hdr->saddr, th->source,
net/ipv6/udp.c
1004
uh->source, saddr, dif, sdif,
net/ipv6/udp.c
1117
sk = inet6_steal_sock(net, skb, sizeof(struct udphdr), saddr, uh->source, daddr, uh->dest,
net/ipv6/udp.c
1149
sk = __udp6_lib_lookup_skb(skb, uh->source, uh->dest, udptable);
net/ipv6/udp.c
1179
saddr, ntohs(uh->source),
net/ipv6/udp.c
1241
uh->source, &ipv6_hdr(skb)->saddr,
net/ipv6/udp.c
1386
uh->source = fl6->fl6_sport;
net/ipv6/udp.c
543
sin6->sin6_port = udp_hdr(skb)->source;
net/ipv6/udp.c
680
sk = __udp6_lib_lookup(net, &hdr->daddr, uh->source,
net/ipv6/udp.c
718
sk = __udp6_lib_lookup(net, daddr, uh->dest, saddr, uh->source,
net/ipv6/udp.c
970
&ipv6_hdr(skb)->saddr, ntohs(udp_hdr(skb)->source),
net/ipv6/udp_offload.c
157
sk = udp6_gro_lookup_skb(skb, uh->source, uh->dest);
net/l2tp/l2tp_core.c
1290
uh->source = inet->inet_sport;
net/mac80211/mlme.c
2841
enum ieee80211_csa_source source)
net/mac80211/mlme.c
2876
source == IEEE80211_CSA_SOURCE_UNPROT_ACTION,
net/mac80211/mlme.c
2898
if (source == IEEE80211_CSA_SOURCE_UNPROT_ACTION)
net/mac80211/mlme.c
2904
switch (source) {
net/mac80211/mlme.c
2977
if (source == IEEE80211_CSA_SOURCE_UNPROT_ACTION) {
net/mac80211/mlme.c
3013
(!csa_ie.mode || source != IEEE80211_CSA_SOURCE_BEACON)) {
net/mac802154/iface.c
382
hdr.source.mode = IEEE802154_ADDR_LONG;
net/mac802154/iface.c
383
hdr.source.extended_addr = wpan_dev->extended_addr;
net/mac802154/iface.c
385
hdr.source.mode = IEEE802154_ADDR_SHORT;
net/mac802154/iface.c
386
hdr.source.short_addr = wpan_dev->short_addr;
net/mac802154/iface.c
389
hdr.source.pan_id = wpan_dev->pan_id;
net/mac802154/iface.c
391
hdr.source = *(const struct ieee802154_addr *)saddr;
net/mac802154/iface.c
450
hdr.source.pan_id = hdr.dest.pan_id;
net/mac802154/iface.c
451
hdr.source.mode = IEEE802154_ADDR_LONG;
net/mac802154/iface.c
454
hdr.source.extended_addr = wpan_dev->extended_addr;
net/mac802154/iface.c
456
ieee802154_be64_to_le64(&hdr.source.extended_addr, saddr);
net/mac802154/iface.c
483
if (hdr.source.mode == IEEE802154_ADDR_LONG) {
net/mac802154/iface.c
484
ieee802154_le64_to_be64(haddr, &hdr.source.extended_addr);
net/mac802154/llsec.c
1013
key = llsec_lookup_key(sec, &hdr, &hdr.source, &key_id);
net/mac802154/llsec.c
1019
dev = llsec_lookup_dev(sec, &hdr.source);
net/mac802154/rx.c
159
if (hdr->source.mode == IEEE802154_ADDR_NONE)
net/mac802154/rx.c
297
ieee802154_print_addr("source", &hdr->source);
net/mac802154/rx.c
299
cb->source = hdr->source;
net/mac802154/scan.c
314
struct ieee802154_addr *src = &mac_cb(skb)->source;
net/mac802154/scan.c
493
local->beacon.mhr.source.mode = IEEE802154_ADDR_LONG;
net/mac802154/scan.c
494
local->beacon.mhr.source.pan_id = request->wpan_dev->pan_id;
net/mac802154/scan.c
495
local->beacon.mhr.source.extended_addr = request->wpan_dev->extended_addr;
net/mac802154/scan.c
536
frame.mhr.source.mode = IEEE802154_ADDR_LONG;
net/mac802154/scan.c
537
frame.mhr.source.pan_id = cpu_to_le16(IEEE802154_PANID_BROADCAST);
net/mac802154/scan.c
538
frame.mhr.source.extended_addr = wpan_dev->extended_addr;
net/mac802154/scan.c
612
struct ieee802154_addr *src = &mac_cb(skb)->source;
net/mac802154/scan.c
663
frame.mhr.source.mode = IEEE802154_ADDR_LONG;
net/mac802154/scan.c
664
frame.mhr.source.pan_id = wpan_dev->pan_id;
net/mac802154/scan.c
665
frame.mhr.source.extended_addr = wpan_dev->extended_addr;
net/mac802154/scan.c
723
frame.mhr.source.mode = IEEE802154_ADDR_LONG;
net/mac802154/scan.c
724
frame.mhr.source.extended_addr = wpan_dev->extended_addr;
net/mac802154/scan.c
761
struct ieee802154_addr *src = &mac_cb(skb)->source;
net/mac802154/scan.c
867
struct ieee802154_addr *src = &mac_cb(skb)->source;
net/mctp/neigh.c
225
if (neigh->source == MCTP_NEIGH_STATIC)
net/mctp/neigh.c
25
enum mctp_neigh_source source,
net/mctp/neigh.c
52
neigh->source = source;
net/mctp/neigh.c
89
enum mctp_neigh_source source)
net/mctp/neigh.c
98
neigh->source == source) {
net/mctp/test/route-test.c
1343
neigh.source = MCTP_NEIGH_STATIC;
net/mptcp/syncookies.c
53
(__force __u32)th->source << 16 | (__force __u32)th->dest,
net/netfilter/ipset/ip_set_getport.c
38
*port = src ? th->source : th->dest;
net/netfilter/ipset/ip_set_getport.c
50
*port = src ? sh->source : sh->dest;
net/netfilter/ipset/ip_set_getport.c
63
*port = src ? uh->source : uh->dest;
net/netfilter/ipvs/ip_vs_proto_sctp.c
127
if (sctph->source != cp->vport || payload_csum ||
net/netfilter/ipvs/ip_vs_proto_sctp.c
129
sctph->source = cp->vport;
net/netfilter/ipvs/ip_vs_proto_sctp.c
37
ports = &sh->source;
net/netfilter/ipvs/ip_vs_proto_tcp.c
183
tcph->source = cp->vport;
net/netfilter/ipvs/ip_vs_proto_tcp.c
53
ports = &th->source;
net/netfilter/ipvs/ip_vs_proto_udp.c
174
udph->source = cp->vport;
net/netfilter/ipvs/ip_vs_proto_udp.c
44
ports = &uh->source;
net/netfilter/ipvs/ip_vs_xmit.c
1087
udph->source = sport;
net/netfilter/nf_conntrack_irc.c
195
&iph->saddr, ntohs(th->source),
net/netfilter/nf_flow_table_core.c
651
port = hdr->source;
net/netfilter/nf_flow_table_core.c
653
hdr->source = new_port;
net/netfilter/nf_flow_table_core.c
682
port = hdr->source;
net/netfilter/nf_flow_table_core.c
684
hdr->source = new_port;
net/netfilter/nf_flow_table_ip.c
1148
xmit.source = tuplehash->tuple.out.h_source;
net/netfilter/nf_flow_table_ip.c
263
tuple->src_port = ports->source;
net/netfilter/nf_flow_table_ip.c
467
const void *source;
net/netfilter/nf_flow_table_ip.c
476
xmit->dest, xmit->source, skb->len);
net/netfilter/nf_flow_table_ip.c
826
xmit.source = tuplehash->tuple.out.h_source;
net/netfilter/nf_flow_table_ip.c
982
tuple->src_port = ports->source;
net/netfilter/nf_log_syslog.c
207
ntohs(th->source), ntohs(th->dest));
net/netfilter/nf_log_syslog.c
293
ntohs(uh->source), ntohs(uh->dest), ntohs(uh->len));
net/netfilter/nf_nat_proto.c
123
hdr->source = tuple->src.u.sctp.port;
net/netfilter/nf_nat_proto.c
165
portptr = &hdr->source;
net/netfilter/nf_nat_proto.c
50
portptr = &hdr->source;
net/netfilter/nf_synproxy_core.c
1012
nth->source = th->source;
net/netfilter/nf_synproxy_core.c
471
nth->source = th->dest;
net/netfilter/nf_synproxy_core.c
472
nth->dest = th->source;
net/netfilter/nf_synproxy_core.c
514
nth->source = th->source;
net/netfilter/nf_synproxy_core.c
559
nth->source = th->dest;
net/netfilter/nf_synproxy_core.c
560
nth->dest = th->source;
net/netfilter/nf_synproxy_core.c
597
nth->source = th->source;
net/netfilter/nf_synproxy_core.c
832
fl6.fl6_sport = nth->source;
net/netfilter/nf_synproxy_core.c
884
nth->source = th->dest;
net/netfilter/nf_synproxy_core.c
885
nth->dest = th->source;
net/netfilter/nf_synproxy_core.c
928
nth->source = th->source;
net/netfilter/nf_synproxy_core.c
973
nth->source = th->dest;
net/netfilter/nf_synproxy_core.c
974
nth->dest = th->source;
net/netfilter/nfnetlink_osf.c
239
&ip->saddr, ntohs(tcp->source),
net/netfilter/nfnetlink_osf.c
251
&ip->saddr, ntohs(tcp->source),
net/netfilter/nft_payload.c
482
case offsetof(struct tcphdr, source):
net/netfilter/nft_payload.c
510
case offsetof(struct udphdr, source):
net/netfilter/nft_tproxy.c
119
hp->source, hp->dest,
net/netfilter/nft_tproxy.c
145
hp->source, tport,
net/netfilter/nft_tproxy.c
51
hp->source, hp->dest,
net/netfilter/nft_tproxy.c
73
hp->source, tport,
net/netfilter/xt_TPROXY.c
130
hp->source, hp->dest,
net/netfilter/xt_TPROXY.c
151
hp->source, lport,
net/netfilter/xt_TPROXY.c
53
hp->source, hp->dest,
net/netfilter/xt_TPROXY.c
69
hp->source, lport,
net/netfilter/xt_addrtype.c
118
if (info->source)
net/netfilter/xt_addrtype.c
119
ret &= match_type(net, NULL, iph->saddr, info->source) ^
net/netfilter/xt_addrtype.c
147
if (info->source)
net/netfilter/xt_addrtype.c
148
ret &= match_type(net, dev, iph->saddr, info->source) ^
net/netfilter/xt_addrtype.c
181
if ((info->source | info->dest) & XT_ADDRTYPE_BLACKHOLE) {
net/netfilter/xt_addrtype.c
185
if ((info->source | info->dest) >= XT_ADDRTYPE_PROHIBIT) {
net/netfilter/xt_addrtype.c
189
if ((info->source | info->dest) & XT_ADDRTYPE_BROADCAST) {
net/netfilter/xt_addrtype.c
94
if (info->source)
net/netfilter/xt_addrtype.c
95
ret &= match_type6(net, dev, &iph->saddr, info->source) ^
net/netfilter/xt_sctp.c
135
pr_debug("spt: %d\tdpt: %d\n", ntohs(sh->source), ntohs(sh->dest));
net/netfilter/xt_sctp.c
137
return SCCHECK(ntohs(sh->source) >= info->spts[0]
net/netfilter/xt_sctp.c
138
&& ntohs(sh->source) <= info->spts[1],
net/netfilter/xt_tcpudp.c
102
ntohs(th->source),
net/netfilter/xt_tcpudp.c
154
ntohs(uh->source),
net/netrom/af_netrom.c
571
ax25_address *source;
net/netrom/af_netrom.c
607
source = &addr->fsa_ax25.sax25_call;
net/netrom/af_netrom.c
619
nr->user_addr = *source;
net/netrom/af_netrom.c
622
nr->source_addr = *source;
net/netrom/af_netrom.c
641
const ax25_address *source = NULL;
net/netrom/af_netrom.c
686
source = (const ax25_address *)dev->dev_addr;
net/netrom/af_netrom.c
698
nr->user_addr = *source;
net/netrom/af_netrom.c
701
nr->source_addr = *source;
net/openvswitch/actions.c
599
src = OVS_MASKED(uh->source, key->udp_src, mask->udp_src);
net/openvswitch/actions.c
603
if (likely(src != uh->source)) {
net/openvswitch/actions.c
604
set_tp_port(skb, &uh->source, src, &uh->check);
net/openvswitch/actions.c
615
uh->source = src;
net/openvswitch/actions.c
641
src = OVS_MASKED(th->source, key->tcp_src, mask->tcp_src);
net/openvswitch/actions.c
642
if (likely(src != th->source)) {
net/openvswitch/actions.c
643
set_tp_port(skb, &th->source, src, &th->check);
net/openvswitch/actions.c
673
sh->source = OVS_MASKED(sh->source, key->sctp_src, mask->sctp_src);
net/openvswitch/actions.c
684
flow_key->tp.src = sh->source;
net/openvswitch/conntrack.c
632
src = udp_hdr(skb)->source;
net/openvswitch/conntrack.c
634
src = tcp_hdr(skb)->source;
net/openvswitch/conntrack.c
636
src = sctp_hdr(skb)->source;
net/openvswitch/flow.c
723
key->tp.src = tcp->source;
net/openvswitch/flow.c
733
key->tp.src = udp->source;
net/openvswitch/flow.c
741
key->tp.src = sctp->source;
net/openvswitch/flow.c
847
key->tp.src = tcp->source;
net/openvswitch/flow.c
856
key->tp.src = udp->source;
net/openvswitch/flow.c
864
key->tp.src = sctp->source;
net/psp/psp_main.c
205
uh->source = htons((((u64)hash * (max - min)) >> 32) + min);
net/psp/psp_main.c
207
uh->source = udp_flow_src_port(net, skb, 0, 0, false);
net/rose/af_rose.c
702
ax25_address *source;
net/rose/af_rose.c
729
source = &addr->srose_call;
net/rose/af_rose.c
741
rose->source_call = *source;
net/rxrpc/utils.c
25
srx->transport.sin.sin_port = udp_hdr(skb)->source;
net/rxrpc/utils.c
34
srx->transport.sin6.sin6_port = udp_hdr(skb)->source;
net/sched/act_ct.c
152
offsetof(struct tcphdr, source),
net/sched/act_ct.c
170
offsetof(struct udphdr, source),
net/sched/act_ct.c
562
tuple->src_port = ports->source;
net/sched/act_ct.c
631
tuple->src_port = ports->source;
net/sched/sch_cake.c
1263
tcph_check->source != tcph->source ||
net/sctp/input.c
1163
if (!af->from_addr_param(paddr, params.addr, sh->source, 0))
net/sctp/input.c
1273
sctp_hdr(skb)->source,
net/sctp/ipv6.c
539
sa->sin6_port = sh->source;
net/sctp/ipv6.c
879
addr->v4.sin_port = sh->source;
net/sctp/ipv6.c
884
addr->v6.sin6_port = sh->source;
net/sctp/output.c
608
sh->source = htons(packet->source_port);
net/sctp/outqueue.c
1339
transport, &chunk->source, sack,
net/sctp/protocol.c
225
sa->sin_port = sh->source;
net/sctp/protocol.c
841
SCTP_INPUT_CB(skb)->encap_port = udp_hdr(skb)->source;
net/sctp/protocol.c
983
sin->sin_port = sh->source;
net/sctp/sm_make_chunk.c
1401
memcpy(&chunk->source, src, sizeof(union sctp_addr));
net/sctp/sm_make_chunk.c
1413
return &chunk->source;
net/sctp/sm_make_chunk.c
1787
if (chunk->sctp_hdr->source != bear_cookie->peer_addr.v4.sin_port ||
net/sctp/sm_make_chunk.c
1838
retval->peer.port = ntohs(chunk->sctp_hdr->source);
net/sctp/sm_make_chunk.c
2360
chunk->sctp_hdr->source, 0))
net/sctp/sm_make_chunk.c
3074
memcpy(&addr, &asconf->source, sizeof(addr));
net/sctp/sm_make_chunk.c
3113
if (sctp_cmp_addr_exact(&asconf->source, &addr))
net/sctp/sm_statefuns.c
3975
asconf_ack->dest = chunk->source;
net/sctp/sm_statefuns.c
6385
dport = ntohs(chunk->sctp_hdr->source);
net/tipc/udp_media.c
343
src.port = udp_hdr(skb)->source;
net/xfrm/xfrm_iptfs.c
215
return ntohs(((struct udphdr *)nexthdr)->source);
net/xfrm/xfrm_nat_keepalive.c
134
uh->source = ka->encap_sport;
samples/bpf/parse_varlen.c
28
if (tcp->dest == htons(80) || tcp->source == htons(80))
samples/bpf/parse_varlen.c
40
udp->source == htons(DEFAULT_PKTGEN_UDP_PORT)) {
samples/seccomp/user-trap.c
111
char path[PATH_MAX], source[PATH_MAX], target[PATH_MAX];
samples/seccomp/user-trap.c
164
ret = read(mem, source, sizeof(source));
samples/seccomp/user-trap.c
186
if (!strncmp(source, "/tmp/", 5) && !strncmp(target, "/tmp/", 5)) {
samples/seccomp/user-trap.c
187
if (mount(source, target, NULL, req->data.args[3], NULL) < 0) {
scripts/gendwarfksyms/dwarf.c
101
if (!state->sym && source != die)
scripts/gendwarfksyms/dwarf.c
102
state->sym = symbol_get(get_symbol_name(source));
scripts/gendwarfksyms/dwarf.c
104
state->die = *source;
scripts/gendwarfksyms/dwarf.c
91
Dwarf_Die *source = die;
scripts/gendwarfksyms/dwarf.c
96
source = &origin;
security/commoncap.c
862
#define __cap_gained(field, target, source) \
security/commoncap.c
863
!cap_issubset(target->cap_##field, source->cap_##field)
security/commoncap.c
864
#define __cap_grew(target, source, cred) \
security/commoncap.c
865
!cap_issubset(cred->cap_##target, cred->cap_##source)
security/integrity/digsig.c
218
int __init integrity_load_cert(const unsigned int id, const char *source,
security/integrity/digsig.c
224
pr_info("Loading X.509 certificate: %s\n", source);
security/integrity/integrity.h
138
int __init integrity_load_cert(const unsigned int id, const char *source,
security/integrity/integrity.h
161
const char *source,
security/integrity/integrity.h
248
void __init add_to_platform_keyring(const char *source, const void *data,
security/integrity/integrity.h
251
static inline void __init add_to_platform_keyring(const char *source,
security/integrity/integrity.h
258
void __init add_to_machine_keyring(const char *source, const void *data, size_t len);
security/integrity/integrity.h
261
static inline void __init add_to_machine_keyring(const char *source,
security/integrity/platform_certs/efi_parser.c
38
const char *source,
security/integrity/platform_certs/efi_parser.c
97
handler(source,
security/integrity/platform_certs/keyring_handler.c
22
static __init void uefi_blacklist_x509_tbs(const char *source,
security/integrity/platform_certs/keyring_handler.c
31
static __init void uefi_blacklist_binary(const char *source,
security/integrity/platform_certs/keyring_handler.c
40
static __init void uefi_revocation_list_x509(const char *source,
security/integrity/platform_certs/keyring_handler.h
15
void blacklist_x509_tbs(const char *source, const void *data, size_t len);
security/integrity/platform_certs/keyring_handler.h
20
void blacklist_binary(const char *source, const void *data, size_t len);
security/integrity/platform_certs/keyring_handler.h
8
void blacklist_hash(const char *source, const void *data,
security/integrity/platform_certs/machine_keyring.c
24
void __init add_to_machine_keyring(const char *source, const void *data, size_t len)
security/integrity/platform_certs/machine_keyring.c
30
rc = integrity_load_cert(INTEGRITY_KEYRING_MACHINE, source, data, len, perm);
security/integrity/platform_certs/machine_keyring.c
39
rc = integrity_load_cert(INTEGRITY_KEYRING_PLATFORM, source,
security/integrity/platform_certs/machine_keyring.c
43
pr_info("Error adding keys to machine keyring %s\n", source);
security/integrity/platform_certs/platform_keyring.c
26
void __init add_to_platform_keyring(const char *source, const void *data,
security/integrity/platform_certs/platform_keyring.c
34
rc = integrity_load_cert(INTEGRITY_KEYRING_PLATFORM, source, data, len,
security/integrity/platform_certs/platform_keyring.c
37
pr_info("Error adding keys to platform keyring %s\n", source);
security/keys/trusted-keys/trusted_core.c
35
module_param_named(source, trusted_key_source, charp, 0);
security/keys/trusted-keys/trusted_core.c
36
MODULE_PARM_DESC(source, "Select trusted keys source (tpm, tee, caam, dcp or pkwm)");
security/lsm_audit.c
120
ad->u.net->sport = th->source;
security/lsm_audit.c
131
ad->u.net->sport = uh->source;
security/lsm_audit.c
141
ad->u.net->sport = sh->source;
security/lsm_audit.c
59
ad->u.net->sport = th->source;
security/lsm_audit.c
66
ad->u.net->sport = uh->source;
security/lsm_audit.c
73
ad->u.net->sport = sh->source;
security/selinux/hooks.c
4543
ad->u.net->sport = th->source;
security/selinux/hooks.c
4559
ad->u.net->sport = uh->source;
security/selinux/hooks.c
4576
ad->u.net->sport = sh->source;
security/selinux/hooks.c
4625
ad->u.net->sport = th->source;
security/selinux/hooks.c
4637
ad->u.net->sport = uh->source;
security/selinux/hooks.c
4650
ad->u.net->sport = sh->source;
security/selinux/ss/services.c
542
struct type_datum *source;
security/selinux/ss/services.c
546
source = policydb->type_val_to_struct[scontext->type - 1];
security/selinux/ss/services.c
547
BUG_ON(!source);
security/selinux/ss/services.c
549
if (!source->bounds)
security/selinux/ss/services.c
558
lo_scontext.type = source->bounds;
security/smack/smack_lsm.c
4176
sip->sin6_port = th->source;
security/smack/smack_lsm.c
4182
sip->sin6_port = uh->source;
sound/core/seq/oss/seq_oss_device.h
149
ev->source = dp->addr;
sound/core/seq/oss/seq_oss_event.c
429
if (ev->source.client != dp->cseq)
sound/core/seq/oss/seq_oss_midi.c
441
ev.source.port = dp->port;
sound/core/seq/oss/seq_oss_midi.c
492
find_slot(ev->source.client, ev->source.port);
sound/core/seq/oss/seq_oss_timer.c
133
ev.source.client = dp->cseq;
sound/core/seq/oss/seq_oss_timer.c
134
ev.source.port = 0;
sound/core/seq/seq_clientmgr.c
1013
ev->source.client = client->number; /* fill in client number */
sound/core/seq/seq_clientmgr.c
2359
ev->source.client = client;
sound/core/seq/seq_clientmgr.c
2395
ev->source.client = client;
sound/core/seq/seq_clientmgr.c
543
bounce_ev.source.client = SNDRV_SEQ_CLIENT_SYSTEM;
sound/core/seq/seq_clientmgr.c
544
bounce_ev.source.port = SNDRV_SEQ_PORT_SYSTEM_ANNOUNCE;
sound/core/seq/seq_clientmgr.c
546
bounce_ev.dest.port = event->source.port;
sound/core/seq/seq_clientmgr.c
737
event->source.port, atomic, hop);
sound/core/seq/seq_clientmgr.c
745
if (event->source.port == client->ump_endpoint_port)
sound/core/seq/seq_clientmgr.c
775
event->source.client, event->source.port,
sound/core/seq/seq_clientmgr.c
811
snd_seq_client_use_ptr(cell->event.source.client);
sound/core/seq/seq_clientmgr.c
891
snd_seq_port_use_ptr(client, event->source.port);
sound/core/seq/seq_dummy.c
87
if (ev->source.client == SNDRV_SEQ_CLIENT_SYSTEM ||
sound/core/seq/seq_dummy.c
92
tmpev.source.port = p->connect;
sound/core/seq/seq_dummy.c
94
tmpev.source.port = p->port;
sound/core/seq/seq_midi.c
88
ev.source.port = msynth->seq_port;
sound/core/seq/seq_prioq.c
301
if (cell->event.source.client == v->client ||
sound/core/seq/seq_prioq.c
340
if (ev->source.client != v->client)
sound/core/seq/seq_queue.c
582
sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM;
sound/core/seq/seq_queue.c
583
sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER;
sound/core/seq/seq_queue.c
598
snd_seq_prioq_leave(q->tickq, ev->source.client, 1);
sound/core/seq/seq_queue.c
599
snd_seq_prioq_leave(q->timeq, ev->source.client, 1);
sound/core/seq/seq_queue.c
656
if (!queue_access_lock(q, ev->source.client))
sound/core/seq/seq_system.c
67
ev->source.client = sysclient;
sound/core/seq/seq_system.c
68
ev->source.port = announce_port;
sound/core/seq/seq_system.c
97
ev->source.client = sysclient;
sound/core/seq/seq_system.c
98
ev->source.port = announce_port;
sound/core/seq/seq_ump_client.c
70
ev.source.port = 0; /* UMP EP port */
sound/core/seq/seq_ump_client.c
72
ev.source.port = ump_group_to_seq_port(ump_message_group(*val));
sound/core/seq/seq_ump_convert.c
1273
int snd_seq_deliver_to_ump(struct snd_seq_client *source,
sound/core/seq/seq_ump_convert.c
582
int snd_seq_deliver_from_ump(struct snd_seq_client *source,
sound/core/seq/seq_ump_convert.h
11
int snd_seq_deliver_from_ump(struct snd_seq_client *source,
sound/core/seq/seq_ump_convert.h
16
int snd_seq_deliver_to_ump(struct snd_seq_client *source,
sound/core/seq/seq_virmidi.c
48
ev->source.port = vmidi->port;
sound/drivers/vx/vx_uer.c
175
static void vx_change_clock_source(struct vx_core *chip, int source)
sound/drivers/vx/vx_uer.c
180
chip->ops->set_clock_source(chip, source);
sound/drivers/vx/vx_uer.c
181
chip->clock_source = source;
sound/firewire/dice/dice-pcm.c
168
unsigned int source;
sound/firewire/dice/dice-pcm.c
180
err = snd_dice_transaction_get_clock_source(dice, &source);
sound/firewire/dice/dice-pcm.c
183
switch (source) {
sound/firewire/dice/dice-transaction.c
133
int tcode, int destination, int source,
sound/firewire/dice/dice-transaction.c
63
unsigned int *source)
sound/firewire/dice/dice-transaction.c
70
*source = be32_to_cpu(info) & CLOCK_SOURCE_MASK;
sound/firewire/dice/dice.h
193
unsigned int *source);
sound/firewire/digi00x/digi00x-transaction.c
22
int tcode, int destination, int source,
sound/firewire/fcp.c
338
int tcode, int destination, int source,
sound/firewire/fcp.c
354
if (device->node_id != source)
sound/firewire/fireface/ff-transaction.c
129
int destination, int source, int generation, unsigned long long offset,
sound/firewire/fireworks/fireworks.h
202
enum snd_efw_clock_source *source);
sound/firewire/fireworks/fireworks_command.c
283
be32_to_cpus(&clock->source);
sound/firewire/fireworks/fireworks_command.c
29
u32 source;
sound/firewire/fireworks/fireworks_command.c
294
unsigned int source, unsigned int rate)
sound/firewire/fireworks/fireworks_command.c
300
if ((source == UINT_MAX) && (rate == UINT_MAX)) {
sound/firewire/fireworks/fireworks_command.c
311
if ((clock.source == source) && (clock.sampling_rate == rate))
sound/firewire/fireworks/fireworks_command.c
315
if ((source != UINT_MAX) && (clock.source != source))
sound/firewire/fireworks/fireworks_command.c
316
clock.source = source;
sound/firewire/fireworks/fireworks_command.c
321
cpu_to_be32s(&clock.source);
sound/firewire/fireworks/fireworks_command.c
343
enum snd_efw_clock_source *source)
sound/firewire/fireworks/fireworks_command.c
350
*source = clock.source;
sound/firewire/fireworks/fireworks_transaction.c
163
handle_resp_for_user(struct fw_card *card, int generation, int source,
sound/firewire/fireworks/fireworks_transaction.c
181
if (device->node_id != source)
sound/firewire/fireworks/fireworks_transaction.c
193
handle_resp_for_kernel(struct fw_card *card, int generation, int source,
sound/firewire/fireworks/fireworks_transaction.c
206
if (device->node_id != source)
sound/firewire/fireworks/fireworks_transaction.c
221
int tcode, int destination, int source,
sound/firewire/fireworks/fireworks_transaction.c
239
handle_resp_for_kernel(card, generation, source,
sound/firewire/fireworks/fireworks_transaction.c
242
handle_resp_for_user(card, generation, source,
sound/firewire/fireworks/fireworks_transaction.c
245
handle_resp_for_user(card, generation, source,
sound/firewire/motu/motu-proc.c
32
enum snd_motu_clock_source source;
sound/firewire/motu/motu-proc.c
36
if (snd_motu_protocol_get_clock_source(motu, &source) < 0)
sound/firewire/motu/motu-proc.c
40
snd_iprintf(buffer, "Source:\t%s\n", clock_names[source]);
sound/firewire/motu/motu-register-dsp-message-parser.c
203
if (param->mixer.source[mixer_ch].gain[mixer_src_ch] != val) {
sound/firewire/motu/motu-register-dsp-message-parser.c
205
param->mixer.source[mixer_ch].gain[mixer_src_ch] = val;
sound/firewire/motu/motu-register-dsp-message-parser.c
209
if (param->mixer.source[mixer_ch].pan[mixer_src_ch] != val) {
sound/firewire/motu/motu-register-dsp-message-parser.c
211
param->mixer.source[mixer_ch].pan[mixer_src_ch] = val;
sound/firewire/motu/motu-register-dsp-message-parser.c
215
if (param->mixer.source[mixer_ch].flag[mixer_src_ch] != val) {
sound/firewire/motu/motu-register-dsp-message-parser.c
217
param->mixer.source[mixer_ch].flag[mixer_src_ch] = val;
sound/firewire/motu/motu-register-dsp-message-parser.c
221
if (param->mixer.source[mixer_ch].paired_balance[mixer_src_ch] != val) {
sound/firewire/motu/motu-register-dsp-message-parser.c
223
param->mixer.source[mixer_ch].paired_balance[mixer_src_ch] = val;
sound/firewire/motu/motu-register-dsp-message-parser.c
227
if (param->mixer.source[mixer_ch].paired_width[mixer_src_ch] != val) {
sound/firewire/motu/motu-register-dsp-message-parser.c
229
param->mixer.source[mixer_ch].paired_width[mixer_src_ch] = val;
sound/firewire/motu/motu-transaction.c
48
int tcode, int destination, int source,
sound/firewire/motu/motu.h
244
enum snd_motu_clock_source *source)
sound/firewire/motu/motu.h
247
return snd_motu_protocol_v2_get_clock_source(motu, source);
sound/firewire/motu/motu.h
249
return snd_motu_protocol_v3_get_clock_source(motu, source);
sound/firewire/motu/motu.h
251
return snd_motu_protocol_v1_get_clock_source(motu, source);
sound/firewire/oxfw/oxfw-scs1x.c
95
int tcode, int destination, int source, int generation,
sound/firewire/tascam/tascam-transaction.c
246
int tcode, int destination, int source,
sound/pci/asihpi/asihpi.c
1632
u16 source, err;
sound/pci/asihpi/asihpi.c
1634
err = func(h_control, &source);
sound/pci/asihpi/asihpi.c
1641
if (source == HPI_AESEBU_FORMAT_SPDIF)
sound/pci/asihpi/asihpi.c
1643
if (source == HPI_AESEBU_FORMAT_AESEBU)
sound/pci/asihpi/asihpi.c
1656
u16 source = HPI_AESEBU_FORMAT_SPDIF;
sound/pci/asihpi/asihpi.c
1659
source = HPI_AESEBU_FORMAT_SPDIF;
sound/pci/asihpi/asihpi.c
1661
source = HPI_AESEBU_FORMAT_AESEBU;
sound/pci/asihpi/asihpi.c
1663
if (func(h_control, source) != 0)
sound/pci/asihpi/asihpi.c
2324
u16 source, srcindex = 0;
sound/pci/asihpi/asihpi.c
2328
if (hpi_sample_clock_get_source(h_control, &source))
sound/pci/asihpi/asihpi.c
2329
source = 0;
sound/pci/asihpi/asihpi.c
2331
if (source == HPI_SAMPLECLOCK_SOURCE_AESEBU_INPUT)
sound/pci/asihpi/asihpi.c
2336
if ((clkcache->s[i].source == source) &&
sound/pci/asihpi/asihpi.c
2360
h_control, clkcache->s[item].source));
sound/pci/asihpi/asihpi.c
2362
if (clkcache->s[item].source == HPI_SAMPLECLOCK_SOURCE_AESEBU_INPUT)
sound/pci/asihpi/asihpi.c
2451
u16 source;
sound/pci/asihpi/asihpi.c
2463
i, &source))
sound/pci/asihpi/asihpi.c
2465
clkcache->s[i].source = source;
sound/pci/asihpi/asihpi.c
2467
clkcache->s[i].name = sampleclock_sources[source];
sound/pci/asihpi/asihpi.c
2468
if (source == HPI_SAMPLECLOCK_SOURCE_AESEBU_INPUT)
sound/pci/asihpi/asihpi.c
2470
if (source == HPI_SAMPLECLOCK_SOURCE_LOCAL)
sound/pci/asihpi/asihpi.c
2478
&source))
sound/pci/asihpi/asihpi.c
2480
clkcache->s[i].source =
sound/pci/asihpi/asihpi.c
2655
u16 source = 0;
sound/pci/asihpi/asihpi.c
2688
err += hpi_sample_clock_get_source(h_control, &source);
sound/pci/asihpi/asihpi.c
2692
rate, sampleclock_sources[source]);
sound/pci/asihpi/asihpi.c
88
int source;
sound/pci/asihpi/hpi.h
1484
u16 hpi_aesebu_receiver_set_format(u32 h_control, u16 source);
sound/pci/asihpi/hpi.h
1553
u16 hpi_sample_clock_set_source(u32 h_control, u16 source);
sound/pci/asihpi/hpi.h
1558
const u32 source, u16 *pw_source_index);
sound/pci/asihpi/hpi6000.c
1208
u16 dsp_index, u32 hpi_address, u32 *source, u32 count)
sound/pci/asihpi/hpi6000.c
1217
u32 *pdata = source;
sound/pci/asihpi/hpi6000.c
146
u16 dsp_index, u32 hpi_address, u32 *source, u32 count);
sound/pci/asihpi/hpi_internal.h
1327
u16 source;
sound/pci/asihpi/hpicmn.c
436
phr->u.c.param1 = pC->u.clk.source;
sound/pci/asihpi/hpicmn.c
602
pC->u.clk.source = (u16)phm->u.c.param1;
sound/pci/asihpi/hpifunc.c
2275
u16 hpi_sample_clock_set_source(u32 h_control, u16 source)
sound/pci/asihpi/hpifunc.c
2278
source, 0);
sound/pci/asihpi/hpifunc.c
2284
u32 source = 0;
sound/pci/asihpi/hpifunc.c
2286
&source);
sound/pci/asihpi/hpifunc.c
2289
*pw_source = (u16)source;
sound/pci/asihpi/hpifunc.c
2294
const u32 source, u16 *pw_source_index)
sound/pci/asihpi/hpifunc.c
2300
source, &qr);
sound/pci/au88x0/au88x0.h
247
unsigned char source, unsigned char dest);
sound/pci/au88x0/au88x0.h
250
unsigned char source, unsigned char dest0,
sound/pci/au88x0/au88x0_a3d.c
102
a3d_addrB(a->slice, a->source, A3D_B_A12Current));
sound/pci/au88x0/au88x0_a3d.c
105
a3d_addrA(a->slice, a->source, A3D_A_B01Current));
sound/pci/au88x0/au88x0_a3d.c
108
a3d_addrB(a->slice, a->source, A3D_B_B01Current));
sound/pci/au88x0/au88x0_a3d.c
111
a3d_addrA(a->slice, a->source, A3D_A_B2Current));
sound/pci/au88x0/au88x0_a3d.c
131
a3d_addrB(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
144
a3d_addrB(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
157
a3d_addrB(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
166
a3d_addrA(a->slice, a->source, A3D_A_HrtfOutL), left);
sound/pci/au88x0/au88x0_a3d.c
168
a3d_addrA(a->slice, a->source, A3D_A_HrtfOutR), right);
sound/pci/au88x0/au88x0_a3d.c
180
a3d_addrA(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
185
a3d_addrB(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
197
a3d_addrA(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
202
a3d_addrB(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
214
a3d_addrA(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
219
a3d_addrB(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
228
a3d_addrA(a->slice, a->source, A3D_A_HrtfOutL));
sound/pci/au88x0/au88x0_a3d.c
231
a3d_addrA(a->slice, a->source, A3D_A_HrtfOutR));
sound/pci/au88x0/au88x0_a3d.c
254
a3d_addrB(a->slice, a->source, A3D_B_ITDTarget),
sound/pci/au88x0/au88x0_a3d.c
26
a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack);
sound/pci/au88x0/au88x0_a3d.c
272
a3d_addrB(a->slice, a->source, A3D_B_ITDCurrent),
sound/pci/au88x0/au88x0_a3d.c
28
a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack);
sound/pci/au88x0/au88x0_a3d.c
284
a3d_addrA(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
294
a3d_addrA(a->slice, a->source, A3D_A_ITDTarget));
sound/pci/au88x0/au88x0_a3d.c
297
a3d_addrB(a->slice, a->source, A3D_B_ITDTarget));
sound/pci/au88x0/au88x0_a3d.c
30
a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack);
sound/pci/au88x0/au88x0_a3d.c
306
a3d_addrA(a->slice, a->source, A3D_A_ITDCurrent));
sound/pci/au88x0/au88x0_a3d.c
309
a3d_addrB(a->slice, a->source, A3D_B_ITDCurrent));
sound/pci/au88x0/au88x0_a3d.c
32
a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack);
sound/pci/au88x0/au88x0_a3d.c
320
a3d_addrA(a->slice, a->source,
sound/pci/au88x0/au88x0_a3d.c
331
a3d_addrB(a->slice, a->source, A3D_B_GainTarget),
sound/pci/au88x0/au88x0_a3d.c
339
a3d_addrB(a->slice, a->source, A3D_B_GainCurrent),
sound/pci/au88x0/au88x0_a3d.c
349
a3d_addrA(a->slice, a->source, A3D_A_GainTarget));
sound/pci/au88x0/au88x0_a3d.c
352
a3d_addrB(a->slice, a->source, A3D_B_GainTarget));
sound/pci/au88x0/au88x0_a3d.c
360
a3d_addrA(a->slice, a->source, A3D_A_GainCurrent));
sound/pci/au88x0/au88x0_a3d.c
363
a3d_addrB(a->slice, a->source, A3D_B_GainCurrent));
sound/pci/au88x0/au88x0_a3d.c
489
var2 = a->source;
sound/pci/au88x0/au88x0_a3d.c
495
a->source = var2;
sound/pci/au88x0/au88x0_a3d.c
52
a3d_addrB(a->slice, a->source, A3D_B_A21Target),
sound/pci/au88x0/au88x0_a3d.c
529
a3d_addrS(a->slice, A3D_SLICE_VDBDest) + (a->source << 2), 0);
sound/pci/au88x0/au88x0_a3d.c
532
A3D_SLICE_VDBDest + 4) + (a->source << 2), 0);
sound/pci/au88x0/au88x0_a3d.c
542
static void vortex_A3dSourceHw_Initialize(vortex_t * v, int source, int slice)
sound/pci/au88x0/au88x0_a3d.c
544
a3dsrc_t *a3dsrc = &(v->a3d[source + (slice * 4)]);
sound/pci/au88x0/au88x0_a3d.c
548
a3dsrc->source = source; /* source */
sound/pci/au88x0/au88x0_a3d.c
55
a3d_addrB(a->slice, a->source, A3D_B_B10Target),
sound/pci/au88x0/au88x0_a3d.c
58
a3d_addrB(a->slice, a->source, A3D_B_B2Target), c);
sound/pci/au88x0/au88x0_a3d.c
67
a3d_addrB(a->slice, a->source, A3D_B_A12Current),
sound/pci/au88x0/au88x0_a3d.c
70
a3d_addrB(a->slice, a->source, A3D_B_B01Current),
sound/pci/au88x0/au88x0_a3d.c
73
a3d_addrB(a->slice, a->source, A3D_B_B2Current), c);
sound/pci/au88x0/au88x0_a3d.c
80
hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_x1), x1);
sound/pci/au88x0/au88x0_a3d.c
81
hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_x2), x2);
sound/pci/au88x0/au88x0_a3d.c
82
hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y1), y1);
sound/pci/au88x0/au88x0_a3d.c
83
hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y2), y2);
sound/pci/au88x0/au88x0_a3d.c
99
a3d_addrA(a->slice, a->source, A3D_A_A12Current));
sound/pci/au88x0/au88x0_a3d.h
106
#define a3d_addrA(slice,source,reg) (((slice)<<0xd)+((source)*0x3A4)+(reg))
sound/pci/au88x0/au88x0_a3d.h
107
#define a3d_addrB(slice,source,reg) (((slice)<<0xd)+((source)*0x2C8)+(reg))
sound/pci/au88x0/au88x0_a3d.h
37
unsigned int source; /* this_04 */
sound/pci/au88x0/au88x0_core.c
1717
unsigned char source, unsigned char dest)
sound/pci/au88x0/au88x0_core.c
1721
route = ((source & ADB_MASK) << ADB_SHIFT) | (dest & ADB_MASK);
sound/pci/au88x0/au88x0_core.c
1724
if ((source < (OFFSET_SRCOUT + NR_SRC))
sound/pci/au88x0/au88x0_core.c
1725
&& (source >= OFFSET_SRCOUT))
sound/pci/au88x0/au88x0_core.c
1726
vortex_src_addWTD(vortex, (source - OFFSET_SRCOUT),
sound/pci/au88x0/au88x0_core.c
1728
else if ((source < (OFFSET_MIXOUT + NR_MIXOUT))
sound/pci/au88x0/au88x0_core.c
1729
&& (source >= OFFSET_MIXOUT))
sound/pci/au88x0/au88x0_core.c
1731
(source - OFFSET_MIXOUT), channel);
sound/pci/au88x0/au88x0_core.c
1734
if ((source < (OFFSET_SRCOUT + NR_SRC))
sound/pci/au88x0/au88x0_core.c
1735
&& (source >= OFFSET_SRCOUT))
sound/pci/au88x0/au88x0_core.c
1736
vortex_src_delWTD(vortex, (source - OFFSET_SRCOUT),
sound/pci/au88x0/au88x0_core.c
1738
else if ((source < (OFFSET_MIXOUT + NR_MIXOUT))
sound/pci/au88x0/au88x0_core.c
1739
&& (source >= OFFSET_MIXOUT))
sound/pci/au88x0/au88x0_core.c
1741
(source - OFFSET_MIXOUT), channel);
sound/pci/au88x0/au88x0_core.c
1748
unsigned char source, unsigned char dest0, unsigned char dest1)
sound/pci/au88x0/au88x0_core.c
1752
route[0] = ((source & ADB_MASK) << ADB_SHIFT) | (dest0 & ADB_MASK);
sound/pci/au88x0/au88x0_core.c
1753
route[1] = ((source & ADB_MASK) << ADB_SHIFT) | (dest1 & ADB_MASK);
sound/pci/au88x0/au88x0_core.c
1757
if ((source < (OFFSET_SRCOUT + NR_SRC))
sound/pci/au88x0/au88x0_core.c
1758
&& (source >= (OFFSET_SRCOUT)))
sound/pci/au88x0/au88x0_core.c
1759
vortex_src_addWTD(vortex, (source - OFFSET_SRCOUT),
sound/pci/au88x0/au88x0_core.c
1761
else if ((source < (OFFSET_MIXOUT + NR_MIXOUT))
sound/pci/au88x0/au88x0_core.c
1762
&& (source >= (OFFSET_MIXOUT)))
sound/pci/au88x0/au88x0_core.c
1764
(source - OFFSET_MIXOUT), channel);
sound/pci/au88x0/au88x0_core.c
1767
if ((source < (OFFSET_SRCOUT + NR_SRC))
sound/pci/au88x0/au88x0_core.c
1768
&& (source >= (OFFSET_SRCOUT)))
sound/pci/au88x0/au88x0_core.c
1769
vortex_src_delWTD(vortex, (source - OFFSET_SRCOUT),
sound/pci/au88x0/au88x0_core.c
1771
else if ((source < (OFFSET_MIXOUT + NR_MIXOUT))
sound/pci/au88x0/au88x0_core.c
1772
&& (source >= (OFFSET_MIXOUT)))
sound/pci/au88x0/au88x0_core.c
1774
(source - OFFSET_MIXOUT), channel);
sound/pci/au88x0/au88x0_core.c
1860
unsigned char channel, unsigned char source,
sound/pci/au88x0/au88x0_core.c
1863
vortex_route(vortex, en, channel, source, ADB_MIXIN(mixin));
sound/pci/au88x0/au88x0_core.c
2407
u32 source;
sound/pci/au88x0/au88x0_core.c
2417
source = hwread(vortex->mmio, VORTEX_IRQ_SOURCE);
sound/pci/au88x0/au88x0_core.c
2419
hwwrite(vortex->mmio, VORTEX_IRQ_SOURCE, source);
sound/pci/au88x0/au88x0_core.c
2422
if (source == 0) {
sound/pci/au88x0/au88x0_core.c
2429
if (unlikely(source & IRQ_ERR_MASK)) {
sound/pci/au88x0/au88x0_core.c
2430
if (source & IRQ_FATAL) {
sound/pci/au88x0/au88x0_core.c
2433
if (source & IRQ_PARITY) {
sound/pci/au88x0/au88x0_core.c
2436
if (source & IRQ_REG) {
sound/pci/au88x0/au88x0_core.c
2439
if (source & IRQ_FIFO) {
sound/pci/au88x0/au88x0_core.c
2442
if (source & IRQ_DMA) {
sound/pci/au88x0/au88x0_core.c
2447
if (source & IRQ_PCMOUT) {
sound/pci/au88x0/au88x0_core.c
2480
if (source & IRQ_TIMER) {
sound/pci/au88x0/au88x0_core.c
2484
if ((source & IRQ_MIDI) && vortex->rmidi) {
sound/pci/au88x0/au88x0_core.c
2491
dev_err(vortex->card->dev, "unknown irq source %x\n", source);
sound/pci/au88x0/au88x0_synth.c
16
unsigned char source,
sound/pci/ca0106/ca0106_mixer.c
100
u32 source;
sound/pci/ca0106/ca0106_mixer.c
111
source = 1 << val;
sound/pci/ca0106/ca0106_mixer.c
112
snd_ca0106_i2c_write(emu, ADC_MUX, source); /* Set source */
sound/pci/ca0106/ca0106_mixer.c
90
unsigned int source, mask;
sound/pci/ca0106/ca0106_mixer.c
91
source = (val << 28) | (val << 24) | (val << 20) | (val << 16);
sound/pci/ca0106/ca0106_mixer.c
93
snd_ca0106_ptr_write(emu, CAPTURE_SOURCE, 0, source | mask);
sound/pci/cs46xx/cs46xx_lib.h
183
cs46xx_add_record_source (struct snd_cs46xx *chip, struct dsp_scb_descriptor * source,
sound/pci/cs46xx/dsp_spos_scb_lib.c
1532
cs46xx_add_record_source (struct snd_cs46xx *chip, struct dsp_scb_descriptor * source,
sound/pci/cs46xx/dsp_spos_scb_lib.c
1552
source, parent,
sound/pci/ctxfi/cthardware.h
79
int (*is_adc_source_selected)(struct hw *hw, enum ADCSRC source);
sound/pci/ctxfi/cthardware.h
80
int (*select_adc_source)(struct hw *hw, enum ADCSRC source);
sound/pci/emu10k1/emumixer.c
1194
u32 source;
sound/pci/emu10k1/emumixer.c
1224
source = 1 << (source_id + 2);
sound/pci/emu10k1/emumixer.c
1225
snd_emu10k1_i2c_write(emu, ADC_MUX, source); /* Set source */
sound/pci/emu10k1/p16v.c
685
u32 source;
sound/pci/emu10k1/p16v.c
693
source = (val << 28) | (val << 24) | (val << 20) | (val << 16);
sound/pci/emu10k1/p16v.c
695
snd_emu10k1_ptr20_write(emu, BASIC_INTERRUPT, 0, source | mask);
sound/pci/korg1212/korg1212.c
807
static int snd_korg1212_SetClockSource(struct snd_korg1212 *korg1212, int source)
sound/pci/korg1212/korg1212.c
810
if (source < 0 || source > 2)
sound/pci/korg1212/korg1212.c
813
korg1212->clkSource = source;
sound/pci/riptide/riptide.c
1519
freelbuspath(cif, data->source, data->lbuspath);
sound/pci/riptide/riptide.c
1520
alloclbuspath(cif, data->source, lbuspath,
sound/pci/riptide/riptide.c
1574
freelbuspath(cif, data->source, data->lbuspath);
sound/pci/riptide/riptide.c
1576
data->source = 0xff;
sound/pci/riptide/riptide.c
1603
data->source = play_sources[sub_num];
sound/pci/riptide/riptide.c
1626
data->source = ACLNK2PADC;
sound/pci/riptide/riptide.c
1908
data->id, data->mixer, data->source,
sound/pci/riptide/riptide.c
1920
data->source, data->intdec[0], data->intdec[1]);
sound/pci/riptide/riptide.c
466
unsigned char source;
sound/pci/riptide/riptide.c
486
static int getsourcesink(struct cmdif *cif, unsigned char source,
sound/pci/riptide/riptide.c
737
alloclbuspath(struct cmdif *cif, unsigned char source,
sound/pci/riptide/riptide.c
745
dev_dbg(cif->dev, "alloc path 0x%x->0x%x\n", source, sink);
sound/pci/riptide/riptide.c
746
SEND_PSEL(cif, source, sink);
sound/pci/riptide/riptide.c
747
source = lbusin2out[sink][0];
sound/pci/riptide/riptide.c
770
alloclbuspath(cif, source + 1, ++npath, mixer, s);
sound/pci/riptide/riptide.c
776
freelbuspath(struct cmdif *cif, unsigned char source, const unsigned char *path)
sound/pci/riptide/riptide.c
783
dev_dbg(cif->dev, "free path 0x%x->0x%x\n", source, sink);
sound/pci/riptide/riptide.c
784
SEND_PCLR(cif, source, sink);
sound/pci/riptide/riptide.c
785
source = lbusin2out[sink][0];
sound/pci/riptide/riptide.c
792
freelbuspath(cif, source + 1, ++npath);
sound/pci/riptide/riptide.c
956
getsourcesink(struct cmdif *cif, unsigned char source, unsigned char sink,
sound/pci/riptide/riptide.c
961
if (SEND_RSSV(cif, source, sink, &rptr) &&
sound/pci/riptide/riptide.c
962
SEND_RSSV(cif, source, sink, &rptr))
sound/pci/rme9652/hdsp.c
2580
int source;
sound/pci/rme9652/hdsp.c
2584
source = ucontrol->value.integer.value[0];
sound/pci/rme9652/hdsp.c
2587
if (source >= hdsp->max_channels)
sound/pci/rme9652/hdsp.c
2588
addr = hdsp_playback_to_output_key(hdsp,source-hdsp->max_channels,destination);
sound/pci/rme9652/hdsp.c
2590
addr = hdsp_input_to_output_key(hdsp,source, destination);
sound/pci/rme9652/hdsp.c
2601
int source;
sound/pci/rme9652/hdsp.c
2609
source = ucontrol->value.integer.value[0];
sound/pci/rme9652/hdsp.c
2612
if (source >= hdsp->max_channels)
sound/pci/rme9652/hdsp.c
2613
addr = hdsp_playback_to_output_key(hdsp,source-hdsp->max_channels, destination);
sound/pci/rme9652/hdsp.c
2615
addr = hdsp_input_to_output_key(hdsp,source, destination);
sound/pci/rme9652/hdspm.c
3613
int source;
sound/pci/rme9652/hdspm.c
3616
source = ucontrol->value.integer.value[0];
sound/pci/rme9652/hdspm.c
3617
if (source < 0)
sound/pci/rme9652/hdspm.c
3618
source = 0;
sound/pci/rme9652/hdspm.c
3619
else if (source >= 2 * HDSPM_MAX_CHANNELS)
sound/pci/rme9652/hdspm.c
3620
source = 2 * HDSPM_MAX_CHANNELS - 1;
sound/pci/rme9652/hdspm.c
3629
if (source >= HDSPM_MAX_CHANNELS)
sound/pci/rme9652/hdspm.c
3632
source - HDSPM_MAX_CHANNELS);
sound/pci/rme9652/hdspm.c
3635
hdspm_read_in_gain(hdspm, destination, source);
sound/pci/rme9652/hdspm.c
3645
int source;
sound/pci/rme9652/hdspm.c
3652
source = ucontrol->value.integer.value[0];
sound/pci/rme9652/hdspm.c
3655
if (source < 0 || source >= 2 * HDSPM_MAX_CHANNELS)
sound/pci/rme9652/hdspm.c
3664
if (source >= HDSPM_MAX_CHANNELS)
sound/pci/rme9652/hdspm.c
3666
source -
sound/pci/rme9652/hdspm.c
3670
source);
sound/pci/rme9652/hdspm.c
3673
if (source >= HDSPM_MAX_CHANNELS)
sound/pci/rme9652/hdspm.c
3675
source - HDSPM_MAX_CHANNELS,
sound/pci/rme9652/hdspm.c
3678
hdspm_write_in_gain(hdspm, destination, source,
sound/pci/vx222/vx222_ops.c
781
static void vx2_set_clock_source(struct vx_core *_chip, int source)
sound/pci/vx222/vx222_ops.c
785
if (source == INTERNAL_QUARTZ)
sound/pcmcia/vx/vxp_ops.c
558
static void vxp_set_clock_source(struct vx_core *_chip, int source)
sound/pcmcia/vx/vxp_ops.c
562
if (source == INTERNAL_QUARTZ)
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
260
priv->mic_map[num_routes].source = "Internal Mic";
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
265
priv->mic_map[num_routes].source = "Headset Mic";
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
270
priv->mic_map[i].source, priv->mic_map[i].sink);
sound/soc/codecs/ad193x.c
102
static int ad193x_check_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/ad193x.c
105
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/adau1373.c
1272
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/adau1373.c
1287
switch (source) {
sound/soc/codecs/adau1373.c
1333
(source << 4) | dpll_div);
sound/soc/codecs/adau1373.c
839
static int adau1373_check_aif_clk(struct snd_soc_dapm_widget *source,
sound/soc/codecs/adau1373.c
842
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/adau1373.c
857
return snd_soc_dapm_widget_name_cmp(source, clk) == 0;
sound/soc/codecs/adau1373.c
860
static int adau1373_check_src(struct snd_soc_dapm_widget *source,
sound/soc/codecs/adau1373.c
863
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/adau1701.c
593
int source, unsigned int freq, int dir)
sound/soc/codecs/adau17x1.c
359
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/adau1977.c
794
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/adau1977.c
807
switch (source) {
sound/soc/codecs/adau1977.c
818
if (freq != 0 && source == ADAU1977_SYSCLK_SRC_MCLK) {
sound/soc/codecs/adau1977.c
831
} else if (source == ADAU1977_SYSCLK_SRC_LRCLK) {
sound/soc/codecs/adau1977.c
841
adau1977->sysclk_src = source;
sound/soc/codecs/adav80x.c
211
static int adav80x_dapm_sysclk_check(struct snd_soc_dapm_widget *source,
sound/soc/codecs/adav80x.c
214
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/adav80x.c
232
return snd_soc_dapm_widget_name_cmp(source, clk) == 0;
sound/soc/codecs/adav80x.c
235
static int adav80x_dapm_pll_check(struct snd_soc_dapm_widget *source,
sound/soc/codecs/adav80x.c
238
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/adav80x.c
538
int clk_id, int source,
sound/soc/codecs/adav80x.c
623
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/adav80x.c
631
switch (source) {
sound/soc/codecs/adav80x.c
647
if (source == ADAV80X_PLL_SRC_XIN) {
sound/soc/codecs/adav80x.c
681
if (source != adav80x->pll_src) {
sound/soc/codecs/adav80x.c
682
if (source == ADAV80X_PLL_SRC_MCLKI)
sound/soc/codecs/adav80x.c
690
adav80x->pll_src = source;
sound/soc/codecs/ak4375.c
274
static int ak4375_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/alc5623.c
521
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/alc5632.c
678
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/arizona.c
1364
int source, unsigned int freq, int dir)
sound/soc/codecs/arizona.c
1371
unsigned int val = source << ARIZONA_SYSCLK_SRC_SHIFT;
sound/soc/codecs/arizona.c
1941
routes[0].source = arizona_dai_clk_str(dai_priv->clk);
sound/soc/codecs/arizona.c
1942
routes[1].source = arizona_dai_clk_str(dai_priv->clk);
sound/soc/codecs/arizona.c
1945
routes[0].source = arizona_dai_clk_str(clk_id);
sound/soc/codecs/arizona.c
1946
routes[1].source = arizona_dai_clk_str(clk_id);
sound/soc/codecs/arizona.c
2328
struct arizona_fll_cfg *cfg, int source,
sound/soc/codecs/arizona.c
2342
source << ARIZONA_FLL1_CLK_REF_SRC_SHIFT);
sound/soc/codecs/arizona.c
2553
int arizona_set_fll_refclk(struct arizona_fll *fll, int source,
sound/soc/codecs/arizona.c
2558
if (fll->ref_src == source && fll->ref_freq == Fref)
sound/soc/codecs/arizona.c
2567
fll->ref_src = source;
sound/soc/codecs/arizona.c
2577
int arizona_set_fll(struct arizona_fll *fll, int source,
sound/soc/codecs/arizona.c
2582
if (fll->sync_src == source &&
sound/soc/codecs/arizona.c
2598
fll->sync_src = source;
sound/soc/codecs/arizona.h
311
int arizona_set_sysclk(struct snd_soc_component *component, int clk_id, int source,
sound/soc/codecs/arizona.h
343
int arizona_set_fll_refclk(struct arizona_fll *fll, int source,
sound/soc/codecs/arizona.h
345
int arizona_set_fll(struct arizona_fll *fll, int source,
sound/soc/codecs/audio-iio-aux.c
159
routes[0].source = input_name;
sound/soc/codecs/audio-iio-aux.c
162
routes[1].source = pga_name;
sound/soc/codecs/cs35l32.c
202
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/cs35l33.c
635
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/cs35l35.c
709
int clk_id, int source, unsigned int freq,
sound/soc/codecs/cs35l36.c
990
int clk_id, int source, unsigned int freq,
sound/soc/codecs/cs35l41.c
812
int clk_id, int source,
sound/soc/codecs/cs43130.c
1691
int clk_id, int source, unsigned int freq,
sound/soc/codecs/cs43130.c
1697
clk_id, source, freq, dir);
sound/soc/codecs/cs43130.c
1709
if (source == CS43130_MCLK_SRC_EXT) {
sound/soc/codecs/cs43130.c
284
static int cs43130_set_pll(struct snd_soc_component *component, int pll_id, int source,
sound/soc/codecs/cs47l15.c
1125
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/cs47l15.c
1131
return madera_set_fll_refclk(&cs47l15->fll[0], source, fref,
sound/soc/codecs/cs47l15.c
1134
return madera_set_fll_ao_refclk(&cs47l15->fll[1], source, fref,
sound/soc/codecs/cs47l15.c
1137
return madera_set_fll_syncclk(&cs47l15->fll[0], source, fref,
sound/soc/codecs/cs47l24.c
935
int source, unsigned int Fref, unsigned int Fout)
sound/soc/codecs/cs47l24.c
941
return arizona_set_fll(&cs47l24->fll[0], source, Fref, Fout);
sound/soc/codecs/cs47l24.c
943
return arizona_set_fll(&cs47l24->fll[1], source, Fref, Fout);
sound/soc/codecs/cs47l24.c
945
return arizona_set_fll_refclk(&cs47l24->fll[0], source, Fref,
sound/soc/codecs/cs47l24.c
948
return arizona_set_fll_refclk(&cs47l24->fll[1], source, Fref,
sound/soc/codecs/cs47l35.c
1335
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/cs47l35.c
1341
return madera_set_fll_refclk(&cs47l35->fll, source, fref,
sound/soc/codecs/cs47l35.c
1344
return madera_set_fll_syncclk(&cs47l35->fll, source, fref,
sound/soc/codecs/cs47l85.c
2224
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/cs47l85.c
2230
return madera_set_fll_refclk(&cs47l85->fll[0], source, fref,
sound/soc/codecs/cs47l85.c
2233
return madera_set_fll_refclk(&cs47l85->fll[1], source, fref,
sound/soc/codecs/cs47l85.c
2236
return madera_set_fll_refclk(&cs47l85->fll[2], source, fref,
sound/soc/codecs/cs47l85.c
2239
return madera_set_fll_syncclk(&cs47l85->fll[0], source, fref,
sound/soc/codecs/cs47l85.c
2242
return madera_set_fll_syncclk(&cs47l85->fll[1], source, fref,
sound/soc/codecs/cs47l85.c
2245
return madera_set_fll_syncclk(&cs47l85->fll[2], source, fref,
sound/soc/codecs/cs47l90.c
2146
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/cs47l90.c
2152
return madera_set_fll_refclk(&cs47l90->fll[0], source, fref,
sound/soc/codecs/cs47l90.c
2155
return madera_set_fll_refclk(&cs47l90->fll[1], source, fref,
sound/soc/codecs/cs47l90.c
2158
return madera_set_fll_ao_refclk(&cs47l90->fll[2], source, fref,
sound/soc/codecs/cs47l90.c
2161
return madera_set_fll_syncclk(&cs47l90->fll[0], source, fref,
sound/soc/codecs/cs47l90.c
2164
return madera_set_fll_syncclk(&cs47l90->fll[1], source, fref,
sound/soc/codecs/cs47l92.c
1675
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/cs47l92.c
1681
return madera_fllhj_set_refclk(&cs47l92->fll[0], source, fref,
sound/soc/codecs/cs47l92.c
1684
return madera_fllhj_set_refclk(&cs47l92->fll[1], source, fref,
sound/soc/codecs/cs48l32.c
1426
static int cs48l32_set_pdm_fllclk(struct snd_soc_component *component, int source)
sound/soc/codecs/cs48l32.c
1432
switch (source) {
sound/soc/codecs/cs48l32.c
1439
val = source << CS48L32_PDM_FLLCLK_SRC_SHIFT;
sound/soc/codecs/cs48l32.c
1442
dev_err(cs48l32_codec->core.dev, "Invalid PDM FLLCLK src %d\n", source);
sound/soc/codecs/cs48l32.c
1450
static int cs48l32_set_sysclk(struct snd_soc_component *component, int clk_id, int source,
sound/soc/codecs/cs48l32.c
1458
unsigned int val = source << CS48L32_SYSCLK_SRC_SHIFT;
sound/soc/codecs/cs48l32.c
1473
clk_freq_sel = cs48l32_get_dspclk_setting(cs48l32_codec, freq, source, &val);
sound/soc/codecs/cs48l32.c
1477
return cs48l32_set_pdm_fllclk(component, source);
sound/soc/codecs/cs48l32.c
1812
static int cs48l32_fllhj_set_refclk(struct cs48l32_fll *fll, int source,
sound/soc/codecs/cs48l32.c
1817
if (fll->ref_src == source && fll->ref_freq == fin && fll->fout == fout)
sound/soc/codecs/cs48l32.c
1823
fll->ref_src = source;
sound/soc/codecs/cs48l32.c
1843
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/cs48l32.c
1854
return cs48l32_fllhj_set_refclk(&cs48l32_codec->fll, source, fref, fout);
sound/soc/codecs/cs530x.c
1004
CS530X_PLL_REFCLK_SRC_MASK, source);
sound/soc/codecs/cs530x.c
1097
int source, unsigned int freq, int dir)
sound/soc/codecs/cs530x.c
1102
switch (source) {
sound/soc/codecs/cs530x.c
1116
dev_err(component->dev, "Invalid sysclk source: %d\n", source);
sound/soc/codecs/cs530x.c
1122
source << CS530X_SYSCLK_SRC_SHIFT);
sound/soc/codecs/cs530x.c
972
int source, unsigned int freq_in,
sound/soc/codecs/cs530x.c
986
switch (source) {
sound/soc/codecs/cs530x.c
999
dev_err(component->dev, "Invalid PLL source %d\n", source);
sound/soc/codecs/da7210.c
986
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/da7213.c
1550
int clk_id, int source,
sound/soc/codecs/da7213.c
1603
int pll_id, int source,
sound/soc/codecs/da7213.c
1624
source = DA7213_SYSCLK_PLL_32KHZ;
sound/soc/codecs/da7213.c
1657
switch (source) {
sound/soc/codecs/da7213.c
1703
if (source == DA7213_SYSCLK_PLL_32KHZ) {
sound/soc/codecs/da7213.c
1714
int pll_id, int source,
sound/soc/codecs/da7213.c
1720
return _da7213_set_component_pll(component, pll_id, source, fref, fout);
sound/soc/codecs/da7218.c
1856
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/da7218.c
1895
switch (source) {
sound/soc/codecs/da7219.c
1220
int da7219_set_pll(struct snd_soc_component *component, int source, unsigned int fout)
sound/soc/codecs/da7219.c
1258
switch (source) {
sound/soc/codecs/da7219.c
1295
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/da7219.c
1302
ret = da7219_set_pll(component, source, fout);
sound/soc/codecs/da7219.h
837
int da7219_set_pll(struct snd_soc_component *component, int source, unsigned int fout);
sound/soc/codecs/da732x.c
1114
int source, unsigned int freq_in,
sound/soc/codecs/da732x.c
1133
if (source == DA732X_SRCCLK_MCLK) {
sound/soc/codecs/da9055.c
1279
int source, unsigned int fref, unsigned int fout)
sound/soc/codecs/hdac_hdmi.c
713
route->source = src;
sound/soc/codecs/hdmi-codec.c
902
.source = dai->driver->playback.stream_name,
sound/soc/codecs/hdmi-codec.c
906
.source = "RX",
sound/soc/codecs/hdmi-codec.c
915
if (!route[i].source || !route[i].sink)
sound/soc/codecs/madera.c
2615
unsigned int source, unsigned int freq)
sound/soc/codecs/madera.c
2619
switch (source) {
sound/soc/codecs/madera.c
2623
MADERA_OUT_CLK_SRC_MASK, source);
sound/soc/codecs/madera.c
2628
MADERA_OUT_CLK_SRC_MASK, source);
sound/soc/codecs/madera.c
2653
source);
sound/soc/codecs/madera.c
2667
int source, unsigned int freq, int dir)
sound/soc/codecs/madera.c
2674
unsigned int val = source << MADERA_SYSCLK_SRC_SHIFT;
sound/soc/codecs/madera.c
2703
return madera_set_outclk(component, source, freq);
sound/soc/codecs/madera.c
3262
routes[0].source = "ASYNCCLK";
sound/soc/codecs/madera.c
3263
routes[1].source = "ASYNCCLK";
sound/soc/codecs/madera.c
3702
struct madera_fll_cfg *cfg, int source,
sound/soc/codecs/madera.c
3729
source << MADERA_FLL1_REFCLK_SRC_SHIFT,
sound/soc/codecs/madera.c
4109
int madera_set_fll_syncclk(struct madera_fll *fll, int source,
sound/soc/codecs/madera.c
4118
if (fll->sync_src == source && fll->sync_freq == fref)
sound/soc/codecs/madera.c
4121
fll->sync_src = source;
sound/soc/codecs/madera.c
4128
int madera_set_fll_refclk(struct madera_fll *fll, int source,
sound/soc/codecs/madera.c
4133
if (fll->ref_src == source &&
sound/soc/codecs/madera.c
4152
fll->ref_src = source;
sound/soc/codecs/madera.c
4318
int madera_set_fll_ao_refclk(struct madera_fll *fll, int source,
sound/soc/codecs/madera.c
4326
if (fll->ref_src == source &&
sound/soc/codecs/madera.c
4331
fin, fout, source);
sound/soc/codecs/madera.c
4350
fll->ref_src = source;
sound/soc/codecs/madera.c
4640
int madera_fllhj_set_refclk(struct madera_fll *fll, int source,
sound/soc/codecs/madera.c
4652
if (fll->ref_src == source && fll->ref_freq == fin &&
sound/soc/codecs/madera.c
4659
fll->ref_src = source;
sound/soc/codecs/madera.h
408
int source, unsigned int freq, int dir);
sound/soc/codecs/madera.h
412
int madera_set_fll_refclk(struct madera_fll *fll, int source,
sound/soc/codecs/madera.h
414
int madera_set_fll_syncclk(struct madera_fll *fll, int source,
sound/soc/codecs/madera.h
416
int madera_set_fll_ao_refclk(struct madera_fll *fll, int source,
sound/soc/codecs/madera.h
418
int madera_fllhj_set_refclk(struct madera_fll *fll, int source,
sound/soc/codecs/msm8916-wcd-digital.c
852
int clk_id, int source,
sound/soc/codecs/mt6359.c
2410
static int mt_dcc_clk_connect(struct snd_soc_dapm_widget *source,
sound/soc/codecs/nau8325.c
605
int source, unsigned int freq, int dir)
sound/soc/codecs/nau8540.c
757
static int nau8540_set_pll(struct snd_soc_component *component, int pll_id, int source,
sound/soc/codecs/nau8540.c
811
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/nau8810.c
404
static int check_mclk_select_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/nau8810.c
407
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/nau8810.c
415
static int check_mic_enabled(struct snd_soc_dapm_widget *source,
sound/soc/codecs/nau8810.c
419
snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/nau8810.c
570
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/nau8821.c
1412
int pll_id, int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/nau8821.c
1529
int source, unsigned int freq, int dir)
sound/soc/codecs/nau8822.c
443
static int check_mclk_select_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/nau8822.c
447
snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/nau8822.c
709
static int nau8822_set_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/nau8824.c
1373
static int nau8824_set_pll(struct snd_soc_component *component, int pll_id, int source,
sound/soc/codecs/nau8824.c
1460
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/nau8825.c
2367
static int nau8825_set_pll(struct snd_soc_component *component, int pll_id, int source,
sound/soc/codecs/nau8825.c
2587
int source, unsigned int freq, int dir)
sound/soc/codecs/ntp8835.c
265
int clk_id, int source,
sound/soc/codecs/rk817_codec.c
54
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt1011.c
1401
static int rt1011_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt1011.c
1405
snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt1011.c
1727
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/rt1011.c
1770
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt1011.c
1777
if (source == rt1011->pll_src && freq_in == rt1011->pll_in &&
sound/soc/codecs/rt1011.c
1791
switch (source) {
sound/soc/codecs/rt1011.c
1811
dev_err(component->dev, "Unknown PLL Source %d\n", source);
sound/soc/codecs/rt1011.c
1835
rt1011->pll_src = source;
sound/soc/codecs/rt1015.c
571
static int rt1015_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt1015.c
575
snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt1015.c
803
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/rt1015.c
838
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt1015.c
854
if (source == rt1015->pll_src && freq_in == rt1015->pll_in &&
sound/soc/codecs/rt1015.c
858
switch (source) {
sound/soc/codecs/rt1015.c
870
dev_err(component->dev, "Unknown PLL Source %d\n", source);
sound/soc/codecs/rt1015.c
893
rt1015->pll_src = source;
sound/soc/codecs/rt1016.c
175
static int rt1016_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt1016.c
179
snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt1016.c
419
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/rt1016.c
454
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt1016.c
470
if (source == rt1016->pll_src && freq_in == rt1016->pll_in &&
sound/soc/codecs/rt1016.c
474
switch (source) {
sound/soc/codecs/rt1016.c
486
dev_err(component->dev, "Unknown PLL Source %d\n", source);
sound/soc/codecs/rt1016.c
511
rt1016->pll_src = source;
sound/soc/codecs/rt1019.c
324
static int rt1019_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt1019.c
339
if (source == rt1019->pll_src && freq_in == rt1019->pll_in &&
sound/soc/codecs/rt1019.c
343
switch (source) {
sound/soc/codecs/rt1019.c
355
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt1019.c
384
rt1019->pll_src = source;
sound/soc/codecs/rt1305.c
404
static int rt1305_is_rc_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt1305.c
408
snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt1305.c
421
static int rt1305_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt1305.c
425
snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt1305.c
754
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/rt1305.c
791
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt1305.c
798
if (source == rt1305->pll_src && freq_in == rt1305->pll_in &&
sound/soc/codecs/rt1305.c
813
switch (source) {
sound/soc/codecs/rt1305.c
836
dev_err(component->dev, "Unknown PLL Source %d\n", source);
sound/soc/codecs/rt1305.c
859
rt1305->pll_src = source;
sound/soc/codecs/rt1308.c
576
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/rt1308.c
616
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt1308.c
623
if (source == rt1308->pll_src && freq_in == rt1308->pll_in &&
sound/soc/codecs/rt1308.c
638
switch (source) {
sound/soc/codecs/rt1308.c
659
dev_err(component->dev, "Unknown PLL Source %d\n", source);
sound/soc/codecs/rt1308.c
681
rt1308->pll_src = source;
sound/soc/codecs/rt1318.c
866
static int rt1318_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt1318.c
881
if (source == rt1318->pll_src && freq_in == rt1318->pll_in &&
sound/soc/codecs/rt1318.c
885
switch (source) {
sound/soc/codecs/rt1318.c
919
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt1318.c
944
rt1318->pll_src = source;
sound/soc/codecs/rt274.c
750
static int rt274_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt274.c
756
switch (source) {
sound/soc/codecs/rt274.c
770
if (source == RT274_PLL2_S_BCLK) {
sound/soc/codecs/rt286.c
340
static int is_mclk_mode(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt286.c
343
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt298.c
361
static int is_mclk_mode(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt298.c
364
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5514.c
536
static int rt5514_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5514.c
539
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5514.c
548
static int rt5514_i2s_use_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5514.c
551
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5514.c
897
static int rt5514_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5514.c
917
if (source == rt5514->pll_src && freq_in == rt5514->pll_in &&
sound/soc/codecs/rt5514.c
921
switch (source) {
sound/soc/codecs/rt5514.c
933
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5514.c
956
rt5514->pll_src = source;
sound/soc/codecs/rt5616.c
1094
static int rt5616_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5616.c
1102
if (source == rt5616->pll_src && freq_in == rt5616->pll_in &&
sound/soc/codecs/rt5616.c
1117
switch (source) {
sound/soc/codecs/rt5616.c
1130
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5616.c
1153
rt5616->pll_src = source;
sound/soc/codecs/rt5616.c
346
static int is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5616.c
351
val = snd_soc_component_read(snd_soc_dapm_to_component(source->dapm), RT5616_GLB_CLK);
sound/soc/codecs/rt5631.c
1473
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/rt5631.c
282
static int check_sysclk1_source(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5631.c
285
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5631.c
292
static int check_dmic_used(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5631.c
295
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5631.c
300
static int check_dacl_to_outmixl(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5631.c
303
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5631.c
310
static int check_dacr_to_outmixr(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5631.c
313
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5631.c
320
static int check_dacl_to_spkmixl(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5631.c
323
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5631.c
330
static int check_dacr_to_spkmixr(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5631.c
333
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5631.c
340
static int check_adcl_select(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5631.c
343
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5631.c
350
static int check_adcr_select(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5631.c
353
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5640.c
1871
static int rt5640_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5640.c
1879
if (source == rt5640->pll_src && freq_in == rt5640->pll_in &&
sound/soc/codecs/rt5640.c
1893
switch (source) {
sound/soc/codecs/rt5640.c
1907
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5640.c
1929
rt5640->pll_src = source;
sound/soc/codecs/rt5640.c
476
static int is_using_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5640.c
479
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5645.c
2933
static int rt5645_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5645.c
2941
if (source == rt5645->pll_src && freq_in == rt5645->pll_in &&
sound/soc/codecs/rt5645.c
2955
switch (source) {
sound/soc/codecs/rt5645.c
2977
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5645.c
2999
rt5645->pll_src = source;
sound/soc/codecs/rt5645.c
896
static int is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5645.c
899
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5645.c
910
static int is_using_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5645.c
913
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5645.c
916
switch (source->shift) {
sound/soc/codecs/rt5651.c
1448
static int rt5651_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5651.c
1456
if (source == rt5651->pll_src && freq_in == rt5651->pll_in &&
sound/soc/codecs/rt5651.c
1470
switch (source) {
sound/soc/codecs/rt5651.c
1484
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5651.c
1506
rt5651->pll_src = source;
sound/soc/codecs/rt5659.c
3427
int source, unsigned int freq, int dir)
sound/soc/codecs/rt5659.c
3466
int source, unsigned int freq_in,
sound/soc/codecs/rt5659.c
3473
if (source == rt5659->pll_src && freq_in == rt5659->pll_in &&
sound/soc/codecs/rt5659.c
3487
switch (source) {
sound/soc/codecs/rt5659.c
3505
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5659.c
3527
rt5659->pll_src = source;
sound/soc/codecs/rt5660.c
1007
static int rt5660_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5660.c
1015
if (source == rt5660->pll_src && freq_in == rt5660->pll_in &&
sound/soc/codecs/rt5660.c
1029
switch (source) {
sound/soc/codecs/rt5660.c
1041
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5660.c
1063
rt5660->pll_src = source;
sound/soc/codecs/rt5660.c
368
static int rt5660_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5660.c
371
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5663.c
2127
static int rt5663_i2s_use_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5663.c
2130
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5663.c
2893
static int rt5663_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5663.c
2902
if (source == rt5663->pll_src && freq_in == rt5663->pll_in &&
sound/soc/codecs/rt5663.c
2930
switch (source) {
sound/soc/codecs/rt5663.c
2938
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5663.c
2961
rt5663->pll_src = source;
sound/soc/codecs/rt5665.c
4186
int source, unsigned int freq, int dir)
sound/soc/codecs/rt5665.c
4232
int source, unsigned int freq_in,
sound/soc/codecs/rt5665.c
4239
if (source == rt5665->pll_src && freq_in == rt5665->pll_in &&
sound/soc/codecs/rt5665.c
4253
switch (source) {
sound/soc/codecs/rt5665.c
4271
dev_err(component->dev, "Unknown PLL Source %d\n", source);
sound/soc/codecs/rt5665.c
4293
rt5665->pll_src = source;
sound/soc/codecs/rt5668.c
2047
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/rt5668.c
2095
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt5668.c
2102
if (source == rt5668->pll_src && freq_in == rt5668->pll_in &&
sound/soc/codecs/rt5668.c
2116
switch (source) {
sound/soc/codecs/rt5668.c
2126
dev_err(component->dev, "Unknown PLL Source %d\n", source);
sound/soc/codecs/rt5668.c
2148
rt5668->pll_src = source;
sound/soc/codecs/rt5670.c
2502
int source, unsigned int freq, int dir)
sound/soc/codecs/rt5670.c
2532
static int rt5670_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5670.c
2540
if (source == rt5670->pll_src && freq_in == rt5670->pll_in &&
sound/soc/codecs/rt5670.c
2554
switch (source) {
sound/soc/codecs/rt5670.c
2578
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5670.c
2600
rt5670->pll_src = source;
sound/soc/codecs/rt5670.c
762
static int is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5670.c
765
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5670.c
774
static int is_using_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5670.c
777
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5670.c
780
switch (source->shift) {
sound/soc/codecs/rt5670.c
826
static int can_use_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5670.c
829
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5677.c
1102
static int is_sys_clk_from_pll(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5677.c
1105
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5677.c
1117
static int is_using_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5677.c
1120
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5677.c
1124
if (source->reg == RT5677_ASRC_1) {
sound/soc/codecs/rt5677.c
1125
switch (source->shift) {
sound/soc/codecs/rt5677.c
1146
switch (source->shift) {
sound/soc/codecs/rt5677.c
1200
static int can_use_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5677.c
1203
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5677.c
1405
static int rt5677_dmic_use_asrc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/rt5677.c
1408
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/rt5677.c
1412
switch (source->shift) {
sound/soc/codecs/rt5677.c
4499
static int rt5677_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/codecs/rt5677.c
4507
if (source == rt5677->pll_src && freq_in == rt5677->pll_in &&
sound/soc/codecs/rt5677.c
4521
switch (source) {
sound/soc/codecs/rt5677.c
4552
dev_err(component->dev, "Unknown PLL source %d\n", source);
sound/soc/codecs/rt5677.c
4574
rt5677->pll_src = source;
sound/soc/codecs/rt5682.c
2306
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/rt5682.c
2354
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt5682.c
2362
if (source == rt5682->pll_src[pll_id] &&
sound/soc/codecs/rt5682.c
2378
switch (source) {
sound/soc/codecs/rt5682.c
2386
source);
sound/soc/codecs/rt5682.c
2441
switch (source) {
sound/soc/codecs/rt5682.c
2454
source);
sound/soc/codecs/rt5682.c
2478
rt5682->pll_src[pll_id] = source;
sound/soc/codecs/rt5682s.c
2214
int clk_id, int source, unsigned int freq, int dir)
sound/soc/codecs/rt5682s.c
2331
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/rt5682s.c
2337
if (source == rt5682s->pll_src[pll_id] && freq_in == rt5682s->pll_in[pll_id] &&
sound/soc/codecs/rt5682s.c
2350
switch (source) {
sound/soc/codecs/rt5682s.c
2360
dev_err(component->dev, "Unknown PLL Source %d\n", source);
sound/soc/codecs/rt5682s.c
2422
rt5682s->pll_src[pll_id] = source;
sound/soc/codecs/sgtl5000.c
181
static void vag_power_on(struct snd_soc_component *component, u32 source)
sound/soc/codecs/sgtl5000.c
194
source == HP_POWER_EVENT)
sound/soc/codecs/sgtl5000.c
199
u16 ana_pwr_reg, u32 source)
sound/soc/codecs/sgtl5000.c
215
if (source == HP_POWER_EVENT) {
sound/soc/codecs/sgtl5000.c
226
static void vag_power_off(struct snd_soc_component *component, u32 source)
sound/soc/codecs/sgtl5000.c
245
if (vag_power_consumers(component, ana_pwr, source) >= 2)
sound/soc/codecs/ssm2518.c
645
int source, unsigned int freq, int dir)
sound/soc/codecs/ssm2518.c
653
switch (source) {
sound/soc/codecs/tscs454.c
673
static int pll_connected(struct snd_soc_dapm_widget *source,
sound/soc/codecs/tscs454.c
677
snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/tscs454.c
681
if (strstr(source->name, "PLL 1")) {
sound/soc/codecs/wcd9335.c
4833
int clk_id, int source,
sound/soc/codecs/wcd934x.c
3037
int clk_id, int source,
sound/soc/codecs/wm0010.c
749
static int wm0010_set_sysclk(struct snd_soc_component *component, int source,
sound/soc/codecs/wm2000.c
428
enum wm2000_anc_mode source;
sound/soc/codecs/wm2000.c
434
.source = ANC_OFF,
sound/soc/codecs/wm2000.c
442
.source = ANC_OFF,
sound/soc/codecs/wm2000.c
450
.source = ANC_OFF,
sound/soc/codecs/wm2000.c
459
.source = ANC_ACTIVE,
sound/soc/codecs/wm2000.c
467
.source = ANC_ACTIVE,
sound/soc/codecs/wm2000.c
475
.source = ANC_ACTIVE,
sound/soc/codecs/wm2000.c
483
.source = ANC_BYPASS,
sound/soc/codecs/wm2000.c
491
.source = ANC_BYPASS,
sound/soc/codecs/wm2000.c
500
.source = ANC_BYPASS,
sound/soc/codecs/wm2000.c
508
.source = ANC_STANDBY,
sound/soc/codecs/wm2000.c
516
.source = ANC_STANDBY,
sound/soc/codecs/wm2000.c
525
.source = ANC_STANDBY,
sound/soc/codecs/wm2000.c
545
if (anc_transitions[i].source == wm2000->anc_mode &&
sound/soc/codecs/wm2000.c
555
if (anc_transitions[i].source == ANC_OFF) {
sound/soc/codecs/wm2200.c
1777
int source, unsigned int freq, int dir)
sound/soc/codecs/wm2200.c
1791
switch (source) {
sound/soc/codecs/wm2200.c
1798
dev_err(component->dev, "Invalid source %d\n", source);
sound/soc/codecs/wm2200.c
1818
fval << WM2200_SYSCLK_FREQ_SHIFT | source);
sound/soc/codecs/wm2200.c
1924
static int wm2200_set_fll(struct snd_soc_component *component, int fll_id, int source,
sound/soc/codecs/wm2200.c
1945
switch (source) {
sound/soc/codecs/wm2200.c
1951
dev_err(component->dev, "Invalid FLL source %d\n", source);
sound/soc/codecs/wm2200.c
1988
<< WM2200_FLL_CLK_REF_DIV_SHIFT) | source);
sound/soc/codecs/wm2200.c
2037
wm2200->fll_src = source;
sound/soc/codecs/wm5100.c
1510
int source, unsigned int freq, int dir)
sound/soc/codecs/wm5100.c
1527
switch (source) {
sound/soc/codecs/wm5100.c
1533
source);
sound/soc/codecs/wm5100.c
1544
switch (source) {
sound/soc/codecs/wm5100.c
1552
dev_err(component->dev, "Invalid source %d\n", source);
sound/soc/codecs/wm5100.c
1586
switch (source) {
sound/soc/codecs/wm5100.c
1589
dev_err(component->dev, "Invalid source %d\n", source);
sound/soc/codecs/wm5100.c
1636
fval << WM5100_SYSCLK_FREQ_SHIFT | source);
sound/soc/codecs/wm5100.c
1757
static int wm5100_set_fll(struct snd_soc_component *component, int fll_id, int source,
sound/soc/codecs/wm5100.c
1792
switch (source) {
sound/soc/codecs/wm5100.c
1802
dev_err(component->dev, "Invalid FLL source %d\n", source);
sound/soc/codecs/wm5100.c
1824
<< WM5100_FLL1_REFCLK_DIV_SHIFT) | source);
sound/soc/codecs/wm5100.c
1871
fll->src = source;
sound/soc/codecs/wm5102.c
1751
int source, unsigned int Fref, unsigned int Fout)
sound/soc/codecs/wm5102.c
1757
return arizona_set_fll(&wm5102->fll[0], source, Fref, Fout);
sound/soc/codecs/wm5102.c
1759
return arizona_set_fll(&wm5102->fll[1], source, Fref, Fout);
sound/soc/codecs/wm5102.c
1761
return arizona_set_fll_refclk(&wm5102->fll[0], source, Fref,
sound/soc/codecs/wm5102.c
1764
return arizona_set_fll_refclk(&wm5102->fll[1], source, Fref,
sound/soc/codecs/wm5110.c
2051
int source, unsigned int Fref, unsigned int Fout)
sound/soc/codecs/wm5110.c
2057
return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout);
sound/soc/codecs/wm5110.c
2059
return arizona_set_fll(&wm5110->fll[1], source, Fref, Fout);
sound/soc/codecs/wm5110.c
2061
return arizona_set_fll_refclk(&wm5110->fll[0], source, Fref,
sound/soc/codecs/wm5110.c
2064
return arizona_set_fll_refclk(&wm5110->fll[1], source, Fref,
sound/soc/codecs/wm8350.c
1022
int pll_id, int source, unsigned int freq_in,
sound/soc/codecs/wm8400.c
922
int source, unsigned int freq_in,
sound/soc/codecs/wm8510.c
277
static void pll_factors(unsigned int target, unsigned int source)
sound/soc/codecs/wm8510.c
282
Ndiv = target / source;
sound/soc/codecs/wm8510.c
284
source >>= 1;
sound/soc/codecs/wm8510.c
286
Ndiv = target / source;
sound/soc/codecs/wm8510.c
296
Nmod = target % source;
sound/soc/codecs/wm8510.c
299
do_div(Kpart, source);
sound/soc/codecs/wm8510.c
314
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/wm8580.c
401
unsigned int source)
sound/soc/codecs/wm8580.c
407
pr_debug("wm8580: PLL %uHz->%uHz\n", source, target);
sound/soc/codecs/wm8580.c
428
Ndiv = target / source;
sound/soc/codecs/wm8580.c
431
source /= 2;
sound/soc/codecs/wm8580.c
433
Ndiv = target / source;
sound/soc/codecs/wm8580.c
444
Nmod = target % source;
sound/soc/codecs/wm8580.c
447
do_div(Kpart, source);
sound/soc/codecs/wm8580.c
461
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/wm8731.c
191
static int wm8731_check_osc(struct snd_soc_dapm_widget *source,
sound/soc/codecs/wm8731.c
194
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/wm8753.c
703
unsigned int source)
sound/soc/codecs/wm8753.c
708
Ndiv = target / source;
sound/soc/codecs/wm8753.c
710
source >>= 1;
sound/soc/codecs/wm8753.c
712
Ndiv = target / source;
sound/soc/codecs/wm8753.c
721
Nmod = target % source;
sound/soc/codecs/wm8753.c
724
do_div(Kpart, source);
sound/soc/codecs/wm8753.c
739
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/wm8804.c
344
unsigned int source, unsigned int mclk_div)
sound/soc/codecs/wm8804.c
372
Ndiv = target / source;
sound/soc/codecs/wm8804.c
374
source >>= 1;
sound/soc/codecs/wm8804.c
376
Ndiv = target / source;
sound/soc/codecs/wm8804.c
386
Nmod = target % source;
sound/soc/codecs/wm8804.c
389
do_div(Kpart, source);
sound/soc/codecs/wm8804.c
401
int source, unsigned int freq_in,
sound/soc/codecs/wm8900.c
810
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/wm8904.c
1729
static int wm8904_set_fll(struct snd_soc_dai *dai, int fll_id, int source,
sound/soc/codecs/wm8904.c
1739
if (source == wm8904->fll_src && Fref == wm8904->fll_fref &&
sound/soc/codecs/wm8904.c
1762
switch (source) {
sound/soc/codecs/wm8904.c
1852
wm8904->fll_src = source;
sound/soc/codecs/wm8940.c
534
static void pll_factors(unsigned int target, unsigned int source)
sound/soc/codecs/wm8940.c
539
Ndiv = target / source;
sound/soc/codecs/wm8940.c
542
source <<= 1;
sound/soc/codecs/wm8940.c
545
Ndiv = target / source;
sound/soc/codecs/wm8940.c
547
source >>= 2;
sound/soc/codecs/wm8940.c
550
Ndiv = target / source;
sound/soc/codecs/wm8940.c
552
source >>= 1;
sound/soc/codecs/wm8940.c
555
Ndiv = target / source;
sound/soc/codecs/wm8940.c
565
Nmod = target % source;
sound/soc/codecs/wm8940.c
568
do_div(Kpart, source);
sound/soc/codecs/wm8940.c
584
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/wm8960.c
1139
static bool is_pll_freq_available(unsigned int source, unsigned int target)
sound/soc/codecs/wm8960.c
1143
if (source == 0 || target == 0)
sound/soc/codecs/wm8960.c
1148
Ndiv = target / source;
sound/soc/codecs/wm8960.c
1151
source >>= 1;
sound/soc/codecs/wm8960.c
1152
Ndiv = target / source;
sound/soc/codecs/wm8960.c
1165
static int pll_factors(unsigned int source, unsigned int target,
sound/soc/codecs/wm8960.c
1171
pr_debug("WM8960 PLL: setting %dHz->%dHz\n", source, target);
sound/soc/codecs/wm8960.c
1176
Ndiv = target / source;
sound/soc/codecs/wm8960.c
1178
source >>= 1;
sound/soc/codecs/wm8960.c
1180
Ndiv = target / source;
sound/soc/codecs/wm8960.c
1190
Nmod = target % source;
sound/soc/codecs/wm8960.c
1193
do_div(Kpart, source);
sound/soc/codecs/wm8960.c
1255
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/wm8960.c
51
static bool is_pll_freq_available(unsigned int source, unsigned int target);
sound/soc/codecs/wm8962.c
2920
static int wm8962_set_fll(struct snd_soc_component *component, int fll_id, int source,
sound/soc/codecs/wm8962.c
2930
if (source == wm8962->fll_src && Fref == wm8962->fll_fref &&
sound/soc/codecs/wm8962.c
2972
dev_err(component->dev, "Unknown FLL source %d\n", source);
sound/soc/codecs/wm8962.c
3030
wm8962->fll_src = source;
sound/soc/codecs/wm8974.c
273
unsigned int target, unsigned int source)
sound/soc/codecs/wm8974.c
281
Ndiv = target / source;
sound/soc/codecs/wm8974.c
283
source /= 2;
sound/soc/codecs/wm8974.c
285
Ndiv = target / source;
sound/soc/codecs/wm8974.c
295
Nmod = target % source;
sound/soc/codecs/wm8974.c
298
do_div(Kpart, source);
sound/soc/codecs/wm8974.c
313
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/wm8978.c
409
struct wm8978_pll_div *pll_div, unsigned int target, unsigned int source)
sound/soc/codecs/wm8978.c
414
n_div = target / source;
sound/soc/codecs/wm8978.c
416
source >>= 1;
sound/soc/codecs/wm8978.c
418
n_div = target / source;
sound/soc/codecs/wm8978.c
429
n_mod = target - source * n_div;
sound/soc/codecs/wm8978.c
430
k_part = FIXED_PLL_SIZE * (long long)n_mod + source / 2;
sound/soc/codecs/wm8978.c
432
do_div(k_part, source);
sound/soc/codecs/wm8983.c
751
unsigned int source)
sound/soc/codecs/wm8983.c
757
Ndiv = target / source;
sound/soc/codecs/wm8983.c
759
source >>= 1;
sound/soc/codecs/wm8983.c
761
Ndiv = target / source;
sound/soc/codecs/wm8983.c
771
Nmod = target % source;
sound/soc/codecs/wm8983.c
774
do_div(Kpart, source);
sound/soc/codecs/wm8983.c
785
int source, unsigned int freq_in,
sound/soc/codecs/wm8985.c
848
unsigned int source)
sound/soc/codecs/wm8985.c
854
Ndiv = target / source;
sound/soc/codecs/wm8985.c
856
source >>= 1;
sound/soc/codecs/wm8985.c
858
Ndiv = target / source;
sound/soc/codecs/wm8985.c
868
Nmod = target % source;
sound/soc/codecs/wm8985.c
871
do_div(Kpart, source);
sound/soc/codecs/wm8985.c
883
int source, unsigned int freq_in,
sound/soc/codecs/wm8990.c
807
unsigned int source)
sound/soc/codecs/wm8990.c
813
Ndiv = target / source;
sound/soc/codecs/wm8990.c
815
source >>= 1;
sound/soc/codecs/wm8990.c
817
Ndiv = target / source;
sound/soc/codecs/wm8990.c
826
Nmod = target % source;
sound/soc/codecs/wm8990.c
829
do_div(Kpart, source);
sound/soc/codecs/wm8990.c
844
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/codecs/wm8991.c
878
unsigned int source)
sound/soc/codecs/wm8991.c
884
Ndiv = target / source;
sound/soc/codecs/wm8991.c
886
source >>= 1;
sound/soc/codecs/wm8991.c
888
Ndiv = target / source;
sound/soc/codecs/wm8991.c
897
Nmod = target % source;
sound/soc/codecs/wm8991.c
900
do_div(Kpart, source);
sound/soc/codecs/wm8993.c
466
static int _wm8993_set_fll(struct snd_soc_component *component, int fll_id, int source,
sound/soc/codecs/wm8993.c
565
wm8993->fll_src = source;
sound/soc/codecs/wm8993.c
570
static int wm8993_set_fll(struct snd_soc_dai *dai, int fll_id, int source,
sound/soc/codecs/wm8993.c
573
return _wm8993_set_fll(dai->component, fll_id, source, Fref, Fout);
sound/soc/codecs/wm8994.c
1003
int source = 0; /* GCC flow analysis can't track enable */
sound/soc/codecs/wm8994.c
1011
source = 2 << WM8994_CP_DYN_SRC_SEL_SHIFT;
sound/soc/codecs/wm8994.c
1015
source = 1 << WM8994_CP_DYN_SRC_SEL_SHIFT;
sound/soc/codecs/wm8994.c
1019
source = 0 << WM8994_CP_DYN_SRC_SEL_SHIFT;
sound/soc/codecs/wm8994.c
1034
WM8994_CP_DYN_SRC_SEL_MASK, source);
sound/soc/codecs/wm8994.c
252
static int check_clk_sys(struct snd_soc_dapm_widget *source,
sound/soc/codecs/wm8994.c
255
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/wm8994.c
265
return snd_soc_dapm_widget_name_cmp(source, clk) == 0;
sound/soc/codecs/wm8995.c
488
int source = 0; /* GCC flow analysis can't track enable */
sound/soc/codecs/wm8995.c
496
source = 2 << WM8995_CP_DYN_SRC_SEL_SHIFT;
sound/soc/codecs/wm8995.c
500
source = 1 << WM8995_CP_DYN_SRC_SEL_SHIFT;
sound/soc/codecs/wm8995.c
504
source = 0 << WM8995_CP_DYN_SRC_SEL_SHIFT;
sound/soc/codecs/wm8995.c
523
source | WM8995_CP_DYN_PWR);
sound/soc/codecs/wm8995.c
531
static int check_clk_sys(struct snd_soc_dapm_widget *source,
sound/soc/codecs/wm8995.c
534
struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm);
sound/soc/codecs/wm8995.c
544
return !snd_soc_dapm_widget_name_cmp(source, clk);
sound/soc/codecs/wm8996.c
2002
static int wm8996_set_fll(struct snd_soc_component *component, int fll_id, int source,
sound/soc/codecs/wm8996.c
2012
if (source == wm8996->fll_src && Fref == wm8996->fll_fref &&
sound/soc/codecs/wm8996.c
2034
switch (source) {
sound/soc/codecs/wm8996.c
2134
wm8996->fll_src = source;
sound/soc/codecs/wm8997.c
927
int source, unsigned int Fref, unsigned int Fout)
sound/soc/codecs/wm8997.c
933
return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout);
sound/soc/codecs/wm8997.c
935
return arizona_set_fll(&wm8997->fll[1], source, Fref, Fout);
sound/soc/codecs/wm8997.c
937
return arizona_set_fll_refclk(&wm8997->fll[0], source, Fref,
sound/soc/codecs/wm8997.c
940
return arizona_set_fll_refclk(&wm8997->fll[1], source, Fref,
sound/soc/codecs/wm8998.c
1259
int source, unsigned int Fref, unsigned int Fout)
sound/soc/codecs/wm8998.c
1265
return arizona_set_fll(&wm8998->fll[0], source, Fref, Fout);
sound/soc/codecs/wm8998.c
1267
return arizona_set_fll(&wm8998->fll[1], source, Fref, Fout);
sound/soc/codecs/wm8998.c
1269
return arizona_set_fll_refclk(&wm8998->fll[0], source, Fref,
sound/soc/codecs/wm8998.c
1272
return arizona_set_fll_refclk(&wm8998->fll[1], source, Fref,
sound/soc/codecs/wm9081.c
1169
int source, unsigned int freq, int dir)
sound/soc/codecs/wm9713.c
749
struct _pll_div *pll_div, unsigned int source)
sound/soc/codecs/wm9713.c
758
if (source > 14400000) {
sound/soc/codecs/wm9713.c
759
source >>= 1;
sound/soc/codecs/wm9713.c
762
if (source > 14400000) {
sound/soc/codecs/wm9713.c
763
source >>= 1;
sound/soc/codecs/wm9713.c
776
if (source < 8192000) {
sound/soc/codecs/wm9713.c
782
Ndiv = target / source;
sound/soc/codecs/wm9713.c
789
Nmod = target % source;
sound/soc/codecs/wm9713.c
792
do_div(Kpart, source);
sound/soc/codecs/wm9713.c
872
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/fsl/fsl_dma.h
105
__be32 source; /* Source stride */
sound/soc/fsl/imx-audmix.c
283
priv->dapm_routes[i].source = name[3][i];
sound/soc/fsl/imx-audmix.c
285
priv->dapm_routes[i].source =
sound/soc/fsl/imx-audmix.c
288
if (!priv->dapm_routes[i].source)
sound/soc/fsl/imx-card.c
799
data->dapm_routes[0].source = "CPU-Playback";
sound/soc/fsl/imx-card.c
808
data->dapm_routes[i].source = "CPU-Playback";
sound/soc/fsl/imx-card.c
812
data->dapm_routes[i].source = "ASRC-Playback";
sound/soc/fsl/imx-card.c
818
data->dapm_routes[0].source = "Capture";
sound/soc/fsl/imx-card.c
822
data->dapm_routes[i].source =
sound/soc/fsl/imx-card.c
825
if (!data->dapm_routes[i].source)
sound/soc/fsl/imx-card.c
831
data->dapm_routes[i].source = "CPU-Capture";
sound/soc/fsl/imx-card.c
835
data->dapm_routes[0].source = "CPU-Playback";
sound/soc/fsl/imx-card.c
837
data->dapm_routes[1].source = "Capture";
sound/soc/fsl/imx-card.c
841
data->dapm_routes[0].source = "CPU-Playback";
sound/soc/generic/test-component.c
297
int clk_id, int source, unsigned int freq, int dir)
sound/soc/generic/test-component.c
305
int source, unsigned int freq_in, unsigned int freq_out)
sound/soc/generic/test-component.c
49
static int test_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/intel/atom/sst-atom-controls.c
1354
if (p->connected && !p->connected(w, p->source))
sound/soc/intel/atom/sst-atom-controls.c
1357
if (p->connect && p->source->power &&
sound/soc/intel/atom/sst-atom-controls.c
1358
is_sst_dapm_widget(p->source)) {
sound/soc/intel/atom/sst-atom-controls.c
1359
struct sst_ids *ids = p->source->priv;
sound/soc/intel/atom/sst-atom-controls.c
1362
p->source->name);
sound/soc/intel/avs/path.c
1000
source = mod;
sound/soc/intel/avs/path.c
1003
ret = avs_ipc_bind(adev, source->module_id, source->instance_id,
sound/soc/intel/avs/path.c
120
struct avs_path *source,
sound/soc/intel/avs/path.c
1215
struct avs_path *source,
sound/soc/intel/avs/path.c
1233
path->source = source;
sound/soc/intel/avs/path.c
1235
list_add_tail(&path->source_node, &source->source_list);
sound/soc/intel/avs/path.c
1250
struct avs_path *source, *sink;
sound/soc/intel/avs/path.c
1254
source = path;
sound/soc/intel/avs/path.c
1258
other = &source;
sound/soc/intel/avs/path.c
126
if (variant->source_path_id == source->template->id &&
sound/soc/intel/avs/path.c
1270
if (avs_tplg_path_template_id_equal(&template->source,
sound/soc/intel/avs/path.c
1278
variant = avs_condpath_find_variant(adev, template, source, sink);
sound/soc/intel/avs/path.c
1282
cpath = avs_condpath_create(adev, variant, source, sink);
sound/soc/intel/avs/path.c
1362
struct avs_tplg_module *tsource = binding->source->template;
sound/soc/intel/avs/path.c
1363
struct avs_path_module *source = binding->source;
sound/soc/intel/avs/path.c
1378
ret = avs_ipc_copier_set_sink_format(adev, source->module_id,
sound/soc/intel/avs/path.c
1379
source->instance_id, binding->source_pin,
sound/soc/intel/avs/path.c
1399
struct avs_path_module *source, *sink;
sound/soc/intel/avs/path.c
1401
source = binding->source;
sound/soc/intel/avs/path.c
1408
ret = avs_ipc_bind(adev, source->module_id,
sound/soc/intel/avs/path.c
1409
source->instance_id, sink->module_id,
sound/soc/intel/avs/path.c
1432
struct avs_path_module *source, *sink;
sound/soc/intel/avs/path.c
1434
source = binding->source;
sound/soc/intel/avs/path.c
1437
ret = avs_ipc_unbind(adev, source->module_id,
sound/soc/intel/avs/path.c
1438
source->instance_id, sink->module_id,
sound/soc/intel/avs/path.c
147
id = &template->source;
sound/soc/intel/avs/path.c
151
id2 = &template->source;
sound/soc/intel/avs/path.c
1567
if (cpath->source->state == AVS_PPL_STATE_RUNNING &&
sound/soc/intel/avs/path.c
1572
if (cpath->source->state == AVS_PPL_STATE_RUNNING &&
sound/soc/intel/avs/path.c
948
binding->source = target_mod;
sound/soc/intel/avs/path.c
953
binding->source = this_mod;
sound/soc/intel/avs/path.c
988
struct avs_path_module *source, *sink;
sound/soc/intel/avs/path.h
29
struct avs_path *source;
sound/soc/intel/avs/path.h
63
struct avs_path_module *source;
sound/soc/intel/avs/pcm.c
62
dw = (dp->source == dw) ? dp->sink : dp->source;
sound/soc/intel/avs/topology.c
1511
.offset = offsetof(struct avs_tplg_path_template, source.tplg_name),
sound/soc/intel/avs/topology.c
1517
.offset = offsetof(struct avs_tplg_path_template, source.id),
sound/soc/intel/avs/topology.c
1819
avs_ssp_sprint(buf, len, route->source, ssp_port, tdm_slot);
sound/soc/intel/avs/topology.c
1820
route->source = buf;
sound/soc/intel/avs/topology.h
162
struct avs_tplg_path_template_id source;
sound/soc/intel/catpt/loader.c
155
if (info->source != CATPT_DX_TYPE_MEMORY_DUMP)
sound/soc/intel/catpt/loader.c
216
if (info->source != CATPT_DX_TYPE_MEMORY_DUMP)
sound/soc/intel/catpt/loader.c
262
if (info->source != CATPT_DX_TYPE_FW_IMAGE)
sound/soc/intel/catpt/messages.h
261
u32 source;
sound/soc/mediatek/common/mtk-dsp-sof-common.c
206
route.source = conn->sof_dma;
sound/soc/mediatek/common/mtk-dsp-sof-common.c
212
route.source = p->source->name;
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
415
static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
433
return i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name);
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
436
static int mtk_afe_i2s_hd_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
452
get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
459
if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
465
static int mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
483
cur_apll = mt8183_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
491
static int mtk_afe_i2s_mclk_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
507
get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
514
if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
520
static int mtk_afe_mclk_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c
537
cur_apll = mt8183_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8183/mt8183-dai-tdm.c
330
static int mtk_afe_tdm_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8183/mt8183-dai-tdm.c
341
cur_apll = mt8183_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8186/mt8186-dai-adda.c
451
static int mtk_afe_dac_hires_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-adda.c
454
struct snd_soc_dapm_widget *w = source;
sound/soc/mediatek/mt8186/mt8186-dai-adda.c
469
static int mtk_afe_adc_hires_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-adda.c
472
struct snd_soc_dapm_widget *w = source;
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
537
static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
549
return i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name);
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
552
static int mtk_afe_i2s_hd_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
562
get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
569
if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
575
static int mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
587
cur_apll = mt8186_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
594
static int mtk_afe_i2s_mclk_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
604
get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
611
if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
617
static int mtk_afe_mclk_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-i2s.c
628
cur_apll = mt8186_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8186/mt8186-dai-src.c
481
static int mtk_afe_src_en_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-src.c
484
struct snd_soc_dapm_widget *w = source;
sound/soc/mediatek/mt8186/mt8186-dai-src.c
497
__func__, source->name, sink->name,
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
198
static int mtk_afe_tdm_mclk_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
211
static int mtk_afe_tdm_mclk_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
223
cur_apll = mt8186_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
228
static int mtk_afe_tdm_hd_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
241
static int mtk_afe_tdm_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c
254
cur_apll = mt8186_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8188/mt8188-dai-adda.c
172
static int mtk_afe_adda_hires_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8188/mt8188-dai-adda.c
175
struct snd_soc_dapm_widget *w = source;
sound/soc/mediatek/mt8188/mt8188-dai-dmic.c
546
unsigned int source = ucontrol->value.enumerated.item[0];
sound/soc/mediatek/mt8188/mt8188-dai-dmic.c
549
if (source >= e->items)
sound/soc/mediatek/mt8188/mt8188-dai-dmic.c
563
if (source == *cached)
sound/soc/mediatek/mt8188/mt8188-dai-dmic.c
566
*cached = source;
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
1018
unsigned int source = ucontrol->value.enumerated.item[0];
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
1024
if (source >= e->items)
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
1030
val = FIELD_PREP(ETDM_OUT_CON4_CLOCK_MASK, source);
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
1034
val = FIELD_PREP(ETDM_OUT_CON4_CLOCK_MASK, source);
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
1038
val = FIELD_PREP(ETDM_OUT_CON4_CLOCK_MASK, source);
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
1042
val = FIELD_PREP(ETDM_IN_CON2_CLOCK_MASK, source);
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
1046
val = FIELD_PREP(ETDM_IN_CON2_CLOCK_MASK, source);
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
454
static int mtk_afe_etdm_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
470
cur_apll = mt8188_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
476
static int mtk_afe_mclk_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
487
cur_apll = mt8188_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
492
static int mtk_etdm_mclk_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
502
mclk_id = get_etdm_id_by_name(afe, source->name);
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
525
static int mtk_etdm_cowork_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c
536
source_id = get_etdm_id_by_name(afe, source->name);
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
664
static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
678
return i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name);
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
681
static int mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
695
cur_apll = mt8189_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
703
static int mtk_afe_i2s_mclk_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
715
i2s_num = get_i2s_id_by_name(afe, source->name);
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
729
static int mtk_afe_mclk_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8189/mt8189-dai-i2s.c
743
cur_apll = mt8189_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8189/mt8189-dai-tdm.c
339
static int mtk_afe_tdm_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8189/mt8189-dai-tdm.c
350
cur_apll = mt8189_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
1009
get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
1016
if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
1022
static int mtk_afe_mclk_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
1038
cur_apll = mt8192_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
918
static int mtk_afe_i2s_share_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
935
return i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name);
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
938
static int mtk_afe_i2s_hd_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
953
get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
960
if (i2s_priv->share_i2s_id == get_i2s_id_by_name(afe, source->name))
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
966
static int mtk_afe_i2s_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
983
cur_apll = mt8192_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c
994
static int mtk_afe_i2s_mclk_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c
377
static int mtk_afe_tdm_apll_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c
389
cur_apll = mt8192_get_apll_by_name(afe, source->name);
sound/soc/mediatek/mt8195/mt8195-dai-adda.c
288
static int mtk_afe_adda_hires_connect(struct snd_soc_dapm_widget *source,
sound/soc/mediatek/mt8195/mt8195-dai-adda.c
291
struct snd_soc_dapm_widget *w = source;
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
701
unsigned int source = ucontrol->value.enumerated.item[0];
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
706
if (source >= e->items)
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
713
val = ETDM_OUT_CON4_CLOCK(source);
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
717
val = ETDM_OUT_CON4_CLOCK(source);
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
721
val = ETDM_OUT_CON4_CLOCK(source);
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
725
val = ETDM_IN_CON2_CLOCK(source);
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
729
val = ETDM_IN_CON2_CLOCK(source);
sound/soc/meson/axg-tdmin.c
67
if (p->source->id == snd_soc_dapm_dai_out)
sound/soc/meson/axg-tdmin.c
68
return (struct snd_soc_dai *)p->source->priv;
sound/soc/meson/axg-tdmin.c
70
be = axg_tdmin_get_be(p->source);
sound/soc/meson/meson-codec-glue.c
25
snd_soc_dapm_to_component(p->source->dapm))
sound/soc/meson/meson-codec-glue.c
28
if (p->source->id == snd_soc_dapm_dai_in)
sound/soc/meson/meson-codec-glue.c
29
return p->source;
sound/soc/meson/meson-codec-glue.c
31
in = meson_codec_glue_get_input(p->source);
sound/soc/pxa/mmp-sspa.c
134
int source, unsigned int freq_in,
sound/soc/qcom/qdsp6/q6asm-dai.c
67
uint16_t source; /* Encoding source bit mask */
sound/soc/qcom/qdsp6/topology.c
1041
src_module = audioreach_find_module(scomp, route->source);
sound/soc/qcom/qdsp6/topology.c
1045
control = audioreach_find_widget(scomp, route->source);
sound/soc/samsung/speyside.c
110
static int speyside_get_micbias(struct snd_soc_dapm_widget *source,
sound/soc/samsung/speyside.c
113
if (speyside_jack_polarity && (snd_soc_dapm_widget_name_cmp(source, "MICB1") == 0))
sound/soc/samsung/speyside.c
115
if (!speyside_jack_polarity && (snd_soc_dapm_widget_name_cmp(source, "MICB2") == 0))
sound/soc/sdca/sdca_asoc.c
239
const char *control, const char *source)
sound/soc/sdca/sdca_asoc.c
243
(*route)->source = source;
sound/soc/soc-component.c
103
int source, unsigned int freq_in,
sound/soc/soc-component.c
109
ret = component->driver->set_pll(component, pll_id, source,
sound/soc/soc-component.c
79
int clk_id, int source, unsigned int freq,
sound/soc/soc-component.c
85
ret = component->driver->set_sysclk(component, clk_id, source,
sound/soc/soc-core.c
3259
(2 * i) + 1, &routes[i].source);
sound/soc/soc-dai.c
87
int snd_soc_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source,
sound/soc/soc-dai.c
94
ret = dai->driver->ops->set_pll(dai, pll_id, source,
sound/soc/soc-dai.c
97
ret = snd_soc_component_set_pll(dai->component, pll_id, source,
sound/soc/soc-dapm.c
1300
path->source,
sound/soc/soc-dapm.c
1760
!path->connected(path->source, path->sink))
sound/soc/soc-dapm.c
2206
dapm_widget_set_peer_power(path->source, power, path->connect);
sound/soc/soc-dapm.c
2490
if (p->connected && !p->connected(p->source, p->sink))
sound/soc/soc-dapm.c
2628
dapm_mark_dirty(path->source, reason);
sound/soc/soc-dapm.c
3032
p->source->name, p->sink->name);
sound/soc/soc-dapm.c
3066
ret = dapm_update_dai_chan(p, p->source, channels);
sound/soc/soc-dapm.c
3107
const char *source;
sound/soc/soc-dapm.c
3121
prefix, route->source);
sound/soc/soc-dapm.c
3122
source = prefixed_source;
sound/soc/soc-dapm.c
3125
source = route->source;
sound/soc/soc-dapm.c
3128
wsource = dapm_wcache_lookup(dapm->wcache_source, source);
sound/soc/soc-dapm.c
3153
if (!wsource && !(strcmp(w->name, source))) {
sound/soc/soc-dapm.c
3189
source, !wsource ? "(*)" : "",
sound/soc/soc-dapm.c
3203
const char *source;
sound/soc/soc-dapm.c
3220
prefix, route->source);
sound/soc/soc-dapm.c
3221
source = prefixed_source;
sound/soc/soc-dapm.c
3224
source = route->source;
sound/soc/soc-dapm.c
3229
if (strcmp(p->source->name, source) != 0)
sound/soc/soc-dapm.c
3238
struct snd_soc_dapm_widget *wsource = path->source;
sound/soc/soc-dapm.c
3253
source, sink);
sound/soc/soc-dapm.c
329
if (p->source->endpoints[SND_SOC_DAPM_DIR_IN] != 0)
sound/soc/soc-dapm.c
332
dapm_widget_invalidate_output_paths(p->source);
sound/soc/soc-dapm.c
3958
struct snd_soc_dai *source, *sink;
sound/soc/soc-dapm.c
3986
source = path->source->priv;
sound/soc/soc-dapm.c
3988
ret = snd_soc_dai_startup(source, substream);
sound/soc/soc-dapm.c
3992
snd_soc_dai_activate(source, substream->stream);
sound/soc/soc-dapm.c
4040
source = path->source->priv;
sound/soc/soc-dapm.c
4042
ret = snd_soc_dai_hw_params(source, substream, params);
sound/soc/soc-dapm.c
4046
dapm_update_dai_unlocked(substream, params, source);
sound/soc/soc-dapm.c
4072
struct snd_soc_dai *source, *sink;
sound/soc/soc-dapm.c
4090
source = path->source->priv;
sound/soc/soc-dapm.c
4092
snd_soc_dai_prepare(source, substream);
sound/soc/soc-dapm.c
4119
source = path->source->priv;
sound/soc/soc-dapm.c
4120
snd_soc_dai_hw_free(source, substream, 0);
sound/soc/soc-dapm.c
4131
source = path->source->priv;
sound/soc/soc-dapm.c
4132
snd_soc_dai_deactivate(source, substream->stream);
sound/soc/soc-dapm.c
4133
snd_soc_dai_shutdown(source, substream, 0);
sound/soc/soc-dapm.c
520
if (p->source->id == snd_soc_dapm_micbias ||
sound/soc/soc-dapm.c
521
p->source->id == snd_soc_dapm_mic ||
sound/soc/soc-dapm.c
522
p->source->id == snd_soc_dapm_line ||
sound/soc/soc-dapm.c
523
p->source->id == snd_soc_dapm_output) {
sound/soc/soc-dapm.c
560
struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink,
sound/soc/soc-dapm.c
570
switch (source->id) {
sound/soc/soc-dapm.c
592
source->name, control, sink->name);
sound/soc/soc-dapm.c
597
source->name, control, sink->name);
sound/soc/soc-dapm.c
608
int (*connected)(struct snd_soc_dapm_widget *source,
sound/soc/soc-topology.c
1054
if ((strnlen(elem->source, maxlen) == maxlen) ||
sound/soc/soc-topology.c
1061
route->source = devm_kstrdup(tplg->dev, elem->source, GFP_KERNEL);
sound/soc/soc-topology.c
1063
if (!route->source || !route->sink) {
sound/soc/sof/sof-audio.c
367
if (!widget_in_list(list, p->source))
sound/soc/sof/sof-audio.c
370
if (p->source->dobj.private) {
sound/soc/sof/sof-audio.c
371
ret = sof_set_up_same_dir_widget_routes(sdev, p->source,
sound/soc/sof/topology.c
2104
route->source);
sound/soc/sof/topology.c
2107
source_swidget = snd_sof_find_swidget(scomp, (char *)route->source);
sound/soc/sof/topology.c
2110
route->source, route->sink);
sound/soc/sof/topology.c
2129
route->sink, route->source);
sound/soc/uniphier/aio-cpu.c
218
int source, unsigned int freq_in,
sound/soc/xilinx/xlnx_formatter_pcm.c
319
int clk_id, int source, unsigned int freq, int dir)
sound/usb/clock.c
292
union uac23_clock_source_desc *source;
sound/usb/clock.c
311
source = snd_usb_find_clock_source(chip, entity_id, fmt);
sound/usb/clock.c
312
if (source) {
sound/usb/clock.c
313
entity_id = GET_VAL(source, proto, bClockID);
sound/usb/hiface/pcm.c
259
u8 *source;
sound/usb/hiface/pcm.c
271
source = alsa_rt->dma_area + sub->dma_off;
sound/usb/hiface/pcm.c
272
memcpy_swahw32(urb->buffer, source, PCM_PACKET_SIZE);
sound/usb/hiface/pcm.c
283
source = alsa_rt->dma_area + sub->dma_off;
sound/usb/hiface/pcm.c
284
memcpy_swahw32(urb->buffer, source, len);
sound/usb/hiface/pcm.c
286
source = alsa_rt->dma_area;
sound/usb/hiface/pcm.c
287
memcpy_swahw32(urb->buffer + len, source,
sound/usb/line6/toneport.c
215
ucontrol->value.enumerated.item[0] = toneport->source;
sound/usb/line6/toneport.c
225
unsigned int source;
sound/usb/line6/toneport.c
227
source = ucontrol->value.enumerated.item[0];
sound/usb/line6/toneport.c
228
if (source >= ARRAY_SIZE(toneport_source_info))
sound/usb/line6/toneport.c
230
if (source == toneport->source)
sound/usb/line6/toneport.c
233
toneport->source = source;
sound/usb/line6/toneport.c
235
toneport_source_info[source].code, 0x0000);
sound/usb/line6/toneport.c
382
toneport_source_info[toneport->source].code,
sound/usb/line6/toneport.c
45
int source;
sound/usb/misc/ua101.c
213
const u8 *source;
sound/usb/misc/ua101.c
217
source = runtime->dma_area + stream->buffer_pos * frame_bytes;
sound/usb/misc/ua101.c
219
memcpy(urb->transfer_buffer, source, frames * frame_bytes);
sound/usb/misc/ua101.c
223
memcpy(urb->transfer_buffer, source, frames1 * frame_bytes);
sound/usb/mixer_quirks.c
895
unsigned char source[1];
sound/usb/mixer_quirks.c
902
USB_RECIP_INTERFACE, 0x00, 0x500, source, 1);
sound/usb/mixer_quirks.c
906
return (source[0] == 2);
tools/firewire/nosy-dump.c
488
t = link_transaction_lookup(p->common.source, p->common.destination,
tools/firewire/nosy-dump.c
553
t = link_transaction_lookup(p->common.destination, p->common.source,
tools/firewire/nosy-dump.h
88
uint32_t source:16;
tools/include/uapi/linux/tcp.h
26
__be16 source;
tools/perf/ui/browsers/annotate.c
1179
int not_annotated = list_empty(¬es->src->source);
tools/perf/ui/browsers/annotate.c
1227
browser.b.entries = ¬es->src->source;
tools/perf/ui/browsers/annotate.c
352
list_for_each_entry(pos, ¬es->src->source, al.node) {
tools/perf/ui/browsers/annotate.c
428
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
437
list_for_each_entry_continue(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
479
browser->b.entries = ¬es->src->source;
tools/perf/ui/browsers/annotate.c
482
al = list_first_entry(¬es->src->source,
tools/perf/ui/browsers/annotate.c
627
list_for_each_entry(pos, ¬es->src->source, al.node) {
tools/perf/ui/browsers/annotate.c
673
list_for_each_entry_continue(al, ¬es->src->source, node) {
tools/perf/ui/browsers/annotate.c
710
list_for_each_entry_continue_reverse(al, ¬es->src->source, node) {
tools/perf/ui/gtk/annotate.c
136
list_for_each_entry(pos, ¬es->src->source, al.node) {
tools/perf/ui/gtk/annotate.c
166
list_for_each_entry_safe(pos, n, ¬es->src->source, al.node) {
tools/perf/util/annotate-arch/annotate-arm64.c
28
ops->source.raw = strdup(ops->raw);
tools/perf/util/annotate-arch/annotate-arm64.c
31
if (ops->source.raw == NULL)
tools/perf/util/annotate-arch/annotate-arm64.c
63
zfree(&ops->source.raw);
tools/perf/util/annotate-arch/annotate-powerpc.c
44
ops->source.mem_ref = false;
tools/perf/util/annotate-arch/annotate-powerpc.c
48
ops->source.multi_regs = true;
tools/perf/util/annotate-arch/annotate-powerpc.c
79
ops->source.mem_ref = true;
tools/perf/util/annotate-arch/annotate-powerpc.c
80
ops->source.multi_regs = false;
tools/perf/util/annotate-arch/annotate-powerpc.c
83
ops->source.multi_regs = true;
tools/perf/util/annotate-arch/annotate-s390.c
111
zfree(&ops->source.raw);
tools/perf/util/annotate-arch/annotate-s390.c
78
ops->source.raw = strdup(ops->raw);
tools/perf/util/annotate-arch/annotate-s390.c
81
if (ops->source.raw == NULL)
tools/perf/util/annotate-data.c
1368
list_for_each_entry_from(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate.c
1029
if (notes->src && !list_empty(¬es->src->source))
tools/perf/util/annotate.c
109
INIT_LIST_HEAD(&src->source);
tools/perf/util/annotate.c
1268
apd.addr_fmt_width = annotated_source__addr_fmt_width(¬es->src->source,
tools/perf/util/annotate.c
1273
list_for_each_entry(pos, ¬es->src->source, node) {
tools/perf/util/annotate.c
1379
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1444
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1463
list_for_each_entry_safe(al, n, &as->source, node) {
tools/perf/util/annotate.c
1517
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1549
list_for_each_entry(al, &src->source, node) {
tools/perf/util/annotate.c
1576
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
1631
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
2563
const char *insn_str = ops->source.raw;
tools/perf/util/annotate.c
2564
bool multi_regs = ops->source.multi_regs;
tools/perf/util/annotate.c
2565
bool mem_ref = ops->source.mem_ref;
tools/perf/util/annotate.c
2633
list_for_each_entry(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate.c
2719
struct list_head *sources = ¬es->src->source;
tools/perf/util/annotate.c
2739
struct list_head *sources = ¬es->src->source;
tools/perf/util/annotate.c
3076
last_dl = list_last_entry(¬es->src->source,
tools/perf/util/annotate.c
3084
list_for_each_entry_from(dl, ¬es->src->source, al.node) {
tools/perf/util/annotate.c
436
list_for_each_entry(al, &src->source, node) {
tools/perf/util/annotate.c
452
list_for_each_entry_from(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
490
list_for_each_entry_from(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
824
list_for_each_entry_from(queue, ¬es->src->source, node) {
tools/perf/util/annotate.c
953
list_for_each_entry(al, ¬es->src->source, node) {
tools/perf/util/annotate.c
960
next = annotation_line__next(al, ¬es->src->source);
tools/perf/util/annotate.h
301
struct list_head source;
tools/perf/util/arm-spe-decoder/arm-spe-decoder.c
283
decoder->record.source = payload;
tools/perf/util/arm-spe-decoder/arm-spe-decoder.h
126
u16 source;
tools/perf/util/arm-spe.c
659
switch (record->source) {
tools/perf/util/arm-spe.c
722
switch (record->source) {
tools/perf/util/arm-spe.c
724
common_record.source = ARM_SPE_COMMON_DS_PEER_CORE;
tools/perf/util/arm-spe.c
727
common_record.source = ARM_SPE_COMMON_DS_SYS_CACHE;
tools/perf/util/arm-spe.c
730
common_record.source = ARM_SPE_COMMON_DS_REMOTE;
tools/perf/util/arm-spe.c
733
common_record.source = ARM_SPE_COMMON_DS_DRAM;
tools/perf/util/arm-spe.c
736
common_record.source = ARM_SPE_COMMON_DS_L1D;
tools/perf/util/arm-spe.c
739
common_record.source = ARM_SPE_COMMON_DS_L2;
tools/perf/util/arm-spe.c
743
record->source);
tools/perf/util/arm-spe.c
760
switch (record->source) {
tools/perf/util/capstone.c
370
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
400
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
407
struct list_head *list = ¬es->src->source;
tools/perf/util/capstone.c
436
list_for_each_entry_safe(dl, tmp, ¬es->src->source, al.node) {
tools/perf/util/capstone.c
520
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
541
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/capstone.c
548
struct list_head *list = ¬es->src->source;
tools/perf/util/disasm.c
1077
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1084
struct list_head *list = ¬es->src->source;
tools/perf/util/disasm.c
1281
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1293
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
1299
struct list_head *list = ¬es->src->source;
tools/perf/util/disasm.c
1391
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/disasm.c
209
zfree(&ops->source.raw);
tools/perf/util/disasm.c
210
zfree(&ops->source.name);
tools/perf/util/disasm.c
612
ops->source.raw = strdup(ops->raw);
tools/perf/util/disasm.c
615
if (ops->source.raw == NULL)
tools/perf/util/disasm.c
618
ops->source.multi_regs = check_multi_regs(arch, ops->source.raw);
tools/perf/util/disasm.c
646
comment__symbol(ops->source.raw, comment + 1, &ops->source.addr, &ops->source.name);
tools/perf/util/disasm.c
652
zfree(&ops->source.raw);
tools/perf/util/disasm.c
660
ops->source.name ?: ops->source.raw,
tools/perf/util/disasm.h
79
} source;
tools/perf/util/libbfd.c
619
¬es->src->source);
tools/perf/util/libbfd.c
630
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/llvm.c
193
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/llvm.c
254
annotation_line__add(&dl->al, ¬es->src->source);
tools/perf/util/symbol.c
460
static struct symbol **symbols__sort_by_name(struct rb_root_cached *source, size_t *len)
tools/perf/util/symbol.c
466
for (nd = rb_first_cached(source); nd; nd = rb_next(nd))
tools/perf/util/symbol.c
473
for (nd = rb_first_cached(source); nd; nd = rb_next(nd)) {
tools/power/x86/turbostat/turbostat.c
1442
enum counter_source source[NUM_RAPL_COUNTERS];
tools/power/x86/turbostat/turbostat.c
1709
enum counter_source source[NUM_CSTATE_COUNTERS];
tools/power/x86/turbostat/turbostat.c
1856
enum counter_source source[NUM_MSR_COUNTERS];
tools/power/x86/turbostat/turbostat.c
4770
if (rci->source[i] == COUNTER_SOURCE_PERF)
tools/power/x86/turbostat/turbostat.c
4781
if (cci->source[i] == COUNTER_SOURCE_PERF)
tools/power/x86/turbostat/turbostat.c
4789
if (rci->source[idx] == COUNTER_SOURCE_NONE)
tools/power/x86/turbostat/turbostat.c
4824
switch (rci->source[i]) {
tools/power/x86/turbostat/turbostat.c
4964
switch (cci->source[i]) {
tools/power/x86/turbostat/turbostat.c
5000
if (cci->source[index] != COUNTER_SOURCE_NONE) \
tools/power/x86/turbostat/turbostat.c
5029
if (mci->source[i] == COUNTER_SOURCE_PERF)
tools/power/x86/turbostat/turbostat.c
5062
switch (mci->source[i]) {
tools/power/x86/turbostat/turbostat.c
8659
rci->source[i] = COUNTER_SOURCE_NONE;
tools/power/x86/turbostat/turbostat.c
8712
if (rci->source[cai->rci_index] != COUNTER_SOURCE_NONE)
tools/power/x86/turbostat/turbostat.c
8717
rci->source[cai->rci_index] = COUNTER_SOURCE_PERF;
tools/power/x86/turbostat/turbostat.c
8724
rci->source[cai->rci_index] = COUNTER_SOURCE_MSR;
tools/power/x86/turbostat/turbostat.c
8733
if (rci->source[cai->rci_index] != COUNTER_SOURCE_NONE)
tools/power/x86/turbostat/turbostat.c
8853
cci->source[cai->rci_index] = COUNTER_SOURCE_PERF;
tools/power/x86/turbostat/turbostat.c
8858
cci->source[cai->rci_index] = COUNTER_SOURCE_MSR;
tools/power/x86/turbostat/turbostat.c
8966
cci->source[cai->rci_index] = COUNTER_SOURCE_PERF;
tools/power/x86/turbostat/turbostat.c
8970
cci->source[cai->rci_index] = COUNTER_SOURCE_MSR;
tools/power/x86/turbostat/turbostat.c
8975
if (cci->source[cai->rci_index] != COUNTER_SOURCE_NONE) {
tools/testing/selftests/bpf/network_helpers.c
918
src_port = ntohs(udp->source);
tools/testing/selftests/bpf/network_helpers.c
923
src_port = ntohs(tcp->source);
tools/testing/selftests/bpf/prog_tests/cls_redirect.c
271
.source = sport,
tools/testing/selftests/bpf/prog_tests/cls_redirect.c
280
.source = sport,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
107
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
128
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
151
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
174
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
198
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
225
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
247
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
274
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
297
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
320
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
343
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
372
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
401
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
430
.tcp.source = 99,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
452
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
481
.tcp.source = 80,
tools/testing/selftests/bpf/prog_tests/flow_dissector_classification.c
172
udph->source = htons(sport);
tools/testing/selftests/bpf/prog_tests/xdp_do_redirect.c
35
.udp.source = bpf_htons(1),
tools/testing/selftests/bpf/prog_tests/xdp_metadata.c
180
udph->source = htons(UDP_SOURCE_PORT);
tools/testing/selftests/bpf/progs/bpf_flow.c
237
keys->sport = tcp->source;
tools/testing/selftests/bpf/progs/bpf_flow.c
246
keys->sport = udp->source;
tools/testing/selftests/bpf/progs/cgroup_skb_sk_lookup_kern.c
36
tuple->ipv6.dport = tcph->source;
tools/testing/selftests/bpf/progs/cgroup_tcp_skb.c
40
if (tcph->source != bpf_htons(g_sock_port) &&
tools/testing/selftests/bpf/progs/test_cls_redirect.c
833
fill_tuple(&tuple, iph, iphlen, tcp->source, tcp->dest);
tools/testing/selftests/bpf/progs/test_cls_redirect.c
851
fill_tuple(&tuple, iph, iphlen, udph->source, udph->dest);
tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c
725
tuplen = fill_tuple(&tuple, info->hdr, info->len, tcp.source, tcp.dest);
tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c
744
tuplen = fill_tuple(&tuple, info->hdr, info->len, udph.source, udph.dest);
tools/testing/selftests/bpf/progs/test_l4lb.c
291
pckt->port16[0] = udp->source;
tools/testing/selftests/bpf/progs/test_l4lb.c
295
pckt->port16[1] = udp->source;
tools/testing/selftests/bpf/progs/test_l4lb.c
313
pckt->port16[0] = tcp->source;
tools/testing/selftests/bpf/progs/test_l4lb.c
317
pckt->port16[1] = tcp->source;
tools/testing/selftests/bpf/progs/test_l4lb_noinline.c
290
pckt->port16[0] = udp->source;
tools/testing/selftests/bpf/progs/test_l4lb_noinline.c
294
pckt->port16[1] = udp->source;
tools/testing/selftests/bpf/progs/test_l4lb_noinline.c
312
pckt->port16[0] = tcp->source;
tools/testing/selftests/bpf/progs/test_l4lb_noinline.c
316
pckt->port16[1] = tcp->source;
tools/testing/selftests/bpf/progs/test_l4lb_noinline_dynptr.c
295
pckt->port16[0] = udp->source;
tools/testing/selftests/bpf/progs/test_l4lb_noinline_dynptr.c
299
pckt->port16[1] = udp->source;
tools/testing/selftests/bpf/progs/test_l4lb_noinline_dynptr.c
318
pckt->port16[0] = tcp->source;
tools/testing/selftests/bpf/progs/test_l4lb_noinline_dynptr.c
322
pckt->port16[1] = tcp->source;
tools/testing/selftests/bpf/progs/test_misc_tcp_hdr_options.c
112
if (pth->dest != passive_lport_n || pth->source != active_lport_n)
tools/testing/selftests/bpf/progs/test_misc_tcp_hdr_options.c
119
if (hdr.th.dest != passive_lport_n || hdr.th.source != active_lport_n)
tools/testing/selftests/bpf/progs/test_misc_tcp_hdr_options.c
223
active_lport_n = th->source;
tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c
110
data_check.skb_ports[0] = th->source;
tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c
131
data_check.skb_ports[0] = uh->source;
tools/testing/selftests/bpf/progs/test_tc_dtime.c
188
sport = th->source;
tools/testing/selftests/bpf/progs/test_tc_dtime.c
195
sport = uh->source;
tools/testing/selftests/bpf/progs/test_tc_edt.c
73
if (tcp->source == bpf_htons(9000))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
179
h_outer.l4hdr.udp.source = __bpf_constant_htons(cfg_udp_src);
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
310
h_outer.l4hdr.udp.source = __bpf_constant_htons(cfg_udp_src);
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c
342
second = (u64)seq << 32 | ctx->tcp->source << 16 | ctx->tcp->dest;
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c
416
swap(ctx->tcp->source, ctx->tcp->dest);
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c
478
second = (u64)seq << 32 | ctx->tcp->source << 16 | ctx->tcp->dest;
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c
518
tuple.ipv4.sport = ctx->tcp->source;
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c
524
tuple.ipv6.sport = ctx->tcp->source;
tools/testing/selftests/bpf/progs/test_tcpnotify_kern.c
66
.source = 0xbe,
tools/testing/selftests/bpf/progs/test_xdp_noinline.c
245
pckt->flow.port16[0] = udp->source;
tools/testing/selftests/bpf/progs/test_xdp_noinline.c
249
pckt->flow.port16[1] = udp->source;
tools/testing/selftests/bpf/progs/test_xdp_noinline.c
269
pckt->flow.port16[0] = tcp->source;
tools/testing/selftests/bpf/progs/test_xdp_noinline.c
273
pckt->flow.port16[1] = tcp->source;
tools/testing/selftests/bpf/progs/xdp_features.c
123
port = dut ? uh->dest : uh->source;
tools/testing/selftests/bpf/progs/xdp_flowtable.c
104
tuple.sport = ports->source;
tools/testing/selftests/bpf/progs/xdp_flowtable.c
129
tuple.sport = ports->source;
tools/testing/selftests/bpf/progs/xdp_flowtable.c
62
__be16 source, dest;
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
449
tup.ipv4.sport = hdr->tcp->source;
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
455
tup.ipv6.sport = hdr->tcp->source;
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
524
swap(tcp_header->source, tcp_header->dest);
tools/testing/selftests/bpf/progs/xdpwall.c
198
info->sport = bpf_ntohs(tcp->source);
tools/testing/selftests/bpf/progs/xdpwall.c
213
info->sport = bpf_ntohs(udp->source);
tools/testing/selftests/bpf/test_tcpnotify.h
14
__u8 source;
tools/testing/selftests/bpf/test_tcpnotify_user.c
37
t->source != 0xbe || t->hash != 0xef)
tools/testing/selftests/bpf/xdp_hw_metadata.c
405
swap(&udph->source, &udph->dest, 2);
tools/testing/selftests/drivers/net/gro.c
319
tcph->source = htons(SPORT);
tools/testing/selftests/hid/progs/hid.c
312
enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source)
tools/testing/selftests/hid/progs/hid.c
333
enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source)
tools/testing/selftests/hid/progs/hid.c
342
if (source == (__u64)current_file) {
tools/testing/selftests/hid/progs/hid.c
364
enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source)
tools/testing/selftests/hid/progs/hid.c
391
enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source)
tools/testing/selftests/hid/progs/hid.c
402
int BPF_PROG(hid_test_hidraw_output_report, struct hid_bpf_ctx *hctx, __u64 source)
tools/testing/selftests/hid/progs/hid.c
411
if (source == (__u64)current_file)
tools/testing/selftests/hid/progs/hid.c
423
int BPF_PROG(hid_test_infinite_loop_output_report, struct hid_bpf_ctx *hctx, __u64 source)
tools/testing/selftests/hid/progs/hid.c
567
enum hid_report_type report_type, __u64 source)
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
93
u64 source);
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
97
u64 source);
tools/testing/selftests/hid/progs/hid_bpf_helpers.h
98
int (*hid_hw_output_report)(struct hid_bpf_ctx *ctx, u64 source);
tools/testing/selftests/kvm/arm64/psci_test.c
144
struct kvm_vcpu *source, *target;
tools/testing/selftests/kvm/arm64/psci_test.c
149
vm = setup_vm(guest_test_cpu_on, &source, &target);
tools/testing/selftests/kvm/arm64/psci_test.c
157
vcpu_args_set(source, 1, target_mpidr & MPIDR_HWID_BITMASK);
tools/testing/selftests/kvm/arm64/psci_test.c
158
enter_guest(source);
tools/testing/selftests/kvm/arm64/psci_test.c
160
if (get_ucall(source, &uc) != UCALL_DONE)
tools/testing/selftests/kvm/arm64/psci_test.c
181
struct kvm_vcpu *source, *target;
tools/testing/selftests/kvm/arm64/psci_test.c
185
vm = setup_vm(guest_test_system_suspend, &source, &target);
tools/testing/selftests/kvm/arm64/psci_test.c
189
run = source->run;
tools/testing/selftests/kvm/arm64/psci_test.c
191
enter_guest(source);
tools/testing/selftests/kvm/arm64/psci_test.c
193
TEST_ASSERT_KVM_EXIT_REASON(source, KVM_EXIT_SYSTEM_EVENT);
tools/testing/selftests/kvm/arm64/psci_test.c
239
struct kvm_vcpu *source, *target;
tools/testing/selftests/kvm/arm64/psci_test.c
246
setup_vm(guest_test_system_off2, &source, &target);
tools/testing/selftests/kvm/arm64/psci_test.c
256
run = source->run;
tools/testing/selftests/kvm/arm64/psci_test.c
258
enter_guest(source);
tools/testing/selftests/kvm/arm64/psci_test.c
274
vcpu_mp_state_set(source, &mps);
tools/testing/selftests/kvm/arm64/psci_test.c
276
enter_guest(source);
tools/testing/selftests/kvm/arm64/psci_test.c
279
TEST_ASSERT(get_ucall(source, &uc) == UCALL_DONE, "Guest did not exit cleanly");
tools/testing/selftests/kvm/arm64/psci_test.c
84
static struct kvm_vm *setup_vm(void *guest_code, struct kvm_vcpu **source,
tools/testing/selftests/kvm/arm64/psci_test.c
95
*source = aarch64_vcpu_add(vm, 0, &init, guest_code);
tools/testing/selftests/landlock/fs_test.c
275
const char *const source;
tools/testing/selftests/landlock/fs_test.c
290
return mount(mnt->source ?: mnt->type, target, mnt->type, mnt->flags,
tools/testing/selftests/landlock/fs_test.c
6835
.source = TMP_DIR,
tools/testing/selftests/net/icmp_rfc4884.c
204
udph->source = htons(src_port);
tools/testing/selftests/net/icmp_rfc4884.c
233
udph->source = htons(src_port);
tools/testing/selftests/net/ip_defrag.c
145
udphdr.source = htons(cfg_port + 1);
tools/testing/selftests/net/lib/csum.c
229
uh->source = htons(cfg_port_src);
tools/testing/selftests/net/lib/csum.c
236
uh->source = 0;
tools/testing/selftests/net/lib/csum.c
237
uh->source = checksum(uh, IPPROTO_UDP, sizeof(*uh) + cfg_payload_len);
tools/testing/selftests/net/lib/csum.c
240
cfg_port_src, ntohs(uh->source));
tools/testing/selftests/net/lib/csum.c
241
cfg_port_src = ntohs(uh->source);
tools/testing/selftests/net/lib/csum.c
260
th->source = htons(cfg_port_src);
tools/testing/selftests/net/lib/csum.c
283
uh->source = htons(cfg_port_src_encap);
tools/testing/selftests/net/lib/csum.c
623
return recv_verify_csum(th, len, ntohs(tcph->source), tcph->check);
tools/testing/selftests/net/lib/csum.c
646
if (udph->source == htons(cfg_port_src_encap))
tools/testing/selftests/net/lib/csum.c
650
return recv_verify_csum(th, len, ntohs(udph->source), udph->check);
tools/testing/selftests/net/psock_snd.c
140
udph->source = htons(9);
tools/testing/selftests/net/skf_net_off.c
144
uh.source = htons(8000);
tools/testing/selftests/net/tap.c
283
udph->source = htons(22);
tools/testing/selftests/net/tuntap_helpers.h
320
udph->source = htons(sport);
tools/testing/selftests/net/txring_overwrite.c
67
udph->source = htons(8001);
tools/testing/selftests/net/txtimestamp.c
477
udph->source = ntohs(dest_port + 1); /* spoof */
tools/testing/selftests/powerpc/dexcr/dexcr.c
108
unsigned int get_dexcr(enum dexcr_source source)
tools/testing/selftests/powerpc/dexcr/dexcr.c
110
switch (source) {
tools/testing/selftests/powerpc/dexcr/dexcr.h
96
unsigned int get_dexcr(enum dexcr_source source);
tools/testing/selftests/powerpc/nx-gzip/include/crb.h
125
struct data_descriptor_entry source;
tools/usb/ffs-test.c
117
struct usb_endpoint_descriptor_no_audio source;
tools/usb/ffs-test.c
123
struct usb_endpoint_descriptor_no_audio source;
tools/usb/ffs-test.c
150
.source = {
tools/usb/ffs-test.c
151
.bLength = sizeof descriptors.fs_descs.source,
tools/usb/ffs-test.c
174
.source = {
tools/usb/ffs-test.c
175
.bLength = sizeof descriptors.hs_descs.source,
tools/usb/ffs-test.c
206
.source = {
tools/usb/ffs-test.c
207
.bLength = sizeof descriptors.hs_descs.source,