Searched defs:to (Results 101 - 125 of 144) sorted by relevance

123456

/drivers/tty/serial/
H A Dmxs-auart.c331 * Characters to ignore
440 * Enable fifo so all four bytes of a DMA word are written to
529 unsigned int to = 1000; local
532 if (!to--)
546 unsigned int to = 1000; local
568 * Finally, wait for transmitter to become empty
572 if (!to--)
/drivers/usb/misc/sisusbvga/
H A Dsisusb_con.c21 * * 3) The name of the author may not be used to endorse or promote products
44 * calls from non-schedulable context due to our USB-dependend
165 * context due to our locks and the USB transport.
167 * some calls to printk.
251 * interface functions, it suffices to
339 * to the console's internal screen buffer. So we
341 * a call to putc(s) to update the real screen.
403 /* Need to put the characters into the buffer ourselves,
441 /* Need to clea
780 int from, to, baseline; local
[all...]
/drivers/vhost/
H A Dnet.c74 static int move_iovec_hdr(struct iovec *from, struct iovec *to, argument
82 to->iov_base = from->iov_base;
83 to->iov_len = size;
88 ++to;
94 static void copy_iovec_hdr(const struct iovec *from, struct iovec *to, argument
102 to->iov_base = from->iov_base;
103 to->iov_len = size;
106 ++to;
129 /* Expects to be always run from workqueue - which acts as
184 /* Nothing new? Wait for eventfd to tel
[all...]
/drivers/block/
H A Dataflop.c10 * - Reading is done in whole tracks and buffered to speed up things
12 * similar to TOS
37 * - DMA to the block buffer directly if we have a 32bit DMA
58 * Things left to do:
193 * MSch: User-provided type information. 'drive' points to
199 * User-provided permanent type information. 'drive' points to
256 * operations. Second, a track buffer is used to cache a whole track
257 * of the disk to save read operations. These are two separate buffers
286 * These are global variables, as that's the easiest way to give
287 * information to interrupt
566 copy_buffer(void *from, void *to) argument
[all...]
/drivers/block/mtip32xx/
H A Dmtip32xx.c5 * Portions of this code were derived from works subjected to the
84 * Global variable used to hold the major block device number
112 * @pdev Pointer to the pci_dev structure.
132 * error to the upper layer.
134 * @dd Pointer to the DRIVER_DATA structure.
183 * This function needs to be reentrant since it could be called
187 * @port Pointer to the port data structure.
214 dev_warn(&port->dd->pdev->dev, "Failed to get a tag.\n");
226 * @port Pointer to the port data structure.
227 * @tag Tag of command to releas
564 unsigned long to, tagaccum[SLOTBITS_IN_LONGS]; local
1174 unsigned long to; local
1235 unsigned long to; local
[all...]
/drivers/gpu/drm/
H A Ddrm_ioc32.c11 * Permission is hereby granted, free of charge, to any person obtaining a
13 * to deal in the Software without restriction, including without limitation
14 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15 * and/or sell copies of the Software, and to permit persons to whom the
16 * Software is furnished to do so, subject to the following conditions:
80 u32 date; /**< User-space buffer to hold date */
82 u32 desc; /**< User-space buffer to hold desc */
184 enum drm_map_type type; /**< Type of memory to ma
438 drm_buf_desc32_t __user *to; local
[all...]
/drivers/isdn/i4l/
H A Disdn_ppp.c7 * This software may be used and distributed according to the terms
105 * in this case we bind another lp to the master device
138 is->state = IPPP_OPEN; /* fallback to 'OPEN but not ASSIGNED' state */
143 is->lp = NULL; /* link is down .. set lp to NULL */
163 if (lp->pppbind < 0) { /* device bounded to ippp device ? */
167 while (net_dev) { /* step through net devices to find exclusive minors */
190 printk(KERN_WARNING "isdn_ppp_bind: Can't find a (free) connection to the ipppd daemon.\n");
207 is->state = IPPP_OPEN | IPPP_ASSIGNED; /* assigned to a netdevice but not connected */
309 is->last_link_seqno = -1; /* MP: maybe set to Bundle-MIN, when joining a bundle ?? */
363 * isdn_ppp_free() sets is->lp to NUL
1852 isdn_ppp_mp_discard(ippp_bundle *mp, struct sk_buff *from, struct sk_buff *to) argument
1864 isdn_ppp_mp_reassembly(isdn_net_dev *net_dev, isdn_net_local *lp, struct sk_buff *from, struct sk_buff *to) argument
[all...]
/drivers/media/video/cx231xx/
H A Dcx231xx-video.c21 along with this program; if not, write to the Free Software
104 /* Common to all boards */
288 * video-buf generic routine to get the next available buffer
300 cx231xx_isocdbg("No active queue to serve\n");
408 &bytes_used);/* bytes used to get SAV/EAV */
494 &bytes_used);/* bytes used to get SAV/EAV */
537 /* found a boundary SAV/EAV. Updates the bytes used to reflect
552 * fault since buffer_size - 4 evaluates to a large number in that
662 /* copy the data to video buffer */
690 /* handle the switch from field 1 to fiel
767 cx231xx_swab(u16 *from, u16 *to, u16 len) argument
[all...]
/drivers/media/video/omap3isp/
H A Disppreview.c22 * along with this program; if not, write to the Free Software
47 /* Default values in Office Fluorescent Light for RGB to YUV Conversion*/
89 * preview engine input by the driver to avoid overflow at line and frame end.
102 * The color suppression and luma enhancement filters are applied after bayer to
106 * the image to avoid changing the bayer pattern. The left margin is thus set to
107 * 8 pixels and the right margin to 6 pixels.
269 * @prev_nf: Structure containing the noisefilter table, strength to be used
462 * @enable: 1 - Bypasses Gamma - 10bit input is cropped to 8MSB.
573 * @rgb2rgb: Structure containing the rgb to rg
911 void *to = NULL, __user *from = NULL; local
[all...]
/drivers/mfd/
H A Dsm501.c43 struct sm501_gpio *ourgpio; /* to get back to parent. */
239 /* during suspend/resume, we are currently not allowed to sleep,
240 * so change to using mdelay() instead of msleep() if we
260 unsigned long to; local
265 to = (misc & ~clear) | set;
267 if (to != misc) {
268 smc501_writel(to, sm->regs + SM501_MISC_CONTROL);
275 return to;
313 * alters the power active gate to se
316 sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to) argument
521 struct sm501_clock to; local
646 struct sm501_clock to; local
[all...]
/drivers/mmc/core/
H A Dcore.c50 * So we allow it it to be disabled.
57 * known to be on a non-removable bus, to avoid the risk of writing
58 * back data to a different card after resume. Allow this to be
289 * @host: MMC host to prepare command
290 * @mrq: MMC request to prepare for
292 * that may run in parellel to this call, otherwise false
294 * mmc_pre_req() is called in prior to mmc_start_req() to le
1539 mmc_do_erase(struct mmc_card *card, unsigned int from, unsigned int to, unsigned int arg) argument
1652 unsigned int rem, to = from + nr; local
[all...]
/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c42 // debugging, turns off buffer write mode if set to 1
216 /* Some Intel Strata Flash prior to FPO revision C has bugs in this area */
326 * to be common. It is like the devices id's are as
327 * well. This table is to pick all cases where
439 printk(KERN_ERR "Failed to allocate memory for MTD device\n");
568 printk(KERN_ERR "Failed to allocate memory for MTD erase region info\n");
611 /* This function has the potential to distort the reality
638 * for each of them to have their own flchip structure even if they
801 * appears to make some (28F320) flash devices switch to
1799 cfi_intelext_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument
1851 cfi_intelext_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
[all...]
/drivers/mtd/devices/
H A Ddocg3.c17 * along with this program; if not, write to the Free Software
59 * - BCH can correct up to 4 bits (t = 4)
151 * @nbNOPs: the number of NOPs to issue
216 * @buf: the buffer to fill in (might be NULL is dummy reads)
217 * @len: the length to read
262 * @buf: the buffer to get input bytes from
263 * @len: the length to write
294 * doc_set_data_mode - Sets the flash to normal or reliable data mode
301 * In reliable mode, pages 2*n and 2*n+1 are clones. Writing to page 0 of blocks
302 * (4,5) make the hardware write also to pag
1251 doc_write_page(struct docg3 *docg3, loff_t to, const u_char *buf, const u_char *oob, int autoecc) argument
1364 doc_backup_oob(struct docg3 *docg3, loff_t to, struct mtd_oob_ops *ops) argument
1498 doc_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
[all...]
/drivers/mtd/nand/
H A Dnand_base.c23 * Check, if mtd->ecctype should be set to MTD_ECC_HW
27 * BBT table is not serialized, has to be fixed
99 static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
191 * @chipnr: chipnumber to select, -1 for deselect
212 * nand_write_buf - [DEFAULT] write buffer to chip
215 * @len: number of bytes to write
231 * @buf: buffer to store date
232 * @len: number of bytes to read
248 * @buf: buffer containing the data to compare
249 * @len: number of bytes to compar
2191 nand_do_write_ops(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2306 panic_nand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const uint8_t *buf) argument
2340 nand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const uint8_t *buf) argument
2366 nand_do_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2446 nand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
[all...]
/drivers/mtd/onenand/
H A Donenand_base.c39 * Multiblock erase if number of blocks to erase is 2 or more.
168 * @param addr address to read
179 * @param value value to write
180 * @param addr address to write
348 * @param addr address whose erase region needs to be identified
362 * onenand_command - [DEFAULT] Send command to OneNAND device
364 * @param cmd the command to be sent
365 * @param addr offset to read from or write to
366 * @param len number of bytes to rea
1645 onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to) argument
1739 onenand_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
1862 onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2051 onenand_write_oob_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2172 onenand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
2197 onenand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2909 onenand_otp_write_oob_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
3077 do_otp_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, u_char *buf) argument
[all...]
/drivers/net/ethernet/amd/
H A Ddeclance.c26 * v0.005: started to play around with LANCE-DMA. This driver will not
29 * v0.006: added pointer arrays to lance_private and setup routine for
32 * v0.007: Big shit. The LANCE seems to use a different DMA mechanism to
37 * seems to be correct. HK
39 * v0.008: mods to make PMAX_LANCE work. 01/09/1999 triemer
45 * PMAX requirement to only use halfword accesses to the
48 * v0.011: Converted the PMAD to the driver model. macro
176 * as seen from the CPU is (max) 128 kB long and has to b
326 cp_to_buf(const int type, void *to, const void *from, int len) argument
385 cp_from_buf(const int type, void *to, const void *from, int len) argument
[all...]
/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c15 * with this program; if not, write to the Free Software Foundation, Inc., *
82 * Period of the TX buffer reclaim timer. This timer does not need to run
193 spinlock_t lock; /* Lock to protect cmdQ enqueuing */
202 u16 dma_offset; /* DMA offset to align IP headers */
203 u16 recycleq_idx; /* skb recycle q to use */
211 unsigned int credits; /* credits to be returned to SGE */
239 unsigned int max_avail; /* max bits to be sent to any port */
243 struct tasklet_struct sched_tsk;/* tasklet used to ru
1020 struct freelQ_e *to = &fl->entries[fl->pidx]; local
[all...]
/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c6 * This software is available to you under a choice of one of two
7 * licenses. You may choose to be licensed under the terms of the GNU
67 * Should be >= RX_PULL_LEN but possibly bigger to give pskb_may_pull some room.
71 /* Ethernet header padding prepended to RX_PKTs */
77 * to free packets faster than they arrive, we eventually catch up and keep
90 * something to do only when the system experiences severe memory shortage.
100 * Max number of Tx descriptors to be reclaimed by the Tx timer.
105 * Timer index used when backing off due to memory shortage.
111 * attempt to refill it.
130 * Max Tx descriptor space we allow for an Ethernet packet to b
710 struct ulptx_sge_pair *to; local
[all...]
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c7 * This software is available to you under a choice of one of two
8 * licenses. You may choose to be licensed under the terms of the GNU
79 * locks. We just need to free packets faster than they arrive, we
92 * has something to do only when the system experiences severe memory
99 * descriptors to be reclaimed by the TX timer.
106 * timer will attempt to refill it.
112 * this. We always want to have room for a maximum sized packet:
130 * Max TX descriptor space we allow for an Ethernet packet to be
143 * Maximum amount of data which we'll ever need to inline into a
153 * in-line room in skb's to accommodat
890 struct ulptx_sge_pair *to; local
[all...]
/drivers/net/ethernet/davicom/
H A Ddm9000.c68 * The DM9000 uses an address register to control where data written
69 * to the data register goes. This means that the address register
72 * During interrupt and other critical calls, a spinlock is used to
75 * access to the device.
78 * allowed to sleep are serialised so that the address register does
79 * not need to be saved. This lock also serves to serialise access
80 * to the EEPROM and PHY access registers which are shared between
182 * Write a byte to I/O port
192 /* routines for sending block to chi
363 dm9000_read_eeprom(board_info_t *db, int offset, u8 *to) argument
[all...]
/drivers/net/ethernet/
H A Djme.c20 * along with this program; if not, write to the Free Software
357 netif_info(jme, rx_status, jme->dev, "Switched to PCC_P%d\n", p);
1663 "Unable to request %s interrupt (return: %d)\n",
1914 u32 phylink, to = JME_WAIT_LINK_TIME; local
1918 while (!(phylink & PHY_LINK_UP) && (to -= 10) > 0) {
2154 * And NIC trying to send this descriptor before we tell
2155 * it to start sending this TX queue.
2169 * Set tx buffer info after telling NIC to send
2352 * Force to Reset the link again
2758 int to; local
2794 int to; local
[all...]
/drivers/net/ethernet/smsc/
H A Dsmsc911x.c17 * along with this program; if not, write to the Free Software
99 /* used to decide which workarounds apply */
105 /* This needs to be acquired before calling any of below:
110 /* spinlock to ensure register accesses are serialised */
149 /* Easy access to information */
239 /* Writes a packet to the TX_DATA_FIFO */
271 /* Writes a packet to the TX_DATA_FIFO - shifted version */
383 netdev_err(ndev, "failed to enable regulators %d\n",
406 * these are not always-on we need to request regulators to b
2106 unsigned int to = 100; local
2538 unsigned int to = 100; local
[all...]
/drivers/net/wireless/
H A Dwl3501_cs.c4 * Ported to 2.2, 2.4 & 2.5 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
138 * @channel - channel to validate
182 static void iw_copy_mgmt_info_element(struct iw_mgmt_info_element *to, argument
185 iw_set_mgmt_info_element(from->id, to, from->data, from->len);
196 * WARNING: We switch to FPAGE0 and switc back again.
231 /* switch to SRAM Page 0 (for safety) */
239 * wl3501_set_to_wla - Move 'size' bytes from PC to card
242 * @size: Bytes to move
244 * Move 'size' bytes from PC to card. (Shouldn't be interrupted)
249 /* switch to SRA
[all...]
/drivers/scsi/mvsas/
H A Dmv_sas.c21 * along with this program; if not, write to the Free Software
356 * arrange MVS_SLOT_BUF_SZ-sized DMA buffer according to our needs
493 * arrange MVS_SLOT_BUF_SZ-sized DMA buffer according to our needs
610 * arrange MVS_SLOT_BUF_SZ-sized DMA buffer according to our needs
1442 mv_dprintk(" task to dev %016llx response: 0x%x "
1711 mv_printk("Length %d of sense buffer too small to "
1724 mv_printk("Length %d of sense buffer too small to "
1814 void *to; local
1883 to = kmap_atomic(sg_page(sg_resp));
1884 memcpy(to
[all...]
/drivers/usb/mon/
H A Dmon_bin.c35 /* #2 used to be MON_IOCX_URB, removed before it got into Linus tree */
53 * But it's all right. Just use a simple way to make sure the chunk is never
66 * application to pick data once in two ticks. This way, another application,
67 * which presumably drives the bus, gets to hog CPU, yet we collect our data.
75 * XXX What about multi-megabyte URBs which take minutes to transfer?
87 u64 id; /* URB ID - from submission to callback */
115 * This has to take 16 bytes to make sure that the end of buffer
139 u32 nfetch; /* Number of events to fetch (out: fetched) */
140 u32 nflush; /* Number of events to flus
258 copy_from_buf(const struct mon_reader_bin *this, unsigned int off, char __user *to, int length) argument
[all...]

Completed in 754 milliseconds

123456