ctlx 584 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c int mdp5_ctl_pair(struct mdp5_ctl *ctlx, struct mdp5_ctl *ctly, bool enable) ctlx 586 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl_manager *ctl_mgr = ctlx->ctlm; ctlx 594 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctlx->pair = NULL; ctlx 598 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c } else if ((ctlx->pair != NULL) || (ctly->pair != NULL)) { ctlx 601 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c } else if (!(ctlx->status & ctly->status & CTL_STAT_BOOKED)) { ctlx 606 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctlx->pair = ctly; ctlx 607 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctly->pair = ctlx; ctlx 39 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h int mdp5_ctl_pair(struct mdp5_ctl *ctlx, struct mdp5_ctl *ctly, bool enable); ctlx 199 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx); ctlx 202 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx); ctlx 210 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx, ctlx 214 drivers/staging/wlan-ng/hfa384x_usb.c unlocked_usbctlx_cancel_async(struct hfa384x *hw, struct hfa384x_usbctlx *ctlx); ctlx 217 drivers/staging/wlan-ng/hfa384x_usb.c const struct hfa384x_usbctlx *ctlx); ctlx 614 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx; ctlx 616 drivers/staging/wlan-ng/hfa384x_usb.c ctlx = kzalloc(sizeof(*ctlx), ctlx 618 drivers/staging/wlan-ng/hfa384x_usb.c if (ctlx) ctlx 619 drivers/staging/wlan-ng/hfa384x_usb.c init_completion(&ctlx->done); ctlx 621 drivers/staging/wlan-ng/hfa384x_usb.c return ctlx; ctlx 800 drivers/staging/wlan-ng/hfa384x_usb.c const struct hfa384x_usbctlx *ctlx) ctlx 802 drivers/staging/wlan-ng/hfa384x_usb.c if (ctlx->usercb) { ctlx 805 drivers/staging/wlan-ng/hfa384x_usb.c if (ctlx->state != CTLX_COMPLETE) { ctlx 810 drivers/staging/wlan-ng/hfa384x_usb.c usbctlx_get_status(&ctlx->inbuf.cmdresp, &cmdresult); ctlx 813 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb(hw, &cmdresult, ctlx->usercb_data); ctlx 1095 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx, ctlx 1101 drivers/staging/wlan-ng/hfa384x_usb.c result = wait_for_completion_interruptible(&ctlx->done); ctlx 1125 drivers/staging/wlan-ng/hfa384x_usb.c if (ctlx == get_active_ctlx(hw)) { ctlx 1151 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->reapable = 1; ctlx 1152 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_REQ_FAILED; ctlx 1153 drivers/staging/wlan-ng/hfa384x_usb.c list_move_tail(&ctlx->list, &hw->ctlxq.completing); ctlx 1160 drivers/staging/wlan-ng/hfa384x_usb.c if (ctlx->state == CTLX_COMPLETE) { ctlx 1164 drivers/staging/wlan-ng/hfa384x_usb.c le16_to_cpu(ctlx->outbuf.type), ctlx 1165 drivers/staging/wlan-ng/hfa384x_usb.c ctlxstr(ctlx->state)); ctlx 1169 drivers/staging/wlan-ng/hfa384x_usb.c list_del(&ctlx->list); ctlx 1171 drivers/staging/wlan-ng/hfa384x_usb.c kfree(ctlx); ctlx 1210 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx; ctlx 1212 drivers/staging/wlan-ng/hfa384x_usb.c ctlx = usbctlx_alloc(); ctlx 1213 drivers/staging/wlan-ng/hfa384x_usb.c if (!ctlx) { ctlx 1219 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.cmdreq.type = cpu_to_le16(HFA384x_USB_CMDREQ); ctlx 1220 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.cmdreq.cmd = cpu_to_le16(cmd->cmd); ctlx 1221 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.cmdreq.parm0 = cpu_to_le16(cmd->parm0); ctlx 1222 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.cmdreq.parm1 = cpu_to_le16(cmd->parm1); ctlx 1223 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.cmdreq.parm2 = cpu_to_le16(cmd->parm2); ctlx 1225 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbufsize = sizeof(ctlx->outbuf.cmdreq); ctlx 1230 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->reapable = DOWAIT; ctlx 1231 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->cmdcb = NULL; ctlx 1232 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb = NULL; ctlx 1233 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb_data = NULL; ctlx 1235 drivers/staging/wlan-ng/hfa384x_usb.c result = hfa384x_usbctlx_submit(hw, ctlx); ctlx 1237 drivers/staging/wlan-ng/hfa384x_usb.c kfree(ctlx); ctlx 1243 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.cmdresp, ctlx 1246 drivers/staging/wlan-ng/hfa384x_usb.c result = hfa384x_usbctlx_complete_sync(hw, ctlx, completor); ctlx 1299 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx; ctlx 1301 drivers/staging/wlan-ng/hfa384x_usb.c ctlx = usbctlx_alloc(); ctlx 1302 drivers/staging/wlan-ng/hfa384x_usb.c if (!ctlx) { ctlx 1308 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rridreq.type = cpu_to_le16(HFA384x_USB_RRIDREQ); ctlx 1309 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rridreq.frmlen = ctlx 1310 drivers/staging/wlan-ng/hfa384x_usb.c cpu_to_le16(sizeof(ctlx->outbuf.rridreq.rid)); ctlx 1311 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rridreq.rid = cpu_to_le16(rid); ctlx 1313 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbufsize = sizeof(ctlx->outbuf.rridreq); ctlx 1315 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->reapable = mode; ctlx 1316 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->cmdcb = cmdcb; ctlx 1317 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb = usercb; ctlx 1318 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb_data = usercb_data; ctlx 1321 drivers/staging/wlan-ng/hfa384x_usb.c result = hfa384x_usbctlx_submit(hw, ctlx); ctlx 1323 drivers/staging/wlan-ng/hfa384x_usb.c kfree(ctlx); ctlx 1328 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbctlx_complete_sync(hw, ctlx, ctlx 1331 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.rridresp, ctlx 1381 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx; ctlx 1383 drivers/staging/wlan-ng/hfa384x_usb.c ctlx = usbctlx_alloc(); ctlx 1384 drivers/staging/wlan-ng/hfa384x_usb.c if (!ctlx) { ctlx 1390 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.wridreq.type = cpu_to_le16(HFA384x_USB_WRIDREQ); ctlx 1391 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.wridreq.frmlen = cpu_to_le16((sizeof ctlx 1392 drivers/staging/wlan-ng/hfa384x_usb.c (ctlx->outbuf.wridreq.rid) + ctlx 1394 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.wridreq.rid = cpu_to_le16(rid); ctlx 1395 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(ctlx->outbuf.wridreq.data, riddata, riddatalen); ctlx 1397 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbufsize = sizeof(ctlx->outbuf.wridreq.type) + ctlx 1398 drivers/staging/wlan-ng/hfa384x_usb.c sizeof(ctlx->outbuf.wridreq.frmlen) + ctlx 1399 drivers/staging/wlan-ng/hfa384x_usb.c sizeof(ctlx->outbuf.wridreq.rid) + riddatalen; ctlx 1401 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->reapable = mode; ctlx 1402 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->cmdcb = cmdcb; ctlx 1403 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb = usercb; ctlx 1404 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb_data = usercb_data; ctlx 1407 drivers/staging/wlan-ng/hfa384x_usb.c result = hfa384x_usbctlx_submit(hw, ctlx); ctlx 1409 drivers/staging/wlan-ng/hfa384x_usb.c kfree(ctlx); ctlx 1415 drivers/staging/wlan-ng/hfa384x_usb.c ctlx, ctlx 1418 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.wridresp, ctlx 1463 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx; ctlx 1465 drivers/staging/wlan-ng/hfa384x_usb.c ctlx = usbctlx_alloc(); ctlx 1466 drivers/staging/wlan-ng/hfa384x_usb.c if (!ctlx) { ctlx 1472 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rmemreq.type = cpu_to_le16(HFA384x_USB_RMEMREQ); ctlx 1473 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rmemreq.frmlen = ctlx 1474 drivers/staging/wlan-ng/hfa384x_usb.c cpu_to_le16(sizeof(ctlx->outbuf.rmemreq.offset) + ctlx 1475 drivers/staging/wlan-ng/hfa384x_usb.c sizeof(ctlx->outbuf.rmemreq.page) + len); ctlx 1476 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rmemreq.offset = cpu_to_le16(offset); ctlx 1477 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rmemreq.page = cpu_to_le16(page); ctlx 1479 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbufsize = sizeof(ctlx->outbuf.rmemreq); ctlx 1482 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rmemreq.type, ctlx 1483 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rmemreq.frmlen, ctlx 1484 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.rmemreq.offset, ctlx->outbuf.rmemreq.page); ctlx 1486 drivers/staging/wlan-ng/hfa384x_usb.c pr_debug("pktsize=%zd\n", ROUNDUP64(sizeof(ctlx->outbuf.rmemreq))); ctlx 1488 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->reapable = DOWAIT; ctlx 1489 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->cmdcb = NULL; ctlx 1490 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb = NULL; ctlx 1491 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb_data = NULL; ctlx 1493 drivers/staging/wlan-ng/hfa384x_usb.c result = hfa384x_usbctlx_submit(hw, ctlx); ctlx 1495 drivers/staging/wlan-ng/hfa384x_usb.c kfree(ctlx); ctlx 1500 drivers/staging/wlan-ng/hfa384x_usb.c hfa384x_usbctlx_complete_sync(hw, ctlx, ctlx 1503 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.rmemresp, data, ctlx 1549 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx; ctlx 1553 drivers/staging/wlan-ng/hfa384x_usb.c ctlx = usbctlx_alloc(); ctlx 1554 drivers/staging/wlan-ng/hfa384x_usb.c if (!ctlx) { ctlx 1560 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.wmemreq.type = cpu_to_le16(HFA384x_USB_WMEMREQ); ctlx 1561 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.wmemreq.frmlen = ctlx 1562 drivers/staging/wlan-ng/hfa384x_usb.c cpu_to_le16(sizeof(ctlx->outbuf.wmemreq.offset) + ctlx 1563 drivers/staging/wlan-ng/hfa384x_usb.c sizeof(ctlx->outbuf.wmemreq.page) + len); ctlx 1564 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.wmemreq.offset = cpu_to_le16(offset); ctlx 1565 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbuf.wmemreq.page = cpu_to_le16(page); ctlx 1566 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(ctlx->outbuf.wmemreq.data, data, len); ctlx 1568 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->outbufsize = sizeof(ctlx->outbuf.wmemreq.type) + ctlx 1569 drivers/staging/wlan-ng/hfa384x_usb.c sizeof(ctlx->outbuf.wmemreq.frmlen) + ctlx 1570 drivers/staging/wlan-ng/hfa384x_usb.c sizeof(ctlx->outbuf.wmemreq.offset) + ctlx 1571 drivers/staging/wlan-ng/hfa384x_usb.c sizeof(ctlx->outbuf.wmemreq.page) + len; ctlx 1573 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->reapable = DOWAIT; ctlx 1574 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->cmdcb = NULL; ctlx 1575 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb = NULL; ctlx 1576 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->usercb_data = NULL; ctlx 1578 drivers/staging/wlan-ng/hfa384x_usb.c result = hfa384x_usbctlx_submit(hw, ctlx); ctlx 1580 drivers/staging/wlan-ng/hfa384x_usb.c kfree(ctlx); ctlx 1586 drivers/staging/wlan-ng/hfa384x_usb.c ctlx, ctlx 1589 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.wmemresp, ctlx 2612 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx, *temp; ctlx 2620 drivers/staging/wlan-ng/hfa384x_usb.c list_for_each_entry_safe(ctlx, temp, &hw->ctlxq.reapable, list) { ctlx 2621 drivers/staging/wlan-ng/hfa384x_usb.c list_del(&ctlx->list); ctlx 2622 drivers/staging/wlan-ng/hfa384x_usb.c kfree(ctlx); ctlx 2646 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx, *temp; ctlx 2656 drivers/staging/wlan-ng/hfa384x_usb.c list_for_each_entry_safe(ctlx, temp, &hw->ctlxq.completing, list) { ctlx 2660 drivers/staging/wlan-ng/hfa384x_usb.c if (ctlx->cmdcb) { ctlx 2662 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->cmdcb(hw, ctlx); ctlx 2668 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->cmdcb = NULL; ctlx 2684 drivers/staging/wlan-ng/hfa384x_usb.c if (ctlx->reapable) { ctlx 2690 drivers/staging/wlan-ng/hfa384x_usb.c list_move_tail(&ctlx->list, &hw->ctlxq.reapable); ctlx 2694 drivers/staging/wlan-ng/hfa384x_usb.c complete(&ctlx->done); ctlx 2721 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx) ctlx 2740 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_REQ_FAILED; ctlx 2741 drivers/staging/wlan-ng/hfa384x_usb.c unlocked_usbctlx_complete(hw, ctlx); ctlx 2772 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx) ctlx 2778 drivers/staging/wlan-ng/hfa384x_usb.c list_move_tail(&ctlx->list, &hw->ctlxq.completing); ctlx 2781 drivers/staging/wlan-ng/hfa384x_usb.c switch (ctlx->state) { ctlx 2789 drivers/staging/wlan-ng/hfa384x_usb.c le16_to_cpu(ctlx->outbuf.type), ctlx 2790 drivers/staging/wlan-ng/hfa384x_usb.c ctlxstr(ctlx->state)); ctlx 3102 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx; ctlx 3131 drivers/staging/wlan-ng/hfa384x_usb.c ctlx = get_active_ctlx(hw); ctlx 3139 drivers/staging/wlan-ng/hfa384x_usb.c if (unlocked_usbctlx_cancel_async(hw, ctlx) == 0) ctlx 3147 drivers/staging/wlan-ng/hfa384x_usb.c if (ctlx->outbuf.type != intype) { ctlx 3150 drivers/staging/wlan-ng/hfa384x_usb.c le16_to_cpu(ctlx->outbuf.type), ctlx 3156 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(&ctlx->inbuf, usbin, sizeof(ctlx->inbuf)); ctlx 3158 drivers/staging/wlan-ng/hfa384x_usb.c switch (ctlx->state) { ctlx 3166 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_RESP_COMPLETE; ctlx 3175 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_COMPLETE; ctlx 3176 drivers/staging/wlan-ng/hfa384x_usb.c unlocked_usbctlx_complete(hw, ctlx); ctlx 3186 drivers/staging/wlan-ng/hfa384x_usb.c le16_to_cpu(ctlx->outbuf.type), ctlx 3187 drivers/staging/wlan-ng/hfa384x_usb.c ctlxstr(ctlx->state)); ctlx 3188 drivers/staging/wlan-ng/hfa384x_usb.c if (unlocked_usbctlx_cancel_async(hw, ctlx) == 0) ctlx 3555 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx; ctlx 3598 drivers/staging/wlan-ng/hfa384x_usb.c ctlx = get_active_ctlx(hw); ctlx 3602 drivers/staging/wlan-ng/hfa384x_usb.c switch (ctlx->state) { ctlx 3605 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_REQ_COMPLETE; ctlx 3612 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_COMPLETE; ctlx 3613 drivers/staging/wlan-ng/hfa384x_usb.c unlocked_usbctlx_complete(hw, ctlx); ctlx 3621 drivers/staging/wlan-ng/hfa384x_usb.c le16_to_cpu(ctlx->outbuf.type), ctlx 3622 drivers/staging/wlan-ng/hfa384x_usb.c ctlxstr(ctlx->state), urb->status); ctlx 3638 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_REQ_FAILED; ctlx 3639 drivers/staging/wlan-ng/hfa384x_usb.c unlocked_usbctlx_complete(hw, ctlx); ctlx 3700 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx = get_active_ctlx(hw); ctlx 3702 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_REQ_FAILED; ctlx 3753 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx = get_active_ctlx(hw); ctlx 3755 drivers/staging/wlan-ng/hfa384x_usb.c if (unlocked_usbctlx_cancel_async(hw, ctlx) == 0) { ctlx 3824 drivers/staging/wlan-ng/hfa384x_usb.c struct hfa384x_usbctlx *ctlx) ctlx 3835 drivers/staging/wlan-ng/hfa384x_usb.c ctlx->state = CTLX_PENDING; ctlx 3836 drivers/staging/wlan-ng/hfa384x_usb.c list_add_tail(&ctlx->list, &hw->ctlxq.pending); ctlx 143 drivers/staging/wlan-ng/prism2usb.c struct hfa384x_usbctlx *ctlx, *temp; ctlx 189 drivers/staging/wlan-ng/prism2usb.c list_for_each_entry(ctlx, &cleanlist, list) ctlx 190 drivers/staging/wlan-ng/prism2usb.c complete(&ctlx->done); ctlx 200 drivers/staging/wlan-ng/prism2usb.c list_for_each_entry_safe(ctlx, temp, &cleanlist, list) ctlx 201 drivers/staging/wlan-ng/prism2usb.c kfree(ctlx);