/drivers/watchdog/ |
D | ar7_wdt.c | 64 u32 change; member 117 WRITE_REG(ar7_wdt->change, value); in ar7_wdt_change() 142 u32 change; in ar7_wdt_update_margin() local 146 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin() 147 if (change < 1) in ar7_wdt_update_margin() 148 change = 1; in ar7_wdt_update_margin() 149 if (change > 0xffff) in ar7_wdt_update_margin() 150 change = 0xffff; in ar7_wdt_update_margin() 151 ar7_wdt_change(change); in ar7_wdt_update_margin() 152 margin = change * prescale_value / vbus_rate; in ar7_wdt_update_margin() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 294 static int pipeline_pm_power_one(struct media_entity *entity, int change) in pipeline_pm_power_one() argument 302 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in pipeline_pm_power_one() 308 entity->use_count += change; in pipeline_pm_power_one() 311 if (entity->use_count == 0 && change < 0 && subdev != NULL) in pipeline_pm_power_one() 327 static int pipeline_pm_power(struct media_entity *entity, int change, in pipeline_pm_power() argument 333 if (!change) in pipeline_pm_power() 340 ret = pipeline_pm_power_one(entity, change); in pipeline_pm_power() 350 pipeline_pm_power_one(first, -change); in pipeline_pm_power() 358 int change = use ? 1 : -1; in v4l2_pipeline_pm_use() local 364 entity->use_count += change; in v4l2_pipeline_pm_use() [all …]
|
/drivers/input/misc/ |
D | gpio_axis.c | 65 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/ |
D | rh.c | 109 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() 155 if (wusb_port_by_idx(wusbhc, cnt)->change) { in wusbhc_rh_status_data() 306 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_RESET; in wusbhc_rh_clear_port_feat() 309 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_CONNECTION; in wusbhc_rh_clear_port_feat() 315 wusb_port_by_idx(wusbhc, port_idx)->change &= ~USB_PORT_STAT_C_ENABLE; in wusbhc_rh_clear_port_feat() 349 buf[1] = cpu_to_le16(wusb_port_by_idx(wusbhc, port_idx)->change); in wusbhc_rh_get_port_status()
|
/drivers/usb/typec/ucsi/ |
D | trace.h | 96 __field(u16, change) 107 __entry->change = status->change; 119 __entry->change, __entry->opmode, __entry->connected,
|
D | ucsi.c | 320 if (con->status.change & UCSI_CONSTAT_POWER_OPMODE_CHANGE) in ucsi_connector_change() 323 if (con->status.change & UCSI_CONSTAT_POWER_DIR_CHANGE) { in ucsi_connector_change() 331 if (con->status.change & UCSI_CONSTAT_PARTNER_CHANGE) { in ucsi_connector_change() 348 if (con->status.change & UCSI_CONSTAT_CONNECT_CHANGE) { in ucsi_connector_change()
|
/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-ctl.c | 217 int i, change; in snd_bcm2835_spdif_default_put() local 225 change = val != chip->spdif_status; in snd_bcm2835_spdif_default_put() 229 return change; in snd_bcm2835_spdif_default_put() 281 int i, change; in snd_bcm2835_spdif_stream_put() local 288 change = val != chip->spdif_status; in snd_bcm2835_spdif_stream_put() 292 return change; in snd_bcm2835_spdif_stream_put()
|
/drivers/pcmcia/ |
D | pxa2xx_trizeps4.c | 58 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/ |
D | saa7134-alsa.c | 391 int change = 0, addr = kcontrol->private_value; in snd_saa7134_capsrc_set() local 406 change = old_addr != addr || in snd_saa7134_capsrc_set() 417 if (change) { in snd_saa7134_capsrc_set() 479 if (change) { in snd_saa7134_capsrc_set() 491 return change; in snd_saa7134_capsrc_set() 942 int change, addr = kcontrol->private_value; in snd_saa7134_volume_put() local 956 change = 0; in snd_saa7134_volume_put() 958 change = 1; in snd_saa7134_volume_put() 962 change = 1; in snd_saa7134_volume_put() 965 if (change) { in snd_saa7134_volume_put() [all …]
|
/drivers/gpio/ |
D | gpio-arizona.c | 37 bool change; in arizona_gpio_direction_in() local 43 &change); in arizona_gpio_direction_in() 47 if (change && persistent) { in arizona_gpio_direction_in()
|
D | gpio-pcf857x.c | 186 unsigned long change, i, status; in pcf857x_irq() local 195 change = (gpio->status ^ status) & gpio->irq_enabled; in pcf857x_irq() 199 for_each_set_bit(i, &change, gpio->chip.ngpio) in pcf857x_irq()
|
/drivers/md/bcache/ |
D | writeback.c | 38 int64_t change; in __update_writeback_rate() local 56 change = proportional + derivative; in __update_writeback_rate() 59 if (change > 0 && in __update_writeback_rate() 62 change = 0; in __update_writeback_rate() 65 clamp_t(int64_t, (int64_t) dc->writeback_rate.rate + change, in __update_writeback_rate() 70 dc->writeback_rate_change = change; in __update_writeback_rate()
|
/drivers/input/keyboard/ |
D | st-keyscan.c | 46 unsigned long state, change; in keyscan_isr() local 50 change = keypad->last_state ^ state; in keyscan_isr() 53 for_each_set_bit(bit_nr, &change, BITS_PER_LONG) in keyscan_isr()
|
D | bcm-keypad.c | 105 unsigned long state, change; in bcm_kp_report_keys() local 115 change = kp->last_state[reg_num] ^ state; in bcm_kp_report_keys() 118 for_each_set_bit(bit_nr, &change, BITS_PER_LONG) { in bcm_kp_report_keys()
|
/drivers/tty/ |
D | tty_buffer.c | 256 int left, change; in __tty_buffer_request_room() local 264 change = (b->flags & TTYB_NORMAL) && (~flags & TTYB_NORMAL); in __tty_buffer_request_room() 265 if (change || left < size) { in __tty_buffer_request_room() 280 } else if (change) in __tty_buffer_request_room()
|
/drivers/pci/hotplug/ |
D | cpqphp_ctrl.c | 67 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/base/regmap/ |
D | regmap.c | 39 bool *change, bool force_write); 1776 bool *change, bool async, bool force) in regmap_field_update_bits_base() argument 1782 change, async, force); in regmap_field_update_bits_base() 1803 bool *change, bool async, bool force) in regmap_fields_update_bits_base() argument 1813 change, async, force); in regmap_fields_update_bits_base() 2671 bool *change, bool force_write) in _regmap_update_bits() argument 2676 if (change) in _regmap_update_bits() 2677 *change = false; in _regmap_update_bits() 2681 if (ret == 0 && change) in _regmap_update_bits() 2682 *change = true; in _regmap_update_bits() [all …]
|
/drivers/mfd/ |
D | aat2870-core.c | 192 int change; in aat2870_update() local 203 change = old_val != new_val; in aat2870_update() 204 if (change) in aat2870_update()
|
/drivers/extcon/ |
D | extcon-arizona.c | 299 bool change; in arizona_start_mic() local 340 &change); in arizona_start_mic() 341 if (!change) { in arizona_start_mic() 353 bool change; in arizona_stop_mic() local 358 &change); in arizona_stop_mic() 380 if (change) { in arizona_stop_mic() 1729 bool change; in arizona_extcon_remove() local 1733 &change); in arizona_extcon_remove() 1735 if (change) { in arizona_extcon_remove()
|
/drivers/usb/gadget/udc/ |
D | omap_udc.c | 1726 u16 devstat, change; in devstate_irq() local 1729 change = devstat ^ udc->devstat; in devstate_irq() 1732 if (change & (UDC_USB_RESET|UDC_ATT)) { in devstate_irq() 1735 if (change & UDC_ATT) { in devstate_irq() 1757 change &= ~UDC_ATT; in devstate_irq() 1760 if (change & UDC_USB_RESET) { in devstate_irq() 1771 change &= ~UDC_USB_RESET; in devstate_irq() 1774 if (change & UDC_SUS) { in devstate_irq() 1803 change &= ~UDC_SUS; in devstate_irq() 1805 if (!cpu_is_omap15xx() && (change & OTG_FLAGS)) { in devstate_irq() [all …]
|
/drivers/memory/tegra/ |
D | Kconfig | 16 This driver is required to change memory timings / clock rate for
|
/drivers/connector/ |
D | Kconfig | 20 events such as fork, exec, id change (uid, gid, suid, etc), and exit.
|
/drivers/media/pci/zoran/ |
D | zoran_device.c | 181 int timeout, i, j, res, guest[8], guest0[8], change[8][3]; in detect_guest_activity() local 201 change[j][0] = ktime_to_us(ktime_sub(t1, t0)); in detect_guest_activity() 203 change[j][1] = i; in detect_guest_activity() 204 change[j][2] = res; in detect_guest_activity() 221 change[i][0], change[i][1], change[i][2]); in detect_guest_activity()
|
/drivers/usb/usbip/ |
D | vhci_hcd.c | 146 char change; in dump_port_status_diff() local 149 change = '+'; in dump_port_status_diff() 151 change = '-'; in dump_port_status_diff() 153 change = ' '; in dump_port_status_diff() 156 pr_debug(" %c%s\n", change, desc[i]); in dump_port_status_diff() 159 pr_debug(" %c%s\n", change, "USB_PORT_STAT_SPEED_5GBPS"); in dump_port_status_diff()
|
/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 904 struct clk_notifier_data *change) in img_ir_change_frequency() argument 909 change->old_rate, change->new_rate); in img_ir_change_frequency() 912 if (hw->clk_hz == change->new_rate) in img_ir_change_frequency() 914 hw->clk_hz = change->new_rate; in img_ir_change_frequency()
|