Home
last modified time | relevance | path

Searched refs:sat (Results 1 – 20 of 20) sorted by relevance

/drivers/macintosh/
Dwindfarm_smu_sat.c45 struct wf_sat *sat; member
54 struct wf_sat *sat; in smu_sat_get_sdb_partition() local
62 if (sat_id > 1 || (sat = sats[sat_id]) == NULL) in smu_sat_get_sdb_partition()
65 err = i2c_smbus_write_word_data(sat->i2c, 8, id << 8); in smu_sat_get_sdb_partition()
71 err = i2c_smbus_read_word_data(sat->i2c, 9); in smu_sat_get_sdb_partition()
89 err = i2c_smbus_read_i2c_block_data(sat->i2c, 0xa, 4, data); in smu_sat_get_sdb_partition()
115 static int wf_sat_read_cache(struct wf_sat *sat) in wf_sat_read_cache() argument
119 err = i2c_smbus_read_i2c_block_data(sat->i2c, 0x3f, 16, sat->cache); in wf_sat_read_cache()
122 sat->last_read = jiffies; in wf_sat_read_cache()
129 16, 1, sat->cache, 16, false); in wf_sat_read_cache()
[all …]
/drivers/misc/lkdtm/
Drefcount.c272 refcount_t sat = REFCOUNT_INIT(REFCOUNT_SATURATED); in lkdtm_REFCOUNT_INC_SATURATED() local
275 refcount_inc(&sat); in lkdtm_REFCOUNT_INC_SATURATED()
277 check_saturated(&sat); in lkdtm_REFCOUNT_INC_SATURATED()
283 refcount_t sat = REFCOUNT_INIT(REFCOUNT_SATURATED); in lkdtm_REFCOUNT_DEC_SATURATED() local
286 refcount_dec(&sat); in lkdtm_REFCOUNT_DEC_SATURATED()
288 check_saturated(&sat); in lkdtm_REFCOUNT_DEC_SATURATED()
294 refcount_t sat = REFCOUNT_INIT(REFCOUNT_SATURATED); in lkdtm_REFCOUNT_ADD_SATURATED() local
297 refcount_add(8, &sat); in lkdtm_REFCOUNT_ADD_SATURATED()
299 check_saturated(&sat); in lkdtm_REFCOUNT_ADD_SATURATED()
305 refcount_t sat = REFCOUNT_INIT(REFCOUNT_SATURATED); in lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED() local
[all …]
/drivers/gpu/ipu-v3/
Dipu-ic-csc.c77 .sat = true,
137 .sat = true,
160 .sat = true,
259 .sat = true,
282 .sat = true,
Dipu-ic.c196 (csc->params.sat << 10); in init_csc()
/drivers/media/usb/gspca/gl860/
Dgl860-mi1320.c346 s32 sat = sd->vcur.saturation; in mi1320_camera_settings() local
416 if (sat != sd->vold.saturation) { in mi1320_camera_settings()
417 sd->vold.saturation = sat; in mi1320_camera_settings()
418 if (sat < 0 || sat > sd->vmax.saturation) in mi1320_camera_settings()
419 sat = 0; in mi1320_camera_settings()
421 sat = tbl_sat[sat]; in mi1320_camera_settings()
425 ctrl_out(gspca_dev, 0x40, 1, 0xba00 + sat, 0x00f1, 0, NULL); in mi1320_camera_settings()
Dgl860-ov2640.c344 s32 sat = sd->vcur.saturation; in ov2640_camera_settings() local
393 if (sat != sd->vold.saturation) { in ov2640_camera_settings()
394 sd->vold.saturation = sat; in ov2640_camera_settings()
395 if (sat < 0 || sat > sd->vmax.saturation) in ov2640_camera_settings()
396 sat = 0; in ov2640_camera_settings()
400 ctrl_out(gspca_dev, 0x40, 1, 0x6000 + sat, 0x007d, 0, NULL); in ov2640_camera_settings()
/drivers/media/usb/gspca/
Dconex.c28 struct v4l2_ctrl *sat; member
831 static void setbrightness(struct gspca_dev *gspca_dev, s32 val, s32 sat) in setbrightness() argument
843 reg51c[1] = sat; in setbrightness()
849 static void setcontrast(struct gspca_dev *gspca_dev, s32 val, s32 sat) in setcontrast() argument
859 reg51c[1] = sat; in setcontrast()
878 setbrightness(gspca_dev, ctrl->val, sd->sat->cur.val); in sd_s_ctrl()
881 setcontrast(gspca_dev, ctrl->val, sd->sat->cur.val); in sd_s_ctrl()
906 sd->sat = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
/drivers/s390/char/
Dsclp_sd.c41 u64 sat; member
188 static int sclp_sd_sync(unsigned long page, u8 eq, u8 di, u64 sat, u64 sa, in sclp_sd_sync() argument
209 evbuf->sat = sat; in sclp_sd_sync()
/drivers/dma/ipu/
Dipu_idmac.c205 u32 sat:2; member
253 u32 sat:2; member
300 params->pp.sat = 2; /* SAT = use 32-bit access */ in ipu_ch_param_set_size()
307 params->pp.sat = 2; /* SAT = use 32-bit access */ in ipu_ch_param_set_size()
313 params->ip.sat = 2; /* SAT = 32-bit access */ in ipu_ch_param_set_size()
326 params->ip.sat = 2; /* SAT = 32-bit access */ in ipu_ch_param_set_size()
339 params->ip.sat = 2; /* SAT = 32-bit access */ in ipu_ch_param_set_size()
354 params->ip.sat = 2; /* SAT = 32-bit access */ in ipu_ch_param_set_size()
369 params->ip.sat = 2; /* SAT = 32-bit access */ in ipu_ch_param_set_size()
383 params->ip.sat = 2; /* SAT = 32-bit access */ in ipu_ch_param_set_size()
[all …]
/drivers/gpu/drm/nouveau/dispnv50/
Dheadc37d.c77 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in headc37d_procamp()
78 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in headc37d_procamp()
Datom.h114 } sat; member
Dhead507d.c42 NVVAL(NV507D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in head507d_procamp()
43 NVVAL(NV507D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head507d_procamp()
Dhead907d.c70 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in head907d_procamp()
71 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head907d_procamp()
Dhead.c86 asyh->procamp.sat.cos = ((vib * 2047 + adj) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
87 asyh->procamp.sat.sin = ((hue * 2047) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
/drivers/video/fbdev/
Dpxa168fb.h350 #define CFG_SATURATION(sat) (sat) argument
/drivers/media/pci/ddbridge/
Dddbridge-max.c114 static int lnb_set_sat(struct ddb *dev, u32 link, u32 input, u32 sat, u32 band, in lnb_set_sat() argument
121 cmd.msg[3] = 0xf0 | (((sat << 2) & 0x0c) | (band ? 1 : 0) | in lnb_set_sat()
/drivers/media/i2c/
Dov7670.c1351 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix() argument
1358 matrix[i] = (info->fmt->cmatrix[i] * sat) >> 7; in ov7670_calc_cmatrix()
1380 static int ov7670_s_sat_hue(struct v4l2_subdev *sd, int sat, int hue) in ov7670_s_sat_hue() argument
1386 ov7670_calc_cmatrix(info, matrix, sat, hue); in ov7670_s_sat_hue()
/drivers/staging/media/rkisp1/uapi/
Drkisp1-config.h389 __u8 sat; member
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h578 #define CFG_SATURATION(sat) (sat) argument
/drivers/staging/media/rkisp1/
Drkisp1-params.c563 rkisp1_write(params->rkisp1, arg->sat, RKISP1_CIF_C_PROC_SATURATION); in rkisp1_cproc_config()