Searched refs:new (Results 51 - 75 of 205) sorted by relevance

123456789

/drivers/firewire/
H A Dnet.c317 /* Assumes that new fragment does not overlap any existing fragments */
321 struct fwnet_fragment_info *fi, *fi2, *new; local
327 /* The new fragment can be tacked on to the end */
328 /* Did the new fragment plug a hole? */
343 /* The new fragment can be tacked on to the beginning */
344 /* Did the new fragment plug a hole? */
370 new = kmalloc(sizeof(*new), GFP_ATOMIC);
371 if (!new) {
376 new
387 struct fwnet_partial_datagram *new; local
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.h371 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
372 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
373 pstats->mac_stx[0].t##_hi = new->s##_hi; \
374 pstats->mac_stx[0].t##_lo = new->s##_lo; \
381 DIFF_64(diff.hi, new->s##_hi, old->s##_hi, \
382 diff.lo, new->s##_lo, old->s##_lo); \
396 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
397 pstats->mac_stx[1].t##_lo, new->diff##_lo); \
404 new->s); \
/drivers/pcmcia/
H A Dti113x.h296 u8 new, reg = exca_readb(socket, I365_INTCTL);
298 new = reg & ~I365_INTR_ENA;
300 new |= I365_INTR_ENA;
301 if (new != reg)
302 exca_writeb(socket, I365_INTCTL, new);
308 u8 new, reg = exca_readb(socket, I365_INTCTL);
310 new = reg & ~I365_INTR_ENA;
311 if (new != reg)
312 exca_writeb(socket, I365_INTCTL, new);
811 /* all new bridge
[all...]
/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c92 * fcoe_ctlr_set_state() - Set and do debug printing for the new FIP state.
94 * @state: The new state
210 * fcoe_ctlr_announce() - announce new FCF selection
765 * fcoe_ctlr_parse_adv() - Decode a FIP advertisement into a new FCF entry
905 struct fcoe_fcf new; local
911 if (fcoe_ctlr_parse_adv(fip, skb, &new))
918 if (fcf->switch_name == new.switch_name &&
919 fcf->fabric_name == new.fabric_name &&
920 fcf->fc_map == new.fc_map &&
921 compare_ether_addr(fcf->fcf_mac, new
2301 fcoe_ctlr_vn_add(struct fcoe_ctlr *fip, struct fc_rport_priv *new) argument
2371 fcoe_ctlr_vn_claim_notify(struct fcoe_ctlr *fip, struct fc_rport_priv *new) argument
2414 fcoe_ctlr_vn_claim_resp(struct fcoe_ctlr *fip, struct fc_rport_priv *new) argument
2430 fcoe_ctlr_vn_beacon(struct fcoe_ctlr *fip, struct fc_rport_priv *new) argument
[all...]
/drivers/tty/serial/
H A Dmpc52xx_uart.c118 struct ktermios *new,
233 struct ktermios *new,
240 baud = uart_get_baud_rate(port, new, old,
251 struct ktermios *new,
260 baud = uart_get_baud_rate(port, new, old,
460 struct ktermios *new,
480 baud = uart_get_baud_rate(port, new, old,
754 mpc52xx_uart_set_termios(struct uart_port *port, struct ktermios *new, argument
766 switch (new->c_cflag & CSIZE) {
777 if (new
232 mpc5200_psc_set_baudrate(struct uart_port *port, struct ktermios *new, struct ktermios *old) argument
250 mpc5200b_psc_set_baudrate(struct uart_port *port, struct ktermios *new, struct ktermios *old) argument
459 mpc512x_psc_set_baudrate(struct uart_port *port, struct ktermios *new, struct ktermios *old) argument
[all...]
H A Dlantiq.c389 struct ktermios *new, struct ktermios *old)
398 cflag = new->c_cflag;
399 iflag = new->c_iflag;
409 new->c_cflag &= ~ CSIZE;
410 new->c_cflag |= CS8;
456 baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16);
469 /* now we can write the new baudrate into the register */
481 if (tty_termios_baud_rate(new))
482 tty_termios_encode_baud_rate(new, baud, baud);
388 lqasc_set_termios(struct uart_port *port, struct ktermios *new, struct ktermios *old) argument
H A Defm32-uart.c209 * sure not to be confused too much by new devices adhere to the
360 struct ktermios *new, struct ktermios *old)
369 new->c_cflag &= ~(CRTSCTS | CMSPAR);
371 baud = uart_get_baud_rate(port, new, old,
375 switch (new->c_cflag & CSIZE) {
390 if (new->c_cflag & CSTOPB)
396 if (new->c_cflag & PARENB) {
397 if (new->c_cflag & PARODD)
416 if (new->c_iflag & INPCK)
419 if (new
359 efm32_uart_set_termios(struct uart_port *port, struct ktermios *new, struct ktermios *old) argument
[all...]
/drivers/cpufreq/
H A Dcpufreq_userspace.c52 freq->cpu, freq->new);
53 per_cpu(cpu_cur_freq, freq->cpu) = freq->new;
H A Dcpufreq-nforce2.c114 * Writes new FSB PLL value to chipset
164 * nforce2_set_fsb - set new FSB
167 * Sets new FSB
244 * nforce2_target - set a new CPUFreq policy
245 * @policy: new policy
250 * Sets a new CPUFreq policy.
265 freqs.new = target_fsb * fid * 100;
268 if (freqs.old == freqs.new)
271 pr_debug("Old CPU frequency %d kHz, new %d kHz\n",
272 freqs.old, freqs.new);
[all...]
H A Dspeedstep-ich.c87 * @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
109 /* write new state */
252 * speedstep_target - set a new CPUFreq policy
253 * @policy: new policy
258 * Sets a new CPUFreq policy.
274 freqs.new = speedstep_freqs[newstate].frequency;
277 pr_debug("transiting from %u to %u kHz\n", freqs.old, freqs.new);
280 if (freqs.old == freqs.new)
301 * speedstep_verify - verifies a new CPUFreq policy
302 * @policy: new polic
[all...]
H A Ds3c2416-cpufreq.c268 freqs.new = (s3c_freq->is_dvs && !to_dvs)
272 pr_debug("cpufreq: Transition %d-%dkHz\n", freqs.old, freqs.new);
274 if (!to_dvs && freqs.old == freqs.new)
286 pr_debug("cpufreq: change armdiv to %dkHz\n", freqs.new);
287 ret = s3c2416_cpufreq_set_armdiv(s3c_freq, freqs.new);
/drivers/gpu/drm/
H A Ddrm_mm.c432 void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new) argument
434 list_replace(&old->node_list, &new->node_list);
435 list_replace(&old->hole_stack, &new->hole_stack);
436 new->hole_follows = old->hole_follows;
437 new->mm = old->mm;
438 new->start = old->start;
439 new->size = old->size;
442 new->allocated = 1;
/drivers/isdn/
H A DKconfig35 ISDN support in the linux kernel is moving towards a new API,
39 supported by the new CAPI subsystem yet.
/drivers/isdn/mISDN/
H A Ddsp_hwec.c42 .new = NULL,
/drivers/md/persistent-data/
H A Ddm-transaction-manager.c208 dm_block_t new; local
211 r = dm_sm_new_block(tm->sm, &new);
223 r = dm_bm_unlock_move(orig_block, new);
229 return dm_bm_write_lock(tm->bm, new, v, result);
/drivers/media/video/
H A Dv4l2-event.c198 static void ctrls_replace(struct v4l2_event *old, const struct v4l2_event *new) argument
202 old->u.ctrl = new->u.ctrl;
206 static void ctrls_merge(const struct v4l2_event *old, struct v4l2_event *new) argument
208 new->u.ctrl.changes |= old->u.ctrl.changes;
/drivers/net/wan/
H A Dhdlc_fr.c16 (exist,new) -> 0,0 when "PVC create" or if "link unreliable"
21 -> 1 when "PVC up" and (exist,new) = 1,0
24 (exist,new,active) = FULL STATUS if "link reliable"
28 exist = new = not used
127 unsigned int new: 1; member in struct:pvc_device_struct::__anon3110
454 pvc->state.new ? " new" : "",
525 pvc->state.exist = pvc->state.new = 1;
531 pvc->state.exist && !pvc->state.new) {
546 if (pvc->state.new)
794 unsigned int active, new; local
[all...]
/drivers/oprofile/
H A Dbuffer_sync.c108 /* We need to be told about new modules so we don't attribute to a previously
505 struct task_struct *new; local
543 new = (struct task_struct *)val;
546 mm = take_tasks_mm(new);
549 add_user_ctx_switch(new, cookie);
/drivers/ide/
H A Dtrm290.c281 u16 new, old, compat = hwif->channel ? 0x374 : 0x3f4; local
294 new = inw(hwif->config_data);
296 "old=0x%04x, new=0x%04x\n",
297 hwif->name, old, new & ~1);
/drivers/input/keyboard/
H A Djornada680_kbd.c85 unsigned char new = jornadakbd->new_scan[i]; local
87 unsigned int xor = new ^ old;
100 !(new & bit));
/drivers/s390/block/
H A Ddasd_devmap.c411 struct dasd_devmap *devmap, *new, *tmp; local
414 new = (struct dasd_devmap *)
416 if (!new)
427 /* This bus_id is new. */
428 new->devindex = dasd_max_devindex++;
429 strncpy(new->bus_id, bus_id, DASD_BUS_ID_SIZE);
430 new->features = features;
431 new->device = NULL;
432 list_add(&new->list, &dasd_hashlists[hash]);
433 devmap = new;
[all...]
/drivers/ata/
H A DKconfig424 PATA controllers via the new ATA layer.
433 PATA controllers via the new ATA layer.
442 controllers via the new ATA layer.
451 PATA controllers via the new ATA layer
485 controllers via the new ATA layer.
494 PATA controllers via the new ATA layer, including RAID
503 Enable support for the JMicron IDE controller, via the new
605 PATA controllers via the new ATA layer
614 controllers via the new ATA layer. For the RDC 1010, you need to
651 HT1000 PATA controllers, via the new AT
[all...]
/drivers/net/ethernet/amd/
H A Dpcnet32.c62 * PCI device identifiers for "new style" Linux PCI Device Drivers
470 * Allocate space for the new sized tx ring.
472 * Save new resources.
538 * Allocate space for the new sized rx ring.
543 * Save new resources.
555 int new, overlap; local
583 for (new = 0; new < overlap; new++) {
584 new_rx_ring[new]
[all...]
/drivers/media/video/bt8xx/
H A Dbttv-driver.c1670 struct bttv_buffer *new)
1676 dprintk("switch_overlay: enter [new=%p]\n", new);
1677 if (new)
1678 new->vb.state = VIDEOBUF_DONE;
1681 btv->screen = new;
1691 if (NULL == new)
2378 struct bttv_buffer *new; local
2380 new = videobuf_sg_alloc(sizeof(*new));
1669 bttv_switch_overlay(struct bttv *btv, struct bttv_fh *fh, struct bttv_buffer *new) argument
2710 struct bttv_buffer *new; local
2801 struct bttv_buffer *new; local
3871 struct bttv_buffer_set old,new; local
3951 struct bttv_buffer_set new; local
3990 struct bttv_buffer *new = NULL; local
[all...]
/drivers/staging/ramster/
H A Dtmem.c135 struct rb_node **new = &(root->rb_node), *parent = NULL; local
148 while (*new) {
149 BUG_ON(RB_EMPTY_NODE(*new));
150 this = rb_entry(*new, struct tmem_obj, rb_tree_node);
151 parent = *new;
157 new = &(*new)->rb_left;
160 new = &(*new)->rb_right;
164 rb_link_node(&obj->rb_tree_node, parent, new);
[all...]

Completed in 515 milliseconds

123456789