/linux/arch/s390/kernel/ |
H A D | machine_kexec_reloc.c | 5 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val, in arch_kexec_do_relocs() argument 12 *(u8 *)loc = val; in arch_kexec_do_relocs() 15 *(u16 *)loc &= 0xf000; in arch_kexec_do_relocs() 16 *(u16 *)loc |= val & 0xfff; in arch_kexec_do_relocs() 19 *(u16 *)loc = val; in arch_kexec_do_relocs() 22 *(u32 *)loc &= 0xf00000ff; in arch_kexec_do_relocs() 23 *(u32 *)loc |= (val & 0xfff) << 16; /* DL */ in arch_kexec_do_relocs() 24 *(u32 *)loc |= (val & 0xff000) >> 4; /* DH */ in arch_kexec_do_relocs() 27 *(u32 *)loc = val; in arch_kexec_do_relocs() 32 *(u64 *)loc in arch_kexec_do_relocs() [all...] |
H A D | module.c | 175 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, in apply_rela_bits() argument 181 void *dest = (void *)loc; in apply_rela_bits() 203 (*(unsigned short *) loc & 0xf000); in apply_rela_bits() 210 (val & 0xff000) >> 4 | (*(unsigned int *) loc & 0xf00000ff); in apply_rela_bits() 227 Elf_Addr loc, val; in apply_rela() local 232 loc = base + rela->r_offset; in apply_rela() 252 rc = apply_rela_bits(loc, val, 0, 8, 0, write); in apply_rela() 254 rc = apply_rela_bits(loc, val, 0, 12, 0, write); in apply_rela() 256 rc = apply_rela_bits(loc, val, 0, 16, 0, write); in apply_rela() 258 rc = apply_rela_bits(loc, va in apply_rela() [all...] |
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fdir.c | 863 u8 *loc; in ice_fdir_get_gen_prgm_pkt() local 907 loc = pkt; in ice_fdir_get_gen_prgm_pkt() 917 loc = &pkt[ICE_FDIR_TUN_PKT_OFF]; in ice_fdir_get_gen_prgm_pkt() 925 ice_pkt_insert_mac_addr(loc, input->eth.h_dest); in ice_fdir_get_gen_prgm_pkt() 926 ice_pkt_insert_mac_addr(loc + ETH_ALEN, input->eth.h_source); in ice_fdir_get_gen_prgm_pkt() 928 ice_pkt_insert_u16(loc, ICE_ETH_TYPE_F_OFFSET, in ice_fdir_get_gen_prgm_pkt() 930 ice_pkt_insert_u16(loc, ICE_ETH_VLAN_TCI_OFFSET, in ice_fdir_get_gen_prgm_pkt() 932 ice_pkt_insert_u16(loc, ICE_ETH_TYPE_VLAN_OFFSET, in ice_fdir_get_gen_prgm_pkt() 935 ice_pkt_insert_u16(loc, ICE_ETH_TYPE_F_OFFSET, in ice_fdir_get_gen_prgm_pkt() 940 ice_pkt_insert_u32(loc, ICE_IPV4_DST_ADDR_OFFSE in ice_fdir_get_gen_prgm_pkt() [all...] |
/linux/scripts/gdb/linux/ |
H A D | slab.py | 112 for loc in loc_track: 113 if loc['addr'] == addr and loc['handle'] == handle and loc['waste'] == waste: 114 return loc 128 loc = loc_exist(loc_track, addr, handle, waste) 129 if loc: 130 loc['count'] += 1 132 loc['sum_time'] += age 133 loc['min_tim [all...] |
/linux/arch/arm64/kernel/ |
H A D | module.c | 241 void *loc; in apply_relocate_add() local 246 /* loc corresponds to P in the AArch64 ELF document. */ in apply_relocate_add() 247 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 271 ovf = reloc_data(RELOC_OP_ABS, loc, val, 64, me); in apply_relocate_add() 274 ovf = reloc_data(RELOC_OP_ABS, loc, val, 32, me); in apply_relocate_add() 277 ovf = reloc_data(RELOC_OP_ABS, loc, val, 16, me); in apply_relocate_add() 281 ovf = reloc_data(RELOC_OP_PREL, loc, val, 64, me); in apply_relocate_add() 284 ovf = reloc_data(RELOC_OP_PREL, loc, val, 32, me); in apply_relocate_add() 287 ovf = reloc_data(RELOC_OP_PREL, loc, val, 16, me); in apply_relocate_add() 295 ovf = reloc_insn_movw(RELOC_OP_ABS, loc, va in apply_relocate_add() [all...] |
/linux/arch/nios2/kernel/ |
H A D | module.c | 36 uint32_t *loc in apply_relocate_add() local 54 *loc += v; in apply_relocate_add() 57 v -= (uint32_t)loc + 4; in apply_relocate_add() 64 word = *loc; in apply_relocate_add() 65 *loc = ((((word >> 22) << 16) | (v & 0xffff)) << 6) | in apply_relocate_add() 74 if ((v >> 28) != ((uint32_t)loc >> 28)) { in apply_relocate_add() 79 *loc = (*loc & 0x3f) | ((v >> 2) << 6); in apply_relocate_add() 82 word = *loc; in apply_relocate_add() 83 *loc in apply_relocate_add() [all...] |
/linux/arch/arm64/kernel/pi/ |
H A D | patch-scs.c | 64 static void __always_inline scs_patch_loc(u64 loc) in scs_patch_loc() argument 66 u32 insn = le32_to_cpup((void *)loc); in scs_patch_loc() 70 *(u32 *)loc = cpu_to_le32(SCS_PUSH); in scs_patch_loc() 73 *(u32 *)loc = cpu_to_le32(SCS_POP); in scs_patch_loc() 88 asm("dc civac, %0" :: "r"(loc)); in scs_patch_loc() 91 :: "r"(loc)); in scs_patch_loc() 155 u64 loc = (u64)offset_to_ptr(&frame->initial_loc); in scs_handle_fde_frame() local 160 loc = (u64)&frame->initial_loc64 + frame->initial_loc64; in scs_handle_fde_frame() 174 * Starting from 'loc', apply the CFA opcodes that advance the location in scs_handle_fde_frame() 185 loc in scs_handle_fde_frame() [all...] |
/linux/drivers/macintosh/ |
H A D | windfarm_lm75_sensor.c | 95 const char *name, *loc; in wf_lm75_probe() local 105 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); in wf_lm75_probe() 106 if (!loc) { in wf_lm75_probe() 115 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) in wf_lm75_probe() 117 else if (!strcmp(loc, "Incoming Air Temp")) in wf_lm75_probe() 119 else if (!strcmp(loc, "ODD Temp")) in wf_lm75_probe() 121 else if (!strcmp(loc, "HD Temp")) in wf_lm75_probe() 123 else if (!strcmp(loc, "PCI SLOTS")) in wf_lm75_probe() 125 else if (!strcmp(loc, "CP in wf_lm75_probe() [all...] |
H A D | windfarm_max6690_sensor.c | 65 const char *name, *loc; in wf_max6690_probe() local 69 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); in wf_max6690_probe() 70 if (!loc) { in wf_max6690_probe() 79 if (!strcmp(loc, "BACKSIDE") || !strcmp(loc, "SYS CTRLR AMBIENT")) in wf_max6690_probe() 81 else if (!strcmp(loc, "NB Ambient")) in wf_max6690_probe() 83 else if (!strcmp(loc, "GPU Ambient")) in wf_max6690_probe()
|
H A D | windfarm_smu_sat.c | 199 const char *loc; in wf_sat_probe() local 221 loc = of_get_property(child, "location", NULL); in wf_sat_probe() 222 if (reg == NULL || loc == NULL) in wf_sat_probe() 231 if (strncmp(loc, "CPU ", 4) != 0) in wf_sat_probe() 233 chip = loc[4] - 'A'; in wf_sat_probe() 234 core = loc[5] - '0'; in wf_sat_probe() 237 "location %s for %pOF\n", loc, child); in wf_sat_probe() 245 "multiple CPU chips on one SAT (%s)\n", loc); in wf_sat_probe()
|
/linux/arch/parisc/kernel/ |
H A D | module.c | 498 Elf32_Word *loc; in apply_relocate_add() local 511 loc = (void *)sechdrs[targetsec].sh_addr in apply_relocate_add() 524 dot = (Elf32_Addr)loc & ~0x03; in apply_relocate_add() 531 pr_debug("Symbol %s loc 0x%x val 0x%x addend 0x%x: %s\n", in apply_relocate_add() 533 (uint32_t)loc, val, addend, in apply_relocate_add() 551 *loc = fsel(val, addend); in apply_relocate_add() 555 *loc = fsel(val, addend); in apply_relocate_add() 560 *loc = mask(*loc, 21) | reassemble_21(val); in apply_relocate_add() 565 *loc in apply_relocate_add() 643 Elf64_Word *loc; apply_relocate_add() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_fused_io.c | 19 struct dmub_cmd_fused_request_location_i2c *loc = &req->u.i2c; in op_i2c_convert() local 25 loc->is_aux = false; in op_i2c_convert() 26 loc->ddc_line = ddc_line; in op_i2c_convert() 27 loc->over_aux = over_aux; in op_i2c_convert() 28 loc->address = op->address; in op_i2c_convert() 29 loc->offset = op->offset; in op_i2c_convert() 30 loc->length = op->size; in op_i2c_convert() 44 struct dmub_cmd_fused_request_location_aux *loc = &req->u.aux; in op_aux_convert() local 50 loc->is_aux = true; in op_aux_convert() 51 loc in op_aux_convert() [all...] |
/linux/arch/riscv/kernel/ |
H A D | machine_kexec_file.c | 167 void *loc; /* tmp location to modify */ in arch_kexec_apply_relocations_add() local 177 loc = pi->purgatory_buf; in arch_kexec_apply_relocations_add() 178 loc += section->sh_offset; in arch_kexec_apply_relocations_add() 179 loc += relas[i].r_offset; in arch_kexec_apply_relocations_add() 200 *(u32 *)loc = CLEAN_IMM(BTYPE, *(u32 *)loc) | in arch_kexec_apply_relocations_add() 204 *(u32 *)loc = CLEAN_IMM(JTYPE, *(u32 *)loc) | in arch_kexec_apply_relocations_add() 216 *(u64 *)loc = CLEAN_IMM(UITYPE, *(u64 *)loc) | in arch_kexec_apply_relocations_add() [all...] |
/linux/fs/ocfs2/ |
H A D | xattr.c | 134 int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc, 136 void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc); 139 * Return a pointer to the appropriate buffer in loc->xl_storage 140 * at the given offset from loc->xl_header. 142 void *(*xlo_offset_pointer)(struct ocfs2_xa_loc *loc, int offset); 145 int (*xlo_can_reuse)(struct ocfs2_xa_loc *loc, 149 int (*xlo_check_space)(struct ocfs2_xa_loc *loc, 156 int (*xlo_get_free_start)(struct ocfs2_xa_loc *loc); 162 void (*xlo_wipe_namevalue)(struct ocfs2_xa_loc *loc); 165 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u3 1445 ocfs2_xa_journal_access(handle_t * handle,struct ocfs2_xa_loc * loc,int type) ocfs2_xa_journal_access() argument 1451 ocfs2_xa_journal_dirty(handle_t * handle,struct ocfs2_xa_loc * loc) ocfs2_xa_journal_dirty() argument 1457 ocfs2_xa_offset_pointer(struct ocfs2_xa_loc * loc,int offset) ocfs2_xa_offset_pointer() argument 1468 ocfs2_xa_wipe_namevalue(struct ocfs2_xa_loc * loc) ocfs2_xa_wipe_namevalue() argument 1477 ocfs2_xa_get_free_start(struct ocfs2_xa_loc * loc) ocfs2_xa_get_free_start() argument 1483 ocfs2_xa_can_reuse_entry(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_can_reuse_entry() argument 1490 ocfs2_xa_check_space(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_check_space() argument 1496 ocfs2_xa_add_entry(struct ocfs2_xa_loc * loc,u32 name_hash) ocfs2_xa_add_entry() argument 1508 ocfs2_xa_add_namevalue(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_add_namevalue() argument 1528 ocfs2_xa_fill_value_buf(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_value_buf * vb) ocfs2_xa_fill_value_buf() argument 1547 ocfs2_xa_block_journal_access(handle_t * handle,struct ocfs2_xa_loc * loc,int type) ocfs2_xa_block_journal_access() argument 1562 ocfs2_xa_block_journal_dirty(handle_t * handle,struct ocfs2_xa_loc * loc) ocfs2_xa_block_journal_dirty() argument 1569 ocfs2_xa_block_offset_pointer(struct ocfs2_xa_loc * loc,int offset) ocfs2_xa_block_offset_pointer() argument 1575 ocfs2_xa_block_can_reuse(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_block_can_reuse() argument 1586 ocfs2_xa_block_get_free_start(struct ocfs2_xa_loc * loc) ocfs2_xa_block_get_free_start() argument 1601 ocfs2_xa_block_check_space(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_block_check_space() argument 1629 ocfs2_xa_block_wipe_namevalue(struct ocfs2_xa_loc * loc) ocfs2_xa_block_wipe_namevalue() argument 1661 ocfs2_xa_block_add_entry(struct ocfs2_xa_loc * loc,u32 name_hash) ocfs2_xa_block_add_entry() argument 1669 ocfs2_xa_block_add_namevalue(struct ocfs2_xa_loc * loc,int size) ocfs2_xa_block_add_namevalue() argument 1676 ocfs2_xa_block_fill_value_buf(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_value_buf * vb) ocfs2_xa_block_fill_value_buf() argument 1708 ocfs2_xa_bucket_journal_access(handle_t * handle,struct ocfs2_xa_loc * loc,int type) ocfs2_xa_bucket_journal_access() argument 1716 ocfs2_xa_bucket_journal_dirty(handle_t * handle,struct ocfs2_xa_loc * loc) ocfs2_xa_bucket_journal_dirty() argument 1723 ocfs2_xa_bucket_offset_pointer(struct ocfs2_xa_loc * loc,int offset) ocfs2_xa_bucket_offset_pointer() argument 1736 ocfs2_xa_bucket_can_reuse(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_bucket_can_reuse() argument 1743 ocfs2_xa_bucket_get_free_start(struct ocfs2_xa_loc * loc) ocfs2_xa_bucket_get_free_start() argument 1763 ocfs2_xa_bucket_check_space(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi) ocfs2_xa_bucket_check_space() argument 1808 ocfs2_xa_bucket_wipe_namevalue(struct ocfs2_xa_loc * loc) ocfs2_xa_bucket_wipe_namevalue() argument 1814 ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc * loc,u32 name_hash) ocfs2_xa_bucket_add_entry() argument 1849 ocfs2_xa_bucket_add_namevalue(struct ocfs2_xa_loc * loc,int size) ocfs2_xa_bucket_add_namevalue() argument 1864 ocfs2_xa_bucket_fill_value_buf(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_value_buf * vb) ocfs2_xa_bucket_fill_value_buf() argument 1897 ocfs2_xa_value_clusters(struct ocfs2_xa_loc * loc) ocfs2_xa_value_clusters() argument 1908 ocfs2_xa_value_truncate(struct ocfs2_xa_loc * loc,u64 bytes,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_value_truncate() argument 1935 ocfs2_xa_remove_entry(struct ocfs2_xa_loc * loc) ocfs2_xa_remove_entry() argument 1986 ocfs2_xa_cleanup_value_truncate(struct ocfs2_xa_loc * loc,const char * what,unsigned int orig_clusters) ocfs2_xa_cleanup_value_truncate() argument 2018 ocfs2_xa_remove(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_remove() argument 2049 ocfs2_xa_install_value_root(struct ocfs2_xa_loc * loc) ocfs2_xa_install_value_root() argument 2064 ocfs2_xa_reuse_entry(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_reuse_entry() argument 2125 ocfs2_xa_prepare_entry(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi,u32 name_hash,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_prepare_entry() argument 2201 ocfs2_xa_store_value(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_store_value() argument 2224 ocfs2_xa_set(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_info * xi,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xa_set() argument 2269 ocfs2_init_dinode_xa_loc(struct ocfs2_xa_loc * loc,struct inode * inode,struct buffer_head * bh,struct ocfs2_xattr_entry * entry) ocfs2_init_dinode_xa_loc() argument 2288 ocfs2_init_xattr_block_xa_loc(struct ocfs2_xa_loc * loc,struct inode * inode,struct buffer_head * bh,struct ocfs2_xattr_entry * entry) ocfs2_init_xattr_block_xa_loc() argument 2307 ocfs2_init_xattr_bucket_xa_loc(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_bucket * bucket,struct ocfs2_xattr_entry * entry) ocfs2_init_xattr_bucket_xa_loc() argument 2778 struct ocfs2_xa_loc loc; ocfs2_xattr_ibody_set() local 2962 struct ocfs2_xa_loc loc; ocfs2_xattr_block_set() local 5543 struct ocfs2_xa_loc loc; ocfs2_xattr_set_entry_bucket() local [all...] |
/linux/tools/perf/scripts/python/ |
H A D | net_dropmonitor.py | 28 loc = int(line.split()[0], 16) 30 kallsyms.append((loc, name)) 34 loc = int(sloc) 36 # Invariant: kallsyms[i][0] <= loc for all 0 <= i <= start 37 # kallsyms[i][0] > loc for all end <= i < len(kallsyms) 41 if loc < kallsyms[pivot][0]: 46 # Now (start == -1 or kallsyms[start][0] <= loc) 47 # and (start == len(kallsyms) - 1 or loc < kallsyms[start + 1][0]) 50 return (name, loc - symloc)
|
/linux/tools/perf/util/ |
H A D | string.c | 425 const char *loc = strchr(haystack, needle); in strreplace_chars() local 430 while (loc) { in strreplace_chars() 431 loc = strchr(loc + 1, needle); in strreplace_chars() 439 loc = strchr(haystack, needle); in strreplace_chars() 442 while (loc) { in strreplace_chars() 444 memcpy(to, from, 1 + loc - from); in strreplace_chars() 445 to += loc - from; in strreplace_chars() 446 from = loc + 1; in strreplace_chars() 453 loc in strreplace_chars() [all...] |
/linux/fs/exfat/ |
H A D | fatent.c | 38 static int __exfat_ent_get(struct super_block *sb, unsigned int loc, in __exfat_ent_get() argument 45 sec = FAT_ENT_OFFSET_SECTOR(sb, loc); in __exfat_ent_get() 46 off = FAT_ENT_OFFSET_BYTE_IN_SECTOR(sb, loc); in __exfat_ent_get() 62 int exfat_ent_set(struct super_block *sb, unsigned int loc, in exfat_ent_set() argument 70 sec = FAT_ENT_OFFSET_SECTOR(sb, loc); in exfat_ent_set() 71 off = FAT_ENT_OFFSET_BYTE_IN_SECTOR(sb, loc); in exfat_ent_set() 85 int exfat_ent_get(struct super_block *sb, unsigned int loc, in exfat_ent_get() argument 91 if (!is_valid_cluster(sbi, loc)) { in exfat_ent_get() 93 loc); in exfat_ent_get() 97 err = __exfat_ent_get(sb, loc, conten in exfat_ent_get() [all...] |
/linux/arch/x86/kernel/ |
H A D | module.c | 93 void *loc; in __write_relocate_add() local 104 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __write_relocate_add() 112 DEBUGP("type %d st_value %Lx r_addend %Lx loc %Lx\n", in __write_relocate_add() 114 sym->st_value, rel[i].r_addend, (u64)loc); in __write_relocate_add() 150 val -= (u64)loc; in __write_relocate_add() 154 val -= (u64)loc; in __write_relocate_add() 164 if (memcmp(loc, &zero, size)) { in __write_relocate_add() 165 pr_err("x86/modules: Invalid relocation target, existing value is nonzero for type %d, loc %p, val %Lx\n", in __write_relocate_add() 166 (int)ELF64_R_TYPE(rel[i].r_info), loc, val); in __write_relocate_add() 169 write(loc, in __write_relocate_add() [all...] |
/linux/drivers/pci/ |
H A D | tph.c | 174 u32 loc; in pcie_tph_get_st_table_size() local 177 loc = get_st_table_loc(pdev); in pcie_tph_get_st_table_size() 179 /* Convert loc to match with PCI_TPH_LOC_* defined in pci_regs.h */ in pcie_tph_get_st_table_size() 180 loc = FIELD_PREP(PCI_TPH_CAP_LOC_MASK, loc); in pcie_tph_get_st_table_size() 181 if (loc != PCI_TPH_LOC_CAP) in pcie_tph_get_st_table_size() 283 u32 loc; in pcie_tph_set_st_entry() local 302 loc = get_st_table_loc(pdev); in pcie_tph_set_st_entry() 303 /* Convert loc to match with PCI_TPH_LOC_* */ in pcie_tph_set_st_entry() 304 loc in pcie_tph_set_st_entry() [all...] |
/linux/arch/powerpc/kernel/ |
H A D | rtas-proc.c | 224 struct individual_sensor *s, int state, int error, const char *loc); 227 struct individual_sensor *s, const char *loc); 402 const char *loc; in ppc_rtas_sensors_show() local 406 loc = of_get_property(rtas_node, rstr, &llen); in ppc_rtas_sensors_show() 413 ppc_rtas_process_sensor(m, p, state, error, loc); in ppc_rtas_sensors_show() 415 if (loc) { in ppc_rtas_sensors_show() 416 offs += strlen(loc) + 1; in ppc_rtas_sensors_show() 417 loc += strlen(loc) + 1; in ppc_rtas_sensors_show() 419 loc in ppc_rtas_sensors_show() 486 ppc_rtas_process_sensor(struct seq_file * m,struct individual_sensor * s,int state,int error,const char * loc) ppc_rtas_process_sensor() argument 690 get_location_code(struct seq_file * m,struct individual_sensor * s,const char * loc) get_location_code() argument [all...] |
/linux/fs/jfs/ |
H A D | jfs_types.h | 100 pxd_t loc; /* 8: address and length in unit of fsblksize */ member 112 #define DXDlength(dxd, len) PXDlength(&(dxd)->loc, len) 113 #define DXDaddress(dxd, addr) PXDaddress(&(dxd)->loc, addr) 114 #define lengthDXD(dxd) lengthPXD(&(dxd)->loc) 115 #define addressDXD(dxd) addressPXD(&(dxd)->loc)
|
/linux/drivers/char/tpm/ |
H A D | tpm_i2c_infineon.c | 312 static bool check_locality(struct tpm_chip *chip, int loc) in check_locality() argument 317 rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); in check_locality() 323 tpm_dev.locality = loc; in check_locality() 331 static void release_locality(struct tpm_chip *chip, int loc, int force) in release_locality() argument 334 if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) in release_locality() 340 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in release_locality() 344 static int request_locality(struct tpm_chip *chip, int loc) in request_locality() argument 349 if (check_locality(chip, loc)) in request_locality() 350 return loc; in request_locality() 352 iic_tpm_write(TPM_ACCESS(loc), in request_locality() [all...] |
/linux/drivers/input/mouse/ |
H A D | trackpoint.c | 52 static int trackpoint_read(struct ps2dev *ps2dev, u8 loc, u8 *results) in trackpoint_read() argument 54 results[0] = loc; in trackpoint_read() 59 static int trackpoint_write(struct ps2dev *ps2dev, u8 loc, u8 val) in trackpoint_write() argument 61 u8 param[3] = { TP_WRITE_MEM, loc, val }; in trackpoint_write() 66 static int trackpoint_toggle_bit(struct ps2dev *ps2dev, u8 loc, u8 mask) in trackpoint_toggle_bit() argument 68 u8 param[3] = { TP_TOGGLE, loc, mask }; in trackpoint_toggle_bit() 70 /* Bad things will happen if the loc param isn't in this range */ in trackpoint_toggle_bit() 71 if (loc < 0x20 || loc >= 0x2F) in trackpoint_toggle_bit() 78 u8 loc, u in trackpoint_update_bit() argument [all...] |
/linux/arch/arm/include/asm/ |
H A D | module.h | 39 u32 get_module_plt(struct module *mod, unsigned long loc, Elf32_Addr val); 41 bool in_module_plt(unsigned long loc); 43 static inline bool in_module_plt(unsigned long loc) { return false; } in in_module_plt() argument
|
/linux/drivers/net/usb/ |
H A D | asix_common.c | 475 static int __asix_mdio_read(struct net_device *netdev, int phy_id, int loc, in __asix_mdio_read() argument 490 ret = asix_read_cmd(dev, AX_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, in __asix_mdio_read() 499 netdev_dbg(dev->net, "asix_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", in __asix_mdio_read() 500 phy_id, loc, le16_to_cpu(res)); in __asix_mdio_read() 505 int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) in asix_mdio_read() argument 507 return __asix_mdio_read(netdev, phy_id, loc, false); in asix_mdio_read() 510 static int __asix_mdio_write(struct net_device *netdev, int phy_id, int loc, in __asix_mdio_write() argument 517 netdev_dbg(dev->net, "asix_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", in __asix_mdio_write() 518 phy_id, loc, val); in __asix_mdio_write() 526 ret = asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, (__u16)loc, in __asix_mdio_write() 538 asix_mdio_write(struct net_device * netdev,int phy_id,int loc,int val) asix_mdio_write() argument 558 asix_mdio_read_nopm(struct net_device * netdev,int phy_id,int loc) asix_mdio_read_nopm() argument 564 asix_mdio_write_nopm(struct net_device * netdev,int phy_id,int loc,int val) asix_mdio_write_nopm() argument [all...] |