Searched refs:CCS_REG_ADDR (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/media/i2c/ccs/ |
D | ccs-reg-access.c | 185 rval = ____ccs_read_addr(sensor, CCS_REG_ADDR(reg), len, val); in __ccs_read_addr() 187 rval = ____ccs_read_addr_8only(sensor, CCS_REG_ADDR(reg), len, in __ccs_read_addr() 209 if (regs->addr + regs->len < CCS_REG_ADDR(reg) + width) in __ccs_read_data() 212 if (regs->addr > CCS_REG_ADDR(reg)) in __ccs_read_data() 215 data = ®s->value[CCS_REG_ADDR(reg) - regs->addr]; in __ccs_read_data() 337 put_unaligned_be16(CCS_REG_ADDR(reg), data); in ccs_write_addr_no_quirk() 341 CCS_REG_ADDR(reg), ccs_reg_width(reg) << 1, in ccs_write_addr_no_quirk() 348 CCS_REG_ADDR(reg), r); in ccs_write_addr_no_quirk()
|
D | ccs-reg-access.h | 20 #define CCS_REG_ADDR(reg) ((u16)reg) macro
|