Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_dsb.c106 if (drm_WARN_ON(&dev_priv->drm, dsb->free_pos >= DSB_BUF_SIZE)) { in intel_dsb_indexed_reg_write()
130 dsb->free_pos = ALIGN(dsb->free_pos, 2); in intel_dsb_indexed_reg_write()
132 dsb->ins_start_offset = dsb->free_pos; in intel_dsb_indexed_reg_write()
135 buf[dsb->free_pos++] = 1; in intel_dsb_indexed_reg_write()
138 buf[dsb->free_pos++] = (DSB_OPCODE_INDEXED_WRITE << in intel_dsb_indexed_reg_write()
143 buf[dsb->free_pos++] = val; in intel_dsb_indexed_reg_write()
146 buf[dsb->free_pos++] = val; in intel_dsb_indexed_reg_write()
153 if (dsb->free_pos & 0x1) in intel_dsb_indexed_reg_write()
154 buf[dsb->free_pos] = 0; in intel_dsb_indexed_reg_write()
184 if (drm_WARN_ON(&dev_priv->drm, dsb->free_pos >= DSB_BUF_SIZE)) { in intel_dsb_reg_write()
[all …]
Dintel_dsb.h33 int free_pos; member
/Linux-v5.10/drivers/i3c/master/
Ddw-i3c-master.c231 u32 free_pos; member
327 if (!(master->free_pos & GENMASK(master->maxdevs - 1, 0))) in dw_i3c_master_get_free_pos()
330 return ffs(master->free_pos) - 1; in dw_i3c_master_get_free_pos()
770 olddevs = ~(master->free_pos); in dw_i3c_master_daa()
912 master->free_pos |= BIT(data->index); in dw_i3c_master_reattach_i3c_dev()
916 master->free_pos &= ~BIT(pos); in dw_i3c_master_reattach_i3c_dev()
945 master->free_pos &= ~BIT(pos); in dw_i3c_master_attach_i3c_dev()
967 master->free_pos |= BIT(data->index); in dw_i3c_master_detach_i3c_dev()
1053 master->free_pos &= ~BIT(pos); in dw_i3c_master_attach_i2c_dev()
1076 master->free_pos |= BIT(data->index); in dw_i3c_master_detach_i2c_dev()
[all …]