Home
last modified time | relevance | path

Searched refs:change (Results 1 – 25 of 77) sorted by relevance

1234

/drivers/watchdog/
Dar7_wdt.c66 u32 change; member
119 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change()
144 u32 change; in ar7_wdt_update_margin() local
148 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin()
149 if (change < 1) in ar7_wdt_update_margin()
150 change = 1; in ar7_wdt_update_margin()
151 if (change > 0xffff) in ar7_wdt_update_margin()
152 change = 0xffff; in ar7_wdt_update_margin()
153 ar7_wdt_change(change); in ar7_wdt_update_margin()
154 margin = change * prescale_value / vbus_rate; in ar7_wdt_update_margin()
[all …]
/drivers/input/misc/
Dgpio_axis.c65 int change; in gpio_event_update_axis() local
77 change = (ai->decoded_size + pos - old_pos) % in gpio_event_update_axis()
79 if (change > ai->decoded_size / 2) in gpio_event_update_axis()
80 change -= ai->decoded_size; in gpio_event_update_axis()
81 if (change == ai->decoded_size / 2) { in gpio_event_update_axis()
86 change = 0; /* no closest direction */ in gpio_event_update_axis()
90 ai->type, ai->code, change); in gpio_event_update_axis()
92 ai->code, change); in gpio_event_update_axis()
/drivers/usb/wusbcore/
Drh.c109 port->change |= USB_PORT_STAT_C_RESET; in wusbhc_rh_port_reset()
118 port->change |= USB_PORT_STAT_C_RESET | USB_PORT_STAT_C_ENABLE; in wusbhc_rh_port_reset()
151 if (wusb_port_by_idx(wusbhc, cnt)->change) in wusbhc_rh_status_data()
298 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_RESET; in wusbhc_rh_clear_port_feat()
301 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_CONNECTION; in wusbhc_rh_clear_port_feat()
307 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_ENABLE; in wusbhc_rh_clear_port_feat()
341 buf[1] = cpu_to_le16(wusb_port_by_idx(wusbhc, port_idx)->change); in wusbhc_rh_get_port_status()
/drivers/pcmcia/
Dpxa2xx_trizeps4.c58 unsigned short status = 0, change; in trizeps_pcmcia_socket_state() local
60 change = (status ^ trizeps_pcmcia_status[skt->nr]) & in trizeps_pcmcia_socket_state()
62 if (change) { in trizeps_pcmcia_socket_state()
/drivers/media/video/saa7134/
Dsaa7134-alsa.c327 int change = 0, addr = kcontrol->private_value; in snd_saa7134_capsrc_set() local
342 change = old_addr != addr || in snd_saa7134_capsrc_set()
353 if (change) { in snd_saa7134_capsrc_set()
415 if (change) { in snd_saa7134_capsrc_set()
427 return change; in snd_saa7134_capsrc_set()
878 int change, addr = kcontrol->private_value; in snd_saa7134_volume_put() local
892 change = 0; in snd_saa7134_volume_put()
894 change = 1; in snd_saa7134_volume_put()
898 change = 1; in snd_saa7134_volume_put()
901 if (change) { in snd_saa7134_volume_put()
[all …]
/drivers/input/keyboard/
Dtnetv107x-keypad.c77 u32 change; in keypad_irq() local
87 change = curr_keys[i] ^ kp->prev_keys[i]; in keypad_irq()
89 while (change) { in keypad_irq()
90 bit = fls(change) - 1; in keypad_irq()
91 change ^= BIT(bit); in keypad_irq()
/drivers/base/regmap/
Dregmap.c792 bool *change) in _regmap_update_bits() argument
808 *change = true; in _regmap_update_bits()
810 *change = false; in _regmap_update_bits()
832 bool change; in regmap_update_bits() local
833 return _regmap_update_bits(map, reg, mask, val, &change); in regmap_update_bits()
851 bool *change) in regmap_update_bits_check() argument
853 return _regmap_update_bits(map, reg, mask, val, change); in regmap_update_bits_check()
/drivers/media/video/omap3isp/
Disp.c584 static int isp_pipeline_pm_power_one(struct media_entity *entity, int change) in isp_pipeline_pm_power_one() argument
592 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in isp_pipeline_pm_power_one()
598 entity->use_count += change; in isp_pipeline_pm_power_one()
601 if (entity->use_count == 0 && change < 0 && subdev != NULL) in isp_pipeline_pm_power_one()
617 static int isp_pipeline_pm_power(struct media_entity *entity, int change) in isp_pipeline_pm_power() argument
623 if (!change) in isp_pipeline_pm_power()
630 ret = isp_pipeline_pm_power_one(entity, change); in isp_pipeline_pm_power()
640 isp_pipeline_pm_power_one(first, -change); in isp_pipeline_pm_power()
659 int change = use ? 1 : -1; in omap3isp_pipeline_pm_use() local
665 entity->use_count += change; in omap3isp_pipeline_pm_use()
[all …]
/drivers/pci/hotplug/
Dcpqphp_ctrl.c67 static u8 handle_switch_change(u8 change, struct controller * ctrl) in handle_switch_change() argument
75 if (!change) in handle_switch_change()
82 if (change & (0x1L << hp_slot)) { in handle_switch_change()
141 static u8 handle_presence_change(u16 change, struct controller * ctrl) in handle_presence_change() argument
151 if (!change) in handle_presence_change()
158 dbg(" Changed bits are 0x%4.4x\n", change ); in handle_presence_change()
161 if (change & (0x0101 << hp_slot)) { in handle_presence_change()
235 static u8 handle_power_fault(u8 change, struct controller * ctrl) in handle_power_fault() argument
242 if (!change) in handle_power_fault()
252 if (change & (0x01 << hp_slot)) { in handle_power_fault()
[all …]
/drivers/mfd/
Daat2870-core.c192 int change; in aat2870_update() local
203 change = old_val != new_val; in aat2870_update()
204 if (change) in aat2870_update()
/drivers/staging/usbip/
Dvhci_hcd.c104 char change; in dump_port_status_diff() local
107 change = '+'; in dump_port_status_diff()
109 change = '-'; in dump_port_status_diff()
111 change = ' '; in dump_port_status_diff()
114 pr_debug(" %c%s\n", change, bit_desc[i]); in dump_port_status_diff()
/drivers/staging/ft1000/
DTODO6 - change firmware loading for usb driver to proper kernel method (request_firmware)
/drivers/usb/gadget/
Domap_udc.c1780 u16 devstat, change; in devstate_irq() local
1783 change = devstat ^ udc->devstat; in devstate_irq()
1786 if (change & (UDC_USB_RESET|UDC_ATT)) { in devstate_irq()
1789 if (change & UDC_ATT) { in devstate_irq()
1811 change &= ~UDC_ATT; in devstate_irq()
1814 if (change & UDC_USB_RESET) { in devstate_irq()
1825 change &= ~UDC_USB_RESET; in devstate_irq()
1828 if (change & UDC_SUS) { in devstate_irq()
1857 change &= ~UDC_SUS; in devstate_irq()
1859 if (!cpu_is_omap15xx() && (change & OTG_FLAGS)) { in devstate_irq()
[all …]
/drivers/media/video/zoran/
Dzoran_device.c196 int timeout, i, j, res, guest[8], guest0[8], change[8][3]; in detect_guest_activity() local
216 change[j][0] = (t1 - t0); in detect_guest_activity()
218 change[j][1] = i; in detect_guest_activity()
219 change[j][2] = res; in detect_guest_activity()
239 change[i][0], change[i][1], change[i][2]); in detect_guest_activity()
/drivers/connector/
DKconfig20 events such as fork, exec, id change (uid, gid, suid, etc), and exit.
/drivers/staging/wlags49_h2/
DREADME.ubuntu68 Note: to compile as AP change the makefile and remove the line
77 changes are meant to fix compiler warnings. The only real change is in
85 change which checked a variable that was not changed in HCF anymore.
/drivers/staging/media/
DKconfig9 That also means that, once fixed, their API's will change to match
/drivers/media/video/pvrusb2/
DKconfig34 Note: This feature is experimental and subject to change.
/drivers/staging/zram/
Dzram.txt36 before you can change its disksize.
/drivers/media/video/gspca/
Dzc3xx.c6079 int change, good; in transfer_update() local
6103 change = reg11 & 0x01; in transfer_update()
6104 if (change) { /* overflow */ in transfer_update()
6110 change = 3; in transfer_update()
6121 change = 0; /* already min */ in transfer_update()
6130 change = 1; in transfer_update()
6148 change = 2; in transfer_update()
6153 if (change) { in transfer_update()
6154 if (change & 1) { in transfer_update()
6161 if (change & 2) { in transfer_update()
/drivers/cpufreq/
DKconfig6 CPU Frequency scaling allows you to change the clock speed of
10 Note that this driver doesn't automatically change the CPU
/drivers/video/omap/
DKconfig30 notifying the frame buffer driver when a change has occurred in
/drivers/staging/rtl8192e/
Dlicense19 share and change it. By contrast, the GNU General Public License is intended
20 to guarantee your freedom to share and change free software--to make sure
31 can change the software or use pieces of it in new free programs; and that
99 that you changed the files and the date of any change.
286 software which everyone can redistribute and change under these terms.
/drivers/staging/rtl8192u/
Dcopying12 freedom to share and change it. By contrast, the GNU General Public
13 License is intended to guarantee your freedom to share and change free
25 if you want it, that you can change the software or use pieces of it
96 stating that you changed the files and the date of any change.
286 free software which everyone can redistribute and change under these terms.
/drivers/staging/usbip/userspace/
DCOPYING12 freedom to share and change it. By contrast, the GNU General Public
13 License is intended to guarantee your freedom to share and change free
25 if you want it, that you can change the software or use pieces of it
96 stating that you changed the files and the date of any change.
286 free software which everyone can redistribute and change under these terms.

1234