Home
last modified time | relevance | path

Searched refs:op_state (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/drivers/usb/dwc2/
Dcore_intr.c58 switch (hsotg->op_state) { in dwc2_op_state_str()
134 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_handle_otg_intr()
135 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_handle_otg_intr()
192 hsotg->op_state = OTG_STATE_B_HOST; in dwc2_handle_otg_intr()
216 hsotg->op_state = OTG_STATE_B_HOST; in dwc2_handle_otg_intr()
240 hsotg->op_state); in dwc2_handle_otg_intr()
244 hsotg->op_state = OTG_STATE_A_PERIPHERAL; in dwc2_handle_otg_intr()
253 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_handle_otg_intr()
403 if (hsotg->op_state == OTG_STATE_A_HOST) in dwc2_handle_disconnect_intr()
467 if (hsotg->op_state == OTG_STATE_A_PERIPHERAL) { in dwc2_handle_usb_suspend_intr()
[all …]
Dhcd.c202 if (hsotg->op_state == OTG_STATE_B_HOST) { in dwc2_hcd_start()
302 if (hsotg->op_state != OTG_STATE_A_SUSPEND) { in dwc2_hcd_disconnect()
1384 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_conn_id_status_change()
1405 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_conn_id_status_change()
1462 hsotg->op_state = OTG_STATE_A_SUSPEND; in dwc2_port_suspend()
1892 return hsotg->op_state == OTG_STATE_B_HOST; in dwc2_hcd_is_b_host()
Dcore.h708 enum usb_otg_state op_state; member
Dgadget.c3244 hsotg->op_state); in dwc2_hsotg_pullup()
3247 if (hsotg->op_state != OTG_STATE_B_PERIPHERAL) { in dwc2_hsotg_pullup()
3285 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_hsotg_vbus_session()
3580 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_gadget_init()
Dcore.c837 hsotg->op_state = OTG_STATE_A_HOST; in dwc2_core_init()
840 hsotg->op_state = OTG_STATE_B_PERIPHERAL; in dwc2_core_init()
1124 dev_dbg(hsotg->dev, "Init: Port Power? op_state=%d\n", hsotg->op_state); in dwc2_core_host_init()
1125 if (hsotg->op_state == OTG_STATE_A_HOST) { in dwc2_core_host_init()
/linux-4.4.14/drivers/edac/
Dedac_pci.c63 pci->op_state = OP_ALLOC; in edac_pci_alloc_ctl_info()
233 if (pci->op_state == OP_RUNNING_POLL) { in edac_pci_workq_function()
279 pci->op_state = OP_OFFLINE; in edac_pci_workq_teardown()
352 pci->op_state = OP_RUNNING_POLL; in edac_pci_add_device()
356 pci->op_state = OP_RUNNING_INTERRUPT; in edac_pci_add_device()
362 edac_op_state_to_string(pci->op_state)); in edac_pci_add_device()
406 pci->op_state = OP_OFFLINE; in edac_pci_del_device()
Dedac_device.c225 dev_ctl->op_state = OP_ALLOC; in edac_device_alloc_ctl_info()
374 if (edac_dev->op_state == OP_OFFLINE) { in edac_device_workq_function()
380 if ((edac_dev->op_state == OP_RUNNING_POLL) && in edac_device_workq_function()
441 edac_dev->op_state = OP_OFFLINE; in edac_device_workq_teardown()
520 edac_dev->op_state = OP_RUNNING_POLL; in edac_device_add_device()
528 edac_dev->op_state = OP_RUNNING_INTERRUPT; in edac_device_add_device()
535 edac_op_state_to_string(edac_dev->op_state)); in edac_device_add_device()
579 edac_dev->op_state = OP_OFFLINE; in edac_device_del_device()
Dedac_core.h246 int op_state; member
344 int op_state; member
515 extern char *edac_op_state_to_string(int op_state);
Dedac_mc.c452 mci->op_state = OP_ALLOC; in edac_mc_alloc()
539 if (mci->op_state == OP_OFFLINE) { in edac_mc_workq_function()
570 if (mci->op_state != OP_RUNNING_POLL) in edac_mc_workq_setup()
589 mci->op_state = OP_OFFLINE; in edac_mc_workq_teardown()
782 mci->op_state = OP_RUNNING_POLL; in edac_mc_add_mc_with_groups()
786 mci->op_state = OP_RUNNING_INTERRUPT; in edac_mc_add_mc_with_groups()
793 edac_op_state_to_string(mci->op_state)); in edac_mc_add_mc_with_groups()
839 mci->op_state = OP_OFFLINE; in edac_mc_del_mc()
Dxgene_edac.c801 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_pmd_hw_ctl()
974 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_pmd_add()
1135 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_l3_hw_init()
1143 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_l3_hw_init()
1257 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_l3_add()
1652 if (edac_dev->op_state == OP_RUNNING_INTERRUPT) { in xgene_edac_soc_hw_init()
1742 edac_dev->op_state = OP_RUNNING_INTERRUPT; in xgene_edac_soc_add()
Dmpc85xx_edac.c635 edac_dev->op_state = OP_RUNNING_INTERRUPT; in mpc85xx_l2_err_probe()
/linux-4.4.14/drivers/s390/cio/
Dscm.c141 scmdev->attrs.oper_state = sale->op_state; in scmdev_setup()
162 scmdev->attrs.oper_state != sale->op_state; in scmdev_update()
164 scmdev->attrs.oper_state = sale->op_state; in scmdev_update()
Dchsc.h166 u32 op_state:4; member
/linux-4.4.14/fs/ocfs2/
Dstack_user.c131 int op_state; member
185 p->op_state = state; in ocfs2_control_set_handshake_state()
191 return p->op_state; in ocfs2_control_get_handshake_state()
314 BUG_ON(p->op_state != OCFS2_CONTROL_HANDSHAKE_PROTOCOL); in ocfs2_control_install_private()
/linux-4.4.14/arch/s390/include/asm/
Dfcx.h131 u32 op_state:8; member
/linux-4.4.14/include/linux/
Dedac.h770 int op_state; member