/drivers/watchdog/ |
H A D | ar7_wdt.c | 64 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/net/phy/ |
H A D | mdio-mux-gpio.c | 31 int change; local 38 change = current_child == -1 ? -1 : current_child ^ desired_child; 41 if (change & 1) 44 change >>= 1;
|
/drivers/input/misc/ |
H A D | gpio_axis.c | 65 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/usb/wusbcore/ |
H A D | rh.c | 54 * FIXME: this process will change in the future 109 port->change |= USB_PORT_STAT_C_RESET; 118 port->change |= USB_PORT_STAT_C_RESET | USB_PORT_STAT_C_ENABLE; 124 * Return the hub change status bitmap 126 * The bits in the change status bitmap are cleared when a 155 if (wusb_port_by_idx(wusbhc, cnt)->change) { 306 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_RESET; 309 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_CONNECTION; 315 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_ENABLE; 349 buf[1] = cpu_to_le16(wusb_port_by_idx(wusbhc, port_idx)->change); [all...] |
H A D | wusbhc.h | 89 * 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
|
H A D | devconnect.c | 331 port->change |= USB_PORT_STAT_C_CONNECTION; 333 * pick the change up and try to reset the port to bring it to 346 * Marks the port as disconnected so that hub_wq can pick up the change 366 port->change |= USB_PORT_STAT_C_CONNECTION | USB_PORT_STAT_C_ENABLE; 376 /* After a device disconnects, change the GTK (see [WUSB]
|
/drivers/pcmcia/ |
H A D | pxa2xx_trizeps4.c | 58 unsigned short status = 0, change; local 60 change = (status ^ trizeps_pcmcia_status[skt->nr]) & 62 if (change) {
|
/drivers/acpi/ |
H A D | Kconfig | 248 via initrd. No functional change if no ACPI tables are passed via
|
/drivers/input/keyboard/ |
H A D | st-keyscan.c | 46 unsigned long state, change; local 50 change = keypad->last_state ^ state; 53 for_each_set_bit(bit_nr, &change, BITS_PER_LONG)
|
/drivers/staging/media/omap4iss/ |
H A D | iss.c | 407 * 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/pci/saa7134/ |
H A D | saa7134-alsa.c | 405 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/md/bcache/ |
H A D | writeback.c | 36 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;
|
/drivers/gpio/ |
H A D | gpio-pcf857x.c | 200 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
|
/drivers/tty/ |
H A D | tty_buffer.c | 239 * 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/media/platform/omap3isp/ |
H A D | isp.c | 688 * 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/mfd/ |
H A D | aat2870-core.c | 192 int change; local 203 change = old_val != new_val; 204 if (change)
|
/drivers/pci/hotplug/ |
H A D | cpqphp_ctrl.c | 67 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...] |
/drivers/usb/gadget/udc/ |
H A D | omap_udc.c | 80 * to change the fifo mode after the kernel boots. 354 /* FIXME change r/w fifo calling convention */ 1726 u16 devstat, change; local 1729 change = devstat ^ udc->devstat; 1732 if (change & (UDC_USB_RESET|UDC_ATT)) { 1735 if (change & UDC_ATT) { 1757 change &= ~UDC_ATT; 1760 if (change & UDC_USB_RESET) { 1771 change &= ~UDC_USB_RESET; 1774 if (change [all...] |
/drivers/media/pci/zoran/ |
H A D | zoran_device.c | 196 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 D | img-ir-hw.c | 844 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/usb/usbip/ |
H A D | vhci_hcd.c | 105 char change; local 108 change = '+'; 110 change = '-'; 112 change = ' '; 115 pr_debug(" %c%s\n", change, bit_desc[i]);
|
/drivers/extcon/ |
H A D | extcon-arizona.c | 250 bool change; local 285 &change); 286 if (!change) { 297 bool change; local 302 &change); 324 if (change) {
|
/drivers/ide/ |
H A D | Kconfig | 354 IDE controllers. This allows the kernel to change PIO, DMA and UDMA 379 change PIO, DMA and UDMA speeds and to configure the chip to 388 This allows the kernel to change PIO, DMA and UDMA speeds 502 This allows the kernel to change PIO, DMA and UDMA speeds and to 637 This allows the kernel to change PIO, DMA and UDMA speeds and to
|
/drivers/base/regmap/ |
H A D | regmap.c | 37 bool *change); 1592 * @mask: Bitmask to change 1635 * @mask: Bitmask to change 2334 bool *change) 2348 if (change) 2349 *change = true; 2351 if (change) 2352 *change = false; 2363 * @mask: Bitmask to change 2387 * @mask: Bitmask to change 2332 _regmap_update_bits(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument 2427 regmap_update_bits_check(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument 2457 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, unsigned int mask, unsigned int val, bool *change) argument [all...] |
/drivers/net/ieee802154/ |
H A D | at86rf230.c | 489 /* Assert state change */ 496 * change to STATE_RX_AACK_ON the transceiver could 497 * change his state automatically to STATE_BUSY_RX_AACK 504 /* If we change to STATE_TX_ON without forcing and 508 * in STATE_BUSY_RX_AACK, we run a force state change 521 dev_warn(&lp->spi->dev, "unexcept state change from 0x%02x to 0x%02x. Actual state: 0x%02x\n", 530 /* Do state change timing delay. */ 541 * state status subregister. We change the to_state to the 542 * corresponding one and remember if it was a force change, this 543 * differs if we do a state change fro [all...] |