Home
last modified time | relevance | path

Searched refs:in_offset (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-loongson-64bit.c32 unsigned int in_offset; member
103 bval = readb(lgpio->reg_base + lgpio->chip_data->in_offset + pin); in loongson_gpio_get()
298 .dat = lgpio->reg_base + lgpio->chip_data->in_offset, in loongson_gpio_init()
360 .in_offset = 0x20,
369 .in_offset = 0xa00,
386 .in_offset = 0x8,
395 .in_offset = 0x8,
404 .in_offset = 0xc,
413 .in_offset = 0xa00,
422 .in_offset = 0x8,
[all …]
/linux/drivers/nvdimm/
H A Dramdax.c146 if (size_add(cmd->in_offset, cmd->in_length) > LABEL_AREA_SIZE) in ramdax_get_config_data()
149 memcpy(cmd->out_buf, dimm->label_area + cmd->in_offset, cmd->in_length); in ramdax_get_config_data()
163 if (size_add(cmd->in_offset, cmd->in_length) > LABEL_AREA_SIZE) in ramdax_set_config_data()
166 memcpy(dimm->label_area + cmd->in_offset, cmd->in_buf, cmd->in_length); in ramdax_set_config_data()
H A Ddimm_devs.c107 cmd->in_offset = offset + buf_offset; in nvdimm_get_config_data()
153 cmd->in_offset = offset + buf_offset; in nvdimm_set_config_data()
/linux/include/uapi/linux/
H A Dndctl.h30 __u32 in_offset; member
37 __u32 in_offset; member
/linux/tools/testing/nvdimm/test/
H A Dndtest.c210 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_get()
214 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_get()
215 memcpy(hdr->out_buf, p->label_area + hdr->in_offset, len); in ndtest_config_get()
225 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_set()
228 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_set()
229 memcpy(p->label_area + hdr->in_offset, hdr->in_buf, len); in ndtest_config_set()
H A Dnfit.c467 unsigned int len, offset = nd_cmd->in_offset; in nfit_test_cmd_get_config_data()
488 unsigned int len, offset = nd_cmd->in_offset; in nfit_test_cmd_set_config_data()
/linux/drivers/cxl/
H A Dpmem.c220 .offset = cpu_to_le32(cmd->in_offset), in cxl_pmem_get_config_data()
259 .offset = cpu_to_le32(cmd->in_offset), in cxl_pmem_set_config_data()
/linux/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c568 if ((hdr->in_offset + hdr->in_length) > p->metadata_size) in papr_scm_meta_get()
574 offset = hdr->in_offset + data_offset; in papr_scm_meta_get()
622 if ((hdr->in_offset + hdr->in_length) > p->metadata_size) in papr_scm_meta_set()
628 offset = hdr->in_offset + data_offset; in papr_scm_meta_set()
/linux/drivers/acpi/nfit/
H A Dcore.c558 out_obj = acpi_label_read(handle, p->in_offset, p->in_length); in acpi_nfit_ctl()
563 out_obj = acpi_label_write(handle, p->in_offset, p->in_length, in acpi_nfit_ctl()