Searched defs:to (Results 126 - 150 of 177) sorted by relevance

12345678

/drivers/media/platform/omap3isp/
H A Disppreview.c37 /* Default values in Office Fluorescent Light for RGB to YUV Conversion*/
80 * preview engine input by the driver to avoid overflow at line and frame end.
91 * The color suppression and luma enhancement filters are applied after bayer to
95 * the image to avoid changing the bayer pattern. The left margin is thus set to
96 * 6 pixels and the right margin to 4 pixels.
232 * hardware expects blocks to follow the Bayer order of the input data, while
233 * the driver stores the table in GRBG order in memory. The blocks need to be
234 * reordered to support non-GRBG Bayer patterns.
396 * preview_config_csc - Configure Color Space Conversion (RGB to YCbYC
895 void *to = (void *)params + attr->param_offset; local
[all...]
/drivers/media/usb/cx231xx/
H A Dcx231xx-video.c21 along with this program; if not, write to the Free Software
169 * video-buf generic routine to get the next available buffer
181 cx231xx_isocdbg("No active queue to serve\n");
283 &bytes_used);/* bytes used to get SAV/EAV */
362 &bytes_used);/* bytes used to get SAV/EAV */
405 /* found a boundary SAV/EAV. Updates the bytes used to reflect
420 * fault since buffer_size - 4 evaluates to a large number in that
530 /* copy the data to video buffer */
558 /* handle the switch from field 1 to field 2 */
572 /* first try to ge
631 cx231xx_swab(u16 *from, u16 *to, u16 len) argument
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c17 along with this program; if not, write to the Free Software
37 /* Pointer to the control reference of the master control */
39 /* The control corresponding to the v4l2_ext_control ID field. */
41 /* v4l2_ext_control index of the next control belonging to the
46 /* Small helper function to determine if the autocluster is set to manual
63 drivers to disable certain options if it is not supported. */
648 /* The MPEG controls are applicable to all codec controls
848 case V4L2_CID_FLASH_READY: return "Ready to Strobe";
1349 * close to th
1546 ptr_to_ptr(struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr from, union v4l2_ctrl_ptr to) argument
[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.c56 * operations the card has to perform.
58 #define MMC_BKOPS_MAX_TIMEOUT (4 * 60 * 1000) /* max time to wait in ms */
67 * So we allow it it to be disabled.
252 * @card: MMC card to start BKOPS
253 * @form_exception: A flag to indicate if this function was
254 * called due to an exception raised by the card
273 pr_err("%s: Failed to read bkops status: %d\n",
319 * Wakes up mmc context, passed as a callback to host controller driver
334 * @host: MMC host to start the request
335 * @mrq: data request to star
1886 mmc_do_erase(struct mmc_card *card, unsigned int from, unsigned int to, unsigned int arg) argument
2019 unsigned int rem, to = from + nr; local
[all...]
/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c41 // debugging, turns off buffer write mode if set to 1
220 /* Some Intel Strata Flash prior to FPO revision C has bugs in this area */
283 * to a single partition (PCR = 0x000): PCR is embedded into A0-A15. */
362 * to be common. It is like the devices id's are as
363 * well. This table is to pick all cases where
643 /* This function has the potential to distort the reality
670 * for each of them to have their own flchip structure even if they
833 * appears to make some (28F320) flash devices switch to
834 * 'read' mode. Make sure that we switch to 'rea
1837 cfi_intelext_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument
1889 cfi_intelext_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
[all...]
H A Dcfi_cmdset_0002.c74 static int cfi_amdstd_panic_write(struct mtd_info *mtd, loff_t to, size_t len,
177 /* Macronix added CFI to their 2nd generation
183 * This reduces the risk of false detection due to
284 * same memory. This is not allowed according to CFI, so we just pick the
326 pr_warning("%s: Bad 38VF640x CFI data; adjusting sector size from 64 to 8KiB\n", mtd->name);
336 pr_warning("%s: Bad S29GL064N CFI data; adjust from 64 to 128 sectors\n", mtd->name);
347 pr_warning("%s: Bad S29GL032N CFI data; adjust from 127 to 63 sectors\n", mtd->name);
357 * S29NS512P flash uses more than 8bits to report number of sectors,
361 pr_warning("%s: Bad S29NS512P CFI data; adjust to 512 sectors\n", mtd->name);
364 /* Used to fi
1665 cfi_amdstd_write_words(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
1920 cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
2130 cfi_amdstd_panic_write(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
1259 doc_write_page(struct docg3 *docg3, loff_t to, const u_char *buf, const u_char *oob, int autoecc) argument
1372 doc_backup_oob(struct docg3 *docg3, loff_t to, struct mtd_oob_ops *ops) argument
1506 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.c22 * Check, if mtd->ecctype should be set to MTD_ECC_HW
24 * BBT table is not serialized, has to be fixed
98 static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
187 * @chipnr: chipnumber to select, -1 for deselect
208 * nand_write_byte - [DEFAULT] write single byte to chip
210 * @byte: value to write
212 * Default function to write a byte to I/O[7:0]
222 * nand_write_byte16 - [DEFAULT] write single byte to a chip with width 16
224 * @byte: value to writ
2369 nand_do_write_ops(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2500 panic_nand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const uint8_t *buf) argument
2534 nand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const uint8_t *buf) argument
2559 nand_do_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2643 nand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
[all...]
/drivers/mtd/onenand/
H A Donenand_base.c38 * Multiblock erase if number of blocks to erase is 2 or more.
167 * @param addr address to read
178 * @param value value to write
179 * @param addr address to write
347 * @param addr address whose erase region needs to be identified
361 * onenand_command - [DEFAULT] Send command to OneNAND device
363 * @param cmd the command to be sent
364 * @param addr offset to read from or write to
365 * @param len number of bytes to rea
1646 onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to) argument
1740 onenand_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
1863 onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2052 onenand_write_oob_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2173 onenand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
2198 onenand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
2906 onenand_otp_write_oob_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) argument
3074 do_otp_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, u_char *buf) argument
[all...]
/drivers/mtd/spi-nor/
H A Dfsl-quadspi.c243 * An IC bug makes us to re-arrange the 32-bit data.
431 dev_dbg(q->dev, "to 0x%.8x:0x%.8x, len:%d, cmd:%.2x\n",
501 * we need to invalidate the AHB buffer. If we do not do so, we may read out
524 u8 opcode, unsigned int to, u32 *txbuf,
530 dev_dbg(q->dev, "to 0x%.8x:0x%.8x, len : %d\n",
531 q->chip_base_addr, to, count);
537 /* fill the TX data to the FIFO */
545 ret = fsl_qspi_runcmd(q, opcode, to, count);
565 * There are two different ways to read out the data from the flash:
573 * the memcpy to rea
523 fsl_qspi_nor_write(struct fsl_qspi *q, struct spi_nor *nor, u8 opcode, unsigned int to, u32 *txbuf, unsigned count, size_t *retlen) argument
705 fsl_qspi_write(struct spi_nor *nor, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument
[all...]
/drivers/net/can/usb/
H A Dkvaser_usb.c387 unsigned long to = jiffies + msecs_to_jiffies(USB_RECV_TIMEOUT); local
422 } while (time_before(jiffies, to));
1367 skb = NULL; /* set to NULL to avoid double free in
1548 dev_err(&intf->dev, "Failed to register can device\n");
/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.c80 * Period of the TX buffer reclaim timer. This timer does not need to run
191 spinlock_t lock; /* Lock to protect cmdQ enqueuing */
200 u16 dma_offset; /* DMA offset to align IP headers */
201 u16 recycleq_idx; /* skb recycle q to use */
209 unsigned int credits; /* credits to be returned to SGE */
237 unsigned int max_avail; /* max bits to be sent to any port */
241 struct tasklet_struct sched_tsk;/* tasklet used to run scheduler */
250 * the application is migrated to anothe
1006 struct freelQ_e *to = &fl->entries[fl->pidx]; 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
71 * locks. We just need to free packets faster than they arrive, we
84 * has something to do only when the system experiences severe memory
91 * descriptors to be reclaimed by the TX timer.
98 * this. We always want to have room for a maximum sized packet:
116 * Max TX descriptor space we allow for an Ethernet packet to be
129 * Maximum amount of data which we'll ever need to inline into a
139 * in-line room in skb's to accommodate pulling in RX_PULL_LEN bytes
147 * fragments. Should be >= RX_PULL_LEN but possibly bigger to giv
890 struct ulptx_sge_pair *to; local
[all...]
/drivers/net/ethernet/davicom/
H A Ddm9000.c69 * The DM9000 uses an address register to control where data written
70 * to the data register goes. This means that the address register
73 * During interrupt and other critical calls, a spinlock is used to
76 * access to the device.
79 * allowed to sleep are serialised so that the address register does
80 * not need to be saved. This lock also serves to serialise access
81 * to the EEPROM and PHY access registers which are shared between
172 * Write a byte to I/O port
188 * The essential point is that we have to d
477 dm9000_read_eeprom(struct board_info *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
358 netif_info(jme, rx_status, jme->dev, "Switched to PCC_P%d\n", p);
1664 "Unable to request %s interrupt (return: %d)\n",
1919 u32 phylink, to = JME_WAIT_LINK_TIME; local
1923 while (!(phylink & PHY_LINK_UP) && (to -= 10) > 0) {
2183 * And NIC trying to send this descriptor before we tell
2184 * it to start sending this TX queue.
2201 * Set tx buffer info after telling NIC to send
2386 * Force to Reset the link again
2803 int to; local
2839 int to; local
[all...]
/drivers/net/ethernet/smsc/
H A Dsmsc911x.c99 /* 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 */
152 /* Easy access to information */
242 /* Writes a packet to the TX_DATA_FIFO */
274 /* Writes a packet to the TX_DATA_FIFO - shifted version */
386 netdev_err(ndev, "failed to enable regulators %d\n",
392 netdev_err(ndev, "failed to enable clock %d\n", ret);
420 * these are not always-on we need to request regulators to b
2173 unsigned int to = 100; local
2611 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>
137 * @channel - channel to validate
181 static void iw_copy_mgmt_info_element(struct iw_mgmt_info_element *to, argument
184 iw_set_mgmt_info_element(from->id, to, from->data, from->len);
195 * WARNING: We switch to FPAGE0 and switc back again.
230 /* switch to SRAM Page 0 (for safety) */
238 * wl3501_set_to_wla - Move 'size' bytes from PC to card
241 * @size: Bytes to move
243 * Move 'size' bytes from PC to card. (Shouldn't be interrupted)
248 /* switch to SRA
[all...]
/drivers/s390/kvm/
H A Dvirtio_ccw.c337 "Failed to deregister indicators (%d)\n", ret);
508 /* Save it to our list. */
540 /* Try to get an indicator. */
599 /* We need a data area under 2G to communicate. */
607 /* no error, just fall back to legacy interrupts */
715 /* Give virtio_ring a chance to accept features. */
724 /* Write the feature bits to the host. */
786 /* Write the config area to the host. */
815 /* Write the status to the host. */
906 /* Map everything else to
1198 unsigned int from_cssid, to_cssid, from_ssid, to_ssid, from, to; local
[all...]
/drivers/scsi/esas2r/
H A Desas2r_main.c25 * exercise of rights under this Agreement, including but not limited to
26 * the risks and costs of program errors, damage to or loss of data,
39 * along with this program; if not, write to the Free Software
270 "transfers, you may want to increase the SGL page size. "
313 "Defines the interrupt mode to use. 0 for legacy"
425 /* set to bus master for BIOses that don't do it for us */
433 "unable to initialize device at PCI bus %x:%x",
485 "Failed to create sysfs binary file: fw");
491 "Failed to create sysfs binary file: fs");
497 "Failed to creat
1398 esas2r_read_mem_block(struct esas2r_adapter *a, void *to, u32 from, u32 size) argument
[all...]
/drivers/scsi/mvsas/
H A Dmv_sas.c21 * along with this program; if not, write to the Free Software
359 * arrange MVS_SLOT_BUF_SZ-sized DMA buffer according to our needs
499 * arrange MVS_SLOT_BUF_SZ-sized DMA buffer according to our needs
616 * arrange MVS_SLOT_BUF_SZ-sized DMA buffer according to our needs
1452 mv_dprintk(" task to dev %016llx response: 0x%x "
1721 mv_printk("Length %d of sense buffer too small to "
1734 mv_printk("Length %d of sense buffer too small to "
1824 void *to; local
1898 to = kmap_atomic(sg_page(sg_resp));
1899 memcpy(to
[all...]
/drivers/staging/lustre/lustre/lov/
H A Dlov_obd.c28 * Use is subject to license terms.
63 /* Keep a refcount of lov->tgt usage to prevent racing with addition/deletion.
64 Any function that expects lov_tgts to remain stationary must take a ref. */
83 /* ok to dec to 0 more than once -- ltd_exp's will be null */
157 /* FIXME this is probably supposed to be
254 /* connect to administrative disabled ost */
292 /* Pass it on to our clients.
293 * XXX This should be an argument to disconnect,
530 CERROR("request to ad
1707 char *to; local
[all...]
/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipe.c14 * along with this program; if not, write to the Free Software
1279 void *to; local
1283 to = (void *)params + module_if->param_offset;
1286 if (to && from && size) {
1287 if (copy_from_user(to, from, size)) {
1291 rval = module_if->set(ipipe, to);
1294 } else if (to && !from && size) {
1319 void __user *to = *(void * __user *) local
1329 if (to && from && size) {
1333 if (copy_to_user(to, fro
[all...]
/drivers/tty/serial/
H A Dmxs-auart.c201 /* clear the bit used to serialize the DMA tx. */
611 * Characters to ignore
755 * Enable fifo so all four bytes of a DMA word are written to
841 unsigned int to = 1000; local
844 if (!to--)
858 unsigned int to = 20000; local
879 /* Finally, wait for transmitter to become empty ... */
882 if (!to--)
888 * to be idle. This might keep the transmitter enabled although it is
889 * unused, but that is better than to disabl
[all...]

Completed in 561 milliseconds

12345678