Home
last modified time | relevance | path

Searched refs:change (Results 1 – 25 of 89) 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/net/phy/
Dmdio-mux-gpio.c32 int change; in mdio_mux_gpio_switch_fn() local
39 change = current_child == -1 ? -1 : current_child ^ desired_child; in mdio_mux_gpio_switch_fn()
42 if (change & 1) in mdio_mux_gpio_switch_fn()
45 change >>= 1; in mdio_mux_gpio_switch_fn()
/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/pci/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/md/bcache/
Dwriteback.c37 int change = 0; in __update_writeback_rate() local
56 change = div_s64((dc->writeback_rate.rate * error) >> 8, in __update_writeback_rate()
60 if (change > 0 && in __update_writeback_rate()
63 change = 0; in __update_writeback_rate()
66 clamp_t(int64_t, dc->writeback_rate.rate + change, in __update_writeback_rate()
70 dc->writeback_rate_change = change; in __update_writeback_rate()
/drivers/media/platform/omap3isp/
Disp.c699 static int isp_pipeline_pm_power_one(struct media_entity *entity, int change) in isp_pipeline_pm_power_one() argument
707 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in isp_pipeline_pm_power_one()
713 entity->use_count += change; in isp_pipeline_pm_power_one()
716 if (entity->use_count == 0 && change < 0 && subdev != NULL) in isp_pipeline_pm_power_one()
732 static int isp_pipeline_pm_power(struct media_entity *entity, int change) in isp_pipeline_pm_power() argument
738 if (!change) in isp_pipeline_pm_power()
745 ret = isp_pipeline_pm_power_one(entity, change); in isp_pipeline_pm_power()
755 isp_pipeline_pm_power_one(first, -change); in isp_pipeline_pm_power()
774 int change = use ? 1 : -1; in omap3isp_pipeline_pm_use() local
780 entity->use_count += change; in omap3isp_pipeline_pm_use()
[all …]
/drivers/gpio/
Dgpio-pcf857x.c176 unsigned long change, i, status, flags; in pcf857x_irq_demux_work() local
182 change = gpio->status ^ status; in pcf857x_irq_demux_work()
183 for_each_set_bit(i, &change, gpio->chip.ngpio) in pcf857x_irq_demux_work()
/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/ft1000/
DTODO6 - change firmware loading for usb driver to proper kernel method (request_firmware)
/drivers/staging/usbip/
Dvhci_hcd.c105 char change; in dump_port_status_diff() local
108 change = '+'; in dump_port_status_diff()
110 change = '-'; in dump_port_status_diff()
112 change = ' '; in dump_port_status_diff()
115 pr_debug(" %c%s\n", change, bit_desc[i]); in dump_port_status_diff()
/drivers/usb/gadget/
Domap_udc.c1727 u16 devstat, change; in devstate_irq() local
1730 change = devstat ^ udc->devstat; in devstate_irq()
1733 if (change & (UDC_USB_RESET|UDC_ATT)) { in devstate_irq()
1736 if (change & UDC_ATT) { in devstate_irq()
1758 change &= ~UDC_ATT; in devstate_irq()
1761 if (change & UDC_USB_RESET) { in devstate_irq()
1772 change &= ~UDC_USB_RESET; in devstate_irq()
1775 if (change & UDC_SUS) { in devstate_irq()
1804 change &= ~UDC_SUS; in devstate_irq()
1806 if (!cpu_is_omap15xx() && (change & OTG_FLAGS)) { in devstate_irq()
[all …]
/drivers/base/regmap/
Dregmap.c36 bool *change);
1599 bool *change) in _regmap_update_bits() argument
1613 *change = true; in _regmap_update_bits()
1615 *change = false; in _regmap_update_bits()
1634 bool change; in regmap_update_bits() local
1638 ret = _regmap_update_bits(map, reg, mask, val, &change); in regmap_update_bits()
1659 bool *change) in regmap_update_bits_check() argument
1664 ret = _regmap_update_bits(map, reg, mask, val, change); in regmap_update_bits_check()
/drivers/media/pci/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/extcon/
Dextcon-arizona.c243 bool change; in arizona_start_mic() local
278 &change); in arizona_start_mic()
279 if (!change) { in arizona_start_mic()
290 bool change; in arizona_stop_mic() local
295 &change); in arizona_stop_mic()
321 if (change) { in arizona_stop_mic()
/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/net/wireless/ath/ath6kl/
DKconfig47 Enabling this makes it possible to change the regdomain in
/drivers/staging/ti-soc-thermal/
Dti_soc_thermal.txt23 to each bandgap version, because the mapping may change from
/drivers/media/usb/pvrusb2/
DKconfig33 Note: This feature is experimental and subject to change.
/drivers/video/omap/
DKconfig30 notifying the frame buffer driver when a change has occurred in

1234