/openbmc/qemu/block/ |
H A D | trace-events | 35 mirror_one_iteration(void *s, int64_t offset, uint64_t bytes) "s %p offset %" PRId64 " bytes %" PRI… 38 mirror_yield_in_flight(void *s, int64_t offset, int in_flight) "s %p offset %" PRId64 " in_flight %… 81 qcow2_writev_data(void *co, uint64_t offset) "co %p offset 0x%" PRIx64 83 qcow2_pwrite_zeroes(void *co, int64_t offset, int64_t bytes) "co %p offset 0x%" PRIx64 " bytes %" P… 84 qcow2_skip_cow(void *co, uint64_t offset, int nb_clusters) "co %p offset 0x%" PRIx64 " nb_clusters … 87 qcow2_alloc_clusters_offset(void *co, uint64_t offset, int bytes) "co %p offset 0x%" PRIx64 " bytes… 117 qed_read_table(void *s, uint64_t offset, void *table) "s %p offset %"PRIu64" table %p" 153 nvme_dsm(void *s, int64_t offset, int64_t bytes) "s %p offset 0x%"PRIx64" bytes %"PRId64"" 186 ssh_read(int64_t offset, size_t size) "offset=%" PRIi64 " size=%zu" 189 ssh_write(int64_t offset, size_t size) "offset=%" PRIi64 " size=%zu" [all …]
|
H A D | qed.h | 245 return offset & ~(uint64_t)(s->header.cluster_size - 1); in qed_start_of_cluster() 250 return offset & (s->header.cluster_size - 1); in qed_offset_into_cluster() 277 if (offset & (s->header.cluster_size - 1)) { in qed_check_cluster_offset() 280 return offset >= header_size && offset < s->file_size; in qed_check_cluster_offset() 288 uint64_t end_offset = offset + (s->header.table_size - 1) * in qed_check_table_offset() 292 if (end_offset <= offset) { in qed_check_table_offset() 296 return qed_check_cluster_offset(s, offset) && in qed_check_table_offset() 303 if (qed_offset_into_cluster(s, offset)) { in qed_offset_is_cluster_aligned() 311 if (offset == 0) { in qed_offset_is_unalloc_cluster() 317 static inline bool qed_offset_is_zero_cluster(uint64_t offset) in qed_offset_is_zero_cluster() argument [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | mac_psc.h | 222 static inline void psc_write_byte(int offset, __u8 data) in psc_write_byte() argument 224 *((volatile __u8 *)(psc + offset)) = data; in psc_write_byte() 227 static inline void psc_write_word(int offset, __u16 data) in psc_write_word() argument 229 *((volatile __u16 *)(psc + offset)) = data; in psc_write_word() 234 *((volatile __u32 *)(psc + offset)) = data; in psc_write_long() 237 static inline u8 psc_read_byte(int offset) in psc_read_byte() argument 239 return *((volatile __u8 *)(psc + offset)); in psc_read_byte() 242 static inline u16 psc_read_word(int offset) in psc_read_word() argument 244 return *((volatile __u16 *)(psc + offset)); in psc_read_word() 247 static inline u32 psc_read_long(int offset) in psc_read_long() argument [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 013 | 55 for offset in $TEST_OFFSETS; do 56 echo "At offset $offset:" 58 io_test $op $offset $CLUSTER_SIZE 8 73 for offset in $TEST_OFFSETS; do 74 echo "With offset $offset:" 76 io_test $op $offset $CLUSTER_SIZE 8 83 for offset in $TEST_OFFSETS; do 86 offset=$((offset + 512)) 87 echo "With offset $offset:" 89 io_test $op $offset $CLUSTER_SIZE 8
|
H A D | 154.out | 6 wrote 2048/2048 bytes at offset 0 8 wrote 2048/2048 bytes at offset 10240 10 wrote 2048/2048 bytes at offset 17408 12 wrote 2048/2048 bytes at offset 27648 26 wrote 1024/1024 bytes at offset 32768 30 read 1024/1024 bytes at offset 32768 32 read 3072/3072 bytes at offset 33792 38 read 1024/1024 bytes at offset 66560 40 read 1024/1024 bytes at offset 65536 42 read 2048/2048 bytes at offset 67584 [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | gpuobj.c | 35 return ioread32_native(gpuobj->map + offset); in nvkm_gpuobj_rd32_fast() 41 iowrite32_native(data, gpuobj->map + offset); in nvkm_gpuobj_wr32_fast() 56 return nvkm_ro32(gpuobj->memory, offset); in nvkm_gpuobj_heap_rd32() 62 nvkm_wo32(gpuobj->memory, offset, data); in nvkm_gpuobj_heap_wr32() 112 return nvkm_memory_map(gpuobj->parent, gpuobj->node->offset + offset, in nvkm_gpuobj_map() 119 return nvkm_ro32(gpuobj->parent, gpuobj->node->offset + offset); in nvkm_gpuobj_rd32() 125 nvkm_wo32(gpuobj->parent, gpuobj->node->offset + offset, data); in nvkm_gpuobj_wr32() 175 u32 offset; in nvkm_gpuobj_ctor() local 191 gpuobj->addr = parent->addr + gpuobj->node->offset; in nvkm_gpuobj_ctor() 196 for (offset = 0; offset < gpuobj->size; offset += 4) in nvkm_gpuobj_ctor() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-rda.c | 56 tmp |= BIT(offset); in rda_gpio_update() 58 tmp &= ~BIT(offset); in rda_gpio_update() 69 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_mask() local 76 gpiochip_disable_irq(chip, offset); in rda_gpio_irq_mask() 82 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_ack() local 101 value = BIT(offset) << RDA_GPIO_LEVEL_SHIFT; in rda_gpio_set_irq() 111 value = BIT(offset) << RDA_GPIO_LEVEL_SHIFT; in rda_gpio_set_irq() 154 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_unmask() local 157 gpiochip_enable_irq(chip, offset); in rda_gpio_irq_unmask() 158 rda_gpio_set_irq(chip, offset, trigger); in rda_gpio_irq_unmask() [all …]
|
H A D | gpio-moxtet.c | 39 if (chip->desc->in_mask & BIT(offset)) { in moxtet_gpio_get_value() 52 return !!(ret & BIT(offset)); in moxtet_gpio_get_value() 65 offset -= MOXTET_GPIO_INPUTS; in moxtet_gpio_set_value() 68 state |= BIT(offset); in moxtet_gpio_set_value() 70 state &= ~BIT(offset); in moxtet_gpio_set_value() 80 if (chip->desc->in_mask & BIT(offset)) in moxtet_gpio_get_direction() 89 unsigned int offset) in moxtet_gpio_direction_input() argument 93 if (chip->desc->in_mask & BIT(offset)) in moxtet_gpio_direction_input() 102 unsigned int offset, int val) in moxtet_gpio_direction_output() argument 106 if (chip->desc->out_mask & BIT(offset)) in moxtet_gpio_direction_output() [all …]
|
/openbmc/linux/arch/microblaze/lib/ |
H A D | uaccess_old.S | 16 #define COPY(offset) \ argument 17 1: lwi r4 , r6, 0x0000 + offset; \ 18 2: lwi r19, r6, 0x0004 + offset; \ 19 3: lwi r20, r6, 0x0008 + offset; \ 20 4: lwi r21, r6, 0x000C + offset; \ 21 5: lwi r22, r6, 0x0010 + offset; \ 52 #define COPY_80(offset) \ argument 53 COPY(0x00 + offset);\ 54 COPY(0x20 + offset);\ 55 COPY(0x40 + offset);\ [all …]
|
/openbmc/linux/drivers/net/ipa/data/ |
H A D | ipa_data-v4.11.c | 231 .offset = 0x0000, 237 .offset = 0x0080, 243 .offset = 0x0288, 249 .offset = 0x0308, 255 .offset = 0x0388, 261 .offset = 0x0408, 267 .offset = 0x0488, 273 .offset = 0x0508, 279 .offset = 0x0588, 285 .offset = 0x0608, [all …]
|
H A D | ipa_data-v4.7.c | 224 .offset = 0x0000, 230 .offset = 0x0080, 236 .offset = 0x0288, 242 .offset = 0x0308, 248 .offset = 0x0388, 254 .offset = 0x0408, 260 .offset = 0x0488, 266 .offset = 0x0508, 272 .offset = 0x0588, 278 .offset = 0x0608, [all …]
|
/openbmc/qemu/hw/display/ |
H A D | xlnx_dp.c | 289 offset = offset >> 2; in xlnx_dp_audio_read() 298 offset = offset >> 2; in xlnx_dp_audio_write() 300 switch (offset) { in xlnx_dp_audio_write() 683 offset = offset >> 2; in xlnx_dp_read() 685 switch (offset) { in xlnx_dp_read() 726 if (offset == (0x3A8 >> 2) || offset == (0x3AC >> 2)) { in xlnx_dp_read() 745 offset = offset >> 2; in xlnx_dp_write() 747 switch (offset) { in xlnx_dp_write() 930 offset = offset >> 2; in xlnx_dp_vblend_write() 1044 offset = offset >> 2; in xlnx_dp_avbufm_write() [all …]
|
/openbmc/linux/arch/mips/include/asm/mach-loongson2ef/cs5536/ |
H A D | cs5536.h | 30 #define SB_MSR_REG(offset) (CS5536_SB_MSR_BASE | (offset)) argument 31 #define GLIU_MSR_REG(offset) (CS5536_GLIU_MSR_BASE | (offset)) argument 32 #define ILLEGAL_MSR_REG(offset) (CS5536_ILLEGAL_MSR_BASE | (offset)) argument 33 #define USB_MSR_REG(offset) (CS5536_USB_MSR_BASE | (offset)) argument 34 #define IDE_MSR_REG(offset) (CS5536_IDE_MSR_BASE | (offset)) argument 35 #define DIVIL_MSR_REG(offset) (CS5536_DIVIL_MSR_BASE | (offset)) argument 36 #define ACC_MSR_REG(offset) (CS5536_ACC_MSR_BASE | (offset)) argument 37 #define UNUSED_MSR_REG(offset) (CS5536_UNUSED_MSR_BASE | (offset)) argument 38 #define GLCP_MSR_REG(offset) (CS5536_GLCP_MSR_BASE | (offset)) argument
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.h | 28 s32 e1000e_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data); 31 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data); 33 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data); 36 s32 e1000e_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data); 58 s32 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data); 61 s32 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data); 100 #define BM_PHY_REG_PAGE(offset) \ argument 101 ((u16)(((offset) >> PHY_PAGE_SHIFT) & 0xFFFF)) 102 #define BM_PHY_REG_NUM(offset) \ argument 103 ((u16)(((offset) & MAX_PHY_REG_ADDRESS) |\ [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | pio.h | 111 return b43_read16(q->dev, q->mmio_base + offset); in b43_piotx_read16() 116 return b43_read32(q->dev, q->mmio_base + offset); in b43_piotx_read32() 120 u16 offset, u16 value) in b43_piotx_write16() argument 122 b43_write16(q->dev, q->mmio_base + offset, value); in b43_piotx_write16() 126 u16 offset, u32 value) in b43_piotx_write32() argument 128 b43_write32(q->dev, q->mmio_base + offset, value); in b43_piotx_write32() 134 return b43_read16(q->dev, q->mmio_base + offset); in b43_piorx_read16() 139 return b43_read32(q->dev, q->mmio_base + offset); in b43_piorx_read32() 143 u16 offset, u16 value) in b43_piorx_write16() argument 145 b43_write16(q->dev, q->mmio_base + offset, value); in b43_piorx_write16() [all …]
|
H A D | tables_phy_lcn.h | 10 #define B43_LCNTAB8(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_8BIT) argument 11 #define B43_LCNTAB16(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_16BIT) argument 12 #define B43_LCNTAB32(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_32BIT) argument 16 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset); 17 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset, 19 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value); 20 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset,
|
/openbmc/linux/arch/mips/rb532/ |
H A D | gpio.c | 71 unsigned offset, void __iomem *ioaddr) in rb532_set_bit() argument 92 return readl(ioaddr) & (1 << offset); in rb532_get_bit() 102 return !!rb532_get_bit(offset, gpch->regbase + GPIOD); in rb532_gpio_get() 109 unsigned offset, int value) in rb532_gpio_set() argument 114 rb532_set_bit(value, offset, gpch->regbase + GPIOD); in rb532_gpio_set() 127 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); in rb532_gpio_direction_input() 129 rb532_set_bit(0, offset, gpch->regbase + GPIOCFG); in rb532_gpio_direction_input() 137 unsigned offset, int value) in rb532_gpio_direction_output() argument 144 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); in rb532_gpio_direction_output() 147 rb532_set_bit(value, offset, gpch->regbase + GPIOD); in rb532_gpio_direction_output() [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | ivc.c | 73 ulong offset) in tegra_ivc_invalidate_counter() argument 75 ulong base = ((ulong)h) + offset; in tegra_ivc_invalidate_counter() 81 ulong offset) in tegra_ivc_flush_counter() argument 83 ulong base = ((ulong)h) + offset; in tegra_ivc_flush_counter() 182 ulong offset; in tegra_ivc_check_read() local 211 ulong offset; in tegra_ivc_check_write() local 256 ulong offset; in tegra_ivc_read_advance() local 270 tegra_ivc_flush_counter(ivc, ivc->rx_channel, offset); in tegra_ivc_read_advance() 300 ulong offset; in tegra_ivc_write_advance() local 353 ulong offset; in tegra_ivc_channel_notified() local [all …]
|
/openbmc/linux/arch/x86/platform/ce4100/ |
H A D | ce4100.c | 36 static unsigned int mem_serial_in(struct uart_port *p, int offset) in mem_serial_in() argument 38 offset = offset << p->regshift; in mem_serial_in() 39 return readl(p->membase + offset); in mem_serial_in() 52 static unsigned int ce4100_mem_serial_in(struct uart_port *p, int offset) in ce4100_mem_serial_in() argument 56 if (offset == UART_IIR) { in ce4100_mem_serial_in() 57 offset = offset << p->regshift; in ce4100_mem_serial_in() 58 ret = readl(p->membase + offset); in ce4100_mem_serial_in() 72 ret = mem_serial_in(p, offset); in ce4100_mem_serial_in() 76 static void ce4100_mem_serial_out(struct uart_port *p, int offset, int value) in ce4100_mem_serial_out() argument 78 offset = offset << p->regshift; in ce4100_mem_serial_out() [all …]
|
/openbmc/linux/include/crypto/ |
H A D | scatterwalk.h | 31 unsigned int len = walk->sg->offset + walk->sg->length - walk->offset; in scatterwalk_pagelen() 32 unsigned int len_this_page = offset_in_page(~walk->offset) + 1; in scatterwalk_pagelen() 46 walk->offset += nbytes; in scatterwalk_advance() 51 return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); in scatterwalk_page() 63 walk->offset = sg->offset; in scatterwalk_start() 69 offset_in_page(walk->offset); in scatterwalk_map() 78 page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT); in scatterwalk_pagedone() 82 if (more && walk->offset >= walk->sg->offset + walk->sg->length) in scatterwalk_pagedone() 89 if (!more || walk->offset >= walk->sg->offset + walk->sg->length || in scatterwalk_done() 90 !(walk->offset & (PAGE_SIZE - 1))) in scatterwalk_done()
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_seq_pdu_list.c | 243 offset += (cmd->se_cmd.data_length - offset); in iscsit_determine_counts_for_list() 250 offset); in iscsit_determine_counts_for_list() 252 offset); in iscsit_determine_counts_for_list() 263 offset += (cmd->se_cmd.data_length - offset); in iscsit_determine_counts_for_list() 316 pdu[i].offset = offset; in iscsit_do_build_pdu_and_seq_lists() 322 seq[seq_no].offset = offset; in iscsit_do_build_pdu_and_seq_lists() 361 offset += (cmd->se_cmd.data_length - offset); in iscsit_do_build_pdu_and_seq_lists() 370 offset); in iscsit_do_build_pdu_and_seq_lists() 410 offset += (cmd->se_cmd.data_length - offset); in iscsit_do_build_pdu_and_seq_lists() 563 u32 offset, in iscsit_get_pdu_holder() argument [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_opcode.c | 124 .offset = { 134 .offset = { 144 .offset = { 154 .offset = { 167 .offset = { 178 .offset = { 190 .offset = { 202 .offset = { 212 .offset = { 223 .offset = { [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_util.c | 73 erase.addr = opts->offset; in nand_erase_opts() 418 if (offset >= mtd->size) in check_skip_len() 430 offset += block_len; in check_skip_len() 630 offset, rval); in nand_write_skip_bad() 666 offset += write_size; in nand_write_skip_bad() 671 offset, rval); in nand_write_skip_bad() 746 offset, rval); in nand_read_skip_bad() 771 offset, rval); in nand_read_skip_bad() 777 offset += read_length; in nand_read_skip_bad() 823 .addr = offset, in nand_torture() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_shared/host/ |
H A D | tag.c | 31 int offset, in sh_css_create_tag_descr() argument 39 tag_descr->offset = offset; in sh_css_create_tag_descr() 54 int offset; in sh_css_encode_tag_descr() local 69 if (tag->offset < 0) { in sh_css_encode_tag_descr() 70 offset = -tag->offset; in sh_css_encode_tag_descr() 73 offset = tag->offset; in sh_css_encode_tag_descr() 80 assert((num_captures == 0) && (skip == 0) && (offset == 0)); in sh_css_encode_tag_descr() 89 | ((offset & 0x000000FF) << TAG_SKIP_SHIFT); in sh_css_encode_tag_descr()
|
/openbmc/qemu/hw/nvram/ |
H A D | nrf51_nvm.c | 85 assert(offset < sizeof(ficr_content)); in ficr_read() 86 return ficr_content[offset / 4]; in ficr_read() 175 assert(offset < sizeof(s->uicr_content)); in uicr_read() 176 return s->uicr_content[offset / 4]; in uicr_read() 184 assert(offset < sizeof(s->uicr_content)); in uicr_write() 185 s->uicr_content[offset / 4] = value; in uicr_write() 202 switch (offset) { in io_read() 223 switch (offset) { in io_write() 240 __func__, offset); in io_write() 298 stl_le_p(s->storage + offset, oldval); in flash_write() [all …]
|