Home
last modified time | relevance | path

Searched refs:wvalue (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/staging/rtl8712/
Dusb_ops.c29 u16 wvalue; in usb_read8() local
39 wvalue = (u16)(addr & 0x0000ffff); in usb_read8()
41 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read8()
52 u16 wvalue; in usb_read16() local
62 wvalue = (u16)(addr & 0x0000ffff); in usb_read16()
64 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read16()
75 u16 wvalue; in usb_read32() local
85 wvalue = (u16)(addr & 0x0000ffff); in usb_read32()
87 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read32()
98 u16 wvalue; in usb_write8() local
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dedid.c183 u32 wvalue = *(u32 *)p_data; in gmbus1_mmio_write() local
186 if (!(wvalue & GMBUS_SW_CLR_INT)) { in gmbus1_mmio_write()
200 if (wvalue & GMBUS_SW_CLR_INT) { in gmbus1_mmio_write()
208 if (wvalue & GMBUS_SW_RDY) in gmbus1_mmio_write()
209 wvalue &= ~GMBUS_SW_RDY; in gmbus1_mmio_write()
212 gmbus1_total_byte_count(wvalue); in gmbus1_mmio_write()
213 target_addr = gmbus1_target_addr(wvalue); in gmbus1_mmio_write()
225 if (wvalue & GMBUS_CYCLE_INDEX) in gmbus1_mmio_write()
227 gmbus1_target_index(wvalue); in gmbus1_mmio_write()
229 i2c_edid->gmbus.cycle_type = gmbus1_bus_cycle(wvalue); in gmbus1_mmio_write()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Dusb.c64 u16 wvalue; in _usb_read_sync() local
74 wvalue = (u16)addr; in _usb_read_sync()
75 _usbctrl_vendorreq_sync(udev, REALTEK_USB_VENQT_READ, wvalue, data, len); in _usb_read_sync()
86 u16 wvalue; in _usb_write_sync() local
94 wvalue = (u16)(addr & 0x0000ffff); in _usb_write_sync()
97 _usbctrl_vendorreq_sync(udev, REALTEK_USB_VENQT_WRITE, wvalue, data, len); in _usb_write_sync()
/linux-6.12.1/sound/usb/
Dmixer_quirks.c3582 static const char *snd_djm_get_label_caplevel(u16 wvalue) in snd_djm_get_label_caplevel() argument
3584 switch (wvalue) { in snd_djm_get_label_caplevel()
3593 static const char *snd_djm_get_label_cap_common(u16 wvalue) in snd_djm_get_label_cap_common() argument
3595 switch (wvalue & 0x00ff) { in snd_djm_get_label_cap_common()
3617 static const char *snd_djm_get_label_cap_850(u16 wvalue) in snd_djm_get_label_cap_850() argument
3619 switch (wvalue & 0x00ff) { in snd_djm_get_label_cap_850()
3622 default: return snd_djm_get_label_cap_common(wvalue); in snd_djm_get_label_cap_850()
3626 static const char *snd_djm_get_label_cap(u8 device_idx, u16 wvalue) in snd_djm_get_label_cap() argument
3629 case SND_DJM_850_IDX: return snd_djm_get_label_cap_850(wvalue); in snd_djm_get_label_cap()
3630 default: return snd_djm_get_label_cap_common(wvalue); in snd_djm_get_label_cap()
[all …]
/linux-6.12.1/drivers/usb/dwc2/
Dhcd.c3383 u16 wvalue, u16 windex, char *buf, u16 wlength) in dwc2_hcd_hub_control() argument
3395 dev_dbg(hsotg->dev, "ClearHubFeature %1xh\n", wvalue); in dwc2_hcd_hub_control()
3397 switch (wvalue) { in dwc2_hcd_hub_control()
3407 wvalue); in dwc2_hcd_hub_control()
3412 if (wvalue != USB_PORT_FEAT_L1) in dwc2_hcd_hub_control()
3415 switch (wvalue) { in dwc2_hcd_hub_control()
3502 wvalue); in dwc2_hcd_hub_control()
3620 if (wvalue != USB_PORT_FEAT_TEST && (!windex || windex > 1)) in dwc2_hcd_hub_control()
3634 switch (wvalue) { in dwc2_hcd_hub_control()
3731 wvalue); in dwc2_hcd_hub_control()
[all …]
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_init.c5700 uint32_t dvalue, wvalue, lvalue, avalue; in lpfc_cmf_stats_timer() local
5767 wvalue = 0; in lpfc_cmf_stats_timer()
5771 wvalue = atomic_read(&phba->cgn_fabric_warn_cnt); in lpfc_cmf_stats_timer()
5789 value = (uint16_t)wvalue; in lpfc_cmf_stats_timer()
5810 index, dvalue, wvalue, *lptr, mvalue, avalue); in lpfc_cmf_stats_timer()
5824 wvalue = 0; in lpfc_cmf_stats_timer()
5831 wvalue += le16_to_cpu(cp->cgn_warn_min[i]); in lpfc_cmf_stats_timer()
5844 *lptr = cpu_to_le32(wvalue); in lpfc_cmf_stats_timer()
5855 index, dvalue, wvalue, lvalue, mvalue, avalue); in lpfc_cmf_stats_timer()
5871 wvalue = 0; in lpfc_cmf_stats_timer()
[all …]