Home
last modified time | relevance | path

Searched refs:offset0 (Results 1 – 22 of 22) sorted by relevance

/linux/lib/
H A Dkunit_iov_iter.c725 size_t offset0 = LONG_MAX; in iov_kunit_extract_pages_kvec() local
731 ARRAY_SIZE(pagelist), 0, &offset0); in iov_kunit_extract_pages_kvec()
735 KUNIT_EXPECT_GE(test, (ssize_t)offset0, 0); in iov_kunit_extract_pages_kvec()
736 KUNIT_EXPECT_LT(test, offset0, PAGE_SIZE); in iov_kunit_extract_pages_kvec()
746 ssize_t part = min_t(ssize_t, len, PAGE_SIZE - offset0); in iov_kunit_extract_pages_kvec()
760 KUNIT_EXPECT_EQ(test, offset0, from % PAGE_SIZE); in iov_kunit_extract_pages_kvec()
766 offset0 = 0; in iov_kunit_extract_pages_kvec()
803 size_t offset0 = LONG_MAX; in iov_kunit_extract_pages_bvec() local
809 ARRAY_SIZE(pagelist), 0, &offset0); in iov_kunit_extract_pages_bvec()
813 KUNIT_EXPECT_GE(test, (ssize_t)offset0, 0); in iov_kunit_extract_pages_bvec()
[all …]
H A Diov_iter.c1584 size_t *offset0) in iov_iter_extract_folioq_pages() argument
1599 *offset0 = offset; in iov_iter_extract_folioq_pages()
1646 size_t *offset0) in iov_iter_extract_xarray_pages() argument
1655 *offset0 = offset; in iov_iter_extract_xarray_pages()
1692 size_t *offset0) in iov_iter_extract_bvec_pages() argument
1726 *offset0 = bv.bv_offset; in iov_iter_extract_bvec_pages()
1759 size_t *offset0) in iov_iter_extract_kvec_pages() argument
1780 *offset0 = offset; in iov_iter_extract_kvec_pages()
1824 size_t *offset0) in iov_iter_extract_user_pages() argument
1839 *offset0 = offset = addr % PAGE_SIZE; in iov_iter_extract_user_pages()
[all …]
/linux/drivers/macintosh/
H A Dwindfarm_pm81.c168 s16 offset0; member
183 s16 offset0; member
201 .offset0 = 0xff38,
213 .offset0 = 0xff38,
225 .offset0 = 0x0000,
295 wf_smu_sys_fans->offset0 = param->offset0; in wf_smu_create_sys_fans()
359 scaled = ((((s64)new_setpoint) * (s64)st->scale0) >> 12) + st->offset0; in wf_smu_sys_fans_tick()
/linux/drivers/rtc/
H A Drtc-m48t86.c197 unsigned int offset0 = M48T86_NVRAM(M48T86_NVRAM_LEN - 2); in m48t86_verify_chip() local
201 tmp0 = m48t86_readb(&pdev->dev, offset0); in m48t86_verify_chip()
204 m48t86_writeb(&pdev->dev, 0x00, offset0); in m48t86_verify_chip()
209 m48t86_readb(&pdev->dev, offset0) == 0x00) { in m48t86_verify_chip()
210 m48t86_writeb(&pdev->dev, tmp0, offset0); in m48t86_verify_chip()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddispc.c1812 unsigned *offset0, unsigned *offset1, in calc_vrfb_rotation_offset() argument
1856 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1858 *offset0 = 0; in calc_vrfb_rotation_offset()
1879 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1881 *offset0 = 0; in calc_vrfb_rotation_offset()
1899 unsigned *offset0, unsigned *offset1, in calc_dma_rotation_offset() argument
1939 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset()
1941 *offset0 = *offset1; in calc_dma_rotation_offset()
1954 *offset0 = *offset1 + field_offset * ps; in calc_dma_rotation_offset()
1956 *offset0 = *offset1; in calc_dma_rotation_offset()
[all …]
/linux/arch/sh/include/asm/
H A Dsyscalls_32.h18 asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1,
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dmcu.h59 u8 offset0; member
H A Dphy.c229 t.offset0 = txp.chain[0].tssi_offset; in mt76x2_phy_tssi_compensate()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_4_3_cleaner_shader.asm99 ds_write2_b64 v1, v[4:5], v[4:5] offset0:64 offset1:96
/linux/drivers/video/fbdev/riva/
H A Driva_hw.c1311 state->offset0 = in CalcStateExt()
1414 NV_WR32(chip->PGRAPH, 0x00000630, state->offset0); in LoadStateExt()
1456 NV_WR32(chip->PGRAPH, 0x00000640, state->offset0); in LoadStateExt()
1504 NV_WR32(chip->PGRAPH, 0x00000640, state->offset0); in LoadStateExt()
1514 NV_WR32(chip->PGRAPH, 0x00000820, state->offset0); in LoadStateExt()
1743 state->offset0 = NV_RD32(chip->PGRAPH, 0x00000630); in UnloadStateExt()
1753 state->offset0 = NV_RD32(chip->PGRAPH, 0x00000640); in UnloadStateExt()
1765 state->offset0 = NV_RD32(chip->PGRAPH, 0x00000640); in UnloadStateExt()
H A Driva_hw.h521 U032 offset0; member
/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c89 offset0, offset1, \ argument
97 { .type = iom0, .offset = offset0 }, \
172 iom3, offset0, offset1, offset2, \ argument
179 { .type = iom0, .offset = offset0 }, \
188 drv3, offset0, offset1, \ argument
201 { .drv_type = drv0, .offset = offset0 }, \
211 drv3, offset0, offset1, \ argument
225 { .drv_type = drv0, .offset = offset0 }, \
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddispc.c2056 unsigned int *offset0, unsigned int *offset1, in calc_offset() argument
2084 *offset0 = field_offset * screen_width * ps; in calc_offset()
2588 unsigned int offset0, offset1; in dispc_ovl_setup_common() local
2679 offset0 = 0; in dispc_ovl_setup_common()
2691 &offset0, &offset1, &row_inc, &pix_inc, in dispc_ovl_setup_common()
2696 offset0, offset1, row_inc, pix_inc); in dispc_ovl_setup_common()
2703 swap(offset0, offset1); in dispc_ovl_setup_common()
2705 dispc_ovl_set_ba0(dispc, plane, paddr + offset0); in dispc_ovl_setup_common()
2709 dispc_ovl_set_ba0_uv(dispc, plane, p_uv_addr + offset0); in dispc_ovl_setup_common()
/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1474 u16 offset0, offset10, reg_offs; in oob_reg_read() local
1476 offset0 = ctrl->reg_offsets[BRCMNAND_OOB_READ_BASE]; in oob_reg_read()
1485 reg_offs = offset0 + (offs & ~0x03); in oob_reg_read()
1493 u16 offset0, offset10, reg_offs; in oob_reg_write() local
1495 offset0 = ctrl->reg_offsets[BRCMNAND_OOB_WRITE_BASE]; in oob_reg_write()
1504 reg_offs = offset0 + (offs & ~0x03); in oob_reg_write()
/linux/include/linux/
H A Duio.h384 size_t *offset0);
/linux/drivers/infiniband/hw/hfi1/
H A Dsdma.c246 u32 offset0, in write_sde_csr() argument
249 write_kctxt_csr(sde->dd, sde->this_idx, offset0, value); in write_sde_csr()
254 u32 offset0) in read_sde_csr() argument
256 return read_kctxt_csr(sde->dd, sde->this_idx, offset0); in read_sde_csr()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c2237 u32 offset0; in bnx2x_test_registers() member
2352 for (i = 0; reg_tbl[i].offset0 != 0xffffffff; i++) { in bnx2x_test_registers()
2357 offset = reg_tbl[i].offset0 + port*reg_tbl[i].offset1; in bnx2x_test_registers()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx9.asm560 ds_read2_b32 v[0:1], v2 offset0:0 offset1:0x40
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c546 e->offset0 = addr; in kvm_fixup_exception()
/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h1150 uint16_t offset0;
1145 uint16_t offset0; global() member
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c4541 u32 val, offset0, offset1, offset2, offset3; in cnic_init_bnx2_tx_ring() local
4567 offset0 = BNX2_L2CTX_TYPE_XI; in cnic_init_bnx2_tx_ring()
4575 offset0 = BNX2_L2CTX_TYPE; in cnic_init_bnx2_tx_ring()
4581 cnic_ctx_wr(dev, cid_addr, offset0, val); in cnic_init_bnx2_tx_ring()
H A Dbnx2.c5134 u32 val, offset0, offset1, offset2, offset3; in bnx2_init_tx_context() local
5138 offset0 = BNX2_L2CTX_TYPE_XI; in bnx2_init_tx_context()
5143 offset0 = BNX2_L2CTX_TYPE; in bnx2_init_tx_context()
5149 bnx2_ctx_wr(bp, cid_addr, offset0, val); in bnx2_init_tx_context()