Searched refs:real_offset (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_config_init.c | 30 uint32_t real_offset, uint32_t *data); 85 uint32_t real_offset = 0; in xen_pt_find_reg() local 90 real_offset = reg_grp->base_offset + reg->offset; in xen_pt_find_reg() 92 if ((real_offset <= address) in xen_pt_find_reg() 93 && ((real_offset + reg->size) > address)) { in xen_pt_find_reg() 120 XenPTRegInfo *reg, uint32_t real_offset, in xen_pt_common_reg_init() argument 242 XenPTRegInfo *reg, uint32_t real_offset, in xen_pt_vendor_reg_init() argument 249 XenPTRegInfo *reg, uint32_t real_offset, in xen_pt_device_reg_init() argument 256 XenPTRegInfo *reg, uint32_t real_offset, in xen_pt_status_reg_init() argument 291 XenPTRegInfo *reg, uint32_t real_offset, in xen_pt_header_type_reg_init() argument [all …]
|
H A D | xen_pt.c | 190 uint32_t real_offset = reg_grp_entry->base_offset + reg->offset; in xen_pt_pci_read_config() local 194 valid_mask <<= (find_addr - real_offset) << 3; in xen_pt_pci_read_config() 195 ptr_val = (uint8_t *)&val + (real_offset & 3); in xen_pt_pci_read_config() 228 find_addr = real_offset + reg->size; in xen_pt_pci_read_config() 327 uint32_t real_offset = reg_grp_entry->base_offset + reg->offset; in xen_pt_pci_write_config() local 332 valid_mask <<= (find_addr - real_offset) << 3; in xen_pt_pci_write_config() 333 ptr_val = (uint8_t *)&val + (real_offset & 3); in xen_pt_pci_write_config() 338 wb_mask &= ~((wp_mask >> ((find_addr - real_offset) << 3)) in xen_pt_pci_write_config() 347 read_val >> ((real_offset & 3) << 3), in xen_pt_pci_write_config() 354 (read_val >> ((real_offset & 3) << 3)), in xen_pt_pci_write_config() [all …]
|
H A D | xen_pt.h | 64 (XenPCIPassthroughState *, XenPTRegInfo *, uint32_t real_offset,
|
/openbmc/linux/drivers/iio/addac/ |
H A D | ad74413r.c | 283 unsigned int real_offset = st->gpo_gpio_offsets[offset]; in ad74413r_gpio_set() local 286 ret = ad74413r_set_gpo_config(st, real_offset, in ad74413r_gpio_set() 291 regmap_update_bits(st->regmap, AD74413R_REG_GPO_CONFIG_X(real_offset), in ad74413r_gpio_set() 307 unsigned int real_offset = st->gpo_gpio_offsets[offset]; in ad74413r_gpio_set_multiple() local 309 ret = ad74413r_set_gpo_config(st, real_offset, in ad74413r_gpio_set_multiple() 314 real_mask |= BIT(real_offset); in ad74413r_gpio_set_multiple() 316 real_bits |= BIT(real_offset); in ad74413r_gpio_set_multiple() 326 unsigned int real_offset = st->comp_gpio_offsets[offset]; in ad74413r_gpio_get() local 334 status &= BIT(real_offset); in ad74413r_gpio_get() 353 unsigned int real_offset = st->comp_gpio_offsets[offset]; in ad74413r_gpio_get_multiple() local [all …]
|
/openbmc/linux/drivers/net/can/softing/ |
H A D | softing_fw.c | 388 ktime_t now, real_offset; in softing_raw2ktime() local 393 real_offset = ktime_sub(ktime_get_real(), now); in softing_raw2ktime() 406 return ktime_add(target, real_offset); in softing_raw2ktime()
|