Home
last modified time | relevance | path

Searched refs:amode (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/drivers/platform/chrome/
A Dcros_typec_vdm.c26 struct typec_altmode *amode; in cros_typec_handle_vdm_attention() local
43 amode = typec_match_altmode(typec->ports[port_num]->port_altmode, in cros_typec_handle_vdm_attention()
45 if (!amode) { in cros_typec_handle_vdm_attention()
52 typec_altmode_attention(amode, resp.vdm_attention[1]); in cros_typec_handle_vdm_attention()
65 struct typec_altmode *amode; in cros_typec_handle_vdm_response() local
83 if (!amode) { in cros_typec_handle_vdm_response()
95 static int cros_typec_port_amode_enter(struct typec_altmode *amode, u32 *vdo) in cros_typec_port_amode_enter() argument
97 struct cros_typec_port *port = typec_altmode_get_drvdata(amode); in cros_typec_port_amode_enter()
105 hdr = VDO(amode->svid, 1, SVDM_VER_2_0, CMD_ENTER_MODE); in cros_typec_port_amode_enter()
106 hdr |= VDO_OPOS(amode->mode); in cros_typec_port_amode_enter()
[all …]
A Dcros_ec_typec.c271 struct typec_altmode *amode; in cros_typec_register_port_altmodes() local
278 if (IS_ERR(amode)) in cros_typec_register_port_altmodes()
279 return PTR_ERR(amode); in cros_typec_register_port_altmodes()
282 amode->ops = &port_amode_ops; in cros_typec_register_port_altmodes()
293 if (IS_ERR(amode)) in cros_typec_register_port_altmodes()
294 return PTR_ERR(amode); in cros_typec_register_port_altmodes()
297 amode->ops = &port_amode_ops; in cros_typec_register_port_altmodes()
688 struct typec_altmode *amode; in cros_typec_register_altmodes() local
705 if (IS_ERR(amode)) { in cros_typec_register_altmodes()
706 ret = PTR_ERR(amode); in cros_typec_register_altmodes()
[all …]
A Dcros_ec_typec.h26 struct typec_altmode *amode; member
/linux-6.3-rc2/drivers/usb/typec/
A Danx7411.c250 struct typec_altmode *amode[MAX_ALTMODE]; member
540 if (ctx->typec.amode[i]) { in anx7411_partner_unregister_altmode()
541 typec_unregister_altmode(ctx->typec.amode[i]); in anx7411_partner_unregister_altmode()
542 ctx->typec.amode[i] = NULL; in anx7411_partner_unregister_altmode()
560 if (!ctx->typec.amode[i]) in anx7411_typec_register_altmode()
572 if (IS_ERR(ctx->typec.amode[i])) { in anx7411_typec_register_altmode()
574 err = PTR_ERR(ctx->typec.amode[i]); in anx7411_typec_register_altmode()
575 ctx->typec.amode[i] = NULL; in anx7411_typec_register_altmode()
600 if (!ctx->typec.amode[i]) in anx7411_update_altmode()
603 if (ctx->typec.amode[i]->svid == svid) { in anx7411_update_altmode()
[all …]
/linux-6.3-rc2/drivers/rtc/
A Drtc-ds1286.c95 unsigned char month, cmd, amode; in ds1286_proc() local
105 amode = ((ds1286_rtc_read(priv, RTC_MINUTES_ALARM) & 0x80) >> 5) | in ds1286_proc()
108 switch (amode) { in ds1286_proc()
/linux-6.3-rc2/fs/sysfs/
A Dsysfs.h31 const struct attribute *attr, umode_t amode, kuid_t uid,
/linux-6.3-rc2/fs/
A Dattr.c396 umode_t amode = attr->ia_mode; in notify_change() local
398 if (is_sxid(amode)) in notify_change()
/linux-6.3-rc2/drivers/crypto/chelsio/
A Dchcr_algo.h145 #define FILL_SEC_CPL_SCMD0_SEQNO(ctrl, seq, cmode, amode, opad, size) \ argument
153 SCMD_AUTH_MODE_V((amode)) | \
/linux-6.3-rc2/arch/um/os-Linux/
A Dfile.c73 int amode, err; in os_access() local
75 amode = (mode & OS_ACC_R_OK ? R_OK : 0) | in os_access()
80 err = access(file, amode); in os_access()
/linux-6.3-rc2/drivers/video/fbdev/
A Dpxa168fb.h285 #define CFG_ALPHA_MODE(amode) ((amode) << 16) argument
/linux-6.3-rc2/drivers/video/fbdev/mmp/hw/
A Dmmp_ctrl.h510 #define CFG_ALPHA_MODE(amode) ((amode)<<16) argument

Completed in 34 milliseconds