/drivers/dma/ |
H A D | dmaengine.h | 17 chan->cookie = DMA_MIN_COOKIE; 22 * dma_cookie_assign - assign a DMA engine cookie to the descriptor 23 * @tx: descriptor needing cookie 25 * Assign a unique non-zero per-channel cookie to the descriptor. 31 dma_cookie_t cookie; local 33 cookie = chan->cookie + 1; 34 if (cookie < DMA_MIN_COOKIE) 35 cookie = DMA_MIN_COOKIE; 36 tx->cookie 67 dma_cookie_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *state) argument [all...] |
/drivers/infiniband/hw/ipath/ |
H A D | ipath_wc_x86_64.c | 125 int cookie; local 130 cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 0); 131 if (cookie < 0) { 136 cookie); 141 "cookie is %d\n", cookie); 142 dd->ipath_wc_cookie = cookie;
|
/drivers/infiniband/hw/qib/ |
H A D | qib_wc_x86_64.c | 117 int cookie; local 119 cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 0); 120 if (cookie < 0) { 125 cookie); 129 dd->wc_cookie = cookie;
|
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cq.c | 52 u64 cookie; local 67 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, 81 wc->wr_id = cookie; 87 "lo 0x%x cookie 0x%llx\n", __func__, 90 CQE_WRID_LOW(cqe), (unsigned long long) cookie);
|
/drivers/mmc/host/ |
H A D | tmio_mmc_dma.c | 55 dma_cookie_t cookie; local 95 cookie = dmaengine_submit(desc); 96 if (cookie < 0) { 98 ret = cookie; 101 dev_dbg(&host->pdev->dev, "%s(): mapped %d -> %d, cookie %d, rq %p\n", 102 __func__, host->sg_len, ret, cookie, host->mrq); 122 dev_dbg(&host->pdev->dev, "%s(): desc %p, cookie %d, sg[%d]\n", __func__, 123 desc, cookie, host->sg_len); 132 dma_cookie_t cookie; local 176 cookie [all...] |
/drivers/net/wireless/wl1251/ |
H A D | spi.c | 34 static irqreturn_t wl1251_irq(int irq, void *cookie) argument 40 wl = cookie;
|
H A D | sdio.c | 155 static irqreturn_t wl1251_line_irq(int irq, void *cookie) argument 157 struct wl1251 *wl = cookie;
|
/drivers/parport/ |
H A D | ieee1284.c | 48 static void timeout_waiting_on_port (unsigned long cookie) argument 50 parport_ieee1284_wakeup (port_from_cookie[cookie % PARPORT_MAX]);
|
/drivers/media/video/s5p-tv/ |
H A D | mixer_reg.c | 147 MXR_GRP_CFG_FORMAT_VAL(fmt->cookie), MXR_GRP_CFG_FORMAT_MASK); 179 vp_write_mask(mdev, VP_MODE, fmt->cookie, VP_MODE_FMT_MASK); 319 void mxr_reg_s_output(struct mxr_device *mdev, int cookie) argument 323 val = cookie == 0 ? MXR_CFG_DST_SDO : MXR_CFG_DST_HDMI;
|
H A D | sdo_drv.c | 40 unsigned int cookie; member in struct:sdo_format 118 { V4L2_STD_PAL_N, .height = 576, .cookie = SDO_PAL_N }, 119 { V4L2_STD_PAL_Nc, .height = 576, .cookie = SDO_PAL_NC }, 120 { V4L2_STD_PAL_M, .height = 480, .cookie = SDO_PAL_M }, 121 { V4L2_STD_PAL_60, .height = 480, .cookie = SDO_PAL_60 }, 122 { V4L2_STD_NTSC_443, .height = 480, .cookie = SDO_NTSC_443 }, 123 { V4L2_STD_PAL, .height = 576, .cookie = SDO_PAL_BGHID }, 124 { V4L2_STD_NTSC_M, .height = 480, .cookie = SDO_NTSC_M }, 277 sdo_write_mask(sdev, SDO_CONFIG, sdev->fmt->cookie, SDO_STANDARD_MASK);
|
/drivers/misc/sgi-xp/ |
H A D | xpc_partition.c | 69 u64 cookie = 0; local 87 ret = get_partition_rsvd_page_pa(buf, &cookie, &rp_pa, &len); 89 dev_dbg(xpc_part, "SAL returned with ret=%d, cookie=0x%016lx, " 91 (unsigned long)cookie, rp_pa, len);
|
/drivers/net/ethernet/8390/ |
H A D | hp.c | 171 unsigned long cookie = probe_irq_on(); local 175 if (irq == probe_irq_off(cookie) /* It's a good IRQ line! */
|
/drivers/net/ethernet/seeq/ |
H A D | seeq8005.c | 320 unsigned long cookie = probe_irq_on(); local 324 dev->irq = probe_irq_off(cookie);
|
/drivers/usb/musb/ |
H A D | ux500_dma.c | 42 dma_cookie_t cookie; member in struct:ux500_dma_channel 130 ux500_channel->cookie = dma_desc->tx_submit(dma_desc);
|
/drivers/dma/ioat/ |
H A D | dma_v2.c | 150 if (tx->cookie) { 402 dma_cookie_t cookie; local 404 cookie = dma_cookie_assign(tx); 405 dev_dbg(to_dev(&ioat->base), "%s: cookie: %d\n", __func__, cookie); 421 return cookie;
|
/drivers/gpu/drm/ |
H A D | drm_irq.c | 279 static void drm_irq_vgaarb_nokms(void *cookie, bool state) argument 281 struct drm_device *dev = cookie;
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_device.c | 591 static unsigned int radeon_vga_set_decode(void *cookie, bool state) argument 593 struct radeon_device *rdev = cookie;
|
/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 58 res_wr->cookie = (unsigned long) &wr_wait; 128 res_wr->cookie = (unsigned long) &wr_wait; 403 u8 *cqe_flushed, u64 *cookie, u32 *credit) 528 *cookie = wq->sq.sw_sq[wq->sq.cidx].wr_id; 532 *cookie = wq->rq.sw_rq[wq->rq.cidx].wr_id; 572 u64 cookie = 0; local 587 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit); 591 wc->wr_id = cookie; 597 "lo 0x%x cookie 0x%llx\n", __func__, CQE_QPID(&cqe), 599 CQE_WRID_HI(&cqe), CQE_WRID_LOW(&cqe), (unsigned long long)cookie); 402 poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe, u8 *cqe_flushed, u64 *cookie, u32 *credit) argument [all...] |
/drivers/mtd/nand/ |
H A D | atmel_nand.c | 199 dma_cookie_t cookie; local 239 cookie = tx->tx_submit(tx); 240 if (dma_submit_error(cookie)) {
|
/drivers/net/wireless/b43/ |
H A D | pio.c | 40 u16 cookie; local 42 /* Use the upper 4 bits of the cookie as 45 * Note that the cookie must never be 0, as this 50 cookie = (((u16)q->index + 1) << 12); 51 cookie |= pack->index; 53 return cookie; 58 u16 cookie, 65 switch (cookie & 0xF000) { 84 pack_index = (cookie & 0x0FFF); 459 u16 cookie; local 57 parse_cookie(struct b43_wldev *dev, u16 cookie, struct b43_pio_txpacket **pack) argument [all...] |
H A D | xmit.c | 244 u16 cookie) 546 /* Magic cookie */ 549 txhdr->format_598.cookie = cpu_to_le16(cookie); 552 txhdr->format_351.cookie = cpu_to_le16(cookie); 555 txhdr->format_410.cookie = cpu_to_le16(cookie); 811 /* chanid is the radio channel cookie value as used 818 /* chanid is the SHM channel cookie 240 b43_generate_txhdr(struct b43_wldev *dev, u8 *_txhdr, struct sk_buff *skb_frag, struct ieee80211_tx_info *info, u16 cookie) argument [all...] |
/drivers/net/wireless/b43legacy/ |
H A D | pio.c | 119 u16 cookie = 0x0000; local 130 cookie = 0x1000; 133 cookie = 0x2000; 136 cookie = 0x3000; 143 cookie |= (u16)packetindex; 145 return cookie; 150 u16 cookie, 157 switch (cookie & 0xF000) { 173 packetindex = (cookie & 0x0FFF); 496 queue = parse_cookie(dev, status->cookie, 149 parse_cookie(struct b43legacy_wldev *dev, u16 cookie, struct b43legacy_pio_txpacket **packet) argument [all...] |
H A D | xmit.c | 192 u16 cookie) 361 /* Magic cookie */ 362 txhdr->cookie = cpu_to_le16(cookie); 376 u16 cookie) 380 info, cookie); 629 status.cookie = le16_to_cpu(hw->cookie); 187 generate_txhdr_fw3(struct b43legacy_wldev *dev, struct b43legacy_txhdr_fw3 *txhdr, const unsigned char *fragment_data, unsigned int fragment_len, struct ieee80211_tx_info *info, u16 cookie) argument 371 b43legacy_generate_txhdr(struct b43legacy_wldev *dev, u8 *txhdr, const unsigned char *fragment_data, unsigned int fragment_len, struct ieee80211_tx_info *info, u16 cookie) argument
|
/drivers/oprofile/ |
H A D | buffer_sync.c | 210 unsigned long cookie; local 214 get_dcookie(path, &cookie); 215 return cookie; 226 unsigned long cookie = NO_COOKIE; local 237 cookie = fast_get_dcookie(&vma->vm_file->f_path); 242 return cookie; 254 unsigned long cookie = NO_COOKIE; local 263 cookie = fast_get_dcookie(&vma->vm_file->f_path); 275 cookie = INVALID_COOKIE; 277 return cookie; 300 add_user_ctx_switch(struct task_struct const *task, unsigned long cookie) argument 313 add_cookie_switch(unsigned long cookie) argument 330 unsigned long cookie; local 379 unsigned long cookie; local 506 unsigned long cookie = 0; local [all...] |
/drivers/scsi/libsas/ |
H A D | sas_ata.c | 705 static void async_sas_ata_eh(void *data, async_cookie_t cookie) argument
|