Searched refs:usb_status (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/drivers/usb/c67x00/ |
D | c67x00-hcd.c | 71 u16 status, usb_status; in c67x00_hub_control() local 88 usb_status = c67x00_ll_get_usb_ctl(sie); in c67x00_hub_control() 97 if (usb_status & LOW_SPEED_PORT(port)) { in c67x00_hub_control() 103 if (usb_status & SOF_EOP_EN(port)) in c67x00_hub_control()
|
/Linux-v6.6/drivers/usb/cdns3/ |
D | cdns3-ep0.c | 225 u16 usb_status = 0; in cdns3_req_ep0_get_status() local 235 usb_status = BIT(USB_DEVICE_SELF_POWERED); in cdns3_req_ep0_get_status() 238 usb_status |= BIT(USB_DEVICE_REMOTE_WAKEUP); in cdns3_req_ep0_get_status() 244 usb_status |= BIT(USB_DEV_STAT_U1_ENABLED); in cdns3_req_ep0_get_status() 247 usb_status |= BIT(USB_DEV_STAT_U2_ENABLED); in cdns3_req_ep0_get_status() 260 usb_status = BIT(USB_ENDPOINT_HALT); in cdns3_req_ep0_get_status() 267 *response_pkt = cpu_to_le16(usb_status); in cdns3_req_ep0_get_status()
|
/Linux-v6.6/drivers/net/wireless/ath/ath6kl/ |
D | usb.c | 421 int usb_status; in ath6kl_usb_post_recv_transfers() local 450 usb_status = usb_submit_urb(urb, GFP_ATOMIC); in ath6kl_usb_post_recv_transfers() 452 if (usb_status) { in ath6kl_usb_post_recv_transfers() 455 usb_status); in ath6kl_usb_post_recv_transfers() 719 int usb_status, status = 0; in ath6kl_usb_send() local 772 usb_status = usb_submit_urb(urb, GFP_ATOMIC); in ath6kl_usb_send() 774 if (usb_status) { in ath6kl_usb_send() 777 usb_status); in ath6kl_usb_send()
|
/Linux-v6.6/drivers/usb/dwc3/ |
D | ep0.c | 338 u16 usb_status = 0; in dwc3_ep0_handle_status() local 352 usb_status |= dwc->gadget->is_selfpowered; in dwc3_ep0_handle_status() 358 usb_status |= 1 << USB_DEV_STAT_U1_ENABLED; in dwc3_ep0_handle_status() 360 usb_status |= 1 << USB_DEV_STAT_U2_ENABLED; in dwc3_ep0_handle_status() 362 usb_status |= dwc->gadget->wakeup_armed << in dwc3_ep0_handle_status() 381 usb_status = 1 << USB_ENDPOINT_HALT; in dwc3_ep0_handle_status() 388 *response_pkt = cpu_to_le16(usb_status); in dwc3_ep0_handle_status()
|
/Linux-v6.6/drivers/power/supply/ |
D | mt6360_charger.c | 609 unsigned int usb_status; in mt6360_pmu_attach_i_handler() local 619 ret = regmap_read(mci->regmap, MT6360_PMU_USB_STATUS1, &usb_status); in mt6360_pmu_attach_i_handler() 622 usb_status &= MT6360_USB_STATUS_MASK; in mt6360_pmu_attach_i_handler() 623 usb_status >>= MT6360_USB_STATUS_SHFT; in mt6360_pmu_attach_i_handler() 624 switch (usb_status) { in mt6360_pmu_attach_i_handler()
|
/Linux-v6.6/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 1309 u16 usb_status = 0; in ep0_handle_status() local 1318 usb_status = bdc->devstatus; in ep0_handle_status() 1326 usb_status &= ~REMOTE_WAKE_ENABLE; in ep0_handle_status() 1337 usb_status |= REMOTE_WAKE_ENABLE; in ep0_handle_status() 1339 usb_status = 0; in ep0_handle_status() 1362 usb_status |= 1 << USB_ENDPOINT_HALT; in ep0_handle_status() 1370 dev_dbg(bdc->dev, "usb_status=%08x\n", usb_status); in ep0_handle_status() 1371 *(__le16 *)bdc->ep0_response_buff = cpu_to_le16(usb_status); in ep0_handle_status()
|
/Linux-v6.6/drivers/net/wireless/ath/ath10k/ |
D | usb.c | 210 int usb_status; in ath10k_usb_post_recv_transfers() local 239 usb_status = usb_submit_urb(urb, GFP_ATOMIC); in ath10k_usb_post_recv_transfers() 241 if (usb_status) { in ath10k_usb_post_recv_transfers() 244 usb_status); in ath10k_usb_post_recv_transfers()
|
/Linux-v6.6/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.c | 1946 u16 usb_status = 0; in ch9getstatus() local 1954 usb_status = 1 << USB_DEVICE_SELF_POWERED; in ch9getstatus() 1958 usb_status = 0; in ch9getstatus() 1976 usb_status = 1 << USB_ENDPOINT_HALT; in ch9getstatus() 1981 usb_status = 1 << USB_ENDPOINT_HALT; in ch9getstatus() 1989 *(u16 *)req->req.buf = cpu_to_le16(usb_status); in ch9getstatus()
|
/Linux-v6.6/drivers/input/keyboard/ |
D | applespi.c | 1640 unsigned long long gpe, usb_status; in applespi_probe() local 1643 acpi_sts = acpi_evaluate_integer(spi_handle, "UIST", NULL, &usb_status); in applespi_probe() 1644 if (ACPI_SUCCESS(acpi_sts) && usb_status) { in applespi_probe()
|
/Linux-v6.6/drivers/usb/dwc2/ |
D | gadget.c | 3734 u32 usb_status = dwc2_readl(hsotg, GOTGCTL); in dwc2_hsotg_irq() local 3749 if (usb_status & GOTGCTL_BSESVLD && connected) in dwc2_hsotg_irq()
|