Searched refs:new (Results 151 - 175 of 255) sorted by relevance

1234567891011

/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c44 unsigned long new; local
53 if (kstrtoul(buf, 2, &new))
56 if (!qlcnic_config_bridged_mode(adapter, !!new))
81 unsigned long new; local
83 if (kstrtoul(buf, 2, &new))
86 if (!!new != !!(adapter->flags & QLCNIC_DIAG_ENABLED))
/drivers/pcmcia/
H A Dds.c89 * pcmcia_store_new_id - add a new PCMCIA device ID to this driver and re-probe devices
94 * Adds a new dynamic PCMCIA device ID to this driver,
463 char *new; local
471 new = kmalloc(sizeof(char) * length, GFP_KERNEL);
472 if (!new)
475 new = strncpy(new, tmp, length);
478 p_dev->prod_id[i] = new;
582 "pcmcia: registering new device %s (IRQ: %d)\n",
1292 /* now, add the new car
[all...]
/drivers/cpufreq/
H A Dpowernow-k7.c270 freqs.new = powernow_table[index].frequency;
277 if (freqs.old > freqs.new) {
H A Dlonghaul.c168 /* Setup new frequency */
175 /* Setup new voltage */
240 * @mults_index : bitpattern of the new multiplier.
242 * Sets a new clock ratio.
272 freqs.new = speed;
347 freqs.new = calc_speed(longhaul_get_cpu_mult());
349 if (unlikely(freqs.new != speed)) {
977 freqs.new = longhaul_table[i].frequency;
H A Dpowernow-k6.c229 freqs.new = clock_ratio[i].frequency;
/drivers/md/
H A Dmd.c296 /* mddev_suspend makes sure no new requests are submitted
487 struct mddev *mddev, *new = NULL; local
500 kfree(new);
504 if (new) {
505 list_add(&new->all_mddevs, &all_mddevs);
507 new->hold_active = UNTIL_IOCTL;
508 return new;
510 } else if (new) {
524 kfree(new);
535 new
2759 sector_t new; local
4300 unsigned long long new = simple_strtoull(buf, &e, 10); local
4333 unsigned long long new = simple_strtoull(buf, &e, 10); local
4371 unsigned long long new = simple_strtoull(buf, &e, 10); local
[all...]
H A Ddm-ioctl.c212 * Allocate the new cells.
320 * progress. If a new mapped device is created
369 const char *new)
379 * duplicate new.
381 new_data = kstrdup(new, GFP_KERNEL);
388 * Is new free ?
391 hc = __get_uuid_cell(new);
393 hc = __get_name_cell(new);
399 param->name, new);
412 param->name, change_uuid ? "uuid " : "", new);
368 dm_hash_rename(struct dm_ioctl *param, const char *new) argument
[all...]
/drivers/media/rc/keymaps/
H A DMakefile75 rc-pixelview-new.o \
/drivers/uwb/
H A Dlc-dev.c54 * Add callback @new to be called when an event occurs in @rc.
56 int uwb_notifs_register(struct uwb_rc *rc, struct uwb_notifs_handler *new) argument
60 list_add(&new->list_node, &rc->notifs_chain.list);
287 * Register and initialize a new UWB device
296 * rc->uwb_dev->dev. Otherwise it is to be left NULL--a new one will
428 dev_err(dev, "new device %s: Cannot allocate memory\n",
445 dev_err(dev, "new device %s: cannot instantiate device\n",
/drivers/video/fbdev/
H A Dpmag-aa-fb.c309 struct display *new = (con < 0) ? &ip->disp : (fb_display + con); local
316 aafb_set_disp(new, con, ip);
/drivers/dma/
H A Dep93xx_dma.c226 * ep93xx_dma_set_active - set new active descriptor chain
228 * @desc: head of the new active descriptor chain
230 * Sets @desc to be the head of the new active descriptor chain. This is the
716 struct ep93xx_dma_desc *new; local
726 new = list_first_entry(&edmac->queue, struct ep93xx_dma_desc, node);
727 list_del_init(&new->node);
729 ep93xx_dma_set_active(edmac, new);
/drivers/isdn/mISDN/
H A Ddsp_pipeline.c292 pipeline_entry->p = elem->new(args);
306 "%s (new() returned NULL)\n",
/drivers/mfd/
H A Dstmpe.c917 u8 new = stmpe->ier[i]; local
920 if (new == old)
923 stmpe->oldier[i] = new;
924 stmpe_reg_write(stmpe, stmpe->regs[STMPE_IDX_IER_LSB] - i, new);
/drivers/net/wireless/
H A DKconfig64 It supports the new 802.11b cards from Cisco (Cisco 34X, Cisco 35X
129 It supports the new 802.11b cards from Cisco (Cisco 34X, Cisco 35X
/drivers/tty/serial/
H A Dvr41xx_siu.c515 static void siu_set_termios(struct uart_port *port, struct ktermios *new, argument
523 c_cflag = new->c_cflag;
548 baud = uart_get_baud_rate(port, new, old, 0, port->uartclk/16);
557 c_iflag = new->c_iflag;
/drivers/usb/usbip/
H A Dvhci_hcd.c101 pr_debug("status prev -> new: %08x -> %08x\n", prev_status, new_status);
104 u32 new = new_status & bit; local
107 if (!prev && new)
109 else if (prev && !new)
114 if (prev || new)
/drivers/gpu/drm/i2c/
H A Dtda998x_drv.c1072 uint8_t *block, *new; local
1092 new = krealloc(block, (block[0x7e] + 1) * EDID_LENGTH, GFP_KERNEL);
1093 if (!new)
1095 block = new;
1111 new = krealloc(block, (valid_extensions + 1) * EDID_LENGTH, GFP_KERNEL);
1112 if (!new)
1114 block = new;
/drivers/mtd/ubi/
H A Dfastmap.c40 * new_fm_vhdr - allocate a new volume header for fastmap usage.
42 * @vol_id: the VID of the new header
44 * Returns a new struct ubi_vid_hdr on success.
49 struct ubi_vid_hdr *new; local
51 new = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL);
52 if (!new)
55 new->vol_type = UBI_VID_DYNAMIC;
56 new->vol_id = cpu_to_be32(vol_id);
61 new->compat = UBI_COMPAT_DELETE;
64 return new;
[all...]
/drivers/vhost/
H A Dvhost.c1228 /* If there's nothing new since last we looked, return invalid. */
1349 u16 old, new; local
1377 new = (vq->last_used_idx += count);
1382 if (unlikely((u16)(new - vq->signalled_used) < (u16)(new - old)))
1425 __u16 old, new, event; local
1446 new = vq->signalled_used = vq->last_used_idx;
1456 return vring_need_event(event, new, old);
/drivers/gpu/drm/radeon/
H A Dradeon_state.c1980 * might mean we have to allocate a new surface which might not always
1986 static int alloc_surface(drm_radeon_surface_alloc_t *new, argument
1995 new_lower = new->address;
1996 new_upper = new_lower + new->size - 1;
1999 if ((new_lower >= new_upper) || (new->flags == 0) || (new->size == 0) ||
2029 (new->flags == dev_priv->surfaces[i].flags) &&
2035 s->flags = new->flags;
2045 (new->flags == dev_priv->surfaces[i].flags) &&
2051 s->flags = new
[all...]
/drivers/pci/
H A Dpci.c795 * Transition a device to a new power state, using the platform firmware and/or
2938 u16 pci_command, new; local
2943 new = pci_command & ~PCI_COMMAND_INTX_DISABLE;
2945 new = pci_command | PCI_COMMAND_INTX_DISABLE;
2947 if (new != pci_command) {
2950 pci_write_config_word(pdev, PCI_COMMAND, new);
2971 u16 orig, new; local
2981 pci_read_config_word(dev, PCI_COMMAND, &new);
2988 if ((new ^ orig) & ~PCI_COMMAND_INTX_DISABLE) {
2990 orig, new);
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c160 qib_user_sdma_rb_insert(struct rb_root *root, struct qib_user_sdma_rb_node *new) argument
169 if (new->pid < got->pid)
171 else if (new->pid > got->pid)
177 rb_link_node(&new->node, parent, node);
178 rb_insert_color(&new->node, root);
432 * bytes togo, we need to create a new sdma header, copying
441 /* Copy the previous sdma header to new sdma header */
490 /* Modify the new sdma header */
501 /* Set new tid and offset for new sdm
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.c67 static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new,
824 * sk_buff has no other users it is trimmed and reused, otherwise a new buffer
972 cxgb_redirect(nr->old, nr->new, nr->neigh,
1002 * Add a new handler to the CPL dispatch table. A NULL handler may be supplied
1110 static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new, argument
1129 /* Add new L2T entry */
1130 e = t3_l2t_get(tdev, new, dev, daddr);
1132 pr_err("%s: couldn't allocate new l2t entry!\n", __func__);
1142 update_tcb = te->client->redirect(te->ctx, old, new, e);
/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_resource.c557 * Create and initialize new empty namespace.
1009 /** Create and initialize new resource. */
1284 struct ldlm_lock *new)
1291 LDLM_DEBUG(new, "About to insert this lock after %p:\n", original);
1293 if (new->l_flags & LDLM_FL_DESTROYED) {
1298 LASSERT(list_empty(&new->l_res_link));
1300 list_add(&new->l_res_link, &original->l_res_link);
1283 ldlm_resource_insert_lock_after(struct ldlm_lock *original, struct ldlm_lock *new) argument
/drivers/clk/
H A Dclk.c142 struct rb_node **new = &(freq_stats_table->rb_node), *parent = NULL; local
145 /* Figure out where to put new node */
146 while (*new) {
147 this = rb_entry(*new, struct freq_stats, node);
148 parent = *new;
151 new = &((*new)->rb_left);
153 new = &((*new)->rb_right);
161 /* Add new nod
[all...]

Completed in 725 milliseconds

1234567891011