Home
last modified time | relevance | path

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

12

/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/net/appletalk/
Dddp.c136 struct sockaddr_at *sat) in atalk_find_or_insert_socket() argument
145 if (at->src_net == sat->sat_addr.s_net && in atalk_find_or_insert_socket()
146 at->src_node == sat->sat_addr.s_node && in atalk_find_or_insert_socket()
147 at->src_port == sat->sat_port) in atalk_find_or_insert_socket()
1082 static int atalk_pick_and_bind_port(struct sock *sk, struct sockaddr_at *sat) in atalk_pick_and_bind_port() argument
1088 for (sat->sat_port = ATPORT_RESERVED; in atalk_pick_and_bind_port()
1089 sat->sat_port < ATPORT_LAST; in atalk_pick_and_bind_port()
1090 sat->sat_port++) { in atalk_pick_and_bind_port()
1096 if (at->src_net == sat->sat_addr.s_net && in atalk_pick_and_bind_port()
1097 at->src_node == sat->sat_addr.s_node && in atalk_pick_and_bind_port()
[all …]
Daarp.c106 struct atalk_addr *sat = atalk_find_dev_addr(dev); in __aarp_send_query() local
111 if (!sat) { in __aarp_send_query()
135 eah->pa_src_net = sat->s_net; in __aarp_send_query()
136 eah->pa_src_node = sat->s_node; in __aarp_send_query()
397 struct atalk_addr *sat) in __aarp_find_entry() argument
400 if (list->target_addr.s_net == sat->s_net && in __aarp_find_entry()
401 list->target_addr.s_node == sat->s_node && in __aarp_find_entry()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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 …]
/Linux-v5.15/arch/arm/boot/dts/
Dsun8i-a33.dtsi368 reg-names = "be", "sat";
372 "ram", "sat";
374 reset-names = "be", "sat";
/Linux-v5.15/drivers/video/fbdev/
Dpxa168fb.h350 #define CFG_SATURATION(sat) (sat) argument
/Linux-v5.15/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.c87 asyh->procamp.sat.cos = ((vib * 2047 + adj) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
88 asyh->procamp.sat.sin = ((hue * 2047) / 100) & 0xfff; in nv50_head_atomic_check_procamp()
/Linux-v5.15/net/sctp/
Dsm_make_chunk.c214 struct sctp_supported_addrs_param sat; in sctp_make_init() local
335 sat.param_hdr.type = SCTP_PARAM_SUPPORTED_ADDRESS_TYPES; in sctp_make_init()
336 sat.param_hdr.length = htons(SCTP_SAT_LEN(num_types)); in sctp_make_init()
337 sctp_addto_chunk(retval, sizeof(sat), &sat); in sctp_make_init()
2554 __u16 sat; in sctp_process_param() local
2612 sat = ntohs(param.p->length) - sizeof(struct sctp_paramhdr); in sctp_process_param()
2613 if (sat) in sctp_process_param()
2614 sat /= sizeof(__u16); in sctp_process_param()
2616 for (i = 0; i < sat; ++i) { in sctp_process_param()
2617 switch (param.sat->types[i]) { in sctp_process_param()
/Linux-v5.15/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()
/Linux-v5.15/include/uapi/linux/
Drkisp1-config.h409 __u8 sat; member
/Linux-v5.15/drivers/media/i2c/
Dov7670.c1367 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix() argument
1374 matrix[i] = (info->fmt->cmatrix[i] * sat) >> 7; in ov7670_calc_cmatrix()
1396 static int ov7670_s_sat_hue(struct v4l2_subdev *sd, int sat, int hue) in ov7670_s_sat_hue() argument
1401 ov7670_calc_cmatrix(info, matrix, sat, hue); in ov7670_s_sat_hue()
/Linux-v5.15/include/video/
Dimx-ipu-v3.h420 bool sat:1; /* saturate to (16, 235(Y) / 240(U, V)) */ member
/Linux-v5.15/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h578 #define CFG_SATURATION(sat) (sat) argument
/Linux-v5.15/include/net/sctp/
Dstructs.h365 struct sctp_supported_addrs_param *sat; member

12