Searched defs:try (Results 1 - 25 of 30) sorted by relevance

12

/drivers/pcmcia/
H A Drsrc_iodyn.c110 unsigned int try; local
135 try = res->end + 1;
136 if ((*base == 0) || (*base == try)) {
140 *base = try;
147 try = res->start - num;
148 if ((*base == 0) || (*base == try)) {
153 *base = try;
H A Dpcmcia_resource.c773 unsigned int try, irq; local
777 for (try = 0; try < 64; try++) {
778 irq = try % 32;
788 if ((try < 32) && pcmcia_used_irq[irq])
H A Drsrc_nonstatic.c560 * pcmcia_nonstatic_validate_mem() - try to validate iomem for PCMCIA use
563 * This is tricky... when we set up CIS memory, we try to validate
622 * If the lower resources are not available, try aligning
741 unsigned int try; local
767 try = res->end + 1;
768 if ((*base == 0) || (*base == try)) {
776 *base = try;
784 try = res->start - num;
785 if ((*base == 0) || (*base == try)) {
795 *base = try;
[all...]
/drivers/media/dvb/dvb-usb/
H A Dgp8psk.c56 int ret = 0,try = 0; local
61 while (ret >= 0 && ret != blen && try < 3) {
68 deb_info("reading number %d (ret: %d)\n",try,ret);
69 try++;
/drivers/misc/sgi-gru/
H A Dgrukdump.c127 int try, cch_locked, cbrcnt = 0, dsrcnt = 0, bytes = 0, ret = 0; local
133 for (try = 0; try < CCH_LOCK_ATTEMPTS; try++) {
/drivers/firewire/
H A Dcore-iso.c214 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; local
218 * On a 1394a IRM with low contention, try < 1 is enough.
219 * On a 1394-1995 IRM, we need at least try < 2.
220 * Let's just do try < 5.
222 for (try = 0; try < 5; try++) {
/drivers/tty/serial/8250/
H A Dserial_cs.c400 int *try = priv_data; local
405 if ((*try & 0x1) == 0)
408 if (p_dev->resource[0]->end != size_table[(*try >> 1)])
443 int i = -ENODEV, try; local
448 for (try = 0; try < 4; try++)
449 if (!pcmcia_loop_config(link, simple_config_check, &try))
452 /* Second pass: try to find an entry that isn't picky about
453 its base address, then try t
[all...]
/drivers/usb/host/
H A Dehci-hub.c366 /* at least some APM implementations will try to deliver
473 int try; local
482 for (try = 4; try > 0; --try) {
488 try = 0;
495 if (try > 1)
/drivers/bluetooth/
H A Dbtuart_cs.c594 int *try = priv_data; local
596 if (try == 0)
635 int try; local
639 for (try = 0; try < 2; try++)
640 if (!pcmcia_loop_config(link, btuart_check_config, &try))
643 /* Second pass: try to find an entry that isn't picky about
644 its base address, then try to grab any standard serial port
645 address, and finally try t
[all...]
H A Dbt3c_cs.c665 int *try = priv_data; local
667 if (try == 0)
706 unsigned long try; local
710 for (try = 0; try < 2; try++)
711 if (!pcmcia_loop_config(link, bt3c_check_config, (void *) try))
714 /* Second pass: try to find an entry that isn't picky about
715 its base address, then try to grab any standard serial port
716 address, and finally try t
[all...]
/drivers/staging/media/easycap/
H A Deasycap_ioctl.c342 * PROVIDED THE ARGUMENT try IS false AND THERE IS NO PREMATURE ERROR RETURN
362 u32 width, u32 height, u32 pixelformat, int field, bool try)
500 if (try)
504 if (false != try) {
505 SAM("MISTAKE: true==try where is should be false\n");
1772 bool try; local
1777 try = true;
1780 try = false;
1794 try);
361 adjust_format(struct easycap *peasycap, u32 width, u32 height, u32 pixelformat, int field, bool try) argument
/drivers/media/common/tuners/
H A Dmt20xx.c186 int try,lock=0; local
189 for(try=0;try<10;try++) {
/drivers/media/video/zoran/
H A Dzoran_card.c733 int try)
852 if (!try && err0) {
1261 "%s: Unknown card, try specifying card=X module parameter\n",
1490 /* Use parameter for vidmem or try to find a video card */
731 zoran_check_jpg_settings(struct zoran *zr, struct zoran_jpg_settings *settings, int try) argument
/drivers/mtd/
H A Dsm_ftl.c247 int try = 0; local
267 if (try++) {
275 if (try == 3 || sm_recheck_media(ftl))
411 /* If write fails. try to erase the block */
819 /* We can try to erase it, or mark it as bad, but
/drivers/net/wireless/libertas/
H A Dif_spi.c325 int err, try; local
326 for (try = 0; try < 4; ++try) {
1016 * don't try to talk on the SPI bus, just queue the SPI xfer work.
/drivers/video/exynos/
H A Dexynos_mipi_dsi_common.c877 int try = TRY_FIFO_CLEAR; local
888 } while (--try);
/drivers/media/video/ivtv/
H A Divtv-ioctl.c249 struct v4l2_decoder_cmd *dc, int try)
267 if (try) break;
283 if (try) break;
294 if (try) break;
306 if (try) break;
1696 int try = (cmd == VIDEO_TRY_COMMAND); local
1698 if (try)
1702 return ivtv_video_command(itv, id, dc, try);
248 ivtv_video_command(struct ivtv *itv, struct ivtv_open_id *id, struct v4l2_decoder_cmd *dc, int try) argument
/drivers/staging/media/go7007/
H A Dgo7007-v4l2.c167 static int set_capture_size(struct go7007 *go, struct v4l2_format *fmt, int try) argument
241 if (try)
/drivers/ata/
H A Dlibata-eh.c95 * represents timeout for that try. The first try can be soft or
143 * command class, so if SET_FEATURES times out on the first try, the
144 * next try will use the second timeout value only for that class.
2559 int max_tries = 0, try = 0; local
2686 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]);
2847 if (try < max_tries) {
2887 if (try >= max_tries) {
2923 if (try == max_tries - 1) {
/drivers/block/drbd/
H A Ddrbd_nl.c315 int try = 0; local
328 while (try++ < max_tries) {
383 if (try < max_tries)
384 try = max_tries - 1;
1856 /* most sanity checks done, try to assign the new sync-after
2598 int err, try=10; local
2607 } while (try--);
/drivers/block/
H A Dswim.c389 int try; local
393 for (try = 0; try < 100; try++) {
503 int i, try; local
514 try = 5;
518 if (try-- == 0)
H A Dub.c346 static void ub_reset_enter(struct ub_dev *sc, int try);
1114 * We must try to read the CSW, or many devices
1506 static void ub_reset_enter(struct ub_dev *sc, int try) argument
1513 sc->reset = try + 1;
/drivers/gpu/drm/i915/
H A Dintel_dp.c371 int try, precharge; local
397 for (try = 0; try < 3; try++) {
404 if (try == 3) {
410 /* Must try at least 3 times according to DP spec */
411 for (try = 0; try < 5; try++) {
1233 /* If the sink supports it, try t
[all...]
/drivers/i2c/
H A Di2c-core.c1312 int ret, try; local
1352 for (ret = 0, try = 0; try <= adap->retries; try++) {
2105 int try; local
2115 for (res = 0, try = 0; try <= adapter->retries; try++) {
/drivers/media/dvb/frontends/
H A Dstv0367.c1271 u8 try, u_var1 = 0, u_var2 = 0, u_var3 = 0, u_var4 = 0, mode, guard; local
1279 try = 0;
1299 if chip locked on wrong mode first try,
1300 it must lock correctly second try */
1304 if (try == 0)
1310 try++;
1311 } while ((try < 10) && (ret_flag != FE_TER_LOCKOK));

Completed in 1318 milliseconds

12