Home
last modified time | relevance | path

Searched refs:get_offset (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/iio/adc/
H A Dmcp3911.c114 int (*get_offset)(struct mcp3911 *adc, int channel, int *val); member
356 ret = adc->chip->get_offset(adc, channel->channel, val); in mcp3911_read_raw()
840 .get_offset = mcp3910_get_offset,
852 .get_offset = mcp3911_get_offset,
864 .get_offset = mcp3910_get_offset,
876 .get_offset = mcp3910_get_offset,
888 .get_offset = mcp3910_get_offset,
900 .get_offset = mcp3910_get_offset,
912 .get_offset = mcp3910_get_offset,
/linux/tools/perf/scripts/python/
H A Dintel-pt-events.py70 def get_offset(perf_dict, field): function
268 offs = get_offset(param_dict, "symoff")
294 offs = get_offset(sample, "addr_symoff")
304 offs = get_offset(param_dict, "symoff")
H A Darm-cs-trace-disasm.py111 def get_offset(perf_dict, field): function
207 offs = get_offset(param_dict, "symoff")
/linux/drivers/hwmon/
H A Dw83773g.c105 static int get_offset(struct regmap *regmap, int index, long *val) in get_offset() function
191 return get_offset(regmap, channel - 1, val); in w83773_read()
/linux/tools/testing/selftests/user_events/
H A Dperf_test.c55 static int get_offset(void) in get_offset() function
156 offset = get_offset(); in TEST_F()
/linux/drivers/scsi/
H A Dnsp32.c2229 unsigned char get_offset = data->msginbuf[4]; in nsp32_analyze_sdtr() local
2254 if (get_offset > SYNC_OFFSET) { in nsp32_analyze_sdtr()
2262 if (get_offset == ASYNC_OFFSET) { in nsp32_analyze_sdtr()
2301 nsp32_set_sync_entry(data, target, entry, get_offset); in nsp32_analyze_sdtr()
2309 if (get_offset > SYNC_OFFSET) { in nsp32_analyze_sdtr()
2311 get_offset = SYNC_OFFSET; in nsp32_analyze_sdtr()
2321 if (get_offset == ASYNC_OFFSET || entry < 0) { in nsp32_analyze_sdtr()
2325 nsp32_set_sync_entry(data, target, entry, get_offset); in nsp32_analyze_sdtr()
2326 nsp32_build_sdtr(SCpnt, get_period, get_offset); in nsp32_analyze_sdtr()
/linux/include/scsi/
H A Dscsi_transport_spi.h97 void (*get_offset)(struct scsi_target *); member
/linux/arch/mips/net/
H A Dbpf_jit_comp.h157 int get_offset(const struct jit_context *ctx, int off);
H A Dbpf_jit_comp64.c498 emit(ctx, beqz, tmp, get_offset(ctx, 1)); /* PC += off(1) if tmp == 0*/ in emit_tail_call()
502 emit(ctx, bltz, tcc, get_offset(ctx, 1)); /* PC += off(1) if tcc < 0 */ in emit_tail_call()
513 emit(ctx, beqz, tmp, get_offset(ctx, 1)); /* PC += off(1) if tmp == 0*/ in emit_tail_call()
H A Dbpf_jit_comp32.c1313 emit(ctx, beqz, t1, get_offset(ctx, 1)); /* PC += off(1) if t1 == 0 */ in emit_tail_call()
1318 emit(ctx, blez, t2, get_offset(ctx, 1)); /* PC += off(1) if t2 <= 0 */ in emit_tail_call()
1332 emit(ctx, beqz, t2, get_offset(ctx, 1)); /* PC += off(1) if t2 == 0 */ in emit_tail_call()
H A Dbpf_jit_comp.c185 int get_offset(const struct jit_context *ctx, int off) in get_offset() function
/linux/lib/
H A Dxarray.c145 static unsigned int get_offset(unsigned long index, struct xa_node *node) in get_offset() function
152 xas->xa_offset = get_offset(xas->xa_index, xas->xa_node); in xas_set_offset()
207 unsigned int offset = get_offset(xas->xa_index, node); in xas_descend()
1317 if (xas->xa_offset != get_offset(xas->xa_index, xas->xa_node)) in __xas_prev()
1356 if (xas->xa_offset != get_offset(xas->xa_index, xas->xa_node)) in __xas_next()
/linux/arch/mips/kernel/
H A Dvpe.c170 static long get_offset(unsigned long *size, Elf_Shdr *sechdr) in get_offset() function
212 get_offset((unsigned long *)&mod_mem->size, s); in layout_sections()
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c380 static unsigned long get_offset(struct symbol *sym, struct addr_location *al) in get_offset() function
454 offset = get_offset(node->ms.sym, &node_al); in python_process_callchain()
556 offset = get_offset(sym, al); in get_symoff()
806 PyLong_FromUnsignedLong(get_offset(al->sym, al))); in set_sym_in_dict()
/linux/arch/arc/net/
H A Dbpf_jit_core.c342 static inline s32 get_offset(const struct bpf_insn *insn) in get_offset() function
371 return (get_index_for_insn(ctx, insn) + 1) + get_offset(insn); in get_target_index_for_insn()
/linux/drivers/message/fusion/
H A Dmptspi.c1202 .get_offset = mptspi_read_parameters,
/linux/net/unix/
H A Daf_unix.c3448 #define get_offset(x) ((x) & ((1UL << BUCKET_SPACE) - 1)) macro
3453 unsigned long offset = get_offset(*pos); in unix_from_bucket()