/drivers/media/common/ |
H A D | saa7146_vbi.c | 338 if (vv->vbi_q.curr) { 456 if (vv->vbi_q.curr) { 457 DEB_VBI("dev:%p, curr:%p\n", dev, vv->vbi_q.curr); 460 vv->vbi_q.curr->vb.field_count = vv->vbi_fieldcount;
|
/drivers/net/bonding/ |
H A D | bond_3ad.c | 1406 struct aggregator *curr) 1434 return curr; 1436 if (!curr->is_individual && best->is_individual) 1437 return curr; 1439 if (curr->is_individual && !best->is_individual) 1442 if (__agg_has_partner(curr) && !__agg_has_partner(best)) 1443 return curr; 1445 if (!__agg_has_partner(curr) && __agg_has_partner(best)) 1448 switch (__get_agg_selection_mode(curr->lag_ports)) { 1450 if (curr 1405 ad_agg_selection_test(struct aggregator *best, struct aggregator *curr) argument [all...] |
/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.c | 845 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { 1582 || (tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { 1612 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) 1725 if (tinfo->curr.period != tinfo->goal.period 1726 || tinfo->curr.width != tinfo->goal.width 1727 || tinfo->curr.offset != tinfo->goal.offset 1728 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) 1750 if (tinfo->curr.period == spi_period(starget) 1751 && tinfo->curr.width == spi_width(starget) 1752 && tinfo->curr [all...] |
H A D | aic7xxx_osm.c | 1500 hscb->scsioffset = tinfo->curr.offset; 1658 if (tinfo->curr.period != tinfo->goal.period 1659 || tinfo->curr.width != tinfo->goal.width 1660 || tinfo->curr.offset != tinfo->goal.offset 1661 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) 1682 if (tinfo->curr.period == spi_period(starget) 1683 && tinfo->curr.width == spi_width(starget) 1684 && tinfo->curr.offset == spi_offset(starget) 1685 && tinfo->curr.ppr_options == target_ppr_options) 1689 spi_period(starget) = tinfo->curr [all...] |
/drivers/media/video/omap3isp/ |
H A D | ispstat.c | 214 struct ispstat_buffer *curr = &stat->buf[i]; local 220 if (curr == stat->locked_buf || curr == stat->active_buf) 224 if (!look_empty && curr->empty) 228 if (curr->empty) { 229 found = curr; 235 (s32)curr->frame_number - (s32)found->frame_number < 0) 236 found = curr;
|
/drivers/leds/ |
H A D | leds-lp5521.c | 218 static int lp5521_set_led_current(struct lp5521_chip *chip, int led, u8 curr) argument 222 curr); 499 unsigned long curr; local 501 if (kstrtoul(buf, 0, &curr)) 504 if (curr > led->max_current) 508 ret = lp5521_set_led_current(chip, led->id, curr); 514 led->led_current = (u8)curr;
|
H A D | leds-lp5523.c | 693 unsigned long curr; local 695 if (strict_strtoul(buf, 0, &curr)) 698 if (curr > led->max_current) 704 (u8)curr); 710 led->led_current = (u8)curr;
|
/drivers/char/agp/ |
H A D | intel-gtt.c | 274 static void intel_i810_free_by_type(struct agp_memory *curr) argument 276 agp_free_key(curr->key); 277 if (curr->type == AGP_PHYS_MEMORY) { 278 if (curr->page_count == 4) 279 i8xx_destroy_pages(curr->pages[0]); 281 agp_bridge->driver->agp_destroy_page(curr->pages[0], 283 agp_bridge->driver->agp_destroy_page(curr->pages[0], 286 agp_free_page_array(curr); 288 kfree(curr);
|
/drivers/atm/ |
H A D | zatm.c | 1264 unsigned long curr; local 1290 curr = rx*RX_SIZE/4; 1291 DPRINTK("RX pool 0x%08lx\n",curr); 1292 zpokel(zatm_dev,curr,uPD98401_PMA); /* receive pool */ 1293 zatm_dev->pool_base = curr; 1294 curr += pools*POOL_SIZE/4; 1295 DPRINTK("Shapers 0x%08lx\n",curr); 1296 zpokel(zatm_dev,curr,uPD98401_SMA); /* shapers */ 1297 curr += NR_SHAPERS*SHAPER_SIZE/4; 1298 DPRINTK("Free 0x%08lx\n",curr); [all...] |
/drivers/net/ethernet/icplus/ |
H A D | ipg.c | 1044 const unsigned int curr = sp->rx_current; local 1049 for (dirty = sp->rx_dirty; curr - dirty > 0; dirty++) { 1325 unsigned int curr = sp->rx_current; local 1331 for (i = 0; i < IPG_MAXRFDPROCESS_COUNT; i++, curr++) { 1332 unsigned int entry = curr % IPG_RFDLIST_LENGTH; 1354 sp->rx_current = curr; 1374 unsigned int curr = sp->rx_current; local 1384 for (i = 0; i < IPG_MAXRFDPROCESS_COUNT; i++, curr++) { 1385 unsigned int entry = curr % IPG_RFDLIST_LENGTH; 1502 unsigned int entry = curr [all...] |
/drivers/media/video/bt8xx/ |
H A D | bttv-driver.c | 1354 if (btv->curr.frame_irq) { 1833 if (!btv->curr.frame_irq) { 3659 btv->curr.top 3660 ? (unsigned long long)btv->curr.top->top.dma : 0, 3661 btv->curr.bottom 3662 ? (unsigned long long)btv->curr.bottom->bottom.dma : 0); 3814 struct bttv_buffer_set *curr, unsigned int state) 3821 if (NULL != wakeup->top && curr->top != wakeup->top) { 3831 if (NULL != wakeup->top && curr->top != wakeup->top) { 3840 if (NULL != wakeup->bottom && curr 3813 bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup, struct bttv_buffer_set *curr, unsigned int state) argument [all...] |
H A D | bttv-risc.c | 469 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; 470 if (NULL != btv->curr.bottom) btv->cap_ctl |= 0x01; 481 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, 483 btv->curr.bottom ? (unsigned long long)btv->curr.bottom->bottom.dma : 0); 491 if (btv->curr.frame_irq || btv->loop_irq || btv->cvbi) {
|
/drivers/mmc/host/ |
H A D | msm_sdcc.h | 216 struct msmsdcc_curr_req curr; member in struct:msmsdcc_host
|
/drivers/usb/gadget/ |
H A D | ci13xxx_udc.h | 63 u32 curr; member in struct:ci13xxx_qh
|
/drivers/media/video/saa7134/ |
H A D | saa7134-ts.c | 305 if (dev->ts_q.curr) { 306 field = dev->ts_q.curr->vb.field;
|
/drivers/video/matrox/ |
H A D | matroxfb_base.c | 324 pos = (minfo->fbcon.var.yoffset * minfo->fbcon.var.xres_virtual + minfo->fbcon.var.xoffset) * minfo->curr.final_bppShift / 32; 325 pos += minfo->curr.ydstorg.chunks; 664 if (regno >= minfo->curr.cmap_len) 732 fix->smem_start = minfo->video.base + minfo->curr.ydstorg.bytes; 733 fix->smem_len = minfo->video.len_usable - minfo->curr.ydstorg.bytes; 780 minfo->curr.cmap_len = cmap_len; 782 minfo->curr.ydstorg.bytes = ydstorg; 783 minfo->curr.ydstorg.chunks = ydstorg >> (isInterleave(minfo) ? 3 : 2); 785 minfo->curr.ydstorg.pixels = ydstorg; 787 minfo->curr [all...] |
/drivers/net/wan/ |
H A D | cosa.c | 1523 int i=0, id=0, prev=0, curr=0; 1545 for (i=0; i<COSA_MAX_ID_STRING-1; i++, prev=curr) { 1546 if ((curr = get_wait_data(cosa)) == -1) { 1549 curr &= 0xff; 1550 if (curr != '\r' && curr != '\n' && curr != 0x2e) 1551 idstring[id++] = curr; 1552 if (curr == 0x2e && prev == '\n') 1519 int i=0, id=0, prev=0, curr=0; local
|
/drivers/media/video/s5p-g2d/ |
H A D | g2d.c | 549 if (dev->curr == 0) /* No job currently running */ 553 dev->curr == 0, 565 dev->curr = ctx; 596 struct g2d_ctx *ctx = dev->curr; 614 dev->curr = 0;
|
/drivers/hv/ |
H A D | channel.c | 397 struct list_head *curr; local 430 list_for_each(curr, &msginfo->submsglist) { 432 submsginfo = (struct vmbus_channel_msginfo *)curr;
|
/drivers/mfd/ |
H A D | twl4030-madc.c | 172 int temp, curr, volt, res, ret; local 180 curr = ((val & TWL4030_BCI_ITHEN) + 1) * 10; 182 res = volt * 1000 / curr;
|
/drivers/staging/tidspbridge/pmgr/ |
H A D | dev.c | 655 struct list_head *curr; local 661 list_for_each(curr, &dev_obj->proc_list) 662 proc_notify_clients((void *)curr, ret);
|
/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 1053 int curr; local 1056 for (curr = 0; pep->rx_desc_count && curr < pep->rx_ring_size; curr++) { 1057 if (pep->rx_skb[curr]) { 1058 dev_kfree_skb(pep->rx_skb[curr]);
|
/drivers/tty/serial/ |
H A D | bfin_uart.c | 268 struct timeval curr; local 274 do_gettimeofday(&curr); 275 if (curr.tv_sec - anomaly_start.tv_sec > 1) 279 if (curr.tv_sec != anomaly_start.tv_sec) 281 usecs += curr.tv_usec - anomaly_start.tv_usec; 289 anomaly_start = curr;
|
/drivers/power/ |
H A D | ab8500_charger.c | 546 * ab8500_charger_max_usb_curr() - get the max curr for the USB type 861 static int ab8500_current_to_regval(int curr) argument 865 if (curr < ab8500_charger_current_map[0]) 869 if (curr < ab8500_charger_current_map[i]) 875 if (curr == ab8500_charger_current_map[i]) 881 static int ab8500_vbus_in_curr_to_regval(int curr) argument 885 if (curr < ab8500_charger_vbus_in_curr_map[0]) 889 if (curr < ab8500_charger_vbus_in_curr_map[i]) 895 if (curr == ab8500_charger_vbus_in_curr_map[i]) 1482 dev_dbg(di->dev, "Vbat did cross threshold, curr [all...] |
/drivers/staging/vt6655/ |
H A D | device_main.c | 1385 dma_addr_t curr = pDevice->rd0_pool_dma; 1389 for (i = 0; i < pDevice->sOpts.nRxDescs0; i ++, curr += sizeof(SRxDesc)) { 1398 pDesc->pRDInfo->curr_desc = cpu_to_le32(curr); 1399 pDesc->next_desc = cpu_to_le32(curr + sizeof(SRxDesc)); 1410 dma_addr_t curr = pDevice->rd1_pool_dma; 1414 for (i = 0; i < pDevice->sOpts.nRxDescs1; i ++, curr += sizeof(SRxDesc)) { 1423 pDesc->pRDInfo->curr_desc = cpu_to_le32(curr); 1424 pDesc->next_desc = cpu_to_le32(curr + sizeof(SRxDesc)); 1504 dma_addr_t curr; 1507 curr [all...] |