Lines Matching refs:unlikely
92 if (unlikely(xhci_ctrl_count >= XHCI_MAX_HOST_CONTROLLERS)) in xhci_hc_find_available_id()
208 if (unlikely(ptr->TRB_type == TRB_TYPE_LINK)) in __xhci_write_trb()
239 if (unlikely((xhci_read_op_reg32(id, XHCI_OPS_USBSTS) & (1 << 0)) == 1)) in xhci_hc_stop()
273 if (unlikely(retval)) in xhci_hc_reset()
485 if (unlikely(i == j)) in xhci_hc_pair_ports()
567 if (unlikely(table_vaddr == NULL)) in xhci_create_event_ring()
574 if (unlikely(seg_vaddr == NULL)) in xhci_create_event_ring()
1033 if (unlikely(retval != 0)) in xhci_set_address()
1271 if (unlikely(retval != 0)) in xhci_control_in()
1281 if (unlikely(retval != 0)) in xhci_control_in()
1332 if (unlikely(retval != 0)) in xhci_control_out()
1345 if (unlikely(retval != 0)) in xhci_control_out()
1384 if (unlikely(dev_desc == NULL)) in xhci_get_desc()
1394 if (unlikely(count == 0)) in xhci_get_desc()
1406 if (unlikely(dev_desc == NULL)) in xhci_set_configuration()
1425 if (unlikely(conf_desc == NULL)) in xhci_get_config_desc()
1430 if (unlikely(retval != 0)) in xhci_get_config_desc()
1451 if (unlikely(conf_desc == NULL || target == NULL)) in xhci_get_config_desc_full()
1467 if (unlikely(if_desc == NULL || in_buf == NULL)) in xhci_get_interface_desc()
1507 if (unlikely(if_desc == NULL || ep_desc == NULL)) in xhci_get_endpoint_desc()
1529 if (unlikely(dev_desc == NULL)) in xhci_get_descriptor()
1587 if (unlikely(count == 0)) in xhci_get_descriptor()
1698 if (unlikely(dev_desc) == NULL) in xhci_hid_set_idle()
1766 if (unlikely(retval != 0)) in xhci_configure_endpoint()
1807 if (unlikely(retval != 0)) in xhci_configure_port()
1811 if (unlikely(full_conf == NULL)) in xhci_configure_port()
1815 if (unlikely(retval != 0)) in xhci_configure_port()
1820 if (unlikely(retval != 0)) in xhci_configure_port()
1829 if (unlikely(retval != 0)) in xhci_configure_port()
1833 if (unlikely(retval != 0)) in xhci_configure_port()
1839 if (unlikely(retval != 0)) in xhci_configure_port()
1843 if (unlikely(retval != 0)) in xhci_configure_port()
1850 if (unlikely(retval != 0)) in xhci_configure_port()
1855 if (unlikely(hid_report_data == NULL)) in xhci_configure_port()
1859 if (unlikely(retval != 0)) in xhci_configure_port()
1913 if (unlikely((int64_t)(retval) == -ENOMEM)) in xhci_hc_init_intr()
2030 if (unlikely(ret_hid_desc == NULL || full_conf == NULL)) in xhci_get_hid_descriptor()
2069 if (unlikely(retval != 0)) in xhci_get_hid_report()
2184 if (unlikely(!xhci_is_aligned64(xhci_hc[cid].dcbaap_vaddr))) // 地址不是按照64byte对齐 in xhci_init()
2213 if (unlikely(!xhci_is_aligned64(xhci_hc[cid].cmd_ring_vaddr))) // 地址不是按照64byte对齐 in xhci_init()