Searched refs:amode (Results 1 – 9 of 9) sorted by relevance
/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 | 176 typec_unregister_altmode(node->amode); in cros_typec_unregister_altmodes() 290 struct typec_altmode *amode; in cros_typec_register_port_altmodes() local 296 amode = typec_port_register_altmode(port->port, &desc); in cros_typec_register_port_altmodes() 297 if (IS_ERR(amode)) in cros_typec_register_port_altmodes() 298 return PTR_ERR(amode); in cros_typec_register_port_altmodes() 299 port->port_altmode[CROS_EC_ALTMODE_DP] = amode; in cros_typec_register_port_altmodes() 300 typec_altmode_set_drvdata(amode, port); in cros_typec_register_port_altmodes() 301 amode->ops = &port_amode_ops; in cros_typec_register_port_altmodes() 311 amode = typec_port_register_altmode(port->port, &desc); in cros_typec_register_port_altmodes() 312 if (IS_ERR(amode)) in cros_typec_register_port_altmodes() [all …]
|
H A D | cros_ec_typec.h | 26 struct typec_altmode *amode; member
|
/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/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
|