Searched defs:fail (Results 1 - 16 of 16) sorted by path

/drivers/gpu/drm/
H A Ddrm_crtc_helper.c451 int count = 0, ro, fail = 0; local
559 we are setting now - then fail */
561 /* don't break so fail path works correct */
562 fail = 1;
585 if (fail) {
587 goto fail;
609 goto fail;
643 goto fail;
663 goto fail;
671 fail
[all...]
/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c159 goto fail;
168 /* this would break the logic in the fail path.. there is no
175 goto fail;
192 fail:
305 static void submit_cleanup(struct msm_gem_submit *submit, bool fail) argument
/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h121 u64 fail; member in struct:c4iw_stat
/drivers/input/joystick/
H A Dsidewinder.c56 #define SW_FAIL 16 /* Number of packet read errors to fail and reinitialize */
123 int fail; member in struct:sw
437 sw->fail = SW_FAIL; /* Reinitialize */
455 sw->fail = 0;
470 sw->fail++;
472 if (sw->type == SW_ID_3DP && sw->length == 22 && sw->fail > SW_BAD) { /* Consecutive bad packets */
479 if (sw->fail < SW_FAIL)
495 sw->fail = SW_FAIL;
/drivers/macintosh/
H A Dsmu.c702 static void smu_i2c_complete_command(struct smu_i2c_cmd *cmd, int fail) argument
709 if (!fail && cmd->read) {
711 fail = 1;
717 DPRINTK("SMU: completing, success: %d\n", !fail);
726 cmd->status = fail ? -EIO : 0;
768 int fail = 0; local
775 fail = 1;
778 fail = cmd->pdata[0] != 0;
780 fail = cmd->pdata[0] >= 0x80;
782 fail
[all...]
/drivers/media/i2c/
H A Dadv7842.c2738 int fail = 0; local
2780 fail++;
2788 "Ram Test: completed %d of %d: pass %d, fail %d\n",
2789 complete, i, pass, fail);
2791 if (!complete || fail)
/drivers/media/usb/dvb-usb/
H A Daf9005.c264 int ret, i, done = 0, fail = 0; local
270 /* check if write done (0xa40d bit 1) or fail (0xa40d bit 2) */
282 fail = temp & (regmask[i2c_m_status_wdat_fail_len - 1]
284 if (fail)
290 if (fail) {
291 /* clear write fail bit */
804 the firmware fail. I put these calls here to simulate
/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c308 goto fail;
319 goto fail;
336 goto fail;
342 goto fail;
353 goto fail;
359 fail:
784 static const char fail[] = "FAIL"; local
791 res = fail;
/drivers/mmc/host/
H A Ds3cmci.c208 int fail)
210 unsigned int dbglvl = fail ? dbg_fail : dbg_debug;
236 struct mmc_command *cmd, int fail) { }
699 "fixup: ignore CRC fail with long rsp\n");
701 /* note, we used to fail the transfer
207 dbg_dumpcmd(struct s3cmci_host *host, struct mmc_command *cmd, int fail) argument
235 dbg_dumpcmd(struct s3cmci_host *host, struct mmc_command *cmd, int fail) argument
/drivers/net/ethernet/natsemi/
H A Dns83820.c1716 static void ns83820_run_bist(struct net_device *ndev, const char *name, u32 enable, u32 done, u32 fail) argument
1736 if (status & fail)
1745 if (status & fail)
1747 ndev->name, name, status, fail);
/drivers/net/ethernet/neterion/
H A Ds2io.c2857 * run out of skbs and will fail and eventually netpoll application such
2858 * as netdump will fail.
3791 /* We fail init if error or we get less vectors than min required */
5727 int i = 0, cnt, len, fail = 0; local
5759 fail = 1;
5766 if (!fail) {
5785 if ((!fail) && (vpd_data[1] < VPD_STRING_LEN)) {
5898 int fail = 0; local
5902 fail = 1;
5908 fail
5963 int fail = 0; local
[all...]
/drivers/net/wireless/iwlegacy/
H A D3945.c324 int fail; local
355 fail = tx_resp->failure_frame;
358 info->status.rates[0].count = fail + 1; /* add final attempt */
/drivers/net/wireless/libertas_tf/
H A Dmain.c693 void lbtf_send_tx_feedback(struct lbtf_private *priv, u8 retrycnt, u8 fail) argument
704 if (!(info->flags & IEEE80211_TX_CTL_NO_ACK) && !fail)
/drivers/pcmcia/
H A Drsrc_nonstatic.c401 * into the @validate() function. Only if @validate() and @fallback() fail,
414 u_long i, j, bad, fail, step; local
418 bad = fail = 0;
427 if (!fail) {
432 fail = ((i == base) && (j == base+num));
434 if ((fail) && (fallback)) {
641 * If we failed to find something suitable, ensure we fail.
/drivers/s390/block/
H A Ddasd_eckd.c4148 struct ccw1 *first, *last, *fail, *from, *to; local
4221 fail = (struct ccw1 *)(addr_t)
4223 if (from < fail - 2) {
4224 from = fail - 2; /* there is a gap - print header */
4227 to = min(fail + 1, last);
/drivers/staging/lustre/lnet/lnet/
H A Dlib-move.c109 int fail = 0; local
131 if (tp->tp_nid == LNET_NID_ANY || /* fail every peer */
132 nid == tp->tp_nid) { /* fail this peer */
133 fail = 1;
157 return fail;

Completed in 348 milliseconds