Home
last modified time | relevance | path

Searched refs:offset_bytes (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Dqsfp.c179 u8 offset_bytes[2]; in i2c_bus_write() local
191 offset_bytes[1] = (offset >> 8) & 0xff; in i2c_bus_write()
195 offset_bytes[0] = offset & 0xff; in i2c_bus_write()
200 msgs[0].buf = offset_bytes; in i2c_bus_write()
227 u8 offset_bytes[2]; in i2c_bus_read() local
239 offset_bytes[1] = (offset >> 8) & 0xff; in i2c_bus_read()
243 offset_bytes[0] = offset & 0xff; in i2c_bus_read()
248 msgs[0].buf = offset_bytes; in i2c_bus_read()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.c3549 le32_to_cpu(desc->offset_bytes) + in parse_sos_bin_descriptor()
3648 adev->psp.sys.size_bytes = le32_to_cpu(sos_hdr->sos.offset_bytes); in psp_init_sos_base_fw()
3653 le32_to_cpu(sos_hdr->sos.offset_bytes); in psp_init_sos_base_fw()
3663 le32_to_cpu(sos_hdr_v1_3->sys_drv_aux.offset_bytes); in psp_init_sos_base_fw()
3667 le32_to_cpu(sos_hdr_v1_3->sos_aux.offset_bytes); in psp_init_sos_base_fw()
3716 le32_to_cpu(sos_hdr_v1_1->toc.offset_bytes); in psp_init_sos_microcode()
3719 le32_to_cpu(sos_hdr_v1_1->kdb.offset_bytes); in psp_init_sos_microcode()
3725 le32_to_cpu(sos_hdr_v1_2->kdb.offset_bytes); in psp_init_sos_microcode()
3731 le32_to_cpu(sos_hdr_v1_3->v1_1.toc.offset_bytes); in psp_init_sos_microcode()
3734 le32_to_cpu(sos_hdr_v1_3->v1_1.kdb.offset_bytes); in psp_init_sos_microcode()
[all …]
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_wmfw.c485 unsigned int reg_addr, offset_bytes, offset_num_regs; in wmfw_write_multiple_unpacked_mem() local
527 offset_bytes = payload_defs[i].offset_num_blocks * in wmfw_write_multiple_unpacked_mem()
529 offset_num_regs = offset_bytes / regmap_get_val_bytes(priv->dsp->regmap); in wmfw_write_multiple_unpacked_mem()
582 unsigned int reg_addr, offset_bytes, offset_num_regs; in wmfw_write_multiple_packed_unpacked_mem() local
624 offset_bytes = payload_defs[i].offset_num_blocks * in wmfw_write_multiple_packed_unpacked_mem()
626 offset_num_regs = offset_bytes / regmap_get_val_bytes(priv->dsp->regmap); in wmfw_write_multiple_packed_unpacked_mem()