/drivers/platform/x86/ |
H A D | asus-wmi.c | 1252 int new = old; local 1255 new = code - NOTIFY_BRNUP_MIN + 1; 1257 new = code - NOTIFY_BRNDOWN_MIN; 1259 bd->props.brightness = new;
|
/drivers/s390/char/ |
H A D | tty3270.c | 249 * Throw away update list and create a new one, 811 /* Switch to new output size */ 830 /* Informat tty layer about new size */ 1188 /* Last line just filled up. Add new, blank line. */ 1434 * // FIXME: add all the new ones. 1446 /* Starting new escape sequence. */ 1734 int new; local 1741 new = L_ECHO(tty) ? TF_INPUT: TF_INPUTN; 1742 if (new != tp->inattr) { 1743 tp->inattr = new; [all...] |
/drivers/staging/comedi/drivers/ |
H A D | amplc_pci224.c | 248 /* Combine old and new bits. */ 249 #define COMBINE(old, new, mask) (((old) & ~(mask)) | ((new) & (mask))) 562 /* Determine how many new scans can be put in the FIFO. */
|
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_dlm.h | 115 * - EX: Exclusive mode. Before a new file is created, MDS requests EX lock 354 * exist during new lock enqueue. 369 /** Backward link to OBD, required for LDLM pool to store new SLV. */ 561 struct ldlm_lock_desc *new, void *data, 1372 int ldlm_server_ast(struct lustre_handle *lockh, struct ldlm_lock_desc *new,
|
/drivers/tty/serial/ |
H A D | amba-pl010.c | 471 static void pl010_set_ldisc(struct uart_port *port, int new) argument 473 if (new == N_PPS) { 514 * verify the new serial_struct (for TIOCSSERIAL).
|
/drivers/tty/vt/ |
H A D | vt_ioctl.c | 82 * @new: new console 87 void vt_event_post(unsigned int event, unsigned int old, unsigned int new) argument 105 ve->event.newev = new + 1; 188 * @n: new console 574 * Thus, one can have a daemon that e.g. spawns a new console 1320 * If this new console is under process control, send it a signal 1469 * Normally during a suspend, we allocate a new console and switch to it.
|
H A D | vt.c | 28 * User-defined bell sound, new setterm control sequences and printk 523 unsigned short new; local 527 new = old ^ vc->vc_complement_mask; 528 scr_writew(new, p); 532 vc->vc_sw->con_putc(vc, new, oldy, oldx); 694 * rebuilding new attributes from the old buffer is not doable 2428 been allocated - a new console is not created 2483 * @new: The new virtual terminal number or -1 if the console should stay 2490 * This function sets the kernel message console to be @new 2502 vt_kmsg_redirect(int new) argument [all...] |
/drivers/net/ |
H A D | xen-netfront.c | 436 * Set a new event, then check for race with update of tx_cons. 733 int new = xennet_rxidx(queue->rx.req_prod_pvt); local 735 BUG_ON(queue->rx_skbs[new]); 736 queue->rx_skbs[new] = skb; 737 queue->grant_rx_ref[new] = ref; 738 RING_GET_REQUEST(&queue->rx, queue->rx.req_prod_pvt)->id = new; 1367 * Entry point to this code when a new device is created. Allocate the basic
|
/drivers/video/fbdev/ |
H A D | atafb.c | 997 fbhw->get_par(par); /* Current par will be new par */ 2075 register unsigned char old, new; local 2088 new = st_mfp.tim_dt_b; 2091 old = new; 2092 new = st_mfp.tim_dt_b; 2093 } while (old != new); 2722 * then encoding hw par back into new, validated var */ 2751 /* Set new videomode */
|
/drivers/net/wireless/b43/ |
H A D | phy_n.c | 4504 struct b43_phy_n_iq_comp new = { }; local 4511 b43_nphy_rx_iq_coeffs(dev, true, &new); 4513 new = old; 4566 new.a0 = a & 0x3FF; 4567 new.b0 = b & 0x3FF; 4569 new.a0 = b & 0x3FF; 4570 new.b0 = a & 0x3FF; 4574 new.a1 = a & 0x3FF; 4575 new.b1 = b & 0x3FF; 4577 new [all...] |
/drivers/block/drbd/ |
H A D | drbd_nl.c | 482 /* we will(have) create(d) a new UUID anyways... */ 553 * for a new fatal signal and fail. */ 1184 unsigned int now, new, local, peer; local 1197 Because new from 8.3.8 onwards the peer can use multiple 1217 new = min(local, peer); 1219 if (device->state.role == R_PRIMARY && new < now) 1220 drbd_err(device, "ASSERT FAILED new < now; (%u < %u)\n", new, now); 1222 if (new != now) 1223 drbd_info(device, "max BIO size = %u\n", new); [all...] |
H A D | drbd_worker.c | 1960 unsigned long old, new; local 1963 new = old & ~DRBD_DEVICE_WORK_MASK; 1964 } while (cmpxchg(flags, old, new) != old); 2009 * even if no new requests are queued yet. 2012 * Then wait for new work (or signal). */ 2037 /* We found nothing new to do, no to-be-communicated request, 2061 /* may be woken up for other things but new work, too,
|
/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 3594 uint16_t new[5] = { 0 }; local 3608 ret = sscanf(tmp, "%hu %hu %hu %hu %hu", &new[0], &new[1], &new[2], &new[3], &new[4]); 3615 wm[level] = new[level];
|
/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 150 * Returns true if and only if the channel state has been set to the new state. 154 enum rdma_ch_state new) 162 ch->state = new; 733 enum srpt_command_state new) 743 ioctx->state = new; 756 enum srpt_command_state new) 763 WARN_ON(new == SRPT_STATE_NEW); 768 ioctx->state = new; 1967 * makes the initiator send a new request before the send completion for that 2566 " a new RDM 153 srpt_test_and_set_ch_state(struct srpt_rdma_ch *ch, enum rdma_ch_state old, enum rdma_ch_state new) argument 732 srpt_set_cmd_state(struct srpt_send_ioctx *ioctx, enum srpt_command_state new) argument 754 srpt_test_and_set_cmd_state(struct srpt_send_ioctx *ioctx, enum srpt_command_state old, enum srpt_command_state new) argument [all...] |
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 249 struct rb_node **new = &(root->rb_node), *parent = NULL; local 251 /* Figure out where to put new node */ 252 while (*new) { 253 struct res_common *this = container_of(*new, struct res_common, 256 parent = *new; 258 new = &((*new)->rb_left); 260 new = &((*new)->rb_right); 265 /* Add new nod [all...] |
/drivers/scsi/libfc/ |
H A D | fc_rport.c | 112 * fc_rport_create() - Create a new remote port 114 * @ids: The identifiers for the new remote port 184 * @rport: The remote port that gets a new timeout value 185 * @timeout: The new timeout value (in seconds) 224 * @new: The new state 229 enum fc_rport_state new) 231 if (rdata->rp_state != new) 233 rdata->rp_state = new; 427 * Set the new even 228 fc_rport_state_enter(struct fc_rport_priv *rdata, enum fc_rport_state new) argument [all...] |
/drivers/staging/lustre/lustre/libcfs/ |
H A D | hash.c | 236 * new element is always added to head of hlist 274 * new element is always added to head of hlist 318 * new element is always added to tail of hlist 372 * new element is always added to tail of hlist 953 * Initialize new libcfs hash, where: 1252 if (ehnode == hnode) /* new item added */ 1664 * hash is empty. Note it is still possible to concurrently add new 1839 struct cfs_hash_bd new; local 1854 * Delete from old hash bucket; move to new bucket. 1858 hs->hs_rehash_bits, key, &new); [all...] |
/drivers/atm/ |
H A D | lanai.c | 907 udelay(5); /* Let new data settle */ 1090 u32 new = reg_read(lanai, Status_Reg); local 1091 u32 changes = new ^ lanai->status; 1092 lanai->status = new; 1095 status_message(lanai->number, name, new & flag) 1244 /* Update "butt" register to specify new WritePtr */
|
/drivers/cpufreq/ |
H A D | cpufreq_stats.c | 645 new_index = freq_table_get_index(stat, freq->new);
|
H A D | pcc-cpufreq.c | 216 freqs.new = target_freq;
|
/drivers/infiniband/hw/mlx5/ |
H A D | mlx5_ib.h | 538 void mlx5_ib_copy_pas(u64 *old, u64 *new, int step, int num);
|
/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls.c | 53 /* Same as above, but this checks the against the new value instead of the 1368 /* Validate a new control */ 1483 /* Helper function: copy the new control value back to the caller */ 1538 /* Helper function: copy the caller-provider value as the new control value */ 1554 /* Copy the new value to the current value. */ 1590 /* Copy the current value to the new value */ 1598 /* Return non-zero if one or more of the controls in the cluster has a new 1660 /* Validate a new control */ 1832 /* Allocate a new v4l2_ctrl_ref and hook it into the handler. */ 1844 * the new contro 3366 v4l2_ctrl_replace(struct v4l2_event *old, const struct v4l2_event *new) argument 3375 v4l2_ctrl_merge(const struct v4l2_event *old, struct v4l2_event *new) argument [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 618 /* add new mcasts */ 849 int new) 852 int diff = new - num; 856 vf->abs_vfid, new, num); 864 vf_vlan_rules_cnt(vf) = new; 1735 BNX2X_ERR("Failed to schedule new commands: %d\n", rc); 2717 * 3. VF has already initialized but has not yet setup a queue - post the new 2721 * queue and manually config the new mac. 2724 * where the VF fails to see the new post on its bulletin board before sending a 2796 /* configure the new ma 847 bnx2x_iov_re_set_vlan_filters(struct bnx2x *bp, struct bnx2x_virtf *vf, int new) argument [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | main.c | 2097 static u32 fill_chainmask(u32 cap, u32 new) argument 2102 for (i = 0; cap && new; i++, cap >>= 1) { 2106 if (new & BIT(0)) 2109 new >>= 1;
|
/drivers/scsi/libsas/ |
H A D | sas_expander.c | 1958 SAS_DPRINTK("ex %016llx phy%d new device attached\n", 1982 static bool dev_type_flutter(enum sas_device_type new, enum sas_device_type old) argument 1984 if (old == new) 1990 if ((old == SAS_SATA_PENDING && new == SAS_END_DEVICE) || 1991 (old == SAS_END_DEVICE && new == SAS_SATA_PENDING))
|