Searched defs:change (Results 1 - 25 of 39) sorted by relevance

12

/drivers/pcmcia/
H A Dpxa2xx_trizeps4.c58 unsigned short status = 0, change; local
60 change = (status ^ trizeps_pcmcia_status[skt->nr]) &
62 if (change) {
/drivers/input/misc/
H A Dgpio_axis.c65 int change; local
77 change = (ai->decoded_size + pos - old_pos) %
79 if (change > ai->decoded_size / 2)
80 change -= ai->decoded_size;
81 if (change == ai->decoded_size / 2) {
86 change = 0; /* no closest direction */
89 pr_info("axis %d-%d change %d\n",
90 ai->type, ai->code, change);
92 ai->code, change);
/drivers/net/phy/
H A Dmdio-mux-gpio.c31 int change; local
38 change = current_child == -1 ? -1 : current_child ^ desired_child;
41 if (change & 1)
44 change >>= 1;
/drivers/gpio/
H A Dgpio-pcf857x.c200 unsigned long change, i, status, flags; local
211 change = ((gpio->status ^ status) & gpio->irq_mapped);
212 for_each_set_bit(i, &change, gpio->chip.ngpio)
328 * DAC instead of pin change IRQs; and its inputs can be the
H A Dgpio-samsung.c489 * we can use samsung_gpiolib_get and samsung_gpiolib_set to change the
1313 unsigned int s3c2410_modify_misccr(unsigned int clear, unsigned int change) argument
1321 misccr ^= change;
/drivers/input/keyboard/
H A Dst-keyscan.c46 unsigned long state, change; local
50 change = keypad->last_state ^ state;
53 for_each_set_bit(bit_nr, &change, BITS_PER_LONG)
/drivers/md/bcache/
H A Dwriteback.c36 int64_t change; local
54 change = proportional + derivative;
57 if (change > 0 &&
60 change = 0;
63 clamp_t(int64_t, (int64_t) dc->writeback_rate.rate + change,
68 dc->writeback_rate_change = change;
H A Dsysfs.c141 char change[20]; local
149 bch_hprint(change, dc->writeback_rate_change << 9);
160 "change:\t\t%s/sec\n"
163 derivative, change, next_io);
/drivers/mfd/
H A Daat2870-core.c192 int change; local
203 change = old_val != new_val;
204 if (change)
/drivers/tty/hvc/
H A Dhvc_opal.c166 unsigned long events, void *change)
165 hvc_opal_console_event(struct notifier_block *nb, unsigned long events, void *change) argument
/drivers/tty/
H A Dtty_buffer.c239 * Will change over to a new buffer if the current buffer is encoded as
248 int left, change; local
256 change = (b->flags & TTYB_NORMAL) && (~flags & TTYB_NORMAL);
257 if (change || left < size) {
269 } else if (change)
539 * tty_buffer_set_limit - change the tty buffer memory limit
540 * @port: tty port to change
/drivers/watchdog/
H A Dar7_wdt.c64 u32 change; member in struct:ar7_wdt
117 WRITE_REG(ar7_wdt->change, value);
121 pr_err("failed to unlock WDT change reg\n");
142 u32 change; local
146 change = new_margin * (vbus_rate / prescale_value);
147 if (change < 1)
148 change = 1;
149 if (change > 0xffff)
150 change = 0xffff;
151 ar7_wdt_change(change);
[all...]
/drivers/usb/usbip/
H A Dvhci_hcd.c105 char change; local
108 change = '+';
110 change = '-';
112 change = ' ';
115 pr_debug(" %c%s\n", change, bit_desc[i]);
/drivers/usb/wusbcore/
H A Dwusbhc.h89 * change.
146 * The @status and @change use the same bits as in USB2.0[11.24.2.7],
154 u16 change; member in struct:wusb_port
182 * unique value that doesn't change across reboots (so
451 * number of ports doesn't change). The data pointed to has to
/drivers/extcon/
H A Dextcon-arizona.c250 bool change; local
285 &change);
286 if (!change) {
297 bool change; local
302 &change);
324 if (change) {
/drivers/input/mouse/
H A Dappletouch.c174 * Threshold for the touchpad sensors. Any change less than ATP_THRESHOLD is
261 MODULE_PARM_DESC(threshold, "Discard any change in data from a sensor"
596 /* accumulate the change */
597 signed char change = dev->xy_old[i] - dev->xy_cur[i]; local
598 dev->xy_acc[i] -= change;
711 /* calculate the change */
/drivers/media/pci/saa7134/
H A Dsaa7134-alsa.c405 int change = 0, addr = kcontrol->private_value; local
420 change = old_addr != addr ||
431 if (change) {
493 if (change) {
505 return change;
957 int change, addr = kcontrol->private_value; local
971 change = 0;
973 change = 1;
977 change = 1;
980 if (change) {
[all...]
/drivers/media/pci/zoran/
H A Dzoran_device.c196 int timeout, i, j, res, guest[8], guest0[8], change[8][3]; local
216 change[j][0] = (t1 - t0);
218 change[j][1] = i;
219 change[j][2] = res;
239 change[i][0], change[i][1], change[i][2]);
/drivers/media/rc/img-ir/
H A Dimg-ir-hw.c844 struct clk_notifier_data *change)
849 change->old_rate, change->new_rate);
852 if (hw->clk_hz == change->new_rate)
854 hw->clk_hz = change->new_rate;
843 img_ir_change_frequency(struct img_ir_priv *priv, struct clk_notifier_data *change) argument
/drivers/net/ethernet/sfc/
H A Dmcdi_port.c928 int change = action == EFX_STATS_PULL ? 0 : 1; local
941 MAC_STATS_IN_PERIODIC_CHANGE, change,
/drivers/net/wireless/iwlwifi/dvm/
H A Drx.c457 int change; local
511 change = common->temperature != priv->statistics.common.temperature ||
549 if (priv->lib->temperature && change)
/drivers/staging/media/omap4iss/
H A Diss.c407 * iss_pipeline_pm_power_one - Apply power change to an entity
409 * @change: Use count change
411 * Change the entity use count by @change. If the entity is a subdev update its
417 static int iss_pipeline_pm_power_one(struct media_entity *entity, int change) argument
424 if (entity->use_count == 0 && change > 0 && subdev != NULL) {
432 entity->use_count += change;
435 if (entity->use_count == 0 && change < 0 && subdev != NULL)
442 * iss_pipeline_pm_power - Apply power change to all entities in a pipeline
444 * @change
451 iss_pipeline_pm_power(struct media_entity *entity, int change) argument
493 int change = use ? 1 : -1; local
[all...]
/drivers/media/platform/omap3isp/
H A Disp.c688 * isp_pipeline_pm_power_one - Apply power change to an entity
690 * @change: Use count change
692 * Change the entity use count by @change. If the entity is a subdev update its
698 static int isp_pipeline_pm_power_one(struct media_entity *entity, int change) argument
706 if (entity->use_count == 0 && change > 0 && subdev != NULL) {
712 entity->use_count += change;
715 if (entity->use_count == 0 && change < 0 && subdev != NULL)
722 * isp_pipeline_pm_power - Apply power change to all entities in a pipeline
724 * @change
731 isp_pipeline_pm_power(struct media_entity *entity, int change) argument
773 int change = use ? 1 : -1; local
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c243 * it's mostly a guess that may change when link is up
459 bool change = false; local
518 change = true;
533 change = true;
555 if (change || (abilities.link_speed != config.link_speed)) {
569 netdev_info(netdev, "PHY settings change requested, NIC Link is going down.\n");
662 netdev_info(netdev, "To change autoneg please use: ethtool -s <dev> autoneg <on|off>\n");
670 netdev_info(netdev, "Autoneg did not complete so changing settings may not result in an actual change.\n");
692 netdev_info(netdev, "Flow control settings change requested, NIC Link is going down.\n");
/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c67 static u8 handle_switch_change(u8 change, struct controller *ctrl) argument
75 if (!change)
82 if (change & (0x1L << hp_slot)) {
141 static u8 handle_presence_change(u16 change, struct controller *ctrl) argument
151 if (!change)
157 dbg("cpqsbd: Presence/Notify input change.\n");
158 dbg(" Changed bits are 0x%4.4x\n", change );
161 if (change & (0x0101 << hp_slot)) {
212 /* Switch is open, assume a presence change
235 static u8 handle_power_fault(u8 change, struc argument
1804 int change = 1; local
[all...]

Completed in 3963 milliseconds

12