/openbmc/linux/drivers/soc/qcom/ |
H A D | smem_state.c | 45 int qcom_smem_state_update_bits(struct qcom_smem_state *state, in qcom_smem_state_update_bits() 61 struct qcom_smem_state *state; in of_node_to_state() local 92 struct qcom_smem_state *state; in qcom_smem_state_get() local 137 struct qcom_smem_state *state = container_of(ref, struct qcom_smem_state, refcount); in qcom_smem_state_release() local 148 void qcom_smem_state_put(struct qcom_smem_state *state) in qcom_smem_state_put() 174 struct qcom_smem_state **ptr, *state; in devm_qcom_smem_state_get() local 202 struct qcom_smem_state *state; in qcom_smem_state_register() local 226 void qcom_smem_state_unregister(struct qcom_smem_state *state) in qcom_smem_state_unregister()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nsp.c | 178 struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state) in nfp_nsp_cpp() 183 bool nfp_nsp_config_modified(struct nfp_nsp *state) in nfp_nsp_config_modified() 188 void nfp_nsp_config_set_modified(struct nfp_nsp *state, bool modified) in nfp_nsp_config_set_modified() 193 void *nfp_nsp_config_entries(struct nfp_nsp *state) in nfp_nsp_config_entries() 198 unsigned int nfp_nsp_config_idx(struct nfp_nsp *state) in nfp_nsp_config_idx() 204 nfp_nsp_config_set_state(struct nfp_nsp *state, void *entries, unsigned int idx) in nfp_nsp_config_set_state() 210 void nfp_nsp_config_clear_state(struct nfp_nsp *state) in nfp_nsp_config_clear_state() 216 static void nfp_nsp_print_extended_error(struct nfp_nsp *state, u32 ret_val) in nfp_nsp_print_extended_error() 228 static int nfp_nsp_check(struct nfp_nsp *state) in nfp_nsp_check() 276 struct nfp_nsp *state; in nfp_nsp_open() local [all …]
|
/openbmc/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.c | 527 struct cx25840_state *state = to_state(sd); in common_s_io_pin_config() local 602 struct cx25840_state *state = container_of(work, struct cx25840_state, fw_work); in cx25840_work_handler() local 608 #define CX25840_VCONFIG_SET_BIT(state, opt_msk, voc, idx, bit, oneval) \ argument 622 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_vconfig_apply() local 696 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_initialize() local 773 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx23885_initialize() local 1033 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx231xx_initialize() local 1114 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_std_setup() local 1285 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in input_change() local 1367 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in set_input() local [all …]
|
H A D | cx25840-audio.c | 33 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_set_audclk_freq() local 288 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx23885_set_audclk_freq() local 330 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx231xx_set_audclk_freq() local 406 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in set_audclk_freq() local 425 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_audio_set_path() local 507 struct cx25840_state *state = to_state(sd); in cx25840_s_clock_freq() local 527 struct cx25840_state *state = to_state(sd); in cx25840_audio_s_ctrl() local
|
/openbmc/linux/drivers/media/i2c/ |
H A D | tda1997x.c | 308 struct tda1997x_state *state = to_state(sd); in tda1997x_cec_read() local 322 struct tda1997x_state *state = to_state(sd); in tda1997x_cec_write() local 341 struct tda1997x_state *state = to_state(sd); in tda1997x_setpage() local 360 struct tda1997x_state *state = to_state(sd); in io_read() local 438 struct tda1997x_state *state = to_state(sd); in io_write() local 561 struct tda1997x_state *state = container_of(dwork, in tda1997x_delayed_work_enable_hpd() local 577 struct tda1997x_state *state = to_state(sd); in tda1997x_disable_edid() local 588 struct tda1997x_state *state = to_state(sd); in tda1997x_enable_edid() local 604 tda1997x_setup_format(struct tda1997x_state *state, u32 code) in tda1997x_setup_format() 647 struct tda1997x_state *state = to_state(sd); in tda1997x_configure_csc() local [all …]
|
H A D | tc358743.c | 115 struct tc358743_state *state = to_state(sd); in i2c_rd() local 143 struct tc358743_state *state = to_state(sd); in i2c_wr() local 359 struct tc358743_state *state = container_of(dwork, in tc358743_delayed_work_enable_hotplug() local 392 struct tc358743_state *state = to_state(sd); in tc358743_disable_edid() local 405 struct tc358743_state *state = to_state(sd); in tc358743_enable_edid() local 459 struct tc358743_state *state = to_state(sd); in tc358743_s_ctrl_detect_tx_5v() local 467 struct tc358743_state *state = to_state(sd); in tc358743_s_ctrl_audio_sampling_rate() local 475 struct tc358743_state *state = to_state(sd); in tc358743_s_ctrl_audio_present() local 518 struct tc358743_state *state = to_state(sd); in enable_stream() local 546 struct tc358743_state *state = to_state(sd); in tc358743_set_pll() local [all …]
|
H A D | adv7511-v4l2.c | 218 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_edid_rd() local 239 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_cec_read() local 246 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_cec_write() local 267 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_pktmem_rd() local 346 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_set_rgb_quantization_mode() local 382 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_s_ctrl() local 418 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_inv_register() local 427 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_g_register() local 450 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_s_register() local 547 struct adv7511_state *state = get_adv7511_state(sd); in adv7511_log_status() local [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | cx24113.c | 90 static int cx24113_writereg(struct cx24113_state *state, int reg, int data) in cx24113_writereg() 105 static int cx24113_readreg(struct cx24113_state *state, u8 reg) in cx24113_readreg() 127 static void cx24113_set_parameters(struct cx24113_state *state) in cx24113_set_parameters() 187 static int cx24113_set_gain_settings(struct cx24113_state *state, in cx24113_set_gain_settings() 220 static int cx24113_set_Fref(struct cx24113_state *state, u8 high) in cx24113_set_Fref() 232 static int cx24113_enable(struct cx24113_state *state, u8 enable) in cx24113_enable() 240 static int cx24113_set_bandwidth(struct cx24113_state *state, u32 bandwidth_khz) in cx24113_set_bandwidth() 265 static int cx24113_set_clk_inversion(struct cx24113_state *state, u8 on) in cx24113_set_clk_inversion() 273 struct cx24113_state *state = fe->tuner_priv; in cx24113_get_status() local 281 static u8 cx24113_set_ref_div(struct cx24113_state *state, u8 refdiv) in cx24113_set_ref_div() [all …]
|
H A D | cx24120.c | 162 static int cx24120_readreg(struct cx24120_state *state, u8 reg) in cx24120_readreg() 192 static int cx24120_writereg(struct cx24120_state *state, u8 reg, u8 data) in cx24120_writereg() 216 static int cx24120_writeregs(struct cx24120_state *state, in cx24120_writeregs() 267 struct cx24120_state *state; in cx24120_attach() local 310 static int cx24120_test_rom(struct cx24120_state *state) in cx24120_test_rom() 336 struct cx24120_state *state = fe->demodulator_priv; in cx24120_read_ber() local 354 static void cx24120_check_cmd(struct cx24120_state *state, u8 id) in cx24120_check_cmd() 373 static int cx24120_message_send(struct cx24120_state *state, in cx24120_message_send() 403 static int cx24120_message_sendrcv(struct cx24120_state *state, in cx24120_message_sendrcv() 440 static int cx24120_msg_mpeg_output_global_config(struct cx24120_state *state, in cx24120_msg_mpeg_output_global_config() [all …]
|
H A D | or51132.c | 60 static int or51132_writebuf(struct or51132_state *state, const u8 *buf, int len) in or51132_writebuf() 78 #define or51132_writebytes(state, data...) \ argument 83 static int or51132_readbuf(struct or51132_state *state, u8 *buf, int len) in or51132_readbuf() 99 static int or51132_readreg(struct or51132_state *state, u8 reg) in or51132_readreg() 119 struct or51132_state* state = fe->demodulator_priv; in or51132_load_firmware() local 221 struct or51132_state* state = fe->demodulator_priv; in or51132_setmode() local 298 struct or51132_state* state = fe->demodulator_priv; in or51132_set_parameters() local 364 struct or51132_state* state = fe->demodulator_priv; in or51132_get_parameters() local 403 struct or51132_state* state = fe->demodulator_priv; in or51132_read_status() local 460 struct or51132_state* state = fe->demodulator_priv; in or51132_read_snr() local [all …]
|
H A D | cx24116.c | 187 static int cx24116_writereg(struct cx24116_state *state, int reg, int data) in cx24116_writereg() 209 static int cx24116_writeregN(struct cx24116_state *state, int reg, in cx24116_writeregN() 244 static int cx24116_readreg(struct cx24116_state *state, u8 reg) in cx24116_readreg() 271 static int cx24116_set_inversion(struct cx24116_state *state, in cx24116_set_inversion() 401 static int cx24116_lookup_fecmod(struct cx24116_state *state, in cx24116_lookup_fecmod() 420 static int cx24116_set_fec(struct cx24116_state *state, in cx24116_set_fec() 443 static int cx24116_set_symbolrate(struct cx24116_state *state, u32 rate) in cx24116_set_symbolrate() 465 struct cx24116_state *state = fe->demodulator_priv; in cx24116_firmware_ondemand() local 516 struct cx24116_state *state = fe->demodulator_priv; in cx24116_cmd_execute() local 553 struct cx24116_state *state = fe->demodulator_priv; in cx24116_load_firmware() local [all …]
|
H A D | cx24117.c | 257 static int cx24117_writereg(struct cx24117_state *state, u8 reg, u8 data) in cx24117_writereg() 278 static int cx24117_writecmd(struct cx24117_state *state, in cx24117_writecmd() 306 static int cx24117_readreg(struct cx24117_state *state, u8 reg) in cx24117_readreg() 331 static int cx24117_readregN(struct cx24117_state *state, in cx24117_readregN() 352 static int cx24117_set_inversion(struct cx24117_state *state, in cx24117_set_inversion() 377 static int cx24117_lookup_fecmod(struct cx24117_state *state, in cx24117_lookup_fecmod() 398 static int cx24117_set_fec(struct cx24117_state *state, in cx24117_set_fec() 423 static int cx24117_set_symbolrate(struct cx24117_state *state, u32 rate) in cx24117_set_symbolrate() 442 struct cx24117_state *state = fe->demodulator_priv; in cx24117_firmware_ondemand() local 497 struct cx24117_state *state = fe->demodulator_priv; in cx24117_cmd_execute_nolock() local [all …]
|
H A D | or51211.c | 58 static int i2c_writebytes (struct or51211_state* state, u8 reg, const u8 *buf, in i2c_writebytes() 76 static int i2c_readbytes(struct or51211_state *state, u8 reg, u8 *buf, int len) in i2c_readbytes() 96 struct or51211_state* state = fe->demodulator_priv; in or51211_load_firmware() local 154 struct or51211_state* state = fe->demodulator_priv; in or51211_setmode() local 208 struct or51211_state* state = fe->demodulator_priv; in or51211_set_parameters() local 228 struct or51211_state* state = fe->demodulator_priv; in or51211_read_status() local 283 struct or51211_state* state = fe->demodulator_priv; in or51211_read_snr() local 315 struct or51211_state* state = (struct or51211_state*)fe->demodulator_priv; in or51211_read_signal_strength() local 351 struct or51211_state* state = fe->demodulator_priv; in or51211_init() local 491 struct or51211_state* state = fe->demodulator_priv; in or51211_release() local [all …]
|
H A D | stv0910.c | 132 static int write_reg(struct stv *state, u16 reg, u8 val) in write_reg() 164 static int read_reg(struct stv *state, u16 reg, u8 *val) in read_reg() 170 static int read_regs(struct stv *state, u16 reg, u8 *val, int len) in read_regs() 176 static int write_shared_reg(struct stv *state, u16 reg, u8 mask, u8 val) in write_shared_reg() 189 static int write_field(struct stv *state, u32 field, u8 val) in write_field() 433 static u8 get_optim_cloop(struct stv *state, in get_optim_cloop() 460 static int get_cur_symbol_rate(struct stv *state, u32 *p_symbol_rate) in get_cur_symbol_rate() 501 static int get_signal_parameters(struct stv *state) in get_signal_parameters() 541 static int tracking_optimization(struct stv *state) in tracking_optimization() 631 static int get_signal_to_noise(struct stv *state, s32 *signal_to_noise) in get_signal_to_noise() [all …]
|
/openbmc/linux/lib/zlib_dfltcc/ |
H A D | dfltcc_deflate.c | 10 #define GET_DFLTCC_DEFLATE_STATE(state) ((struct dfltcc_deflate_state *)GET_DFLTCC_STATE(state)) argument 19 deflate_state *state = (deflate_state *)strm->state; in dfltcc_can_deflate() local 43 deflate_state *state = (deflate_state *)strm->state; in dfltcc_reset_deflate_state() local 63 deflate_state *state = (deflate_state *)strm->state; in dfltcc_gdht() local 76 deflate_state *state = (deflate_state *)strm->state; in dfltcc_cmpr() local 97 deflate_state *state = (deflate_state *)strm->state; in send_eobs() local 125 deflate_state *state = (deflate_state *)strm->state; in dfltcc_deflate() local
|
H A D | dfltcc_inflate.c | 17 struct inflate_state *state = (struct inflate_state *)strm->state; in dfltcc_can_inflate() local 32 struct inflate_state *state = (struct inflate_state *)strm->state; in dfltcc_reset_inflate_state() local 43 struct inflate_state *state = (struct inflate_state *)strm->state; in dfltcc_was_inflate_used() local 53 struct inflate_state *state = (struct inflate_state *)strm->state; in dfltcc_inflate_disable() local 73 struct inflate_state *state = (struct inflate_state *)strm->state; in dfltcc_xpnd() local 93 struct inflate_state *state = (struct inflate_state *)strm->state; in dfltcc_inflate() local
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_core.c | 65 static inline struct uart_port *uart_port_ref(struct uart_state *state) in uart_port_ref() 78 #define uart_port_lock(state, flags) \ argument 95 static inline struct uart_port *uart_port_check(struct uart_state *state) in uart_port_check() 114 struct uart_state *state = port->state; in uart_write_wakeup() local 126 struct uart_state *state = tty->driver_data; in uart_stop() local 136 static void __uart_start(struct uart_state *state) in __uart_start() 167 struct uart_state *state = tty->driver_data; in uart_start() local 202 static void uart_change_line_settings(struct tty_struct *tty, struct uart_state *state, in uart_change_line_settings() 250 static int uart_port_startup(struct tty_struct *tty, struct uart_state *state, in uart_port_startup() 322 static int uart_startup(struct tty_struct *tty, struct uart_state *state, in uart_startup() [all …]
|
/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | state.c | 14 static struct sandbox_state *state; /* Pointer to current state record */ variable 45 static int state_read_file(struct sandbox_state *state, const char *fname) in state_read_file() 98 int sandbox_read_state_nodes(struct sandbox_state *state, in sandbox_read_state_nodes() 141 int sandbox_read_state(struct sandbox_state *state, const char *fname) in sandbox_read_state() 188 int sandbox_write_state_node(struct sandbox_state *state, in sandbox_write_state_node() 234 int sandbox_write_state(struct sandbox_state *state, const char *fname) in sandbox_write_state() 342 struct sandbox_state *state = state_get_current(); in state_set_skip_delays() local 349 struct sandbox_state *state = state_get_current(); in state_get_skip_delays() local 354 void state_reset_for_test(struct sandbox_state *state) in state_reset_for_test()
|
/openbmc/linux/drivers/media/usb/ttusb-dec/ |
H A D | ttusbdecfe.c | 39 struct ttusbdecfe_state* state = fe->demodulator_priv; in ttusbdecfe_dvbt_read_status() local 79 struct ttusbdecfe_state *state = fe->demodulator_priv; in ttusbdecfe_dvbt_set_frontend() local 106 struct ttusbdecfe_state *state = fe->demodulator_priv; in ttusbdecfe_dvbs_set_frontend() local 140 struct ttusbdecfe_state *state = fe->demodulator_priv; in ttusbdecfe_dvbs_diseqc_send_master_cmd() local 161 struct ttusbdecfe_state *state = fe->demodulator_priv; in ttusbdecfe_dvbs_set_tone() local 172 struct ttusbdecfe_state *state = fe->demodulator_priv; in ttusbdecfe_dvbs_set_voltage() local 190 struct ttusbdecfe_state *state = fe->demodulator_priv; in ttusbdecfe_release() local 198 struct ttusbdecfe_state* state = NULL; in ttusbdecfe_dvbt_attach() local 218 struct ttusbdecfe_state* state = NULL; in ttusbdecfe_dvbs_attach() local
|
/openbmc/linux/include/crypto/ |
H A D | chacha.h | 34 static inline void chacha20_block(u32 *state, u8 *stream) in chacha20_block() 42 static inline void hchacha_block(const u32 *state, u32 *out, int nrounds) in hchacha_block() 57 static inline void chacha_init_consts(u32 *state) in chacha_init_consts() 66 static inline void chacha_init_generic(u32 *state, const u32 *key, const u8 *iv) in chacha_init_generic() 83 static inline void chacha_init(u32 *state, const u32 *key, const u8 *iv) in chacha_init() 96 static inline void chacha_crypt(u32 *state, u8 *dst, const u8 *src, in chacha_crypt() 105 static inline void chacha20_crypt(u32 *state, u8 *dst, const u8 *src, in chacha20_crypt()
|
/openbmc/linux/net/netlink/ |
H A D | policy.c | 31 struct netlink_policy_dump_state *state = *statep; in add_policy() local 81 int netlink_policy_dump_get_policy_idx(struct netlink_policy_dump_state *state, in netlink_policy_dump_get_policy_idx() 102 struct netlink_policy_dump_state *state; in alloc_state() local 130 struct netlink_policy_dump_state *state = *pstate; in netlink_policy_dump_add_policy() local 190 netlink_policy_dump_finished(struct netlink_policy_dump_state *state) in netlink_policy_dump_finished() 204 bool netlink_policy_dump_loop(struct netlink_policy_dump_state *state) in netlink_policy_dump_loop() 251 __netlink_policy_dump_write_attr(struct netlink_policy_dump_state *state, in __netlink_policy_dump_write_attr() 422 struct netlink_policy_dump_state *state) in netlink_policy_dump_write() 476 void netlink_policy_dump_free(struct netlink_policy_dump_state *state) in netlink_policy_dump_free()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | unwind_bc.c | 12 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() 20 static bool outside_of_stack(struct unwind_state *state, unsigned long sp) in outside_of_stack() 26 static bool update_stack_info(struct unwind_state *state, unsigned long sp) in update_stack_info() 39 static inline bool is_final_pt_regs(struct unwind_state *state, in is_final_pt_regs() 52 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() 121 void __unwind_start(struct unwind_state *state, struct task_struct *task, in __unwind_start()
|
/openbmc/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x-hdmi.c | 115 static bool adv748x_hdmi_has_signal(struct adv748x_state *state) in adv748x_hdmi_has_signal() 125 static int adv748x_hdmi_read_pixelclock(struct adv748x_state *state) in adv748x_hdmi_read_pixelclock() 152 static void adv748x_hdmi_set_de_timings(struct adv748x_state *state, int shift) in adv748x_hdmi_set_de_timings() 171 static int adv748x_hdmi_set_video_timings(struct adv748x_state *state, in adv748x_hdmi_set_video_timings() 221 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); in adv748x_hdmi_s_dv_timings() local 261 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); in adv748x_hdmi_g_dv_timings() local 276 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); in adv748x_hdmi_query_dv_timings() local 352 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); in adv748x_hdmi_g_input_status() local 366 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); in adv748x_hdmi_s_stream() local 502 struct adv748x_state *state = adv748x_hdmi_to_state(hdmi); in adv748x_hdmi_edid_write_block() local [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | stacktrace.c | 29 unwind_init_from_regs(struct unwind_state *state, in unwind_init_from_regs() 47 unwind_init_from_caller(struct unwind_state *state) in unwind_init_from_caller() 66 unwind_init_from_task(struct unwind_state *state, in unwind_init_from_task() 76 unwind_recover_return_address(struct unwind_state *state) in unwind_recover_return_address() 109 unwind_next(struct unwind_state *state) in unwind_next() 129 unwind(struct unwind_state *state, stack_trace_consume_fn consume_entry, in unwind() 193 struct unwind_state state = { in arch_stack_walk() local
|
/openbmc/linux/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_ci.c | 55 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_ts_ctl() local 73 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_shutdown() local 83 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_slot_reset() local 117 struct netup_ci_state *state = en50221->data; in netup_unidvb_poll_ci_slot_status() local 139 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_read_attribute_mem() local 151 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_write_attribute_mem() local 163 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_read_cam_ctl() local 175 struct netup_ci_state *state = en50221->data; in netup_unidvb_ci_write_cam_ctl() local 188 struct netup_ci_state *state; in netup_unidvb_ci_register() local 228 struct netup_ci_state *state; in netup_unidvb_ci_unregister() local
|