Home
last modified time | relevance | path

Searched refs:dir_offset (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/thunderbolt/
H A Dproperty.c39 size_t block_len, unsigned int dir_offset, size_t dir_len,
162 size_t block_len, unsigned int dir_offset, size_t dir_len, bool is_root) in __tb_property_parse_dir() argument
174 content_offset = dir_offset + 2; in __tb_property_parse_dir()
177 dir->uuid = kmemdup(&block[dir_offset], sizeof(*dir->uuid), in __tb_property_parse_dir()
183 content_offset = dir_offset + 4; in __tb_property_parse_dir()
/openbmc/qemu/block/
H A Dqcow2-bitmap.c742 int64_t dir_offset = 0; in bitmap_list_store() local
760 dir_offset = *offset; in bitmap_list_store()
790 dir_offset = qcow2_alloc_clusters(bs, dir_size); in bitmap_list_store()
791 if (dir_offset < 0) { in bitmap_list_store()
792 ret = dir_offset; in bitmap_list_store()
802 bs, in_place ? QCOW2_OL_BITMAP_DIRECTORY : 0, dir_offset, dir_size, in bitmap_list_store()
808 ret = bdrv_pwrite(bs->file, dir_offset, dir_size, dir, 0); in bitmap_list_store()
817 *offset = dir_offset; in bitmap_list_store()
825 if (!in_place && dir_offset > 0) { in bitmap_list_store()
826 qcow2_free_clusters(bs, dir_offset, dir_size, QCOW2_DISCARD_OTHER); in bitmap_list_store()
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mt6397.c22 .dir_offset = (MT6397_PIN_REG_BASE + 0x000),
H A Dpinctrl-mtk-common.h261 unsigned int dir_offset; member
H A Dpinctrl-mt8516.c302 .dir_offset = 0x0000,
H A Dpinctrl-mt8127.c269 .dir_offset = 0x0000,
H A Dpinctrl-mt8167.c302 .dir_offset = 0x0000,
H A Dpinctrl-mt8173.c310 .dir_offset = 0x0000,
H A Dpinctrl-mt8365.c451 .dir_offset = 0x0140,
H A Dpinctrl-mt2712.c550 .dir_offset = 0x0000,
H A Dpinctrl-mt2701.c501 .dir_offset = 0x0000,
H A Dpinctrl-mt8135.c296 .dir_offset = 0x0000,
H A Dpinctrl-mtk-common.c73 reg_addr = mtk_get_port(pctl, offset) + pctl->devdata->dir_offset; in mtk_pmx_gpio_set_direction()
832 reg_addr = mtk_get_port(pctl, offset) + pctl->devdata->dir_offset; in mtk_gpio_get_direction()
/openbmc/linux/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c139 unsigned dir_offset = offset, wdata_offset = offset, tmp; in plgpio_direction_output() local
148 dir_offset = tmp; in plgpio_direction_output()
161 plgpio_reg_reset(plgpio->regmap, dir_offset, plgpio->regs.dir); in plgpio_direction_output()
/openbmc/linux/drivers/net/fjes/
H A Dfjes_hw.h271 u16 dir_offset; member
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c2846 u32 rc, cnt, dir_offset = NVRAM_DIR_OFFSET; in bnx2x_test_nvram_ext_dirs() local
2851 dir_offset + in bnx2x_test_nvram_ext_dirs()
2865 dir_offset = entry.nvm_start_addr + 8; in bnx2x_test_nvram_ext_dirs()
2868 rc = bnx2x_test_dir_entry(bp, dir_offset + in bnx2x_test_nvram_ext_dirs()
2880 u32 rc, dir_offset = NVRAM_DIR_OFFSET; in bnx2x_test_nvram_dirs() local
2886 rc = bnx2x_test_dir_entry(bp, dir_offset + in bnx2x_test_nvram_dirs()