Searched refs:new (Results 126 - 150 of 255) sorted by relevance

1234567891011

/drivers/net/irda/
H A Dsir-dev.h105 int irda_register_dongle(struct dongle_driver *new);
H A Dsh_irda.c193 u16 old, new; local
197 new = (old & ~mask) | data;
198 if (old != new)
/drivers/s390/char/
H A Dtape_std.c219 struct idal_buffer *new; local
242 /* Allocate a new idal buffer. */
243 new = idal_buffer_alloc(count, 0);
244 if (IS_ERR(new))
248 device->char_data.idal_buf = new;
251 DBF_LH(6, "new blocksize is %d\n", device->char_data.block_size);
/drivers/staging/unisys/common-spar/include/channels/
H A Dchannel.h148 #define ULTRA_CHANNEL_CLIENT_CHK_TRANSITION(old, new, chanId, logCtx, \
151 if (!ULTRA_VALID_CHANNELCLI_TRANSITION(old, new)) \
161 ULTRA_CHANNELCLI_STRING(new), \
162 new, \
278 /* Please add all new single-byte values below here */
/drivers/cpufreq/
H A Dgx-suspmod.c266 freqs.new = new_khz;
272 /* if new khz == 100% of CPU speed, it is special case */
321 pr_debug("suspend modulation w/ clock speed: %d kHz.\n", freqs.new);
/drivers/dma/ioat/
H A Ddma.c474 struct ioat_desc_sw *new; local
477 new = to_ioat_desc(ioat->free_desc.next);
478 list_del(&new->node);
481 new = ioat_dma_alloc_descriptor(ioat, GFP_ATOMIC);
482 if (!new) {
488 __func__, desc_id(new));
489 prefetch(new->hw);
490 return new;
/drivers/net/wireless/ath/ath9k/
H A Ddynack.c32 static inline u32 ath_dynack_ewma(u32 old, u32 new) argument
34 return (new * (EWMA_DIV - EWMA_LEVEL) + old * EWMA_LEVEL) / EWMA_DIV;
H A Dar5008_phy.c157 /* write Bank 6 with new params */
259 int tmp, new; local
298 new = tmp | (AR_PHY_TIMING_CTRL4_ENABLE_SPUR_RSSI |
303 REG_WRITE(ah, AR_PHY_TIMING_CTRL4(0), new);
305 new = (AR_PHY_SPUR_REG_MASK_RATE_CNTL |
310 REG_WRITE(ah, AR_PHY_SPUR_REG, new);
318 new = (AR_PHY_TIMING11_USE_SPUR_IN_AGC |
321 REG_WRITE(ah, AR_PHY_TIMING11, new);
610 * For AR9280 and above, there is a new feature that allows
/drivers/scsi/arm/
H A DKconfig39 HD discs from the then new A5000 on earlier models. This interface
/drivers/scsi/fnic/
H A Dfnic.h340 void fnic_update_mac(struct fc_lport *, u8 *new);
341 void fnic_update_mac_locked(struct fnic *, u8 *new);
/drivers/misc/genwqe/
H A Dcard_ddcb.c268 * Return: 1 if new DDCB is appended to previous
280 __be32 old, new, icrc_hsi_shi; local
307 new = (old | DDCB_NEXT_BE32);
310 icrc_hsi_shi = cmpxchg(&prev_ddcb->icrc_hsi_shi_32, old, new);
581 /* find new ddcb */
633 __be32 old, new; local
656 new = (old | DDCB_PURGE_BE32);
658 old, new);
/drivers/iommu/
H A Darm-smmu.c491 struct rb_node **new, *parent; local
493 new = &smmu->masters.rb_node;
495 while (*new) {
497 = container_of(*new, struct arm_smmu_master, node);
499 parent = *new;
501 new = &((*new)->rb_left);
503 new = &((*new)->rb_right);
508 rb_link_node(&master->node, parent, new);
[all...]
/drivers/tty/serial/
H A Dsh-sci.c1385 int new; local
1388 new = 0;
1390 new = 1;
1395 desc = s->desc_rx[new];
1422 s->cookie_rx[new] = desc->tx_submit(desc);
1423 if (s->cookie_rx[new] < 0) {
1429 s->active_rx = s->cookie_rx[!new];
1431 dev_dbg(port->dev, "%s: cookie %d #%d, new active #%d\n",
1432 __func__, s->cookie_rx[new], new,
1499 u16 new, scr = serial_port_in(port, SCSCR); local
[all...]
/drivers/md/
H A Ddm-bufio.c737 * Allocate a new buffer. If the allocation is not possible, wait until
755 * For debugging, if we set the cache size to 1, no new buffers will
1000 * and uses dm_bufio_mark_buffer_dirty to write new data back).
1269 * We first delete any other buffer that may be at that new location.
1274 * in the hash queue for the new location.
1276 * If there was someone else holding the buffer, we write it to the new
1283 struct dm_buffer *new; local
1290 new = __find(c, new_block);
1291 if (new) {
1292 if (new
[all...]
H A Ddm-snap-persistent.c452 chunk_t old, chunk_t new),
497 chunk_t new),
616 chunk_t old, chunk_t new),
640 * Do we need to setup a new snapshot ?
450 insert_exceptions(struct pstore *ps, void *ps_area, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context, int *full) argument
495 read_exceptions(struct pstore *ps, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context) argument
614 persistent_read_metadata(struct dm_exception_store *store, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context) argument
/drivers/parisc/
H A Dlba_pci.c287 * Set clear enable (CE) bit. Unset by HW when new \
572 truncate_pat_collision(struct resource *root, struct resource *new) argument
574 unsigned long start = new->start;
575 unsigned long end = new->end;
588 /* found one that starts behind the new one
594 /* "front" of new one overlaps */
595 new->start = tmp->end + 1;
604 /* "end" of new one overlaps */
605 new->end = tmp->start - 1;
611 (long)new
[all...]
/drivers/xen/
H A Dxen-scsiback.c865 Add a new translation entry
872 struct v2p_entry *new; local
921 new = kmalloc(sizeof(struct v2p_entry), GFP_KERNEL);
922 if (new == NULL) {
941 /* Create a new translation entry and add to the list */
942 kref_init(&new->kref);
943 new->v = *v;
944 new->tpg = tpg;
945 new->lun = lun;
946 list_add_tail(&new
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-dev.c250 enum v4l2_priority new)
252 if (!prio_is_valid(new))
254 if (*local == new)
257 atomic_inc(&global->prios[new]);
260 *local = new;
505 * Note that when this is called the new device has not yet been registered
759 * based on the requested type and registers the new device node with
847 * (new style). */
249 v4l2_prio_change(struct v4l2_prio_state *global, enum v4l2_priority *local, enum v4l2_priority new) argument
/drivers/rtc/
H A Dinterface.c96 struct rtc_time new, old; local
100 rtc_time_to_tm(secs, &new);
109 (new.tm_hour == 23 && new.tm_min == 59)))
111 &new);
/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c654 static int fcoe_fcf_device_match(struct fcoe_fcf_device *new, argument
657 if (new->switch_name == old->switch_name &&
658 new->fabric_name == old->fabric_name &&
659 new->fc_map == old->fc_map &&
660 ether_addr_equal(new->mac, old->mac))
/drivers/tty/
H A Dtty_ioctl.c470 * Update the current termios data for the tty with the new speed
483 * @new: New termios
487 * the old termios structure to the new one. This is used in cases
492 void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old) argument
496 new->c_cflag &= HUPCL | CREAD | CLOCAL;
497 new->c_cflag |= old->c_cflag & ~(HUPCL | CREAD | CLOCAL);
498 new->c_ispeed = old->c_ispeed;
499 new->c_ospeed = old->c_ospeed;
525 * @new_termios: desired new value
/drivers/vfio/
H A Dvfio_iommu_type1.c108 static void vfio_link_dma(struct vfio_iommu *iommu, struct vfio_dma *new) argument
117 if (new->iova + new->size <= dma->iova)
123 rb_link_node(&new->node, parent, link);
124 rb_insert_color(&new->node, &iommu->dma_list);
761 /* replay mappings on new domains */
/drivers/leds/
H A Dleds-tca6507.c292 static void set_code(struct tca6507_chip *tca, int reg, int bank, int new) argument
298 new <<= 4;
301 n |= new;
/drivers/staging/lustre/lustre/mdc/
H A Dmdc_lib.c437 const char *old, int oldlen, const char *new, int newlen)
464 if (new) {
466 LOGL0(new, newlen, tmp);
436 mdc_rename_pack(struct ptlrpc_request *req, struct md_op_data *op_data, const char *old, int oldlen, const char *new, int newlen) argument
/drivers/virtio/
H A Dvirtio_ring.c242 * new available array entries. */
349 u16 new, old; local
358 new = vq->vring.avail->idx;
371 new, old);

Completed in 1049 milliseconds

1234567891011