Searched defs:state (Results 451 - 475 of 1738) sorted by relevance

<<11121314151617181920>>

/drivers/power/
H A Dpda_power.c458 static int pda_power_suspend(struct platform_device *pdev, pm_message_t state) argument
461 int ret = pdata->suspend(state);
H A Ds3c_adc_battery.c396 pm_message_t state)
395 s3c_adc_bat_suspend(struct platform_device *pdev, pm_message_t state) argument
H A Dtosa_battery.c327 static int tosa_bat_suspend(struct platform_device *dev, pm_message_t state) argument
H A Dwm8350_power.c69 /* If the USB state machine is active then we're using that with or
141 u16 state; local
143 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2);
144 state &= WM8350_CHG_STS_MASK;
146 switch (state) {
164 int state; local
166 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) &
168 switch (state) {
329 int state; local
331 state
[all...]
/drivers/power/reset/
H A Dltc2952-poweroff.c33 * A level change indicates the shut-down trigger. If it's state reverts
104 int state; local
110 state = gpiod_get_value(ltc2952_data->gpio[POWERPATH_IO_WATCHDOG]);
111 gpiod_set_value(ltc2952_data->gpio[POWERPATH_IO_WATCHDOG], !state);
148 * Triggered each time the trigger signal changes state and (de)activates a
189 pm_message_t state)
188 ltc2952_poweroff_suspend(struct platform_device *pdev, pm_message_t state) argument
/drivers/s390/block/
H A Dscm_blk.h24 enum {SCM_OPER, SCM_WR_PROHIBIT} state; member in struct:scm_blk_dev
41 enum {CLUSTER_NONE, CLUSTER_READ, CLUSTER_WRITE} state; member in struct:scm_request::__anon4949
/drivers/s390/cio/
H A Dqdio_debug.c114 unsigned char state; local
139 debug_get_buf_state(q, i, &state);
140 switch (state) {
/drivers/scsi/bfa/
H A Dbfad_im.h88 enum bfad_itnim_state state; member in struct:bfad_itnim_s
/drivers/scsi/csiostor/
H A Dcsio_attr.c156 /* set vport state */
163 /* set vport state */
240 * csio_get_port_state - Return FC local port state.
249 char state[16]; local
253 csio_lnode_state_to_str(ln, state);
254 if (!strcmp(state, "READY"))
256 else if (!strcmp(state, "OFFLINE"))
381 char state[16]; local
383 /* Set fc vport state based on phyiscal lnode */
384 csio_lnode_state_to_str(pln, state);
[all...]
/drivers/scsi/isci/
H A Dport.h85 * skipped when exiting to another 'ready' state.
94 * @not_ready_reason: set during state transitions and notified
101 unsigned long state; member in struct:isci_port
147 * enum sci_port_states - port state machine states
148 * @SCI_PORT_STOPPED: port has successfully been stopped. In this state
149 * no new IO operations are permitted. This state is
150 * entered from the STOPPING state.
152 * state no new IO operations are permitted, but
154 * This state is entered from the READY state
[all...]
H A Dremote_node_context.c65 const char *rnc_state_name(enum scis_sds_remote_node_context_states state) argument
69 return strings[state];
75 * @sci_rnc: The state of the remote node context object to check.
77 * This method will return true if the remote node context is in a READY state
79 * the ready state. false if the remote node context is not in the ready state.
170 * to its ready state. If the remote node context is already setup to
171 * transition to its final state then this function does nothing. none
278 /* Check to see if we have gotten back to the initial state because
428 enum scis_sds_remote_node_context_states state; local
532 enum scis_sds_remote_node_context_states state; local
572 enum scis_sds_remote_node_context_states state local
663 enum scis_sds_remote_node_context_states state; local
751 enum scis_sds_remote_node_context_states state; local
790 enum scis_sds_remote_node_context_states state; local
[all...]
/drivers/scsi/lpfc/
H A Dlpfc_vport.h36 uint8_t state; member in struct:vport_info
/drivers/scsi/
H A Dmac53c94.c71 struct fsc_state *state; local
88 state = (struct fsc_state *) cmd->device->host->hostdata;
90 if (state->request_q == NULL)
91 state->request_q = cmd;
93 state->request_qtail->host_scribble = (void *) cmd;
94 state->request_qtail = cmd;
96 if (state->phase == idle)
97 mac53c94_start(state);
106 struct fsc_state *state = (struct fsc_state *) cmd->device->host->hostdata; local
107 struct mac53c94_regs __iomem *regs = state
125 mac53c94_init(struct fsc_state *state) argument
146 mac53c94_start(struct fsc_state *state) argument
195 struct fsc_state *state = (struct fsc_state *) dev_id; local
344 cmd_done(struct fsc_state *state, int result) argument
361 set_dma_cmds(struct fsc_state *state, struct scsi_cmnd *cmd) argument
414 struct fsc_state *state; local
[all...]
H A Draid_class.c131 static const char *raid_state_name(enum raid_state state) argument
137 if (raid_states[i].value == state) {
212 raid_attr_ro_state_fn(state); variable
/drivers/scsi/pm8001/
H A Dpm8001_init.c977 * @state: PM state change to (usually PCI_D3)
981 static int pm8001_pci_suspend(struct pci_dev *pdev, pm_message_t state) argument
1015 device_state = pci_choose_state(pdev, state);
1017 "operating state [D%d]\n", pdev,
1043 "operating state [D%d]\n", pdev, pm8001_ha->name, device_state);
/drivers/scsi/qla2xxx/
H A Dqla_inline.h159 qla2x00_set_fcport_state(fc_port_t *fcport, int state) argument
163 old_state = atomic_read(&fcport->state);
164 atomic_set(&fcport->state, state);
166 /* Don't print state transitions during initial allocation of fcport */
167 if (old_state && old_state != state) {
169 "FCPort state transitioned from %s to %s - "
171 port_state_str[old_state], port_state_str[state],
/drivers/staging/iio/accel/
H A Dlis3l02dq_ring.c52 * @indio_dev: IIO device state
160 __lis3l02dq_write_data_ready_config(struct iio_dev *indio_dev, bool state) argument
178 if (!state && currentlyset) {
195 } else if (state && !currentlyset) {
219 * lis3l02dq_data_rdy_trigger_set_state() set datardy interrupt state
226 bool state)
232 __lis3l02dq_write_data_ready_config(indio_dev, state);
233 if (!state) {
225 lis3l02dq_data_rdy_trigger_set_state(struct iio_trigger *trig, bool state) argument
H A Dsca3000_ring.c175 * sca3000_set_ring_int() set state of ring status interrupt
308 int __sca3000_hw_ring_state_set(struct iio_dev *indio_dev, bool state) argument
317 if (state) {
/drivers/staging/lustre/lustre/lov/
H A Dlovsub_lock.c87 * method is called whenever sub-lock state changes. Propagates state change
92 enum cl_lock_state state)
298 * state, because unlocking has to succeed eventually by
301 * state, because lov maintains an invariant that all
304 * state to change, because this can be synchronous to the
318 * state to preserve an invariant that a top-lock in
368 CERROR("Impossible state: %d\n", parent->cll_state);
90 lovsub_lock_state(const struct lu_env *env, const struct cl_lock_slice *slice, enum cl_lock_state state) argument
/drivers/staging/media/davinci_vpfe/
H A Dvpfe_video.h54 /* state of the pipeline, continuous,
57 enum vpfe_pipeline_stream_state state; member in struct:vpfe_pipeline
96 /* Indicates state of the stream */
97 unsigned int state; member in struct:vpfe_video_device
/drivers/staging/nvec/
H A Dnvec.h135 * @state: State of our finite state machine used in nvec_interrupt()
165 int state; member in struct:nvec_chip
H A Dnvec_kbd.c60 int code, state; local
74 state = msg[1] & 0x80;
76 if (code_tabs[_size][code] == KEY_CAPSLOCK && state)
80 !state);
/drivers/staging/rtl8712/
H A Drtl871x_pwrctrl.h51 BIT[2:0] = HW state
52 BIT[3] = Protocol PS state, 0: register active state,
53 1: register sleep state
54 BIT[4] = sub-state
86 unsigned char state; /* the CPWM value */ member in struct:reportpwrstate_parm
97 /*volatile*/ u8 rpwm; /* requested power state for fw */
98 /* fw current power state. updated when 1. read from HCPWM or
103 /*volatile*/ u8 tgt_rpwm; /* wanted power state */
H A Dsta_info.h64 uint state; member in struct:sta_info
H A Dusb_intf.c204 static int r871x_suspend(struct usb_interface *pusb_intf, pm_message_t state) argument
638 if (udev->state != USB_STATE_NOTATTACHED)

Completed in 378 milliseconds

<<11121314151617181920>>