Searched defs:space (Results 1 - 25 of 63) sorted by relevance

123

/drivers/media/usb/dvb-usb/
H A Daf9005-remote.c89 u16 mark, space; local
96 space = (u16) (data[2] << 8) + data[3];
97 if (space * 3 < mark) {
115 space = (u16) (data[i + 2] << 8) + data[i + 3];
116 space >>= 1;
117 if (mark * 2 > space)
/drivers/thunderbolt/
H A Dcap.c80 int tb_find_cap(struct tb_port *port, enum tb_cfg_space space, enum tb_cap cap) argument
87 res = tb_port_read(port, &header, space, offset, 1);
90 if (space == TB_CFG_PORT && offset == 0xa
102 res = tb_port_read(port, &header, space,
113 "run out of retries while looking for cap %#x in config space %d, last offset: %#x\n",
114 cap, space, offset);
H A Dtb.h141 enum tb_cfg_space space, u32 offset, u32 length)
147 space,
153 enum tb_cfg_space space, u32 offset, u32 length)
159 space,
165 enum tb_cfg_space space, u32 offset, u32 length)
171 space,
177 enum tb_cfg_space space, u32 offset, u32 length)
183 space,
236 int tb_find_cap(struct tb_port *port, enum tb_cfg_space space, enum tb_cap cap);
140 tb_sw_read(struct tb_switch *sw, void *buffer, enum tb_cfg_space space, u32 offset, u32 length) argument
152 tb_sw_write(struct tb_switch *sw, void *buffer, enum tb_cfg_space space, u32 offset, u32 length) argument
164 tb_port_read(struct tb_port *port, void *buffer, enum tb_cfg_space space, u32 offset, u32 length) argument
176 tb_port_write(struct tb_port *port, void *buffer, enum tb_cfg_space space, u32 offset, u32 length) argument
/drivers/gpu/host1x/
H A Dcdma.c129 * - CDMA_EVENT_PUSH_BUFFER_SPACE : there is space in the push buffer
130 * - Return the amount of space (> 0)
137 unsigned int space; local
140 space = list_empty(&cdma->sync_queue) ? 1 : 0;
143 space = host1x_pushbuffer_space(pb);
149 if (space)
150 return space;
/drivers/crypto/
H A Dpadlock-sha.c90 unsigned int space; local
104 space = SHA1_BLOCK_SIZE - leftover;
105 if (space) {
106 if (count > space) {
107 err = crypto_shash_update(&dctx->fallback, in, space) ?:
111 count -= space;
112 in += space;
156 unsigned int space; local
170 space = SHA256_BLOCK_SIZE - leftover;
171 if (space) {
[all...]
/drivers/ipack/carriers/
H A Dtpci200.c268 /* Request IO ID INT space (Bar 3) */
271 "Carrier IO ID INT space");
280 /* Request MEM8 space (Bar 5) */
282 "Carrier MEM8 space");
291 /* Request MEM16 space (Bar 4) */
293 "Carrier MEM16 space");
302 /* Map internal tpci200 driver user space */
484 enum ipack_space space; local
493 for (space = 0; space < IPACK_SPACE_COUN
[all...]
/drivers/media/pci/saa7134/
H A Dsaa7134-input.c1035 int space; local
1040 space = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2) & ir->mask_keydown;
1041 ir_raw_event_store_edge(dev->remote->dev, space ? IR_SPACE : IR_PULSE);
/drivers/media/radio/si470x/
H A Dradio-si470x-common.c127 static unsigned short space = 2; variable
128 module_param(space, ushort, 0444);
129 MODULE_PARM_DESC(space, "Spacing: 0=200kHz 1=100kHz *2=50kHz*");
392 ((space << 4) & SYSCONFIG2_SPACE) | /* SPACE */
/drivers/net/ethernet/neterion/vxge/
H A Dvxge-ethtool.c96 * vxge_ethtool_gregs - dumps the entire space of Titan into the buffer.
102 * Dumps the vpath register space of Titan NIC into the user given
106 struct ethtool_regs *regs, void *space)
111 u64 *reg_space = (u64 *)space;
105 vxge_ethtool_gregs(struct net_device *dev, struct ethtool_regs *regs, void *space) argument
/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c461 struct ethtool_regs *regs, void *space)
464 u32 *reg_space = (u32 *)space;
460 sxgbe_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *space) argument
/drivers/net/wireless/iwlwifi/
H A Diwl-phy-db.c123 __le32 space; member in struct:iwl_phy_db_chg_txp
/drivers/pnp/
H A Dinterface.c54 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, argument
58 "%i-bit address decoding\n", space,
66 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, argument
71 pnp_printf(buffer, "%sirq ", space);
99 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, argument
105 pnp_printf(buffer, "%sdma ", space);
151 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, argument
157 space, (unsigned long long) mem->min,
187 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, argument
192 pnp_print_port(buffer, space,
[all...]
/drivers/tty/
H A Dtty_buffer.c80 * tty_buffer_space_avail - return unused buffer space
93 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); local
94 return max(space, 0);
236 * Make at least size bytes of linear space available for the tty
301 int space = __tty_buffer_request_room(port, goal, flags); local
303 if (unlikely(space == 0))
305 memcpy(char_buf_ptr(tb, tb->used), chars, space);
307 memset(flag_buf_ptr(tb, tb->used), flag, space);
308 tb->used += space;
309 copied += space;
336 int space = tty_buffer_request_room(port, goal); local
387 int space = __tty_buffer_request_room(port, size, TTYB_NORMAL); local
[all...]
/drivers/video/fbdev/i810/
H A Di810_accel.c51 * wait_for_space - check ring buffer free space
52 * @space: amount of ringbuffer space needed in bytes
56 * The function waits until a free space from the ringbuffer
59 static inline int wait_for_space(struct fb_info *info, u32 space) argument
70 (par->iring.size - tail + head) >= space) ||
71 (tail < head && (head - tail) >= space)) {
111 * @space: length of sequence in dwords
115 * Checks/waits for sufficient space in ringbuffer of size
116 * space
118 begin_iring(struct fb_info *info, u32 space) argument
[all...]
/drivers/w1/
H A Dw1_netlink.c94 * w1_reply_make_space() - send message if needed to make space
95 * @block: block to make space on
96 * @space: how many bytes requested
98 * Verify there is enough room left for the caller to add "space" bytes to the
101 static void w1_reply_make_space(struct w1_cb_block *block, u16 space) argument
104 if (len + space >= block->maxlen) {
126 * block->cn->len does not include space for block->msg
155 u32 space; local
169 space = sizeof(*cmd) + cmd->len;
171 memcpy(block->cmd, cmd, space);
183 u16 space = sizeof(struct cn_msg) + sizeof(*req_msg) + sizeof(*req_cmd); local
[all...]
/drivers/media/rc/img-ir/
H A Dimg-ir-hw.h71 * @space: Timing range for the length of the space in this symbol
75 struct img_ir_timing_range space; member in struct:img_ir_symbol_timing
/drivers/net/ethernet/sfc/
H A Drx.c329 int space, rc = 0; local
347 space = rx_queue->max_fill - fill_level;
348 EFX_BUG_ON_PARANOID(space < batch_size);
365 } while ((space -= batch_size) >= batch_size);
/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c391 struct ethtool_regs *regs, void *space)
394 u32 *reg_space = (u32 *) space;
390 stmmac_ethtool_gregs(struct net_device *dev, struct ethtool_regs *regs, void *space) argument
/drivers/net/wireless/ath/ath9k/
H A Drecv.c1112 int space = skb->len - skb_tailroom(hdr_skb); local
1114 if (pskb_expand_head(hdr_skb, 0, space, GFP_ATOMIC) < 0) {
/drivers/staging/ozwpan/
H A Dozcdev.c504 int space; local
530 space = ctx->rd_out - ctx->rd_in - 1;
531 if (space < 0)
532 space += OZ_RD_BUF_SZ;
533 if (len > space) {
534 oz_dbg(ON, "Not enough space:%d %d\n", len, space);
535 len = space;
/drivers/usb/host/
H A Duhci-debug.c43 int len, int space)
50 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td,
100 char *buf, int len, int space)
141 out += sprintf(out, "%*s%d: ", space + 2, "", i);
156 space, "", ninactive, nactive);
165 struct uhci_qh *qh, char *buf, int len, int space)
181 space, "", qh, qtype,
187 space, "", qh->period, qh->phase, qh->load,
191 space, "", qh->period, qh->phase, qh->load);
196 out += sprintf(out, "%*s Element points to QH (bug?)\n", space, "");
42 uhci_show_td(struct uhci_hcd *uhci, struct uhci_td *td, char *buf, int len, int space) argument
99 uhci_show_urbp(struct uhci_hcd *uhci, struct urb_priv *urbp, char *buf, int len, int space) argument
164 uhci_show_qh(struct uhci_hcd *uhci, struct uhci_qh *qh, char *buf, int len, int space) argument
643 uhci_show_qh(struct uhci_hcd *uhci, struct uhci_qh *qh, char *buf, int len, int space) argument
[all...]
/drivers/isdn/gigaset/
H A Dcommon.c56 size_t space = sizeof outbuf - 1; local
63 if (!space--)
68 if (!space--)
74 if (!space--)
79 if (!space--)
/drivers/isdn/mISDN/
H A Ddsp_cmx.c68 * The tx-buffer is a ring buffer to queue the transmit data from user space
73 * user space that have jitter and different clock source.
93 * The procedure of received data from user space is explained in cmx_transmit.
108 * the card. It will replace the tx-data from the user space.
1330 if (!dsp->tx_data) { /* no tx_data for user space required */
1865 int space; /* todo: , l = skb->len; */ local
1870 /* check if there is enough space, and then copy */
1875 space = (ww - w - 1) & CMX_BUFF_MASK;
1877 if (space < skb->len) {
1878 /* write to the space w
[all...]
/drivers/media/rc/
H A Diguanair.c353 uint8_t space; local
360 for (i = space = size = 0; i < count; i++) {
369 ir->packet->payload[size++] = p | space;
372 space ^= 0x80;
/drivers/staging/vt6655/
H A Diwctl.c1669 int space = wrq->length; local
1674 if (pMgmt->wWPAIELen <= space) {

Completed in 687 milliseconds

123