Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/hwmon/
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-v5.10/net/core/
Dnet-procfs.c10 #define get_offset(x) ((x) & ((1 << BUCKET_SPACE) - 1)) macro
21 unsigned int count = 0, offset = get_offset(*pos); in dev_from_same_bucket()
/Linux-v5.10/arch/parisc/kernel/
Dsys_parisc.c35 static int get_offset(unsigned int last_mmap) in get_offset() function
43 return (get_offset(last_mmap) + pgoff) << PAGE_SHIFT; in shared_align_offset()
/Linux-v5.10/drivers/scsi/
Dnsp32.c2224 unsigned char get_offset = data->msginbuf[4]; in nsp32_analyze_sdtr() local
2253 if (get_offset > SYNC_OFFSET) { in nsp32_analyze_sdtr()
2261 if (get_offset == ASYNC_OFFSET) { in nsp32_analyze_sdtr()
2300 nsp32_set_sync_entry(data, target, entry, get_offset); in nsp32_analyze_sdtr()
2308 if (get_offset > SYNC_OFFSET) { in nsp32_analyze_sdtr()
2310 get_offset = SYNC_OFFSET; in nsp32_analyze_sdtr()
2320 if (get_offset == ASYNC_OFFSET || entry < 0) { in nsp32_analyze_sdtr()
2324 nsp32_set_sync_entry(data, target, entry, get_offset); in nsp32_analyze_sdtr()
2325 nsp32_build_sdtr(SCpnt, get_period, get_offset); in nsp32_analyze_sdtr()
/Linux-v5.10/include/scsi/
Dscsi_transport_spi.h97 void (*get_offset)(struct scsi_target *); member
/Linux-v5.10/lib/
Dxarray.c142 static unsigned int get_offset(unsigned long index, struct xa_node *node) in get_offset() function
149 xas->xa_offset = get_offset(xas->xa_index, xas->xa_node); in xas_set_offset()
203 unsigned int offset = get_offset(xas->xa_index, node); in xas_descend()
1155 if (xas->xa_offset != get_offset(xas->xa_index, xas->xa_node)) in __xas_prev()
1194 if (xas->xa_offset != get_offset(xas->xa_index, xas->xa_node)) in __xas_next()
/Linux-v5.10/arch/mips/kernel/
Dvpe.c169 static long get_offset(unsigned long *size, Elf_Shdr *sechdr) in get_offset() function
208 get_offset((unsigned long *)&mod->core_layout.size, s); in layout_sections()
/Linux-v5.10/kernel/
Dmodule.c2432 static long get_offset(struct module *mod, unsigned int *size, in get_offset() function
2475 s->sh_entsize = get_offset(mod, &mod->core_layout.size, s, i); in layout_sections()
2508 s->sh_entsize = (get_offset(mod, &mod->init_layout.size, s, i) in layout_sections()
2727 symsect->sh_entsize = get_offset(mod, &mod->init_layout.size, symsect, in layout_symtab()
2754 strsect->sh_entsize = get_offset(mod, &mod->init_layout.size, strsect, in layout_symtab()
/Linux-v5.10/tools/perf/util/scripting-engines/
Dtrace-event-python.c522 static unsigned long get_offset(struct symbol *sym, struct addr_location *al) in get_offset() function
545 offset = get_offset(sym, al); in get_symoff()
/Linux-v5.10/net/unix/
Daf_unix.c2744 #define get_offset(x) ((x) & ((1L << BUCKET_SPACE) - 1)) macro
2749 unsigned long offset = get_offset(*pos); in unix_from_bucket()
/Linux-v5.10/drivers/message/fusion/
Dmptspi.c1200 .get_offset = mptspi_read_parameters,