Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 134) sorted by relevance

123456

/drivers/staging/lustre/lustre/include/
Dlustre_update.h44 static inline unsigned long update_size(struct update *update) in update_size() argument
49 size = cfs_size_round(offsetof(struct update, u_bufs[0])); in update_size()
51 size += cfs_size_round(update->u_lens[i]); in update_size()
56 static inline void *update_param_buf(struct update *update, int index, in update_param_buf() argument
65 ptr = (char *)update + cfs_size_round(offsetof(struct update, in update_param_buf()
68 LASSERT(update->u_lens[i] > 0); in update_param_buf()
69 ptr += cfs_size_round(update->u_lens[i]); in update_param_buf()
73 *size = update->u_lens[index]; in update_param_buf()
85 struct update *update; in update_buf_size() local
87 update = (struct update *)((char *)buf + size); in update_buf_size()
[all …]
/drivers/media/platform/omap3isp/
Disph3a_aewb.c43 if (!aewb->update) in h3a_aewb_setup_regs()
75 aewb->update = 0; in h3a_aewb_setup_regs()
186 int update = 0; in h3a_aewb_set_params() local
190 update = 1; in h3a_aewb_set_params()
194 update = 1; in h3a_aewb_set_params()
198 update = 1; in h3a_aewb_set_params()
202 update = 1; in h3a_aewb_set_params()
206 update = 1; in h3a_aewb_set_params()
210 update = 1; in h3a_aewb_set_params()
214 update = 1; in h3a_aewb_set_params()
[all …]
Disph3a_af.c47 if (!af->update) in h3a_af_setup_regs()
125 af->update = 0; in h3a_af_setup_regs()
234 int update = 0; in h3a_af_set_params() local
239 update = 1; in h3a_af_set_params()
245 update = 1; in h3a_af_set_params()
249 update = 1; in h3a_af_set_params()
255 update = 1; in h3a_af_set_params()
261 update = 1; in h3a_af_set_params()
267 update = 1; in h3a_af_set_params()
272 update = 1; in h3a_af_set_params()
[all …]
Disppreview.c647 params->update |= OMAP3ISP_PREV_CONTRAST; in preview_update_contrast()
669 params->update |= OMAP3ISP_PREV_BRIGHTNESS; in preview_update_brightness()
675 preview_params_lock(struct isp_prev_device *prev, u32 update, bool shadow) in preview_params_lock() argument
681 prev->params.params[0].busy |= ~active & update; in preview_params_lock()
682 prev->params.params[1].busy |= active & update; in preview_params_lock()
685 update = (prev->params.params[0].update & active) in preview_params_lock()
686 | (prev->params.params[1].update & ~active); in preview_params_lock()
688 prev->params.params[0].busy |= active & update; in preview_params_lock()
689 prev->params.params[1].busy |= ~active & update; in preview_params_lock()
692 return update; in preview_params_lock()
[all …]
Dispccdc.c410 u16 update; in ccdc_lsc_config() local
413 update = config->update & in ccdc_lsc_config()
415 if (!update) in ccdc_lsc_config()
418 if (update != (OMAP3ISP_CCDC_CONFIG_LSC | OMAP3ISP_CCDC_TBL_LSC)) { in ccdc_lsc_config()
675 if (OMAP3ISP_CCDC_ALAW & ccdc_struct->update) { in ccdc_config()
677 ccdc->update |= OMAP3ISP_CCDC_ALAW; in ccdc_config()
680 if (OMAP3ISP_CCDC_LPF & ccdc_struct->update) { in ccdc_config()
682 ccdc->update |= OMAP3ISP_CCDC_LPF; in ccdc_config()
685 if (OMAP3ISP_CCDC_BLCLAMP & ccdc_struct->update) { in ccdc_config()
693 ccdc->update |= OMAP3ISP_CCDC_BLCLAMP; in ccdc_config()
[all …]
/drivers/s390/char/
Dcon3270.c46 struct list_head update; /* list of lines to update. */ member
146 list_for_each_entry_safe(s, n, &cp->update, update) in con3270_rebuild_update()
147 list_del_init(&s->update); in con3270_rebuild_update()
151 list_add(&s->update, &cp->update); in con3270_rebuild_update()
172 if (!list_empty(&s->update)) in con3270_alloc_string()
173 list_del(&s->update); in con3270_alloc_string()
257 list_for_each_entry_safe(s, n, &cp->update, update) { in con3270_update()
263 list_del_init(&s->update); in con3270_update()
267 if (list_empty(&cp->update)) in con3270_update()
447 if (list_empty(&cp->cline->update)) { in con3270_cline_insert()
[all …]
Dtty3270.c70 struct list_head update; /* List of lines to update. */ member
252 list_for_each_entry_safe(s, n, &tp->update, update) in tty3270_rebuild_update()
253 list_del_init(&s->update); in tty3270_rebuild_update()
262 list_add(&s->update, &tp->update); in tty3270_rebuild_update()
284 if (!list_empty(&s->update)) in tty3270_alloc_string()
285 list_del(&s->update); in tty3270_alloc_string()
395 list_for_each_entry_safe(s, n, &tp->update, update) { in tty3270_update()
407 list_del_init(&s->update); in tty3270_update()
410 if (list_empty(&tp->update)) in tty3270_update()
688 INIT_LIST_HEAD(&tp->update); in tty3270_alloc_view()
[all …]
Draw3270.h214 struct list_head update; member
240 INIT_LIST_HEAD(&cs->update); in alloc_string()
/drivers/power/
Dipaq_micro_battery.c44 struct delayed_work update; member
55 struct micro_battery, update.work); in micro_battery_work()
91 queue_delayed_work(mb->wq, &mb->update, msecs_to_jiffies(BATT_PERIOD)); in micro_battery_work()
240 INIT_DELAYED_WORK(&mb->update, micro_battery_work); in micro_batt_probe()
242 queue_delayed_work(mb->wq, &mb->update, 1); in micro_batt_probe()
258 cancel_delayed_work_sync(&mb->update); in micro_batt_probe()
270 cancel_delayed_work_sync(&mb->update); in micro_batt_remove()
280 cancel_delayed_work_sync(&mb->update); in micro_batt_suspend()
288 queue_delayed_work(mb->wq, &mb->update, msecs_to_jiffies(BATT_PERIOD)); in micro_batt_resume()
/drivers/gpu/drm/nouveau/
Dnouveau_crtc.h61 void (*hide)(struct nouveau_crtc *, bool update);
62 void (*show)(struct nouveau_crtc *, bool update);
73 int (*set_dither)(struct nouveau_crtc *crtc, bool update);
74 int (*set_scale)(struct nouveau_crtc *crtc, bool update);
75 int (*set_color_vibrance)(struct nouveau_crtc *crtc, bool update);
/drivers/usb/host/whci/
Dpzl.c105 enum whc_update update = 0; in pzl_process_qset() local
128 update |= WHC_UPDATE_UPDATED; in pzl_process_qset()
137 update |= qset_add_qtds(whc, qset); in pzl_process_qset()
145 update |= WHC_UPDATE_REMOVED; in pzl_process_qset()
148 return update; in pzl_process_qset()
235 enum whc_update update = 0; in scan_periodic_work() local
243 update |= WHC_UPDATE_ADDED; in scan_periodic_work()
244 update |= pzl_process_qset(whc, qset); in scan_periodic_work()
248 if (update & (WHC_UPDATE_ADDED | WHC_UPDATE_REMOVED)) in scan_periodic_work()
253 if (update) { in scan_periodic_work()
[all …]
Dasl.c99 enum whc_update update = 0; in process_qset() local
122 update |= WHC_UPDATE_UPDATED; in process_qset()
131 update |= qset_add_qtds(whc, qset); in process_qset()
140 update |= WHC_UPDATE_REMOVED; in process_qset()
142 return update; in process_qset()
206 enum whc_update update = 0; in scan_async_work() local
217 update |= WHC_UPDATE_ADDED; in scan_async_work()
220 update |= process_qset(whc, qset); in scan_async_work()
225 if (update) { in scan_async_work()
227 if (update & WHC_UPDATE_REMOVED) in scan_async_work()
/drivers/pci/
Dhtirq.c29 ht_irq_update_t *update; member
49 if (cfg->update) in write_ht_irq_msg()
50 cfg->update(cfg->dev, irq, msg); in write_ht_irq_msg()
87 int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update) in __ht_create_irq() argument
113 cfg->update = update; in __ht_create_irq()
/drivers/hwmon/pmbus/
Dpmbus_core.c64 bool update; /* runtime sensor update needed */ member
389 if (!data->valid || sensor->update) in pmbus_update_device()
850 bool update, bool readonly) in pmbus_add_sensor() argument
865 sensor->update = update; in pmbus_add_sensor()
914 bool update; /* True if register needs updates */ member
932 bool update; /* true if update needed */ member
963 attr->update || l->update, in pmbus_add_limit_attrs()
1082 .update = true,
1086 .update = true,
1090 .update = true,
[all …]
/drivers/gpio/
Dgpio-crystalcove.c82 int update; member
204 cg->update |= UPDATE_IRQ_TYPE; in crystalcove_irq_type()
221 if (cg->update & UPDATE_IRQ_TYPE) in crystalcove_bus_sync_unlock()
223 if (cg->update & UPDATE_IRQ_MASK) in crystalcove_bus_sync_unlock()
225 cg->update = 0; in crystalcove_bus_sync_unlock()
235 cg->update |= UPDATE_IRQ_MASK; in crystalcove_irq_unmask()
243 cg->update |= UPDATE_IRQ_MASK; in crystalcove_irq_mask()
/drivers/pci/hotplug/
Dibmphp_hpc.c937 u8 update = 0; in process_changeinstatus() local
943 update = 1; in process_changeinstatus()
950 update = 1; in process_changeinstatus()
956 update = 1; in process_changeinstatus()
969 update = 1; in process_changeinstatus()
978 update = 1; in process_changeinstatus()
992 update = 1; in process_changeinstatus()
1000 if (update || disable) in process_changeinstatus()
1003 debug ("%s - Exit rc[%d] disable[%x] update[%x]\n", __func__, rc, disable, update); in process_changeinstatus()
/drivers/regulator/
Daat2870-regulator.c51 return aat2870->update(aat2870, ri->voltage_addr, ri->voltage_mask, in aat2870_ldo_set_voltage_sel()
74 return aat2870->update(aat2870, ri->enable_addr, ri->enable_mask, in aat2870_ldo_enable()
83 return aat2870->update(aat2870, ri->enable_addr, ri->enable_mask, 0); in aat2870_ldo_disable()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h201 u16 index, u8 op, u8 update);
633 u8 update, u32 igu_addr) in bnx2x_igu_ack_sb_gen() argument
640 (update << IGU_REGULAR_BUPDATE_SHIFT) | in bnx2x_igu_ack_sb_gen()
653 u8 storm, u16 index, u8 op, u8 update) in bnx2x_hc_ack_sb() argument
663 (update << IGU_ACK_REGISTER_UPDATE_INDEX_SHIFT) | in bnx2x_hc_ack_sb()
674 u16 index, u8 op, u8 update) in bnx2x_ack_sb() argument
677 bnx2x_hc_ack_sb(bp, igu_sb_id, storm, index, op, update); in bnx2x_ack_sb()
689 bnx2x_igu_ack_sb(bp, igu_sb_id, segment, index, op, update); in bnx2x_ack_sb()
/drivers/video/fbdev/omap/
Dhwa742.c98 struct update_param update; member
342 struct update_param *par = &req->par.update; in send_frame_handler()
387 flags = req->par.update.flags; in send_frame_handler()
419 req->par.update.x = _x; \
420 req->par.update.y = _y; \
421 req->par.update.width = _w; \
422 req->par.update.height = _h; \
423 req->par.update.color_mode = color_mode;\
424 req->par.update.flags = flags; \
/drivers/gpu/drm/nouveau/dispnv04/
Dcursor.c9 nv04_cursor_show(struct nouveau_crtc *nv_crtc, bool update) in nv04_cursor_show() argument
15 nv04_cursor_hide(struct nouveau_crtc *nv_crtc, bool update) in nv04_cursor_hide() argument
/drivers/acpi/acpica/
Dutstate.c243 state->update.object = object; in acpi_ut_create_update_state()
244 state->update.value = action; in acpi_ut_create_update_state()
/drivers/gpu/drm/armada/
Darmada_overlay.c40 struct armada_vbl_event update; member
154 list_empty(&dplane->vbl.update.node), in armada_plane_update()
240 armada_drm_vbl_event_add(dcrtc, &dplane->vbl.update); in armada_plane_update()
258 armada_drm_vbl_event_remove(dcrtc, &dplane->vbl.update); in armada_plane_disable()
443 armada_drm_vbl_event_init(&dplane->vbl.update, armada_plane_vbl, in armada_overlay_plane_create()
/drivers/media/i2c/
Dtvaudio.c420 int update = 1; in tda9840_setaudmode() local
440 update = 0; in tda9840_setaudmode()
443 if (update) in tda9840_setaudmode()
577 int update = 1; in tda985x_setaudmode() local
595 update = 0; in tda985x_setaudmode()
597 if (update) in tda985x_setaudmode()
1404 int update = 1; in ta8874z_setaudmode() local
1426 update = 0; in ta8874z_setaudmode()
1429 if(update) in ta8874z_setaudmode()
/drivers/crypto/
Dpadlock-sha.c247 .update = padlock_sha_update,
271 .update = padlock_sha_update,
495 .update = padlock_sha1_update_nano,
514 .update = padlock_sha256_update_nano,
Domap-sham.c1318 .update = omap_sham_update,
1341 .update = omap_sham_update,
1364 .update = omap_sham_update,
1389 .update = omap_sham_update,
1418 .update = omap_sham_update,
1440 .update = omap_sham_update,
1462 .update = omap_sham_update,
1486 .update = omap_sham_update,
1513 .update = omap_sham_update,
1535 .update = omap_sham_update,
[all …]

123456