| /linux/drivers/platform/chrome/ |
| H A D | cros_typec_vdm.c | 26 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 81 amode = typec_match_altmode(typec->ports[port_num]->port_altmode, CROS_EC_ALTMODE_MAX, in cros_typec_handle_vdm_response() 83 if (!amode) { in cros_typec_handle_vdm_response() 89 ret = typec_altmode_vdm(amode, hdr, &resp.vdm_response[1], resp.vdm_data_objects); 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() [all …]
|
| H A D | cros_ec_typec.c | 287 typec_unregister_altmode(node->amode); in cros_typec_unregister_altmodes() 401 struct typec_altmode *amode; in cros_typec_register_port_altmodes() local 408 amode = cros_typec_register_displayport(port, &desc, in cros_typec_register_port_altmodes() 410 if (IS_ERR(amode)) in cros_typec_register_port_altmodes() 411 return PTR_ERR(amode); in cros_typec_register_port_altmodes() 412 port->port_altmode[CROS_EC_ALTMODE_DP] = amode; in cros_typec_register_port_altmodes() 425 amode = cros_typec_register_thunderbolt(port, &desc); in cros_typec_register_port_altmodes() 426 if (IS_ERR(amode)) in cros_typec_register_port_altmodes() 427 return PTR_ERR(amode); in cros_typec_register_port_altmodes() 428 port->port_altmode[CROS_EC_ALTMODE_TBT] = amode; in cros_typec_register_port_altmodes() [all …]
|
| /linux/tools/include/nolibc/ |
| H A D | unistd.h | 34 int sys_faccessat(int fd, const char *path, int amode, int flag) in sys_faccessat() argument 36 return my_syscall4(__NR_faccessat, fd, path, amode, flag); in sys_faccessat() 40 int faccessat(int fd, const char *path, int amode, int flag) in faccessat() argument 42 return __sysret(sys_faccessat(fd, path, amode, flag)); in faccessat() 46 int access(const char *path, int amode) in access() argument 48 return faccessat(AT_FDCWD, path, amode, 0); in access()
|
| /linux/drivers/usb/typec/ |
| H A D | anx7411.c | 251 struct typec_altmode *amode[MAX_ALTMODE]; member 543 if (ctx->typec.amode[i]) { in anx7411_partner_unregister_altmode() 544 typec_unregister_altmode(ctx->typec.amode[i]); in anx7411_partner_unregister_altmode() 545 ctx->typec.amode[i] = NULL; in anx7411_partner_unregister_altmode() 563 if (!ctx->typec.amode[i]) in anx7411_typec_register_altmode() 573 ctx->typec.amode[i] = typec_partner_register_altmode(ctx->typec.partner, in anx7411_typec_register_altmode() 575 if (IS_ERR(ctx->typec.amode[i])) { in anx7411_typec_register_altmode() 577 err = PTR_ERR(ctx->typec.amode[i]); in anx7411_typec_register_altmode() 578 ctx->typec.amode[i] = NULL; in anx7411_typec_register_altmode() 603 if (!ctx->typec.amode[i]) in anx7411_update_altmode() [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-ds1286.c | 95 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/drivers/usb/typec/tipd/ |
| H A D | core.c | 1241 struct typec_altmode *amode; in cd321x_register_port_altmodes() local 1248 amode = typec_port_register_altmode(cd321x->tps.port, &desc); in cd321x_register_port_altmodes() 1249 if (IS_ERR(amode)) in cd321x_register_port_altmodes() 1250 return PTR_ERR(amode); in cd321x_register_port_altmodes() 1251 cd321x->port_altmode_dp = amode; in cd321x_register_port_altmodes() 1256 amode = typec_port_register_altmode(cd321x->tps.port, &desc); in cd321x_register_port_altmodes() 1257 if (IS_ERR(amode)) { in cd321x_register_port_altmodes() 1260 return PTR_ERR(amode); in cd321x_register_port_altmodes() 1262 cd321x->port_altmode_tbt = amode; in cd321x_register_port_altmodes()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 74 int amode, err; in os_access() local 76 amode = (mode & OS_ACC_R_OK ? R_OK : 0) | in os_access() 81 err = access(file, amode); in os_access()
|
| /linux/drivers/crypto/chelsio/ |
| H A D | chcr_algo.h | 145 #define FILL_SEC_CPL_SCMD0_SEQNO(ctrl, seq, cmode, amode, opad, size) \ argument 153 SCMD_AUTH_MODE_V((amode)) | \
|
| /linux/drivers/video/fbdev/ |
| H A D | pxa168fb.h | 285 #define CFG_ALPHA_MODE(amode) ((amode) << 16) argument
|
| /linux/drivers/video/fbdev/mmp/hw/ |
| H A D | mmp_ctrl.h | 510 #define CFG_ALPHA_MODE(amode) ((amode)<<16) argument
|