/linux-master/arch/arm/mm/ |
H A D | proc-v7-bugs.c | 119 unsigned int state, method = 0; local 128 state = SPECTRE_MITIGATED; 134 state = SPECTRE_MITIGATED; 140 state = SPECTRE_UNAFFECTED; 146 state = SPECTRE_UNAFFECTED; 155 state = spectre_v2_get_cpu_fw_mitigation_state(); 156 if (state != SPECTRE_MITIGATED) 169 state = SPECTRE_VULNERABLE; 174 if (state == SPECTRE_MITIGATED) 175 state 227 unsigned int state, method = 0; local [all...] |
/linux-master/drivers/media/i2c/adv748x/ |
H A D | adv748x-hdmi.c | 115 static bool adv748x_hdmi_has_signal(struct adv748x_state *state) argument 120 val = hdmi_read(state, ADV748X_HDMI_LW1); 125 static int adv748x_hdmi_read_pixelclock(struct adv748x_state *state) argument 129 a = hdmi_read(state, ADV748X_HDMI_TMDS_1); 130 b = hdmi_read(state, ADV748X_HDMI_TMDS_2); 152 static void adv748x_hdmi_set_de_timings(struct adv748x_state *state, int shift) argument 162 cp_write(state, ADV748X_CP_DE_POS_HIGH, high); 163 cp_write(state, ADV748X_CP_DE_POS_END_LOW, low); 167 cp_write(state, ADV748X_CP_DE_POS_HIGH, high); 168 cp_write(state, ADV748X_CP_DE_POS_START_LO 171 adv748x_hdmi_set_video_timings(struct adv748x_state *state, const struct v4l2_dv_timings *timings) argument 221 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 261 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 276 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 352 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 366 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 499 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 523 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 643 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 692 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local 733 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); local [all...] |
/linux-master/include/linux/regulator/ |
H A D | coupler.h | 50 suspend_state_t state); 57 suspend_state_t state); 63 suspend_state_t state); 65 suspend_state_t state, bool skip_coupled); 73 suspend_state_t state) 88 suspend_state_t state) 93 suspend_state_t state, 71 regulator_check_consumers(struct regulator_dev *rdev, int *min_uV, int *max_uV, suspend_state_t state) argument 86 regulator_set_voltage_rdev(struct regulator_dev *rdev, int min_uV, int max_uV, suspend_state_t state) argument 92 regulator_do_balance_voltage(struct regulator_dev *rdev, suspend_state_t state, bool skip_coupled) argument
|
/linux-master/arch/arm/mach-pxa/ |
H A D | pm.c | 24 int pxa_pm_enter(suspend_state_t state) argument 36 if (state != PM_SUSPEND_STANDBY && pxa_cpu_pm_fns->save) { 44 pxa_cpu_pm_fns->enter(state); 46 if (state != PM_SUSPEND_STANDBY && pxa_cpu_pm_fns->restore) { 55 pxa_cpu_pm_fns->enter(state); 67 static int pxa_pm_valid(suspend_state_t state) argument 70 return pxa_cpu_pm_fns->valid(state);
|
/linux-master/drivers/iio/chemical/ |
H A D | sps30_i2c.c | 37 static int sps30_i2c_xfer(struct sps30_state *state, unsigned char *txbuf, size_t txsize, argument 40 struct i2c_client *client = to_i2c_client(state->dev); 65 static int sps30_i2c_command(struct sps30_state *state, u16 cmd, void *arg, size_t arg_size, argument 103 ret = sps30_i2c_xfer(state, buf, i, buf, rsp_size); 112 dev_err(state->dev, "data integrity check failed\n"); 123 static int sps30_i2c_start_meas(struct sps30_state *state) argument 128 return sps30_i2c_command(state, SPS30_I2C_START_MEAS, buf, sizeof(buf), NULL, 0); 131 static int sps30_i2c_stop_meas(struct sps30_state *state) argument 133 return sps30_i2c_command(state, SPS30_I2C_STOP_MEAS, NULL, 0, NULL, 0); 136 static int sps30_i2c_reset(struct sps30_state *state) argument 153 sps30_i2c_meas_ready(struct sps30_state *state) argument 165 sps30_i2c_read_meas(struct sps30_state *state, __be32 *meas, size_t num) argument 177 sps30_i2c_clean_fan(struct sps30_state *state) argument 182 sps30_i2c_read_cleaning_period(struct sps30_state *state, __be32 *period) argument 187 sps30_i2c_write_cleaning_period(struct sps30_state *state, __be32 period) argument 192 sps30_i2c_show_info(struct sps30_state *state) argument [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | cpuidle.c | 41 u32 state; local 48 state = lpi->address; 49 if (!psci_power_state_is_valid(state)) { 50 pr_warn("Invalid PSCI power state %#x\n", state); 65 u32 state = lpi->address; local 69 lpi->index, state); 72 lpi->index, state);
|
/linux-master/include/linux/ |
H A D | prandom.h | 19 u32 prandom_u32_state(struct rnd_state *state); 20 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes); 36 * @state: pointer to state structure to receive the seed. 39 static inline void prandom_seed_state(struct rnd_state *state, u64 seed) argument 43 state->s1 = __seed(i, 2U); 44 state->s2 = __seed(i, 8U); 45 state->s3 = __seed(i, 16U); 46 state->s4 = __seed(i, 128U);
|
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | af9035.c | 38 struct state *state = d_to_priv(d); local 54 state->buf[0] = REQ_HDR_LEN + req->wlen + CHECKSUM_LEN - 1; 55 state->buf[1] = req->mbox; 56 state->buf[2] = req->cmd; 57 state->buf[3] = state->seq++; 58 memcpy(&state->buf[REQ_HDR_LEN], req->wbuf, req->wlen); 64 checksum = af9035_checksum(state->buf, state 184 struct state *state = d_to_priv(d); local 235 struct state *state = d_to_priv(d); local 271 struct state *state = d_to_priv(d); local 487 struct state *state = d_to_priv(d); local 730 struct state *state = d_to_priv(d); local 829 struct state *state = d_to_priv(d); local 1130 struct state *state = d_to_priv(d); local 1166 struct state *state = d_to_priv(d); local 1173 struct state *state = adap_to_priv(adap); local 1221 struct state *state = adap_to_priv(adap); local 1301 struct state *state = adap_to_priv(adap); local 1361 struct state *state = adap_to_priv(adap); local 1622 struct state *state = adap_to_priv(adap); local 1671 struct state *state = adap_to_priv(adap); local 1691 struct state *state = adap_to_priv(adap); local 1731 struct state *state = d_to_priv(d); local 1778 struct state *state = d_to_priv(d); local 1906 struct state *state = d_to_priv(d); local 1955 struct state *state = adap_to_priv(adap); local 1963 struct state *state = adap_to_priv(adap); local [all...] |
H A D | mxl111sf-demod.h | 15 int (*read_reg)(struct mxl111sf_state *state, u8 addr, u8 *data); 16 int (*write_reg)(struct mxl111sf_state *state, u8 addr, u8 data); 17 int (*program_regs)(struct mxl111sf_state *state,
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_parse_tcp_hdr_opt.c | 36 static int parse_hdr_opt(const struct xdp_md *xdp, struct hdr_opt_state *state) argument 42 tcp_opt = (__u8 *)(data + state->byte_offset); 52 state->hdr_bytes_remaining--; 53 state->byte_offset++; 57 if (state->hdr_bytes_remaining < 2 || 62 if (hdr_len > state->hdr_bytes_remaining) 72 state->server_id = *(__u32 *)&tcp_opt[2]; 76 state->hdr_bytes_remaining -= hdr_len; 77 state->byte_offset += hdr_len;
|
/linux-master/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_demod.c | 165 struct vidtv_demod_state *state = fe->demodulator_priv; local 168 if (state->status & FE_HAS_LOCK) { 190 c->strength.stat[0].svalue = state->tuner_cnr; 191 c->strength.stat[0].svalue -= get_random_u32_below(state->tuner_cnr / 50); 194 c->cnr.stat[0].svalue = state->tuner_cnr; 195 c->cnr.stat[0].svalue -= get_random_u32_below(state->tuner_cnr / 50); 201 struct vidtv_demod_state *state = fe->demodulator_priv; local 203 struct vidtv_demod_config *config = &state->config; 207 cnr2qual = vidtv_match_cnr_s(&state->frontend); 209 if (cnr2qual && state 264 struct vidtv_demod_state *state = fe->demodulator_priv; local 348 struct vidtv_demod_state *state = fe->demodulator_priv; local 418 struct vidtv_demod_state *state; local 442 struct vidtv_demod_state *state = i2c_get_clientdata(client); local [all...] |
/linux-master/drivers/media/pci/ddbridge/ |
H A D | ddbridge-dummy-fe.c | 91 struct ddbridge_dummy_fe_state *state = fe->demodulator_priv; local 93 kfree(state); 100 struct ddbridge_dummy_fe_state *state = NULL; local 102 /* allocate memory for the internal state */ 103 state = kzalloc(sizeof(struct ddbridge_dummy_fe_state), GFP_KERNEL); 104 if (!state) 108 memcpy(&state->frontend.ops, 112 state->frontend.demodulator_priv = state; 113 return &state [all...] |
H A D | ddbridge-sx8.c | 48 struct sx8 *state = fe->demodulator_priv; local 49 struct mci_base *mci_base = state->mci.base; 56 kfree(state); 62 struct sx8 *state = fe->demodulator_priv; local 67 cmd.demod = state->mci.demod; 68 stat = ddb_mci_cmd(&state->mci, &cmd, &state->signal_info); 74 struct sx8 *state = fe->demodulator_priv; local 80 (s64)state->signal_info.dvbs2_signal_info.signal_to_noise 87 struct sx8 *state local 103 struct sx8 *state = fe->demodulator_priv; local 126 struct sx8 *state = fe->demodulator_priv; local 140 struct sx8 *state = fe->demodulator_priv; local 176 struct sx8 *state = fe->demodulator_priv; local 303 struct sx8 *state = fe->demodulator_priv; local 352 struct sx8 *state = fe->demodulator_priv; local 431 struct sx8 *state = fe->demodulator_priv; local 464 struct sx8 *state = (struct sx8 *)mci; local [all...] |
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_smp.c | 63 struct mdp5_smp_state *state, 66 void *cs = state->client_state[cid]; 80 avail = cnt - bitmap_weight(state->state, cnt); 88 int blk = find_first_zero_bit(state->state, cnt); 90 set_bit(blk, state->state); 164 int mdp5_smp_assign(struct mdp5_smp *smp, struct mdp5_smp_state *state, argument 179 ret = smp_request_block(smp, state, ci 62 smp_request_block(struct mdp5_smp *smp, struct mdp5_smp_state *state, u32 cid, int nblks) argument 195 mdp5_smp_release(struct mdp5_smp *smp, struct mdp5_smp_state *state, enum mdp5_pipe pipe) argument 288 mdp5_smp_prepare_commit(struct mdp5_smp *smp, struct mdp5_smp_state *state) argument 314 mdp5_smp_complete_commit(struct mdp5_smp *smp, struct mdp5_smp_state *state) argument 333 struct mdp5_smp_state *state; local 369 struct mdp5_smp_state *state; local [all...] |
/linux-master/drivers/input/ |
H A D | ff-memless.c | 37 unsigned long flags; /* effect state (STARTED, PLAYING, etc) */ 74 static unsigned long calculate_next_time(struct ml_effect_state *state) argument 76 const struct ff_envelope *envelope = get_envelope(state->effect); 80 attack_stop = state->play_at + 82 if (time_before(state->adj_at, attack_stop)) 83 return state->adj_at + 87 if (state->effect->replay.length) { 90 fade_start = state->stop_at - 93 if (time_before(state->adj_at, fade_start)) 97 next_fade = state 111 struct ml_effect_state *state; local 149 apply_envelope(struct ml_effect_state *state, int value, struct ff_envelope *envelope) argument 240 ml_combine_effects(struct ff_effect *effect, struct ml_effect_state *state, int gain) argument 328 struct ml_effect_state *state; local 435 struct ml_effect_state *state = &ml->states[effect_id]; local 466 struct ml_effect_state *state = &ml->states[effect->id]; local [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | zl10353.c | 41 struct zl10353_state *state = fe->demodulator_priv; local 43 struct i2c_msg msg = { .addr = state->config.demod_address, .flags = 0, 45 int err = i2c_transfer(state->i2c, &msg, 1); 63 static int zl10353_read_register(struct zl10353_state *state, u8 reg) argument 68 struct i2c_msg msg[2] = { { .addr = state->config.demod_address, 71 { .addr = state->config.demod_address, 75 ret = i2c_transfer(state->i2c, msg, 2); 88 struct zl10353_state *state = fe->demodulator_priv; local 99 ret = zl10353_read_register(state, reg); 114 struct zl10353_state *state local 133 struct zl10353_state *state = fe->demodulator_priv; local 169 struct zl10353_state *state = fe->demodulator_priv; local 362 struct zl10353_state *state = fe->demodulator_priv; local 452 struct zl10353_state *state = fe->demodulator_priv; local 483 struct zl10353_state *state = fe->demodulator_priv; local 494 struct zl10353_state *state = fe->demodulator_priv; local 506 struct zl10353_state *state = fe->demodulator_priv; local 520 struct zl10353_state *state = fe->demodulator_priv; local 545 struct zl10353_state *state = fe->demodulator_priv; local 571 struct zl10353_state *state = fe->demodulator_priv; local 588 struct zl10353_state *state = fe->demodulator_priv; local 597 struct zl10353_state *state = NULL; local [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_atomic_helper.c | 55 * also provides convenience implementations for the atomic state handling 57 * add their own additional internal state. 78 drm_atomic_helper_plane_changed(struct drm_atomic_state *state, argument 86 crtc_state = drm_atomic_get_new_crtc_state(state, 96 crtc_state = drm_atomic_get_new_crtc_state(state, plane_state->crtc); 105 static int handle_conflicting_encoders(struct drm_atomic_state *state, argument 117 * part of the state. If the same encoder is assigned to multiple 120 for_each_new_connector_in_state(state, connector, new_conn_state, i) { 129 state); 153 * Second loop, iterate over all connectors not part of the state 219 set_best_encoder(struct drm_atomic_state *state, struct drm_connector_state *conn_state, struct drm_encoder *encoder) argument 260 steal_encoder(struct drm_atomic_state *state, struct drm_encoder *encoder) argument 291 update_connector_routing(struct drm_atomic_state *state, struct drm_connector *connector, struct drm_connector_state *old_connector_state, struct drm_connector_state *new_connector_state, bool added_by_user) argument 417 mode_fixup(struct drm_atomic_state *state) argument 545 mode_valid(struct drm_atomic_state *state) argument 621 drm_atomic_helper_check_modeset(struct drm_device *dev, struct drm_atomic_state *state) argument 810 drm_atomic_helper_check_wb_connector_state(struct drm_connector *connector, struct drm_atomic_state *state) argument 986 drm_atomic_helper_check_planes(struct drm_device *dev, struct drm_atomic_state *state) argument 1065 drm_atomic_helper_check(struct drm_device *dev, struct drm_atomic_state *state) argument 1325 drm_atomic_helper_calc_timestamping_constants(struct drm_atomic_state *state) argument 1539 set_fence_deadline(struct drm_device *dev, struct drm_atomic_state *state) argument 1597 drm_atomic_helper_wait_for_fences(struct drm_device *dev, struct drm_atomic_state *state, bool pre_swap) argument 1850 struct drm_atomic_state *state = container_of(work, local 1869 drm_atomic_helper_async_check(struct drm_device *dev, struct drm_atomic_state *state) argument 1953 drm_atomic_helper_async_commit(struct drm_device *dev, struct drm_atomic_state *state) argument 2006 drm_atomic_helper_commit(struct drm_device *dev, struct drm_atomic_state *state, bool nonblock) argument 2206 crtc_or_fake_commit(struct drm_atomic_state *state, struct drm_crtc *crtc) argument 2273 drm_atomic_helper_setup_commit(struct drm_atomic_state *state, bool nonblock) argument 2577 drm_atomic_helper_prepare_planes(struct drm_device *dev, struct drm_atomic_state *state) argument 2666 drm_atomic_helper_unprepare_planes(struct drm_device *dev, struct drm_atomic_state *state) argument 2689 plane_crtc_active(const struct drm_plane_state *state) argument 3016 drm_atomic_helper_swap_state(struct drm_atomic_state *state, bool stall) argument 3159 struct drm_atomic_state *state; local 3210 struct drm_atomic_state *state; local 3258 struct drm_atomic_state *state; local 3309 struct drm_atomic_state *state; local 3426 struct drm_atomic_state *state; local 3514 struct drm_atomic_state *state; local 3557 drm_atomic_helper_commit_duplicated_state(struct drm_atomic_state *state, struct drm_modeset_acquire_ctx *ctx) argument 3603 drm_atomic_helper_resume(struct drm_device *dev, struct drm_atomic_state *state) argument 3622 page_flip_common(struct drm_atomic_state *state, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_pending_vblank_event *event, uint32_t flags) argument 3685 struct drm_atomic_state *state; local 3729 struct drm_atomic_state *state; local [all...] |
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | input_formatter_public.h | 58 /*! Read the source switch state into INPUT_FORMATTER[ID] 61 \param state[out] input formatter switch state structure 63 \return none, state = INPUT_FORMATTER[ID].switch_state 67 input_formatter_switch_state_t *state); 72 \param state[out] input formatter state structure 74 \return none, state = INPUT_FORMATTER[ID].state 78 input_formatter_state_t *state); [all...] |
H A D | fifo_monitor_public.h | 49 /*! Read the state of FIFO_MONITOR[ID] 52 \param state[out] fifo monitor state structure 54 \return none, state = FIFO_MONITOR[ID].state 58 fifo_monitor_state_t *state); 60 /*! Read the state of a fifo channel 64 \param state[out] fifo channel state structure 66 \return none, state [all...] |
/linux-master/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_table.c | 57 void mod_color_set_table_init_state(enum table_type type, bool state) argument 60 pq_initialized = state; 62 de_pg_initialized = state;
|
/linux-master/drivers/scsi/elx/libefc/ |
H A D | efc_sm.c | 8 * Generic state machine framework. 33 void (*state)(struct efc_sm_ctx *, 37 if (ctx->current_state == state) { 41 ctx->current_state = state;
|
/linux-master/drivers/dma/ |
H A D | dmaengine.h | 63 * @state: dma_tx_state structure to return last/used cookies 65 * Report the status of the cookie, filling in the state structure if 69 dma_cookie_t cookie, struct dma_tx_state *state) 76 if (state) { 77 state->last = complete; 78 state->used = used; 79 state->residue = 0; 80 state->in_flight_bytes = 0; 85 static inline void dma_set_residue(struct dma_tx_state *state, u32 residue) argument 87 if (state) 68 dma_cookie_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *state) argument 91 dma_set_in_flight_bytes(struct dma_tx_state *state, u32 in_flight_bytes) argument [all...] |
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_g1.c | 17 enum vb2_buffer_state state; local 21 state = (status & G1_REG_INTERRUPT_DEC_RDY_INT) ? 27 hantro_irq_done(vpu, state);
|
/linux-master/drivers/pcmcia/ |
H A D | sa1100_h3600.c | 94 h3600_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *state) argument 96 state->bvd1 = 0; 97 state->bvd2 = 0; 98 state->vs_3v = 0; 99 state->vs_Xv = 0; 103 h3600_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state) argument 105 if (state->Vcc != 0 && state->Vcc != 33 && state->Vcc != 50) { 107 state [all...] |
/linux-master/fs/smb/server/ |
H A D | server.h | 12 * Server state type 32 unsigned int state; member in struct:ksmbd_server_config 61 return READ_ONCE(server_conf.state) == SERVER_STATE_RUNNING; 66 return READ_ONCE(server_conf.state) < SERVER_STATE_RESETTING;
|