Searched refs:CVAL (Results  1 – 3 of 3) sorted by relevance
| /Linux-v5.4/fs/cifs/ | 
| D | smbencrypt.c | 37 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos])  macro 38 #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8)
  | 
| /Linux-v5.4/drivers/gpu/drm/omapdrm/dss/ | 
| D | dispc.c | 875 #define CVAL(x, y) (FLD_VAL(x, 26, 16) | FLD_VAL(y, 10, 0))  in dispc_ovl_write_color_conv_coef()  macro 877 	dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 0), CVAL(ct->rcr, ct->ry));  in dispc_ovl_write_color_conv_coef() 878 	dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->gy,  ct->rcb));  in dispc_ovl_write_color_conv_coef() 879 	dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->gcb, ct->gcr));  in dispc_ovl_write_color_conv_coef() 880 	dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 3), CVAL(ct->bcr, ct->by));  in dispc_ovl_write_color_conv_coef() 881 	dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 4), CVAL(0, ct->bcb));  in dispc_ovl_write_color_conv_coef() 885 #undef CVAL  in dispc_ovl_write_color_conv_coef() 893 #define CVAL(x, y) (FLD_VAL(x, 26, 16) | FLD_VAL(y, 10, 0))  in dispc_wb_write_color_conv_coef()  macro 895 	dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 0), CVAL(ct->yg,  ct->yr));  in dispc_wb_write_color_conv_coef() 896 	dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->crr, ct->yb));  in dispc_wb_write_color_conv_coef() [all …] 
 | 
| /Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ | 
| D | dispc.c | 692 #define CVAL(x, y) (FLD_VAL(x, 26, 16) | FLD_VAL(y, 10, 0))  in dispc_ovl_write_color_conv_coef()  macro 694 	dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 0), CVAL(ct->rcr, ct->ry));  in dispc_ovl_write_color_conv_coef() 695 	dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->gy,  ct->rcb));  in dispc_ovl_write_color_conv_coef() 696 	dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->gcb, ct->gcr));  in dispc_ovl_write_color_conv_coef() 697 	dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 3), CVAL(ct->bcr, ct->by));  in dispc_ovl_write_color_conv_coef() 698 	dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 4), CVAL(0, ct->bcb));  in dispc_ovl_write_color_conv_coef() 702 #undef CVAL  in dispc_ovl_write_color_conv_coef()
  |