/drivers/usb/mon/ |
H A D | mon_bin.c | 35 /* #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...] |
/drivers/video/console/ |
H A D | vgacon.c | 23 * because it causes screen to flicker, by Mitja Horvat 26 * Use 2 outw instead of 4 outb_p to reduce erroneous text 31 * This file is subject to the terms and conditions of the GNU General Public 66 /* You really do _NOT_ want to define this, unless you have buggy 147 * By replacing the four outb_p with two back to back outw, we can reduce 148 * the window of opportunity to see text mislocated to the RHS of the 150 * possibility that some pre-dinosaur hardware won't like the back to back 151 * I/O. Since the Xservers get away with it, we should be able to as well. 160 * handlers, thus the write has to b 654 vgacon_set_cursor_size(int xpos, int from, int to) argument [all...] |
/drivers/video/fbdev/ |
H A D | sm501fb.c | 73 * This structure is used to track memory usage within the SM501 framebuffer 95 int swap_endian; /* set to swap rgb=>bgr */ 134 * This call is mainly for PCI bus systems where we need to 135 * ensure that any writes to the bus are completed before the 146 * This is an attempt to lay out memory for the two framebuffers and 157 * we need to allocate memory for the 2D acceleration engine 158 * command list and the data for the engine to deal with. 192 * 0,0 correctly unless the start is aligned to a page start. 206 /* check to see if we have panel memory allocated 253 * Converts a period in picoseconds to H 715 sm501fb_panel_power(struct sm501fb_info *fbi, int to) argument [all...] |
/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 5 * Portions of this code were derived from works subjected to the 112 * Global variable used to hold the major block device number 144 * @pdev Pointer to the pci_dev structure. 220 * @port Pointer to the port data structure. 222 * @data Pointer to driver_data. 239 "Command tag %d failed due to TFE\n", tag); 256 * @dd Pointer to the driver data structure. 272 /* Spin for up to 2 seconds, waiting for reset acknowledgement */ 289 * Issue a command to the hardware. 292 * registers, causing hardware command processing to begi 1034 unsigned long to; local 1787 unsigned int to; local 1861 unsigned int to; local 4485 unsigned long flags, to; local [all...] |
/drivers/gpu/drm/i915/ |
H A D | i915_gem.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the 9 * Software is furnished to do so, subject to the following conditions: 85 * a tiling change if we ever need to acquire one. 121 * Only wait 10 seconds for the gpu reset to complete to avoi 2871 i915_gem_object_sync(struct drm_i915_gem_object *obj, struct intel_engine_cs *to) argument [all...] |
/drivers/mtd/devices/ |
H A D | st_spi_fsm.c | 238 * Flags to tweak operation of default read/write/erase routines 277 /* Parameters to configure a READ or WRITE FSM sequence */ 279 uint32_t flags; /* flags to support config */ 401 * may default to locked state on power-on. 485 * configurable and would normally be tuned according to the READ command and 486 * operating frequency. However, this applies universally to all 'FAST' READ 489 * hard-wired to use 8 dummy cycles, we must configure the device to also use 8 780 dev_dbg(fsm->dev, "writing %d bytes to FIFO\n", size); 911 * Certain modes of operation cause the Flash device to ente 1685 stfsm_mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 58 * Page chunk size for FL0 buffers if FL0 is to be populated with page chunks. 59 * It must be a divisor of PAGE_SIZE. If set to 0 FL0 will use sk_buffs 77 * Period of the Tx buffer reclaim timer. This timer does not need to run 143 * Maps a number of flits to the number of Tx descriptors that can hold them. 148 * HW allows up to 4 descriptors to be combined into a WR. 185 * @q: the response queue to replenish 186 * @credits: how many new responses to mak 577 struct rx_desc *to = &q->desc[q->pidx]; local 1336 struct work_request_hdr *to = (struct work_request_hdr *)d; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 6 * 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. 74 * to free packets faster than they arrive, we eventually catch up and keep 87 * something to do only when the system experiences severe memory shortage. 100 * SGE Ingress DMA Channel appears to be hung every N RX_QCHECK_PERIODs till 107 * Max number of Tx descriptors to be reclaimed by the Tx timer. 112 * Timer index used when backing off due to memory shortage. 118 * attempt to refill it. 137 * Max Tx descriptor space we allow for an Ethernet packet to b 804 struct ulptx_sge_pair *to; local [all...] |
/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-config.c | 2 * This software may be used and distributed according to the terms of 45 * vxge_hw_vpath_wait_receive_idle - Wait for Rx to become idle 60 * to send frames to the host. This is done by reading the 61 * PRC_RXD_DOORBELL_VPn register and comparing the read value to the 96 * stored in the frame buffer for each vpath assigned to the given 97 * function (hldev) have been sent to the host. 189 * for ~5secs, a NMI error can occur. A way around this is to give up 191 * So, only allow it to sleep for ~4secs if open. Otherwise, delay for 298 /* Transfer fw image to adapte 2063 __vxge_hw_ring_rxdblock_link(struct vxge_hw_mempool *mempoolh, struct __vxge_hw_ring *ring, u32 from, u32 to) argument [all...] |
/drivers/net/wireless/ath/wil6210/ |
H A D | wil6210.h | 4 * Permission to use, copy, modify, and/or distribute this software for any 59 #define WIL6210_FW_RECOVERY_RETRIES (5) /* try to recover this many times */ 91 u32 IMS; /* Mask Set, write 1 to set */ 92 u32 IMC; /* Mask Clear, write 1 to clear */ 170 u32 to; /* linker address - to, exclusive */ member in struct:fw_map 240 * 01..0f - WiFi ports, driver to create 285 u32 hwtail; /* write here to inform hw */ 312 * @reorder_buf: buffer to reorder incoming aggregated MPDUs 319 * @ssn: Starting Sequence Number expected to b [all...] |
/drivers/scsi/ |
H A D | osst.c | 29 /* The "failure to reconnect" firmware bug */ 62 /* The message level for the debug messages is currently set to KERN_NOTICE 64 in the drivers are more widely classified, this may be changed to KERN_DEBUG. */ 95 MODULE_PARM_DESC(max_dev, "Maximum number of OnStream Tape Drives to attach (4)"); 101 MODULE_PARM_DESC(max_sg_segs, "Maximum number of scatter/gather segments to use (9)"); 113 /* Some default definitions have been moved to osst_options.h */ 125 /* uncomment define below to test error recovery */ 130 and when it tries to tell us something, we had better listen... */ 147 /* Internal ioctl to set both density (uppermost 8 bits) and blocksize (lower 235 /* Convert the result to succes 915 osst_wait_frame(struct osst_tape * STp, struct osst_request ** aSRpnt, int curr, int minlast, int to) argument [all...] |
H A D | dc395x.c | 33 * 3. The name of the author may not be used to endorse or promote products 79 * Set to disable parts of the driver 101 * Set set of things to output debugging for. 102 * Undefine to remove all debugging 110 * driver name and a ": " to the start of the message 233 struct SGentry *segment_x; /* Linear array of hw sg entries (up to 64 entries) */ 238 size_t total_xfer_length; /* Total number of bytes remaining to be transferred */ 478 * Value used to indicate that a command line override 479 * hasn't been used to modify the value. 545 * Safe settings. If set to zer 856 waiting_set_timer(struct AdapterCtlBlk *acb, unsigned long to) argument [all...] |
/drivers/staging/lustre/lustre/llite/ |
H A D | file.c | 28 * Use is subject to license terms. 140 * XXX: in case of LMV, is this correct to access 169 /* MDS has instructed us to obtain Size-on-MDS attribute from 170 * OSTs and send setattr to back to MDS. */ 279 * application crashed, we need to release here. */ 294 we can skip talking to MDS */ 338 * to make every effort to clean up all of our state here. Also, applications 416 * but it disappeared while we were getting from there to ll_file_ope 1205 ll_file_read_iter(struct kiocb *iocb, struct iov_iter *to) argument [all...] |
/drivers/staging/speakup/ |
H A D | main.c | 21 * along with this program; if not, write to the Free Software 50 #include <linux/uaccess.h> /* copy_from|to|user() and others */ 68 MODULE_PARM_DESC(synth, "Synth to start if speakup is built in."); 130 * initialized to default_chars and user selectable via 196 * initialized to default_chartab and user selectable via 536 /* get_word - will first check to see if the character under the 538 * return the word space. If spk_say_word_ctl is not set it will check to 539 * see if there is a word starting on the next position to the right 541 * move left to the beginning of any previous word on the line or the 554 /* decided to tak 802 say_from_to(struct vc_data *vc, u_long from, u_long to, int read_punc) argument 832 say_line_from_to(struct vc_data *vc, u_long from, u_long to, int read_punc) argument 918 say_screen_from_to(struct vc_data *vc, u_long from, u_long to) argument 940 u_long start, end, from, to; local [all...] |
/drivers/infiniband/hw/cxgb3/ |
H A D | cxio_wr.h | 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 163 __be64 to; member in struct:t3_sge 642 #define TPT_ERR_INVALIDATE_SHARED_MR 0x7 /* attempt to invalidate a */ 644 #define TPT_ERR_INVALIDATE_MR_WITH_MW_BOUND 0x8 /* attempt to invalidate a */ 695 u32 error; /* 1 once we go to ERROR */ 697 u32 wptr; /* idx to next available WR slot */
|
/drivers/infiniband/hw/cxgb4/ |
H A D | iw_cxgb4.h | 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 223 unsigned to = C4IW_WR_TO; local 227 ret = wait_for_completion_timeout(&wr_waitp->completion, to); 236 to = to << 2;
|
/drivers/md/ |
H A D | dm-thin.c | 45 * Device id is restricted to 24 bits. 53 * We use a standard copy-on-write btree to store the mappings for the 57 * snapshot. They are just two device trees that happen to point to the 60 * When we get a write in we decide if it's to a shared data block using 61 * some timestamp magic. If it is, we have to break sharing. 63 * Let's say we write to a shared block in what was the origin. The 66 * i) plug io further to this physical block. (see bio_prison code). 68 * ii) quiesce any read io to that shared data block. Obviously 71 * iii) copy the data block to 832 struct dm_io_region to; local 888 struct dm_io_region from, to; local [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 80 * @to: destination FP index 82 * Makes sure the contents of the bp->fp[to].napi is kept 84 * the target to the source, and then mem copying the entire 88 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) argument 91 struct bnx2x_fastpath *to_fp = &bp->fp[to]; 93 struct bnx2x_sp_objs *to_sp_objs = &bp->sp_objs[to]; 95 struct bnx2x_fp_stats *to_fp_stats = &bp->fp_stats[to]; 105 to_fp->index = to; 107 /* Retain the tpa_info of the original `to' version as we don't want 108 * 2 FPs to contai [all...] |
/drivers/net/ethernet/micrel/ |
H A D | ks8851_mll.c | 15 * along with this program; if not, write to the Free Software 376 * A dual representation of the tx header data to allow 377 * access to individual bytes, and to allow 16bit accesses 387 * @net_device : The network device we're bound to 390 * @txh : temporaly buffer to save status/length. 391 * @lock : Lock to ensure that the device is not accessed when busy. 392 * @pdev : Pointer to platform device. 410 * @mac_addr : MAC address assigned to this device. 420 * The @statelock is used to protec 1309 ks_set_msglevel(struct net_device *netdev, u32 to) argument [all...] |
/drivers/nfc/ |
H A D | pn533.c | 311 u8 to; member in struct:pn533_cmd_activate_response 324 u8 to; member in struct:pn533_cmd_jump_dep_response 417 __be16 eif_flag; /* fixed to 0xFFFF */ 743 "It it not the response to the last command\n"); 1012 * The function sends a piority cmd directly to the chip omiting the cmd 1013 * queue. It's intended to be used by chaining mechanism of received responses 1014 * where the host has to request every single chunk of data before scheduling 1118 * Please note the req parameter is freed inside the function to 1129 * A caller has to check a return value with IS_ERR macro. If the test pass, 1727 "Error %d when trying to perfor [all...] |
/drivers/s390/block/ |
H A D | dasd_eckd.c | 6 * Bugreports.to..: <Linux390@de.ibm.com> 58 * raw track access always map to 64k in memory 59 * so it maps to 16 blocks of 4k per track 70 /* The ccw bus type uses this table to find devices that it sends to 520 /* private uid is kept up to date, conf_data may be outdated */ 735 * to get read/written with the KD variant of the command. 854 * buffer has to start with EBCDIC "V1.0" to show 883 * the buffer has to b 4090 dasd_eckd_dump_ccw_range(struct ccw1 *from, struct ccw1 *to, char *page) argument 4148 struct ccw1 *first, *last, *fail, *from, *to; local [all...] |
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | layout.c | 28 * Use is subject to license terms. 45 * Every struct ptlrpc_request contains a "pill", which points to a description 46 * of the format that the request conforms to. 73 * RQFs (see below) refer to two struct req_msg_field arrays describing the 406 &RMF_EADATA /* for new layout to be set up */ 988 * smaller buffers. Until we no longer need to keep compatibility 1045 /* FIXME: this should be made to use RMF_F_STRUCT_ARRAY */ 1670 * k + 1 to detect unused format/field 1687 * Initializes the expected sizes of each RMF in a \a pill (\a rc_area) to -1. 1723 * The req->rq_pill_init flag makes it safe to initializ 2400 char *from, *to; local [all...] |
/drivers/usb/gadget/udc/ |
H A D | lpc32xx_udc.c | 27 * along with this program; if not, write to the Free Software 82 /* 16 endpoints (not to be confused with 32 hardware endpoints) */ 94 #define EP_IN 1 /* TX (to host) */ 111 * modified to tag some work data with each DMA descriptor. */ 132 u32 hwep_num; /* Maps to hardware endpoint */ 184 /* Work queues related to I2C support */ 269 /* EP DMA status, enable, and disable. This is used to specifically 734 /* Issues a single command to the USB device state machine */ 738 int to; local 749 to 775 int to = 1000; local 868 int to = 1000; local 1269 int to = 1000; local [all...] |
/drivers/block/ |
H A D | nvme-scsi.c | 16 * Refer to the SCSI-NVMe Translation spec for details on how 280 * DEVICE_SPECIFIC_PARAMETER in mode parameter header (see sbc2r16) to 286 /* MACROs to extract information from CDBs */ 351 /* Struct to gather data that needs to be extracted from a SCSI CDB. 352 Not conforming to any particular CDB variant, but compatible with all. */ 365 /* Copy data to userspace memory */ 408 static int nvme_trans_copy_from_user(struct sg_io_hdr *hdr, void *to, argument 414 void *index = to; 442 not_copied = copy_from_user(to, hd [all...] |
/drivers/infiniband/hw/amso1100/ |
H A D | c2_wr.h | 5 * This software is available to you under a choice of one of two 6 * licenses. You may choose to be licensed under the terms of the GNU 204 __be64 to; member in struct:c2_data_addr 236 * Image types of objects written to flash 243 * to fix bug 1815 we define the max size allowable of the 244 * terminate message (per the IETF spec).Refer to the IETF 262 * WARNING: All of these structs need to align any 64bit types on 267 * Clustercore Work Request Header. Be sensitive to field layout 272 * adapter can write to it while the wr is pending without 274 * from the host to adapte [all...] |