Searched refs:state (Results 101 - 125 of 7105) sorted by relevance

1234567891011>>

/linux-master/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-tuner.c34 static int mxl111sf_tuner_read_reg(struct mxl111sf_tuner_state *state, argument
37 return (state->cfg->read_reg) ?
38 state->cfg->read_reg(state->mxl_state, addr, data) :
42 static int mxl111sf_tuner_write_reg(struct mxl111sf_tuner_state *state, argument
45 return (state->cfg->write_reg) ?
46 state->cfg->write_reg(state->mxl_state, addr, data) :
50 static int mxl111sf_tuner_program_regs(struct mxl111sf_tuner_state *state, argument
53 return (state
58 mxl1x1sf_tuner_top_master_ctrl(struct mxl111sf_tuner_state *state, int onoff) argument
124 mxl1x1sf_tuner_set_if_output_freq(struct mxl111sf_tuner_state *state) argument
188 struct mxl111sf_tuner_state *state = fe->tuner_priv; local
231 mxl1x1sf_tuner_get_lock_status(struct mxl111sf_tuner_state *state, int *rf_synth_lock, int *ref_synth_lock) argument
266 struct mxl111sf_tuner_state *state = fe->tuner_priv; local
338 struct mxl111sf_tuner_state *state = fe->tuner_priv; local
357 struct mxl111sf_tuner_state *state = fe->tuner_priv; local
385 struct mxl111sf_tuner_state *state = fe->tuner_priv; local
392 struct mxl111sf_tuner_state *state = fe->tuner_priv; local
400 struct mxl111sf_tuner_state *state = fe->tuner_priv; local
447 struct mxl111sf_tuner_state *state = fe->tuner_priv; local
481 struct mxl111sf_tuner_state *state = NULL; local
[all...]
H A Dmxl111sf-gpio.h13 int mxl111sf_set_gpio(struct mxl111sf_state *state, int gpio, int val);
14 int mxl111sf_init_port_expander(struct mxl111sf_state *state);
19 int mxl111sf_gpio_mode_switch(struct mxl111sf_state *state, unsigned int mode);
34 int mxl111sf_config_pin_mux_modes(struct mxl111sf_state *state,
/linux-master/net/netlink/
H A Dpolicy.c31 struct netlink_policy_dump_state *state = *statep; local
37 for (i = 0; i < state->n_alloc; i++) {
38 if (state->policies[i].policy == policy &&
39 state->policies[i].maxtype == maxtype)
42 if (!state->policies[i].policy) {
43 state->policies[i].policy = policy;
44 state->policies[i].maxtype = maxtype;
49 n_alloc = state->n_alloc + INITIAL_POLICIES_ALLOC;
50 state = krealloc(state, struct_siz
82 netlink_policy_dump_get_policy_idx(struct netlink_policy_dump_state *state, const struct nla_policy *policy, unsigned int maxtype) argument
103 struct netlink_policy_dump_state *state; local
131 struct netlink_policy_dump_state *state = *pstate; local
191 netlink_policy_dump_finished(struct netlink_policy_dump_state *state) argument
205 netlink_policy_dump_loop(struct netlink_policy_dump_state *state) argument
254 __netlink_policy_dump_write_attr(struct netlink_policy_dump_state *state, struct sk_buff *skb, const struct nla_policy *pt, int nestattr) argument
430 netlink_policy_dump_write(struct sk_buff *skb, struct netlink_policy_dump_state *state) argument
485 netlink_policy_dump_free(struct netlink_policy_dump_state *state) argument
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dtda10023.c52 static u8 tda10023_readreg (struct tda10023_state* state, u8 reg) argument
56 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 1 },
57 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 1 } };
60 ret = i2c_transfer (state->i2c, msg, 2);
62 int num = state->frontend.dvb ? state->frontend.dvb->num : -1;
69 static int tda10023_writereg (struct tda10023_state* state, u8 reg, u8 data) argument
72 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 };
75 ret = i2c_transfer (state->i2c, &msg, 1);
77 int num = state
85 tda10023_writebit(struct tda10023_state* state, u8 reg, u8 mask,u8 data) argument
98 tda10023_writetab(struct tda10023_state* state, u8* tab) argument
117 lock_tuner(struct tda10023_state* state) argument
131 unlock_tuner(struct tda10023_state* state) argument
144 tda10023_setup_reg0(struct tda10023_state* state, u8 reg0) argument
155 tda10023_set_symbolrate(struct tda10023_state* state, u32 sr) argument
219 struct tda10023_state* state = fe->demodulator_priv; local
297 struct tda10023_state* state = fe->demodulator_priv; local
368 struct tda10023_state* state = fe->demodulator_priv; local
393 struct tda10023_state* state = fe->demodulator_priv; local
406 struct tda10023_state* state = fe->demodulator_priv; local
422 struct tda10023_state* state = fe->demodulator_priv; local
431 struct tda10023_state* state = fe->demodulator_priv; local
449 struct tda10023_state* state = fe->demodulator_priv; local
479 struct tda10023_state* state = fe->demodulator_priv; local
489 struct tda10023_state* state = fe->demodulator_priv; local
501 struct tda10023_state* state = fe->demodulator_priv; local
511 struct tda10023_state* state = NULL; local
[all...]
H A Dtda1004x.c115 static int tda1004x_write_byteI(struct tda1004x_state *state, int reg, int data) argument
123 msg.addr = state->config->demod_address;
124 ret = i2c_transfer(state->i2c, &msg, 1);
135 static int tda1004x_read_byte(struct tda1004x_state *state, int reg) argument
145 msg[0].addr = state->config->demod_address;
146 msg[1].addr = state->config->demod_address;
147 ret = i2c_transfer(state->i2c, msg, 2);
160 static int tda1004x_write_mask(struct tda1004x_state *state, int reg, int mask, int data) argument
167 val = tda1004x_read_byte(state, reg);
176 return tda1004x_write_byteI(state, re
179 tda1004x_write_buf(struct tda1004x_state *state, int reg, unsigned char *buf, int len) argument
196 tda1004x_enable_tuner_i2c(struct tda1004x_state *state) argument
206 tda1004x_disable_tuner_i2c(struct tda1004x_state *state) argument
213 tda10045h_set_bandwidth(struct tda1004x_state *state, u32 bandwidth) argument
242 tda10046h_set_bandwidth(struct tda1004x_state *state, u32 bandwidth) argument
306 tda1004x_do_upload(struct tda1004x_state *state, const unsigned char *mem, unsigned int len, u8 dspCodeCounterReg, u8 dspCodeInReg) argument
347 tda1004x_check_upload_ok(struct tda1004x_state *state) argument
380 struct tda1004x_state* state = fe->demodulator_priv; local
420 struct tda1004x_state* state = fe->demodulator_priv; local
474 struct tda1004x_state* state = fe->demodulator_priv; local
594 struct tda1004x_state* state = fe->demodulator_priv; local
604 struct tda1004x_state* state = fe->demodulator_priv; local
635 struct tda1004x_state* state = fe->demodulator_priv; local
694 struct tda1004x_state* state = fe->demodulator_priv; local
892 struct tda1004x_state* state = fe->demodulator_priv; local
1007 struct tda1004x_state* state = fe->demodulator_priv; local
1077 struct tda1004x_state* state = fe->demodulator_priv; local
1106 struct tda1004x_state* state = fe->demodulator_priv; local
1124 struct tda1004x_state* state = fe->demodulator_priv; local
1161 struct tda1004x_state* state = fe->demodulator_priv; local
1184 struct tda1004x_state* state = fe->demodulator_priv; local
1211 struct tda1004x_state* state = fe->demodulator_priv; local
1231 struct tda1004x_state *state = fe->demodulator_priv; local
1270 struct tda1004x_state *state; local
1340 struct tda1004x_state *state; local
[all...]
H A Dves1820.c47 static int ves1820_writereg(struct ves1820_state *state, u8 reg, u8 data) argument
50 struct i2c_msg msg = {.addr = state->config->demod_address,.flags = 0,.buf = buf,.len = 3 };
53 ret = i2c_transfer(state->i2c, &msg, 1);
62 static u8 ves1820_readreg(struct ves1820_state *state, u8 reg) argument
67 {.addr = state->config->demod_address,.flags = 0,.buf = b0,.len = 2},
68 {.addr = state->config->demod_address,.flags = I2C_M_RD,.buf = b1,.len = 1}
72 ret = i2c_transfer(state->i2c, msg, 2);
81 static int ves1820_setup_reg0(struct ves1820_state *state, argument
84 reg0 |= state->reg0 & 0x62;
87 if (!state
102 ves1820_set_symbolrate(struct ves1820_state *state, u32 symbolrate) argument
182 struct ves1820_state* state = fe->demodulator_priv; local
200 struct ves1820_state* state = fe->demodulator_priv; local
232 struct ves1820_state* state = fe->demodulator_priv; local
258 struct ves1820_state* state = fe->demodulator_priv; local
270 struct ves1820_state* state = fe->demodulator_priv; local
280 struct ves1820_state* state = fe->demodulator_priv; local
290 struct ves1820_state* state = fe->demodulator_priv; local
306 struct ves1820_state* state = fe->demodulator_priv; local
337 struct ves1820_state* state = fe->demodulator_priv; local
356 struct ves1820_state* state = fe->demodulator_priv; local
366 struct ves1820_state* state = NULL; local
[all...]
H A Dtda8083.c49 static int tda8083_writereg (struct tda8083_state* state, u8 reg, u8 data) argument
53 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 };
55 ret = i2c_transfer(state->i2c, &msg, 1);
64 static int tda8083_readregs (struct tda8083_state* state, u8 reg1, u8 *b, u8 len) argument
67 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = &reg1, .len = 1 },
68 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b, .len = len } };
70 ret = i2c_transfer(state->i2c, msg, 2);
79 static inline u8 tda8083_readreg (struct tda8083_state* state, u8 reg) argument
83 tda8083_readregs (state, reg, &val, 1);
88 static int tda8083_set_inversion(struct tda8083_state *state, argument
98 tda8083_set_fec(struct tda8083_state *state, enum fe_code_rate fec) argument
109 tda8083_get_fec(struct tda8083_state *state) argument
122 tda8083_set_symbolrate(struct tda8083_state* state, u32 srate) argument
161 tda8083_wait_diseqc_fifo(struct tda8083_state* state, int timeout) argument
172 tda8083_set_tone(struct tda8083_state *state, enum fe_sec_tone_mode tone) argument
187 tda8083_set_voltage(struct tda8083_state *state, enum fe_sec_voltage voltage) argument
200 tda8083_send_diseqc_burst(struct tda8083_state *state, enum fe_sec_mini_cmd burst) argument
222 struct tda8083_state* state = fe->demodulator_priv; local
240 struct tda8083_state* state = fe->demodulator_priv; local
270 struct tda8083_state* state = fe->demodulator_priv; local
284 struct tda8083_state* state = fe->demodulator_priv; local
294 struct tda8083_state* state = fe->demodulator_priv; local
304 struct tda8083_state* state = fe->demodulator_priv; local
316 struct tda8083_state* state = fe->demodulator_priv; local
336 struct tda8083_state* state = fe->demodulator_priv; local
350 struct tda8083_state* state = fe->demodulator_priv; local
358 struct tda8083_state* state = fe->demodulator_priv; local
373 struct tda8083_state* state = fe->demodulator_priv; local
385 struct tda8083_state* state = fe->demodulator_priv; local
397 struct tda8083_state* state = fe->demodulator_priv; local
408 struct tda8083_state* state = fe->demodulator_priv; local
417 struct tda8083_state* state = NULL; local
[all...]
H A Ddib7000p.c97 static void dib7090_setDibTxMux(struct dib7000p_state *state, int mode);
98 static void dib7090_setHostBusMux(struct dib7000p_state *state, int mode);
100 static u16 dib7000p_read_word(struct dib7000p_state *state, u16 reg) argument
104 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) {
109 state->i2c_write_buffer[0] = reg >> 8;
110 state->i2c_write_buffer[1] = reg & 0xff;
112 memset(state->msg, 0, 2 * sizeof(struct i2c_msg));
113 state->msg[0].addr = state->i2c_addr >> 1;
114 state
130 dib7000p_write_word(struct dib7000p_state *state, u16 reg, u16 val) argument
156 dib7000p_write_tab(struct dib7000p_state *state, u16 * buf) argument
172 dib7000p_set_output_mode(struct dib7000p_state *state, int mode) argument
228 struct dib7000p_state *state = demod->demodulator_priv; local
251 dib7000p_set_power_mode(struct dib7000p_state *state, enum dib7000p_power_mode mode) argument
302 dib7000p_set_adc_state(struct dib7000p_state *state, enum dibx000_adc_states no) argument
373 dib7000p_set_bandwidth(struct dib7000p_state *state, u32 bw) argument
396 dib7000p_sad_calib(struct dib7000p_state *state) argument
417 struct dib7000p_state *state = demod->demodulator_priv; local
427 struct dib7000p_state *state = fe->demodulator_priv; local
443 struct dib7000p_state *state = fe->demodulator_priv; local
447 dib7000p_reset_pll(struct dib7000p_state *state) argument
480 dib7000p_get_internal_freq(struct dib7000p_state *state) argument
491 struct dib7000p_state *state = fe->demodulator_priv; local
558 struct dib7000p_state *state = demod->demodulator_priv; local
647 dib7000p_demod_reset(struct dib7000p_state *state) argument
720 dib7000p_pll_clk_cfg(struct dib7000p_state *state) argument
729 dib7000p_restart_agc(struct dib7000p_state *state) argument
736 dib7000p_update_lna(struct dib7000p_state *state) argument
751 dib7000p_set_agc_config(struct dib7000p_state *state, u8 band) argument
805 dib7000p_set_dds(struct dib7000p_state *state, s32 offset_khz) argument
840 struct dib7000p_state *state = demod->demodulator_priv; local
944 dib7000p_update_timf(struct dib7000p_state *state) argument
956 struct dib7000p_state *state = fe->demodulator_priv; local
971 dib7000p_set_channel(struct dib7000p_state *state, struct dtv_frontend_properties *ch, u8 seq) argument
1133 struct dib7000p_state *state = demod->demodulator_priv; local
1177 struct dib7000p_state *state = demod->demodulator_priv; local
1189 dib7000p_spur_protect(struct dib7000p_state *state, u32 rf_khz, u32 bw) argument
1280 struct dib7000p_state *state = demod->demodulator_priv; local
1387 struct dib7000p_state *state = demod->demodulator_priv; local
1397 struct dib7000p_state *state = demod->demodulator_priv; local
1424 struct dib7000p_state *state = fe->demodulator_priv; local
1520 struct dib7000p_state *state = fe->demodulator_priv; local
1578 struct dib7000p_state *state = fe->demodulator_priv; local
1601 struct dib7000p_state *state = fe->demodulator_priv; local
1608 struct dib7000p_state *state = fe->demodulator_priv; local
1615 struct dib7000p_state *state = fe->demodulator_priv; local
1623 struct dib7000p_state *state = fe->demodulator_priv; local
1666 struct dib7000p_state *state = demod->demodulator_priv; local
1898 struct dib7000p_state *state = demod->demodulator_priv; local
2069 struct dib7000p_state *state = fe->demodulator_priv; local
2078 struct dib7000p_state *state = fe->demodulator_priv; local
2149 struct dib7000p_state *state = fe->demodulator_priv; local
2198 struct dib7000p_state *state = i2c_get_adapdata(i2c_adap); local
2217 struct dib7000p_state *state = i2c_get_adapdata(i2c_adap); local
2260 struct dib7000p_state *state = i2c_get_adapdata(i2c_adap); local
2276 struct dib7000p_state *state = i2c_get_adapdata(i2c_adap); local
2405 dib7090_host_bus_drive(struct dib7000p_state *state, u8 drive) argument
2455 dib7090_cfg_DibTx(struct dib7000p_state *state, u32 P_Kin, u32 P_Kout, u32 insertExtSynchro, u32 synchroMode, u32 syncWord, u32 syncSize) argument
2472 dib7090_cfg_DibRx(struct dib7000p_state *state, u32 P_Kin, u32 P_Kout, u32 synchroMode, u32 insertExtSynchro, u32 syncWord, u32 syncSize, u32 dataOutRate) argument
2495 dib7090_enMpegMux(struct dib7000p_state *state, int onoff) argument
2511 dib7090_configMpegMux(struct dib7000p_state *state, u16 pulseWidth, u16 enSerialMode, u16 enSerialClkDiv2) argument
2529 dib7090_setDibTxMux(struct dib7000p_state *state, int mode) argument
2555 dib7090_setHostBusMux(struct dib7000p_state *state, int mode) argument
2582 struct dib7000p_state *state = fe->demodulator_priv; local
2615 struct dib7000p_state *state = fe->demodulator_priv; local
2697 struct dib7000p_state *state = fe->demodulator_priv; local
2726 struct dib7000p_state *state = fe->demodulator_priv; local
[all...]
/linux-master/tools/perf/util/
H A Dtrigger.h20 * is_hit and is_ready are two key functions to query the state of
32 } state; member in struct:trigger
37 WARN_ONCE(t->state != exp, "trigger '%s' state transist error: %d in %s()\n", \
38 t->name, t->state, __func__)
42 return t->state >= 0;
47 return t->state <= TRIGGER_ERROR;
53 t->state = TRIGGER_ON;
60 t->state = TRIGGER_READY;
68 t->state
[all...]
/linux-master/drivers/crypto/ccree/
H A Dcc_hash.h31 u8 state[AES_BLOCK_SIZE]; member in struct:aeshash_state
36 /* ahash state */
59 static inline u32 *cc_hash_buf_cnt(struct ahash_req_ctx *state) argument
61 return &state->buf_cnt[state->buff_index];
64 static inline u8 *cc_hash_buf(struct ahash_req_ctx *state) argument
66 return state->buffers[state->buff_index];
69 static inline u32 *cc_next_buf_cnt(struct ahash_req_ctx *state) argument
71 return &state
74 cc_next_buf(struct ahash_req_ctx *state) argument
[all...]
/linux-master/drivers/media/i2c/
H A Dmsp3400-kthreads.c177 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
189 if (state->has_scart2_out)
204 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
206 int tuner = (state->route_in >> 3) & 1;
210 state->mode = mode;
211 state->rxsubchans = V4L2_TUNER_SUB_MONO;
234 if (state->has_nicam) /* nicam prescale */
245 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
246 char *modestr = (state->audmode >= 0 && state
374 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
403 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
481 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
493 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
689 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
857 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
884 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
927 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
943 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
986 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
1083 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
1112 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
1129 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
1144 struct msp_state *state = to_state(i2c_get_clientdata(client)); local
[all...]
/linux-master/drivers/gpu/drm/armada/
H A Darmada_plane.h16 #define armada_src_hw(state) to_armada_plane_state(state)->src_hw
17 #define armada_dst_yx(state) to_armada_plane_state(state)->dst_yx
18 #define armada_dst_hw(state) to_armada_plane_state(state)->dst_hw
19 #define armada_addr(state, f, p) to_armada_plane_state(state)->addrs[f][p]
20 #define armada_pitch(state, n) to_armada_plane_state(state)
[all...]
/linux-master/lib/zlib_dfltcc/
H A Ddfltcc_inflate.c17 struct inflate_state *state = (struct inflate_state *)strm->state; local
18 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state);
32 struct inflate_state *state = (struct inflate_state *)strm->state; local
33 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state);
43 struct inflate_state *state = (struct inflate_state *)strm->state; local
44 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param;
53 struct inflate_state *state local
73 struct inflate_state *state = (struct inflate_state *)strm->state; local
93 struct inflate_state *state = (struct inflate_state *)strm->state; local
[all...]
/linux-master/drivers/xen/xenbus/
H A Dxenbus_comms.c217 } state; local
222 if (!state.in_msg) {
223 state.in_msg = true;
224 state.in_hdr = true;
225 state.read = 0;
232 * message. state.in_msg will be true as long as we are holding
240 state.in_msg = false;
245 if (state.in_hdr) {
246 if (state.read != sizeof(state
336 } state; local
[all...]
/linux-master/include/drm/
H A Ddrm_self_refresh_helper.h14 void drm_self_refresh_helper_alter_state(struct drm_atomic_state *state);
15 void drm_self_refresh_helper_update_avg_times(struct drm_atomic_state *state,
/linux-master/drivers/staging/media/atomisp/pci/css_2401_system/host/
H A Dcsi_rx_private.h101 * @brief Get the state of the csi rx fe dlane process.
116 * @brief Get the csi rx fe state.
121 csi_rx_fe_ctrl_state_t *state)
125 state->enable =
127 state->nof_enable_lanes =
129 state->error_handling =
131 state->status =
133 state->status_dlane_hs =
135 state->status_dlane_lp =
137 state
[all...]
/linux-master/include/rv/
H A Dautomata.h19 * model_get_state_name_##name - return the (string) name of the given state \
21 static char *model_get_state_name_##name(enum states_##name state) \
23 if ((state < 0) || (state >= state_max_##name)) \
26 return automaton_##name.state_names[state]; \
41 * model_get_initial_state_##name - return the automaton's initial state \
51 * Given the current state (curr_state) and the event (event), returns \
52 * the next state, or INVALID_STATE in case of error. \
67 * model_is_final_state_##name - check if the given state is a final state \
[all...]
/linux-master/include/trace/events/
H A Drv.h14 TP_PROTO(char *state, char *event, char *next_state, bool final_state),
16 TP_ARGS(state, event, next_state, final_state),
19 __array( char, state, MAX_DA_NAME_LEN )
26 memcpy(__entry->state, state, MAX_DA_NAME_LEN);
33 __entry->state,
41 TP_PROTO(char *state, char *event),
43 TP_ARGS(state, event),
46 __array( char, state, MAX_DA_NAME_LEN )
51 memcpy(__entry->state, stat
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Ddummy_st_ops_success.c10 int BPF_PROG(test_1, struct bpf_dummy_ops_state *state) argument
14 /* Check that 'state' nullable status is detected correctly.
15 * If 'state' argument would be assumed non-null by verifier
21 "if %[state] != 0 goto +2;"
24 ::[state]"p"(state));
26 ret = state->val;
27 state->val = 0x5a;
34 int BPF_PROG(test_2, struct bpf_dummy_ops_state *state, int a1, unsigned short a2, argument
37 test_2_args[0] = state
46 BPF_PROG(test_sleepable, struct bpf_dummy_ops_state *state) argument
[all...]
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_baco.c52 int smu7_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) argument
60 /* gfx has already entered BACO state */
61 *state = BACO_STATE_IN;
63 *state = BACO_STATE_OUT;
67 int smu7_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument
74 return tonga_baco_set_state(hwmgr, state);
76 return fiji_baco_set_state(hwmgr, state);
81 return polaris_baco_set_state(hwmgr, state);
85 return ci_baco_set_state(hwmgr, state);
H A Dsmu7_baco.h29 extern int smu7_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state);
30 extern int smu7_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
H A Dvega20_baco.h29 extern int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state);
30 extern int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c44 static bool dc_state_track_phantom_stream(struct dc_state *state, argument
47 if (state->phantom_stream_count >= MAX_PHANTOM_PIPES)
50 state->phantom_streams[state->phantom_stream_count++] = phantom_stream;
55 static bool dc_state_untrack_phantom_stream(struct dc_state *state, struct dc_stream_state *phantom_stream) argument
61 for (i = 0; i < state->phantom_stream_count; i++) {
62 if (state->phantom_streams[i] == phantom_stream) {
63 state->phantom_streams[i] = NULL;
69 /* failed to find stream in state */
74 state
81 dc_state_is_phantom_stream_tracked(struct dc_state *state, struct dc_stream_state *phantom_stream) argument
93 dc_state_track_phantom_plane(struct dc_state *state, struct dc_plane_state *phantom_plane) argument
104 dc_state_untrack_phantom_plane(struct dc_state *state, struct dc_plane_state *phantom_plane) argument
130 dc_state_is_phantom_plane_tracked(struct dc_state *state, struct dc_plane_state *phantom_plane) argument
181 init_state(struct dc *dc, struct dc_state *state) argument
196 struct dc_state *state = kvzalloc(sizeof(struct dc_state), local
285 dc_state_construct(struct dc *dc, struct dc_state *state) argument
294 dc_state_destruct(struct dc_state *state) argument
335 dc_state_retain(struct dc_state *state) argument
342 struct dc_state *state = container_of(kref, struct dc_state, refcount); local
357 dc_state_release(struct dc_state *state) argument
365 dc_state_add_stream( const struct dc *dc, struct dc_state *state, struct dc_stream_state *stream) argument
394 dc_state_remove_stream( const struct dc *dc, struct dc_state *state, struct dc_stream_state *stream) argument
440 dc_state_add_plane( const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state *plane_state, struct dc_state *state) argument
487 dc_state_remove_plane( const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state *plane_state, struct dc_state *state) argument
557 dc_state_rem_all_planes_for_stream( const struct dc *dc, struct dc_stream_state *stream, struct dc_state *state) argument
589 dc_state_add_all_planes_for_stream( const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state * const *plane_states, int plane_count, struct dc_state *state) argument
618 dc_state_get_stream_status( struct dc_state *state, const struct dc_stream_state *stream) argument
635 dc_state_get_pipe_subvp_type(const struct dc_state *state, const struct pipe_ctx *pipe_ctx) argument
641 dc_state_get_stream_subvp_type(const struct dc_state *state, const struct dc_stream_state *stream) argument
658 dc_state_get_paired_subvp_stream(const struct dc_state *state, const struct dc_stream_state *stream) argument
675 dc_state_create_phantom_stream(const struct dc *dc, struct dc_state *state, struct dc_stream_state *main_stream) argument
700 dc_state_release_phantom_stream(const struct dc *dc, struct dc_state *state, struct dc_stream_state *phantom_stream) argument
714 dc_state_create_phantom_plane(const struct dc *dc, struct dc_state *state, struct dc_plane_state *main_plane) argument
735 dc_state_release_phantom_plane(const struct dc *dc, struct dc_state *state, struct dc_plane_state *phantom_plane) argument
750 dc_state_add_phantom_stream(const struct dc *dc, struct dc_state *state, struct dc_stream_state *phantom_stream, struct dc_stream_state *main_stream) argument
776 dc_state_remove_phantom_stream(const struct dc *dc, struct dc_state *state, struct dc_stream_state *phantom_stream) argument
797 dc_state_add_phantom_plane( const struct dc *dc, struct dc_stream_state *phantom_stream, struct dc_plane_state *phantom_plane, struct dc_state *state) argument
814 dc_state_remove_phantom_plane( const struct dc *dc, struct dc_stream_state *phantom_stream, struct dc_plane_state *phantom_plane, struct dc_state *state) argument
823 dc_state_rem_all_phantom_planes_for_stream( const struct dc *dc, struct dc_stream_state *phantom_stream, struct dc_state *state, bool should_release_planes) argument
859 dc_state_add_all_phantom_planes_for_stream( const struct dc *dc, struct dc_stream_state *phantom_stream, struct dc_plane_state * const *phantom_planes, int plane_count, struct dc_state *state) argument
869 dc_state_remove_phantom_streams_and_planes( const struct dc *dc, struct dc_state *state) argument
891 dc_state_release_phantom_streams_and_planes( const struct dc *dc, struct dc_state *state) argument
904 dc_state_get_stream_from_id(const struct dc_state *state, unsigned int id) argument
[all...]
/linux-master/arch/x86/include/asm/
H A Dunwind.h42 void __unwind_start(struct unwind_state *state, struct task_struct *task,
44 bool unwind_next_frame(struct unwind_state *state);
45 unsigned long unwind_get_return_address(struct unwind_state *state);
46 unsigned long *unwind_get_return_address_ptr(struct unwind_state *state);
48 static inline bool unwind_done(struct unwind_state *state) argument
50 return state->stack_info.type == STACK_TYPE_UNKNOWN;
53 static inline bool unwind_error(struct unwind_state *state) argument
55 return state->error;
59 void unwind_start(struct unwind_state *state, struct task_struct *task, argument
64 __unwind_start(state, tas
71 unwind_get_entry_regs(struct unwind_state *state, bool *partial) argument
88 unwind_get_entry_regs(struct unwind_state *state, bool *partial) argument
107 unwind_recover_rethook(struct unwind_state *state, unsigned long addr, unsigned long *addr_p) argument
120 unwind_recover_ret_addr(struct unwind_state *state, unsigned long addr, unsigned long *addr_p) argument
[all...]
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_layer.h22 struct drm_plane_state state; member in struct:sun4i_layer_state
34 state_to_sun4i_layer_state(struct drm_plane_state *state) argument
36 return container_of(state, struct sun4i_layer_state, state);

Completed in 682 milliseconds

1234567891011>>