Home
last modified time | relevance | path

Searched refs:svid (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v5.10/drivers/usb/typec/
Dbus.c277 size_t n, u16 svid, u8 mode) in typec_match_altmode() argument
284 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) in typec_match_altmode()
315 for (id = drv->id_table; id->svid; id++) in typec_match()
316 if (id->svid == altmode->svid && in typec_match()
326 if (add_uevent_var(env, "SVID=%04X", altmode->svid)) in typec_uevent()
333 altmode->svid, altmode->mode); in typec_uevent()
/Linux-v5.10/arch/powerpc/platforms/85xx/
Dppa8548.c46 uint32_t svid, phid1; in ppa8548_show_cpuinfo() local
48 svid = mfspr(SPRN_SVR); in ppa8548_show_cpuinfo()
51 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in ppa8548_show_cpuinfo()
Dstx_gp3.c71 uint pvid, svid, phid1; in stx_gp3_show_cpuinfo() local
74 svid = mfspr(SPRN_SVR); in stx_gp3_show_cpuinfo()
78 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in stx_gp3_show_cpuinfo()
Dtqm85xx.c70 uint pvid, svid, phid1; in tqm85xx_show_cpuinfo() local
73 svid = mfspr(SPRN_SVR); in tqm85xx_show_cpuinfo()
77 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in tqm85xx_show_cpuinfo()
Dsbc8548.c96 uint pvid, svid, phid1; in sbc8548_show_cpuinfo() local
99 svid = mfspr(SPRN_SVR); in sbc8548_show_cpuinfo()
104 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in sbc8548_show_cpuinfo()
Dksi8560.c148 uint pvid, svid, phid1; in ksi8560_show_cpuinfo() local
151 svid = mfspr(SPRN_SVR); in ksi8560_show_cpuinfo()
165 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in ksi8560_show_cpuinfo()
Dmpc85xx_ads.c138 uint pvid, svid, phid1; in mpc85xx_ads_show_cpuinfo() local
141 svid = mfspr(SPRN_SVR); in mpc85xx_ads_show_cpuinfo()
145 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in mpc85xx_ads_show_cpuinfo()
Dmpc85xx_cds.c355 uint pvid, svid, phid1; in mpc85xx_cds_show_cpuinfo() local
358 svid = mfspr(SPRN_SVR); in mpc85xx_cds_show_cpuinfo()
364 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in mpc85xx_cds_show_cpuinfo()
/Linux-v5.10/drivers/usb/typec/ucsi/
Ducsi_ccg.c182 u16 svid; member
370 alt[i].svid = orig[i].svid; in ucsi_ccg_update_altmodes()
372 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
377 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
386 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
390 updated[k].svid = new_alt[k].svid; in ucsi_ccg_update_altmodes()
397 if (alt[i].svid != alt[j].svid || in ucsi_ccg_update_altmodes()
402 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
415 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
420 updated[k].svid = new_alt[k].svid; in ucsi_ccg_update_altmodes()
[all …]
Ducsi.c219 static int ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) in ucsi_altmode_next_mode() argument
228 if (alt[i]->svid == svid) in ucsi_altmode_next_mode()
265 ret = ucsi_altmode_next_mode(con->port_altmode, desc->svid); in ucsi_register_altmode()
271 switch (desc->svid) { in ucsi_register_altmode()
302 ret = ucsi_altmode_next_mode(con->partner_altmode, desc->svid); in ucsi_register_altmode()
326 desc->svid, desc->mode); in ucsi_register_altmode()
370 if (!len || !alt.svid) in ucsi_register_altmodes_nvidia()
374 orig[k].svid = alt.svid; in ucsi_register_altmodes_nvidia()
388 desc.svid = updated[i].svid; in ucsi_register_altmodes_nvidia()
391 desc.svid = orig[i].svid; in ucsi_register_altmodes_nvidia()
[all …]
Dtrace.h90 __field(u16, svid)
96 __entry->svid = alt->svid;
101 ucsi_recipient_str(__entry->recipient), __entry->svid,
/Linux-v5.10/arch/powerpc/platforms/83xx/
Dkm83xx.c48 uint svid = mfspr(SPRN_SVR); in quirk_mpc8360e_qe_enet10() local
90 if (SVR_REV(svid) == 0x0021) { in quirk_mpc8360e_qe_enet10()
96 } else if (SVR_REV(svid) == 0x0020) { in quirk_mpc8360e_qe_enet10()
Dmpc836x_mds.c96 uint svid; in mpc836x_mds_setup_arch() local
105 svid = mfspr(SPRN_SVR); in mpc836x_mds_setup_arch()
106 if (svid == 0x80480021) { in mpc836x_mds_setup_arch()
/Linux-v5.10/drivers/usb/typec/altmodes/
Dnvidia.c14 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_probe()
22 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_remove()
/Linux-v5.10/arch/powerpc/platforms/86xx/
Dsbc8641d.c53 uint svid = mfspr(SPRN_SVR); in sbc8641_show_cpuinfo() local
57 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in sbc8641_show_cpuinfo()
Dmpc86xx_hpcn.c82 uint svid = mfspr(SPRN_SVR); in mpc86xx_hpcn_show_cpuinfo() local
86 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in mpc86xx_hpcn_show_cpuinfo()
Dgef_sbc610.c124 uint svid = mfspr(SPRN_SVR); in gef_sbc610_show_cpuinfo() local
132 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in gef_sbc610_show_cpuinfo()
Dgef_sbc310.c132 uint svid = mfspr(SPRN_SVR); in gef_sbc310_show_cpuinfo() local
141 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in gef_sbc310_show_cpuinfo()
Dgef_ppc9a.c142 uint svid = mfspr(SPRN_SVR); in gef_ppc9a_show_cpuinfo() local
150 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in gef_ppc9a_show_cpuinfo()
/Linux-v5.10/include/linux/usb/
Dtypec_altmode.h26 u16 svid; member
123 size_t n, u16 svid, u8 mode);
/Linux-v5.10/fs/lockd/
Dxdr4.c118 lock->svid = ntohl(*p++); in nlm4_decode_lock()
153 *p++ = htonl(resp->lock.svid); in nlm4_encode_testres()
168 resp->status, (int)resp->lock.svid, fl->fl_type, in nlm4_encode_testres()
266 lock->svid = ~(u32) 0; in nlm4svc_decode_shareargs()
Dclnt4xdr.c247 encode_int32(xdr, lock->svid); in encode_nlm4_holder()
273 lock->svid = be32_to_cpup(p); in decode_nlm4_holder()
274 fl->fl_pid = (pid_t)lock->svid; in decode_nlm4_holder()
336 *p++ = cpu_to_be32(lock->svid); in encode_nlm4_lock()
Dclntxdr.c242 encode_int32(xdr, lock->svid); in encode_nlm_holder()
267 lock->svid = be32_to_cpup(p); in decode_nlm_holder()
268 fl->fl_pid = (pid_t)lock->svid; in decode_nlm_holder()
330 *p++ = cpu_to_be32(lock->svid); in encode_nlm_lock()
Dxdr.c126 lock->svid = ntohl(*p++); in nlm_decode_lock()
160 *p++ = htonl(resp->lock.svid); in nlm_encode_testres()
269 lock->svid = ~(u32) 0; in nlmsvc_decode_shareargs()
/Linux-v5.10/include/linux/lockd/
Dxdr.h43 u32 svid; member

12