Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/rtl8712/
Dusb_ops.c29 u16 wvalue; in usb_read8() local
38 wvalue = (u16)(addr & 0x0000ffff); in usb_read8()
40 r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, in usb_read8()
49 u16 wvalue; in usb_read16() local
58 wvalue = (u16)(addr & 0x0000ffff); in usb_read16()
60 r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, in usb_read16()
69 u16 wvalue; in usb_read32() local
78 wvalue = (u16)(addr & 0x0000ffff); in usb_read32()
80 r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, in usb_read32()
89 u16 wvalue; in usb_write8() local
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Dedid.c180 u32 wvalue = *(u32 *)p_data; in gmbus1_mmio_write() local
183 if (!(wvalue & GMBUS_SW_CLR_INT)) { in gmbus1_mmio_write()
197 if (wvalue & GMBUS_SW_CLR_INT) { in gmbus1_mmio_write()
205 if (wvalue & GMBUS_SW_RDY) in gmbus1_mmio_write()
206 wvalue &= ~GMBUS_SW_RDY; in gmbus1_mmio_write()
209 gmbus1_total_byte_count(wvalue); in gmbus1_mmio_write()
210 slave_addr = gmbus1_slave_addr(wvalue); in gmbus1_mmio_write()
222 if (wvalue & GMBUS_CYCLE_INDEX) in gmbus1_mmio_write()
224 gmbus1_slave_index(wvalue); in gmbus1_mmio_write()
226 i2c_edid->gmbus.cycle_type = gmbus1_bus_cycle(wvalue); in gmbus1_mmio_write()
[all …]
/Linux-v5.15/drivers/staging/r8188eu/hal/
Dusb_ops_linux.c102 u16 wvalue = (u16)(addr & 0x0000ffff); in usb_read8() local
105 usbctrl_vendorreq(pintfhdl, wvalue, &data, 1, REALTEK_USB_VENQT_READ); in usb_read8()
112 u16 wvalue = (u16)(addr & 0x0000ffff); in usb_read16() local
115 usbctrl_vendorreq(pintfhdl, wvalue, &data, 2, REALTEK_USB_VENQT_READ); in usb_read16()
122 u16 wvalue = (u16)(addr & 0x0000ffff); in usb_read32() local
125 usbctrl_vendorreq(pintfhdl, wvalue, &data, 4, REALTEK_USB_VENQT_READ); in usb_read32()
132 u16 wvalue = (u16)(addr & 0x0000ffff); in usb_write8() local
134 return usbctrl_vendorreq(pintfhdl, wvalue, &val, 1, REALTEK_USB_VENQT_WRITE); in usb_write8()
139 u16 wvalue = (u16)(addr & 0x0000ffff); in usb_write16() local
142 return usbctrl_vendorreq(pintfhdl, wvalue, &data, 2, REALTEK_USB_VENQT_WRITE); in usb_write16()
[all …]
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/
Dusb.c127 u16 wvalue; in _usb_read_sync() local
140 wvalue = (u16)addr; in _usb_read_sync()
141 _usbctrl_vendorreq_sync_read(udev, request, wvalue, index, data, len); in _usb_read_sync()
164 u16 wvalue; in _usb_write_async() local
170 wvalue = (u16)(addr&0x0000ffff); in _usb_write_async()
172 _usbctrl_vendorreq_async_write(udev, request, wvalue, index, &data, in _usb_write_async()
204 u16 wvalue; in _usb_writen_sync() local
209 wvalue = (u16)(addr & 0x0000ffff); in _usb_writen_sync()
213 usb_control_msg(udev, pipe, request, reqtype, wvalue, in _usb_writen_sync()
/Linux-v5.15/drivers/staging/r8188eu/include/
Dusb_osintf.h17 enum rt_usb_wvalue wvalue, u8 windex, void *data,
/Linux-v5.15/sound/usb/
Dmixer_quirks.c2826 static const char *snd_djm_get_label_caplevel(u16 wvalue) in snd_djm_get_label_caplevel() argument
2828 switch (wvalue) { in snd_djm_get_label_caplevel()
2837 static const char *snd_djm_get_label_cap_common(u16 wvalue) in snd_djm_get_label_cap_common() argument
2839 switch (wvalue & 0x00ff) { in snd_djm_get_label_cap_common()
2861 static const char *snd_djm_get_label_cap_850(u16 wvalue) in snd_djm_get_label_cap_850() argument
2863 switch (wvalue & 0x00ff) { in snd_djm_get_label_cap_850()
2866 default: return snd_djm_get_label_cap_common(wvalue); in snd_djm_get_label_cap_850()
2870 static const char *snd_djm_get_label_cap(u8 device_idx, u16 wvalue) in snd_djm_get_label_cap() argument
2873 case SND_DJM_850_IDX: return snd_djm_get_label_cap_850(wvalue); in snd_djm_get_label_cap()
2874 default: return snd_djm_get_label_cap_common(wvalue); in snd_djm_get_label_cap()
[all …]
/Linux-v5.15/drivers/usb/dwc2/
Dhcd.c3410 u16 wvalue, u16 windex, char *buf, u16 wlength) in dwc2_hcd_hub_control() argument
3422 dev_dbg(hsotg->dev, "ClearHubFeature %1xh\n", wvalue); in dwc2_hcd_hub_control()
3424 switch (wvalue) { in dwc2_hcd_hub_control()
3434 wvalue); in dwc2_hcd_hub_control()
3439 if (wvalue != USB_PORT_FEAT_L1) in dwc2_hcd_hub_control()
3442 switch (wvalue) { in dwc2_hcd_hub_control()
3529 wvalue); in dwc2_hcd_hub_control()
3647 if (wvalue != USB_PORT_FEAT_TEST && (!windex || windex > 1)) in dwc2_hcd_hub_control()
3661 switch (wvalue) { in dwc2_hcd_hub_control()
3758 wvalue); in dwc2_hcd_hub_control()
[all …]
/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_init.c5548 uint32_t dvalue, wvalue, lvalue, avalue; in lpfc_cgn_save_evt_cnt() local
5618 wvalue = 0; in lpfc_cgn_save_evt_cnt()
5622 wvalue = atomic_read(&phba->cgn_fabric_warn_cnt); in lpfc_cgn_save_evt_cnt()
5640 value = (uint16_t)wvalue; in lpfc_cgn_save_evt_cnt()
5661 index, dvalue, wvalue, *lptr, mvalue, avalue); in lpfc_cgn_save_evt_cnt()
5675 wvalue = 0; in lpfc_cgn_save_evt_cnt()
5682 wvalue += le16_to_cpu(cp->cgn_warn_min[i]); in lpfc_cgn_save_evt_cnt()
5695 *lptr = cpu_to_le32(wvalue); in lpfc_cgn_save_evt_cnt()
5706 index, dvalue, wvalue, lvalue, mvalue, avalue); in lpfc_cgn_save_evt_cnt()
5747 wvalue = 0; in lpfc_cgn_save_evt_cnt()
[all …]