/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | unwind.h | 30 bool default_next_frame(struct unwind_state *state); 32 void unwind_start(struct unwind_state *state, 34 bool unwind_next_frame(struct unwind_state *state); 35 unsigned long unwind_get_return_address(struct unwind_state *state); 37 static inline bool unwind_done(struct unwind_state *state) in unwind_done() argument 39 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done() 42 static inline bool unwind_error(struct unwind_state *state) in unwind_error() argument 44 return state->error; in unwind_error() 49 static inline unsigned long unwind_graph_addr(struct unwind_state *state, in unwind_graph_addr() argument 52 return ftrace_graph_ret_addr(state in unwind_graph_addr() 56 __unwind_start(struct unwind_state *state, struct task_struct *task, struct pt_regs *regs) __unwind_start() argument 78 __unwind_get_return_address(struct unwind_state *state) __unwind_get_return_address() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | cx24117.c | 257 static int cx24117_writereg(struct cx24117_state *state, u8 reg, u8 data) in cx24117_writereg() argument 260 struct i2c_msg msg = { .addr = state->priv->demod_address, in cx24117_writereg() 264 dev_dbg(&state->priv->i2c->dev, in cx24117_writereg() 266 __func__, state->demod, reg, data); in cx24117_writereg() 268 ret = i2c_transfer(state->priv->i2c, &msg, 1); in cx24117_writereg() 270 dev_warn(&state->priv->i2c->dev, in cx24117_writereg() 272 KBUILD_MODNAME, state->demod, ret, reg, data); in cx24117_writereg() 278 static int cx24117_writecmd(struct cx24117_state *state, in cx24117_writecmd() argument 285 dev_dbg(&state->priv->i2c->dev, in cx24117_writecmd() 287 __func__, state in cx24117_writecmd() 306 cx24117_readreg(struct cx24117_state *state, u8 reg) cx24117_readreg() argument 331 cx24117_readregN(struct cx24117_state *state, u8 reg, u8 *buf, int len) cx24117_readregN() argument 352 cx24117_set_inversion(struct cx24117_state *state, enum fe_spectral_inversion inversion) cx24117_set_inversion() argument 377 cx24117_lookup_fecmod(struct cx24117_state *state, enum fe_delivery_system d, enum fe_modulation m, enum fe_code_rate f) cx24117_lookup_fecmod() argument 398 cx24117_set_fec(struct cx24117_state *state, enum fe_delivery_system delsys, enum fe_modulation mod, enum fe_code_rate fec) cx24117_set_fec() argument 423 cx24117_set_symbolrate(struct cx24117_state *state, u32 rate) cx24117_set_symbolrate() argument 442 struct cx24117_state *state = fe->demodulator_priv; cx24117_firmware_ondemand() local 497 struct cx24117_state *state = fe->demodulator_priv; cx24117_cmd_execute_nolock() local 529 struct cx24117_state *state = fe->demodulator_priv; cx24117_cmd_execute() local 542 struct cx24117_state *state = fe->demodulator_priv; cx24117_load_firmware() local 734 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_status() local 761 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_ber() local 784 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_signal_strength() local 816 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_snr() local 837 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_ucblocks() local 869 struct cx24117_state *state = fe->demodulator_priv; cx24117_clone_params() local 876 struct cx24117_state *state = fe->demodulator_priv; cx24117_wait_for_lnb() local 901 struct cx24117_state *state = fe->demodulator_priv; cx24117_set_voltage() local 953 struct cx24117_state *state = fe->demodulator_priv; cx24117_set_tone() local 996 struct cx24117_state *state = fe->demodulator_priv; cx24117_diseqc_init() local 1027 struct cx24117_state *state = fe->demodulator_priv; cx24117_send_diseqc_msg() local 1109 struct cx24117_state *state = fe->demodulator_priv; cx24117_diseqc_send_burst() local 1150 struct cx24117_state *state = fe->demodulator_priv; cx24117_release() local 1162 struct cx24117_state *state = NULL; cx24117_attach() local 1219 struct cx24117_state *state = fe->demodulator_priv; cx24117_initfe() local 1279 struct cx24117_state *state = fe->demodulator_priv; cx24117_sleep() local 1298 struct cx24117_state *state = fe->demodulator_priv; cx24117_set_frontend() local 1534 struct cx24117_state *state = fe->demodulator_priv; cx24117_tune() local 1556 struct cx24117_state *state = fe->demodulator_priv; cx24117_get_frontend() local [all...] |
H A D | mt312.c | 50 static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg, in mt312_read() argument 57 msg[0].addr = state->config->demod_address; in mt312_read() 61 msg[1].addr = state->config->demod_address; in mt312_read() 66 ret = i2c_transfer(state->i2c, msg, 2); in mt312_read() 84 static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg, in mt312_write() argument 108 msg.addr = state->config->demod_address; in mt312_write() 113 ret = i2c_transfer(state->i2c, &msg, 1); in mt312_write() 123 static inline int mt312_readreg(struct mt312_state *state, in mt312_readreg() argument 126 return mt312_read(state, reg, val, 1); in mt312_readreg() 129 static inline int mt312_writereg(struct mt312_state *state, in mt312_writereg() argument 138 mt312_reset(struct mt312_state *state, const u8 full) mt312_reset() argument 143 mt312_get_inversion(struct mt312_state *state, enum fe_spectral_inversion *i) mt312_get_inversion() argument 159 mt312_get_symbol_rate(struct mt312_state *state, u32 *sr) mt312_get_symbol_rate() argument 213 mt312_get_code_rate(struct mt312_state *state, enum fe_code_rate *cr) mt312_get_code_rate() argument 233 struct mt312_state *state = fe->demodulator_priv; mt312_initfe() local 334 struct mt312_state *state = fe->demodulator_priv; mt312_send_master_cmd() local 371 struct mt312_state *state = fe->demodulator_priv; mt312_send_burst() local 395 struct mt312_state *state = fe->demodulator_priv; mt312_set_tone() local 419 struct mt312_state *state = fe->demodulator_priv; mt312_set_voltage() local 435 struct mt312_state *state = fe->demodulator_priv; mt312_read_status() local 464 struct mt312_state *state = fe->demodulator_priv; mt312_read_ber() local 480 struct mt312_state *state = fe->demodulator_priv; mt312_read_signal_strength() local 502 struct mt312_state *state = fe->demodulator_priv; mt312_read_snr() local 517 struct mt312_state *state = fe->demodulator_priv; mt312_read_ucblocks() local 533 struct mt312_state *state = fe->demodulator_priv; mt312_set_frontend() local 640 struct mt312_state *state = fe->demodulator_priv; mt312_get_frontend() local 660 struct mt312_state *state = fe->demodulator_priv; mt312_i2c_gate_ctrl() local 689 struct mt312_state *state = fe->demodulator_priv; mt312_sleep() local 733 struct mt312_state *state = fe->demodulator_priv; mt312_release() local 780 struct mt312_state *state = NULL; mt312_attach() local [all...] |
H A D | lgdt330x.c | 42 #define dprintk(state, fmt, arg...) do { \ 44 dev_printk(KERN_DEBUG, &state->client->dev, fmt, ##arg);\ 65 static int i2c_write_demod_bytes(struct lgdt330x_state *state, in i2c_write_demod_bytes() argument 73 err = i2c_master_send(state->client, buf, 2); in i2c_write_demod_bytes() 75 dev_warn(&state->client->dev, in i2c_write_demod_bytes() 92 static int i2c_read_demod_bytes(struct lgdt330x_state *state, in i2c_read_demod_bytes() argument 98 .addr = state->client->addr, in i2c_read_demod_bytes() 103 .addr = state->client->addr, in i2c_read_demod_bytes() 111 ret = i2c_transfer(state->client->adapter, msg, 2); in i2c_read_demod_bytes() 113 dev_warn(&state in i2c_read_demod_bytes() 125 lgdt3302_sw_reset(struct lgdt330x_state *state) lgdt3302_sw_reset() argument 148 lgdt3303_sw_reset(struct lgdt330x_state *state) lgdt3303_sw_reset() argument 167 lgdt330x_sw_reset(struct lgdt330x_state *state) lgdt330x_sw_reset() argument 181 struct lgdt330x_state *state = fe->demodulator_priv; lgdt330x_init() local 302 struct lgdt330x_state *state = fe->demodulator_priv; lgdt330x_read_ucblocks() local 312 struct lgdt330x_state *state = fe->demodulator_priv; lgdt330x_set_parameters() local 445 struct lgdt330x_state *state = fe->demodulator_priv; lgdt330x_get_frontend() local 494 struct lgdt330x_state *state = fe->demodulator_priv; lgdt3302_read_snr() local 541 struct lgdt330x_state *state = fe->demodulator_priv; lgdt3303_read_snr() local 586 struct lgdt330x_state *state = fe->demodulator_priv; lgdt330x_read_snr() local 600 struct lgdt330x_state *state = fe->demodulator_priv; lgdt330x_read_signal_strength() local 621 struct lgdt330x_state *state = fe->demodulator_priv; lgdt3302_read_status() local 724 struct lgdt330x_state *state = fe->demodulator_priv; lgdt3303_read_status() local 840 struct lgdt330x_state *state = fe->demodulator_priv; lgdt330x_release() local 850 struct lgdt330x_state *state = i2c_get_clientdata(client); lgdt330x_get_dvb_frontend() local 863 struct lgdt330x_state *state = NULL; lgdt330x_probe() local 979 struct lgdt330x_state *state = i2c_get_clientdata(client); lgdt330x_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | cx24117.c | 257 static int cx24117_writereg(struct cx24117_state *state, u8 reg, u8 data) in cx24117_writereg() argument 260 struct i2c_msg msg = { .addr = state->priv->demod_address, in cx24117_writereg() 264 dev_dbg(&state->priv->i2c->dev, in cx24117_writereg() 266 __func__, state->demod, reg, data); in cx24117_writereg() 268 ret = i2c_transfer(state->priv->i2c, &msg, 1); in cx24117_writereg() 270 dev_warn(&state->priv->i2c->dev, in cx24117_writereg() 272 KBUILD_MODNAME, state->demod, ret, reg, data); in cx24117_writereg() 278 static int cx24117_writecmd(struct cx24117_state *state, in cx24117_writecmd() argument 285 dev_dbg(&state->priv->i2c->dev, in cx24117_writecmd() 287 __func__, state in cx24117_writecmd() 306 cx24117_readreg(struct cx24117_state *state, u8 reg) cx24117_readreg() argument 331 cx24117_readregN(struct cx24117_state *state, u8 reg, u8 *buf, int len) cx24117_readregN() argument 352 cx24117_set_inversion(struct cx24117_state *state, enum fe_spectral_inversion inversion) cx24117_set_inversion() argument 377 cx24117_lookup_fecmod(struct cx24117_state *state, enum fe_delivery_system d, enum fe_modulation m, enum fe_code_rate f) cx24117_lookup_fecmod() argument 398 cx24117_set_fec(struct cx24117_state *state, enum fe_delivery_system delsys, enum fe_modulation mod, enum fe_code_rate fec) cx24117_set_fec() argument 423 cx24117_set_symbolrate(struct cx24117_state *state, u32 rate) cx24117_set_symbolrate() argument 442 struct cx24117_state *state = fe->demodulator_priv; cx24117_firmware_ondemand() local 497 struct cx24117_state *state = fe->demodulator_priv; cx24117_cmd_execute_nolock() local 529 struct cx24117_state *state = fe->demodulator_priv; cx24117_cmd_execute() local 542 struct cx24117_state *state = fe->demodulator_priv; cx24117_load_firmware() local 734 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_status() local 761 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_ber() local 784 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_signal_strength() local 816 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_snr() local 837 struct cx24117_state *state = fe->demodulator_priv; cx24117_read_ucblocks() local 869 struct cx24117_state *state = fe->demodulator_priv; cx24117_clone_params() local 876 struct cx24117_state *state = fe->demodulator_priv; cx24117_wait_for_lnb() local 901 struct cx24117_state *state = fe->demodulator_priv; cx24117_set_voltage() local 953 struct cx24117_state *state = fe->demodulator_priv; cx24117_set_tone() local 996 struct cx24117_state *state = fe->demodulator_priv; cx24117_diseqc_init() local 1027 struct cx24117_state *state = fe->demodulator_priv; cx24117_send_diseqc_msg() local 1109 struct cx24117_state *state = fe->demodulator_priv; cx24117_diseqc_send_burst() local 1150 struct cx24117_state *state = fe->demodulator_priv; cx24117_release() local 1162 struct cx24117_state *state = NULL; cx24117_attach() local 1218 struct cx24117_state *state = fe->demodulator_priv; cx24117_initfe() local 1278 struct cx24117_state *state = fe->demodulator_priv; cx24117_sleep() local 1297 struct cx24117_state *state = fe->demodulator_priv; cx24117_set_frontend() local 1533 struct cx24117_state *state = fe->demodulator_priv; cx24117_tune() local 1555 struct cx24117_state *state = fe->demodulator_priv; cx24117_get_frontend() local [all...] |
H A D | mt312.c | 50 static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg, in mt312_read() argument 57 msg[0].addr = state->config->demod_address; in mt312_read() 61 msg[1].addr = state->config->demod_address; in mt312_read() 66 ret = i2c_transfer(state->i2c, msg, 2); in mt312_read() 84 static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg, in mt312_write() argument 108 msg.addr = state->config->demod_address; in mt312_write() 113 ret = i2c_transfer(state->i2c, &msg, 1); in mt312_write() 123 static inline int mt312_readreg(struct mt312_state *state, in mt312_readreg() argument 126 return mt312_read(state, reg, val, 1); in mt312_readreg() 129 static inline int mt312_writereg(struct mt312_state *state, in mt312_writereg() argument 138 mt312_reset(struct mt312_state *state, const u8 full) mt312_reset() argument 143 mt312_get_inversion(struct mt312_state *state, enum fe_spectral_inversion *i) mt312_get_inversion() argument 159 mt312_get_symbol_rate(struct mt312_state *state, u32 *sr) mt312_get_symbol_rate() argument 213 mt312_get_code_rate(struct mt312_state *state, enum fe_code_rate *cr) mt312_get_code_rate() argument 233 struct mt312_state *state = fe->demodulator_priv; mt312_initfe() local 334 struct mt312_state *state = fe->demodulator_priv; mt312_send_master_cmd() local 371 struct mt312_state *state = fe->demodulator_priv; mt312_send_burst() local 395 struct mt312_state *state = fe->demodulator_priv; mt312_set_tone() local 419 struct mt312_state *state = fe->demodulator_priv; mt312_set_voltage() local 435 struct mt312_state *state = fe->demodulator_priv; mt312_read_status() local 464 struct mt312_state *state = fe->demodulator_priv; mt312_read_ber() local 480 struct mt312_state *state = fe->demodulator_priv; mt312_read_signal_strength() local 502 struct mt312_state *state = fe->demodulator_priv; mt312_read_snr() local 517 struct mt312_state *state = fe->demodulator_priv; mt312_read_ucblocks() local 533 struct mt312_state *state = fe->demodulator_priv; mt312_set_frontend() local 640 struct mt312_state *state = fe->demodulator_priv; mt312_get_frontend() local 660 struct mt312_state *state = fe->demodulator_priv; mt312_i2c_gate_ctrl() local 689 struct mt312_state *state = fe->demodulator_priv; mt312_sleep() local 733 struct mt312_state *state = fe->demodulator_priv; mt312_release() local 780 struct mt312_state *state = NULL; mt312_attach() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
H A D | armada_overlay.c | 44 static inline u32 armada_spu_contrast(struct drm_plane_state *state) in armada_spu_contrast() argument 46 return drm_to_overlay_state(state)->brightness << 16 | in armada_spu_contrast() 47 drm_to_overlay_state(state)->contrast; in armada_spu_contrast() 50 static inline u32 armada_spu_saturation(struct drm_plane_state *state) in armada_spu_saturation() argument 53 return drm_to_overlay_state(state)->saturation << 16; in armada_spu_saturation() 56 static inline u32 armada_csc(struct drm_plane_state *state) in armada_csc() argument 65 (state->color_encoding == DRM_COLOR_YCBCR_BT709 ? in armada_csc() 73 struct drm_plane_state *state = plane->state; in armada_drm_overlay_plane_atomic_update() local 81 if (!state in armada_drm_overlay_plane_atomic_update() 259 struct drm_atomic_state *state; armada_overlay_plane_update() local 306 struct armada_overlay_state *state; armada_overlay_reset() local 333 struct armada_overlay_state *state; armada_overlay_duplicate_state() local 345 armada_overlay_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) armada_overlay_set_property() argument 413 armada_overlay_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) armada_overlay_get_property() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_global_state.c | 37 struct intel_global_state *state, in intel_atomic_global_obj_init() 42 state->obj = obj; in intel_atomic_global_obj_init() 44 kref_init(&state->ref); in intel_atomic_global_obj_init() 46 obj->state = state; in intel_atomic_global_obj_init() 58 drm_WARN_ON(&dev_priv->drm, kref_read(&obj->state->ref) != 1); in intel_atomic_global_obj_cleanup() 59 intel_atomic_global_state_put(obj->state); in intel_atomic_global_obj_cleanup() 84 static void assert_global_state_read_locked(struct intel_atomic_state *state) in assert_global_state_read_locked() argument 86 struct drm_modeset_acquire_ctx *ctx = state->base.acquire_ctx; in assert_global_state_read_locked() 87 struct drm_i915_private *dev_priv = to_i915(state in assert_global_state_read_locked() 35 intel_atomic_global_obj_init(struct drm_i915_private *dev_priv, struct intel_global_obj *obj, struct intel_global_state *state, const struct intel_global_state_funcs *funcs) intel_atomic_global_obj_init() argument 99 intel_atomic_get_global_obj_state(struct intel_atomic_state *state, struct intel_global_obj *obj) intel_atomic_get_global_obj_state() argument 149 intel_atomic_get_old_global_obj_state(struct intel_atomic_state *state, struct intel_global_obj *obj) intel_atomic_get_old_global_obj_state() argument 162 intel_atomic_get_new_global_obj_state(struct intel_atomic_state *state, struct intel_global_obj *obj) intel_atomic_get_new_global_obj_state() argument 174 intel_atomic_swap_global_state(struct intel_atomic_state *state) intel_atomic_swap_global_state() argument 204 intel_atomic_clear_global_state(struct intel_atomic_state *state) intel_atomic_clear_global_state() argument 222 struct intel_atomic_state *state = obj_state->state; intel_atomic_lock_global_state() local 242 struct intel_atomic_state *state = obj_state->state; intel_atomic_serialize_global_state() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | gl_nir_lower_packed_varyings.c | 213 needs_lowering(struct lower_packed_varyings_state *state, nir_variable *var) in needs_lowering() argument 223 if (nir_is_arrayed_io(var, state->shader->info.stage) || var->data.per_view) { in needs_lowering() 231 if (state->disable_xfb_packing && var->data.is_xfb && in needs_lowering() 233 state->xfb_enabled) in needs_lowering() 241 if (state->disable_varying_packing && !var->data.is_xfb_only && in needs_lowering() 243 state->xfb_enabled)) in needs_lowering() 261 create_or_update_packed_varying(struct lower_packed_varyings_state *state, in create_or_update_packed_varying() argument 266 assert(slot < state->locations_used); in create_or_update_packed_varying() 267 if (state->packed_varyings[slot] == NULL) { in create_or_update_packed_varying() 268 assert(state in create_or_update_packed_varying() 329 get_packed_varying_deref(struct lower_packed_varyings_state *state, unsigned location, nir_variable *unpacked_var, const char *name, unsigned vertex_index) get_packed_varying_deref() argument 358 i2u(struct lower_packed_varyings_state *state, nir_ssa_def *value) i2u() argument 369 u2i(struct lower_packed_varyings_state *state, nir_ssa_def *value) u2i() argument 393 bitwise_assign_pack(struct lower_packed_varyings_state *state, nir_deref_instr *packed_deref, nir_deref_instr *unpacked_deref, const struct glsl_type *unpacked_type, nir_ssa_def *value, unsigned writemask) bitwise_assign_pack() argument 480 bitwise_assign_unpack(struct lower_packed_varyings_state *state, nir_deref_instr *unpacked_deref, nir_deref_instr *packed_deref, const struct glsl_type *unpacked_type, nir_ssa_def *value, unsigned writemask) bitwise_assign_unpack() argument 565 create_store_deref(struct lower_packed_varyings_state *state, nir_deref_instr *deref, nir_ssa_def *value, unsigned writemask, bool is_64bit) create_store_deref() argument 618 lower_arraylike(struct lower_packed_varyings_state *state, nir_ssa_def *rhs_swizzle, unsigned writemask, const struct glsl_type *type, unsigned fine_location, nir_variable *unpacked_var, nir_deref_instr *unpacked_var_deref, const char *name, bool gs_input_toplevel, unsigned vertex_index) lower_arraylike() argument 682 lower_varying(struct lower_packed_varyings_state *state, nir_ssa_def *rhs_swizzle, unsigned writemask, const struct glsl_type *type, unsigned fine_location, nir_variable *unpacked_var, nir_deref_instr *unpacked_var_deref, const char *name, bool gs_input_toplevel, unsigned vertex_index) lower_varying() argument 889 pack_output_var(struct lower_packed_varyings_state *state, nir_variable *var) pack_output_var() argument 899 lower_output_var(struct lower_packed_varyings_state *state, nir_variable *var) lower_output_var() argument 963 lower_packed_outputs(struct lower_packed_varyings_state *state) lower_packed_outputs() argument 971 lower_packed_inputs(struct lower_packed_varyings_state *state) lower_packed_inputs() argument 1034 struct lower_packed_varyings_state state; gl_nir_lower_packed_varyings() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | plane.c | 30 struct tegra_plane_state *state; in tegra_plane_reset() local 33 if (plane->state) in tegra_plane_reset() 34 __drm_atomic_helper_plane_destroy_state(plane->state); in tegra_plane_reset() 36 kfree(plane->state); in tegra_plane_reset() 37 plane->state = NULL; in tegra_plane_reset() 39 state = kzalloc(sizeof(*state), GFP_KERNEL); in tegra_plane_reset() 40 if (state) { in tegra_plane_reset() 41 plane->state = &state in tegra_plane_reset() 54 struct tegra_plane_state *state = to_tegra_plane_state(plane->state); tegra_plane_atomic_duplicate_state() local 84 tegra_plane_atomic_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) tegra_plane_atomic_destroy_state() argument 140 tegra_dc_pin(struct tegra_dc *dc, struct tegra_plane_state *state) tegra_dc_pin() argument 189 tegra_dc_unpin(struct tegra_dc *dc, struct tegra_plane_state *state) tegra_dc_unpin() argument 200 tegra_plane_prepare_fb(struct drm_plane *plane, struct drm_plane_state *state) tegra_plane_prepare_fb() argument 216 tegra_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *state) tegra_plane_cleanup_fb() argument 225 tegra_plane_calculate_memory_bandwidth(struct drm_plane_state *state) tegra_plane_calculate_memory_bandwidth() argument 297 tegra_plane_state_add(struct tegra_plane *plane, struct drm_plane_state *state) tegra_plane_state_add() argument 590 tegra_plane_setup_opacity(struct tegra_plane *tegra, struct tegra_plane_state *state) tegra_plane_setup_opacity() argument 617 tegra_plane_check_transparency(struct tegra_plane *tegra, struct tegra_plane_state *state) tegra_plane_check_transparency() argument 667 tegra_plane_update_transparency(struct tegra_plane *tegra, struct tegra_plane_state *state) tegra_plane_update_transparency() argument 705 tegra_plane_setup_transparency(struct tegra_plane *tegra, struct tegra_plane_state *state) tegra_plane_setup_transparency() argument 747 tegra_plane_setup_legacy_state(struct tegra_plane *tegra, struct tegra_plane_state *state) tegra_plane_setup_legacy_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/ |
H A D | imx8mq-mipi-csi2.c | 121 struct mutex lock; /* Protect state */ 122 u32 state; member 224 static inline void imx8mq_mipi_csi_write(struct csi_state *state, u32 reg, u32 val) in imx8mq_mipi_csi_write() argument 226 writel(val, state->regs + reg); in imx8mq_mipi_csi_write() 229 static int imx8mq_mipi_csi_sw_reset(struct csi_state *state) in imx8mq_mipi_csi_sw_reset() argument 238 ret = reset_control_assert(state->rst); in imx8mq_mipi_csi_sw_reset() 240 dev_err(state->dev, "Failed to assert resets: %d\n", ret); in imx8mq_mipi_csi_sw_reset() 247 static void imx8mq_mipi_csi_set_params(struct csi_state *state) in imx8mq_mipi_csi_set_params() argument 249 int lanes = state->bus.num_data_lanes; in imx8mq_mipi_csi_set_params() 251 imx8mq_mipi_csi_write(state, CSI2RX_CFG_NUM_LANE in imx8mq_mipi_csi_set_params() 266 imx8mq_mipi_csi_clk_enable(struct csi_state *state) imx8mq_mipi_csi_clk_enable() argument 271 imx8mq_mipi_csi_clk_disable(struct csi_state *state) imx8mq_mipi_csi_clk_disable() argument 276 imx8mq_mipi_csi_clk_get(struct csi_state *state) imx8mq_mipi_csi_clk_get() argument 286 imx8mq_mipi_csi_calc_hs_settle(struct csi_state *state, struct v4l2_subdev_state *sd_state, u32 *hs_settle) imx8mq_mipi_csi_calc_hs_settle() argument 352 imx8mq_mipi_csi_start_stream(struct csi_state *state, struct v4l2_subdev_state *sd_state) imx8mq_mipi_csi_start_stream() argument 379 imx8mq_mipi_csi_stop_stream(struct csi_state *state) imx8mq_mipi_csi_stop_stream() argument 395 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_s_stream() local 571 struct csi_state *state = mipi_notifier_to_csi2_state(notifier); imx8mq_mipi_csi_notify_bound() local 584 imx8mq_mipi_csi_async_register(struct csi_state *state) imx8mq_mipi_csi_async_register() argument 650 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_pm_suspend() local 666 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_pm_resume() local 695 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_suspend() local 707 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_resume() local 718 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_runtime_suspend() local 733 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_runtime_resume() local 756 imx8mq_mipi_csi_subdev_init(struct csi_state *state) imx8mq_mipi_csi_subdev_init() argument 794 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_release_icc() local 802 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_init_icc() local 814 imx8mq_mipi_csi_parse_dt(struct csi_state *state) imx8mq_mipi_csi_parse_dt() argument 859 struct csi_state *state; imx8mq_mipi_csi_probe() local 929 struct csi_state *state = mipi_sd_to_csi2_state(sd); imx8mq_mipi_csi_remove() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedBase.cpp | 61 : state(4), gl(context.getRenderContext().getFunctions()), testLog(log) in BlendMaskStateMachine() 66 : state(dbs), gl(context.getRenderContext().getFunctions()), testLog(log) in BlendMaskStateMachine() 87 testLog << tcu::TestLog::Message << "General state should be set to " << s in CheckEnumGeneral() 120 if (gl.isEnabledi(GL_BLEND, idx) != state[idx].enable) in CheckBuffer() 122 testLog << tcu::TestLog::Message << "Blending for buffer #" << idx << " set to: " << !state[idx].enable in CheckBuffer() 123 << " but should be " << state[idx].enable << "!" << tcu::TestLog::EndMessage; in CheckBuffer() 129 result &= CheckEnumForBuffer(idx, GL_BLEND_EQUATION_RGB, state[idx].mode_rgb); in CheckBuffer() 130 result &= CheckEnumForBuffer(idx, GL_BLEND_EQUATION_ALPHA, state[idx].mode_a); in CheckBuffer() 131 result &= CheckEnumForBuffer(idx, GL_BLEND_SRC_RGB, state[idx].func_src_rgb); in CheckBuffer() 132 result &= CheckEnumForBuffer(idx, GL_BLEND_SRC_ALPHA, state[id in CheckBuffer() [all...] |
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
H A D | scd30_core.c | 51 static int scd30_command_write(struct scd30_state *state, enum scd30_cmd cmd, u16 arg) in scd30_command_write() argument 53 return state->command(state, cmd, arg, NULL, 0); in scd30_command_write() 56 static int scd30_command_read(struct scd30_state *state, enum scd30_cmd cmd, u16 *val) in scd30_command_read() argument 61 ret = state->command(state, cmd, 0, &tmp, sizeof(tmp)); in scd30_command_read() 67 static int scd30_reset(struct scd30_state *state) in scd30_reset() argument 72 ret = scd30_command_write(state, CMD_RESET, 0); in scd30_reset() 80 * some controllers end up in error state. Try to recover by placing in scd30_reset() 83 scd30_command_read(state, CMD_MEAS_READ in scd30_reset() 115 scd30_read_meas(struct scd30_state *state) scd30_read_meas() argument 138 scd30_wait_meas_irq(struct scd30_state *state) scd30_wait_meas_irq() argument 156 scd30_wait_meas_poll(struct scd30_state *state) scd30_wait_meas_poll() argument 178 scd30_read_poll(struct scd30_state *state) scd30_read_poll() argument 189 scd30_read(struct scd30_state *state) scd30_read() argument 200 struct scd30_state *state = iio_priv(indio_dev); scd30_read_raw() local 259 struct scd30_state *state = iio_priv(indio_dev); scd30_write_raw() local 375 struct scd30_state *state = iio_priv(indio_dev); calibration_auto_enable_show() local 390 struct scd30_state *state = iio_priv(indio_dev); calibration_auto_enable_store() local 409 struct scd30_state *state = iio_priv(indio_dev); calibration_forced_value_show() local 424 struct scd30_state *state = iio_priv(indio_dev); calibration_forced_value_store() local 523 struct scd30_state *state = iio_priv(indio_dev); scd30_suspend() local 537 struct scd30_state *state = iio_priv(indio_dev); scd30_resume() local 550 struct scd30_state *state = data; scd30_stop_meas() local 557 struct scd30_state *state = data; scd30_disable_regulator() local 578 struct scd30_state *state = iio_priv(indio_dev); scd30_irq_thread_handler() local 594 struct scd30_state *state = iio_priv(indio_dev); scd30_trigger_handler() local 618 scd30_set_trigger_state(struct iio_trigger *trig, bool state) scd30_set_trigger_state() argument 638 struct scd30_state *state = iio_priv(indio_dev); scd30_setup_trigger() local 679 struct scd30_state *state; scd30_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_plane.c | 29 * without keeping any external state to avoid races between .atomic_check() 38 * For this to work we need to access the current state of planes not touched by 69 static unsigned int rcar_du_plane_hwmask(struct rcar_du_plane_state *state) in rcar_du_plane_hwmask() argument 73 if (state->hwindex == -1) in rcar_du_plane_hwmask() 76 mask = 1 << state->hwindex; in rcar_du_plane_hwmask() 77 if (state->format->planes == 2) in rcar_du_plane_hwmask() 78 mask |= 1 << ((state->hwindex + 1) % 8); in rcar_du_plane_hwmask() 96 struct rcar_du_plane_state *state, in rcar_du_plane_hwalloc() 99 unsigned int num_planes = state->format->planes; in rcar_du_plane_hwalloc() 103 if (state in rcar_du_plane_hwalloc() 95 rcar_du_plane_hwalloc(struct rcar_du_plane *plane, struct rcar_du_plane_state *state, unsigned int free) rcar_du_plane_hwalloc() argument 128 rcar_du_atomic_check_planes(struct drm_device *dev, struct drm_atomic_state *state) rcar_du_atomic_check_planes() argument 328 rcar_du_plane_setup_scanout(struct rcar_du_group *rgrp, const struct rcar_du_plane_state *state) rcar_du_plane_setup_scanout() argument 401 rcar_du_plane_setup_mode(struct rcar_du_group *rgrp, unsigned int index, const struct rcar_du_plane_state *state) rcar_du_plane_setup_mode() argument 464 rcar_du_plane_setup_format_gen2(struct rcar_du_group *rgrp, unsigned int index, const struct rcar_du_plane_state *state) rcar_du_plane_setup_format_gen2() argument 504 rcar_du_plane_setup_format_gen3(struct rcar_du_group *rgrp, unsigned int index, const struct rcar_du_plane_state *state) rcar_du_plane_setup_format_gen3() argument 515 rcar_du_plane_setup_format(struct rcar_du_group *rgrp, unsigned int index, const struct rcar_du_plane_state *state) rcar_du_plane_setup_format() argument 542 __rcar_du_plane_setup(struct rcar_du_group *rgrp, const struct rcar_du_plane_state *state) __rcar_du_plane_setup() argument 565 __rcar_du_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state, const struct rcar_du_format_info **format) __rcar_du_plane_atomic_check() argument 609 rcar_du_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) rcar_du_plane_atomic_check() argument 653 struct rcar_du_plane_state *state; rcar_du_plane_atomic_duplicate_state() local 669 rcar_du_plane_atomic_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) rcar_du_plane_atomic_destroy_state() argument 678 struct rcar_du_plane_state *state; rcar_du_plane_reset() local 697 rcar_du_plane_atomic_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) rcar_du_plane_atomic_set_property() argument 713 rcar_du_plane_atomic_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) rcar_du_plane_atomic_get_property() argument [all...] |
/third_party/elfutils/libdw/ |
H A D | libdw_visit_scopes.c | 80 walk_children (struct walk_children_state *state); 94 struct walk_children_state state = in __libdw_visit_scopes() local 103 state.child.parent = root; in __libdw_visit_scopes() 105 if ((ret = INTUSE(dwarf_child) (&root->die, &state.child.die)) != 0) in __libdw_visit_scopes() 108 return walk_children (&state); in __libdw_visit_scopes() 112 walk_children (struct walk_children_state *state) in walk_children() argument 121 while (INTUSE(dwarf_tag) (&state->child.die) == DW_TAG_imported_unit) in walk_children() 123 Dwarf_Die orig_child_die = state->child.die; in walk_children() 125 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&state->child.die, in walk_children() 130 if (INTUSE(dwarf_formref_die) (attr, &state in walk_children() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_atomic_uapi.c | 57 * @state: the CRTC whose incoming state to update 60 * Set a mode (originating from the kernel) on the desired CRTC state and update 66 int drm_atomic_set_mode_for_crtc(struct drm_crtc_state *state, in drm_atomic_set_mode_for_crtc() argument 69 struct drm_crtc *crtc = state->crtc; in drm_atomic_set_mode_for_crtc() 73 if (mode && memcmp(&state->mode, mode, sizeof(*mode)) == 0) in drm_atomic_set_mode_for_crtc() 76 drm_property_blob_put(state->mode_blob); in drm_atomic_set_mode_for_crtc() 77 state->mode_blob = NULL; in drm_atomic_set_mode_for_crtc() 88 drm_mode_copy(&state->mode, mode); in drm_atomic_set_mode_for_crtc() 90 state in drm_atomic_set_mode_for_crtc() 120 drm_atomic_set_mode_prop_for_crtc(struct drm_crtc_state *state, struct drm_property_blob *blob) drm_atomic_set_mode_prop_for_crtc() argument 319 set_out_fence_for_crtc(struct drm_atomic_state *state, struct drm_crtc *crtc, s32 __user *fence_ptr) set_out_fence_for_crtc() argument 325 get_out_fence_for_crtc(struct drm_atomic_state *state, struct drm_crtc *crtc) get_out_fence_for_crtc() argument 336 set_out_fence_for_connector(struct drm_atomic_state *state, struct drm_connector *connector, s32 __user *fence_ptr) set_out_fence_for_connector() argument 353 get_out_fence_for_connector(struct drm_atomic_state *state, struct drm_connector *connector) get_out_fence_for_connector() argument 407 drm_atomic_crtc_set_property(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property, uint64_t val) drm_atomic_crtc_set_property() argument 476 drm_atomic_crtc_get_property(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val) drm_atomic_crtc_get_property() argument 512 drm_atomic_plane_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) drm_atomic_plane_set_property() argument 608 drm_atomic_plane_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) drm_atomic_plane_get_property() argument 690 drm_atomic_connector_set_property(struct drm_connector *connector, struct drm_connector_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) drm_atomic_connector_set_property() argument 816 drm_atomic_connector_get_property(struct drm_connector *connector, const struct drm_connector_state *state, struct drm_property *property, uint64_t *val) drm_atomic_connector_get_property() argument 959 drm_atomic_connector_commit_dpms(struct drm_atomic_state *state, struct drm_connector *connector, int mode) drm_atomic_connector_commit_dpms() argument 1009 drm_atomic_set_property(struct drm_atomic_state *state, struct drm_file *file_priv, struct drm_mode_object *obj, struct drm_property *prop, uint64_t prop_value) drm_atomic_set_property() argument 1151 prepare_signaling(struct drm_device *dev, struct drm_atomic_state *state, struct drm_mode_atomic *arg, struct drm_file *file_priv, struct drm_out_fence_state **fence_state, unsigned int *num_fences) prepare_signaling() argument 1276 complete_signaling(struct drm_device *dev, struct drm_atomic_state *state, struct drm_out_fence_state *fence_state, unsigned int num_fences, bool install_fds) complete_signaling() argument 1335 struct drm_atomic_state *state; drm_mode_atomic_ioctl() local [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-tuner.c | 34 static int mxl111sf_tuner_read_reg(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_read_reg() argument 37 return (state->cfg->read_reg) ? in mxl111sf_tuner_read_reg() 38 state->cfg->read_reg(state->mxl_state, addr, data) : in mxl111sf_tuner_read_reg() 42 static int mxl111sf_tuner_write_reg(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_write_reg() argument 45 return (state->cfg->write_reg) ? in mxl111sf_tuner_write_reg() 46 state->cfg->write_reg(state->mxl_state, addr, data) : in mxl111sf_tuner_write_reg() 50 static int mxl111sf_tuner_program_regs(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_program_regs() argument 53 return (state in mxl111sf_tuner_program_regs() 58 mxl1x1sf_tuner_top_master_ctrl(struct mxl111sf_tuner_state *state, int onoff) mxl1x1sf_tuner_top_master_ctrl() argument 124 mxl1x1sf_tuner_set_if_output_freq(struct mxl111sf_tuner_state *state) mxl1x1sf_tuner_set_if_output_freq() argument 188 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl1x1sf_tune_rf() local 231 mxl1x1sf_tuner_get_lock_status(struct mxl111sf_tuner_state *state, int *rf_synth_lock, int *ref_synth_lock) mxl1x1sf_tuner_get_lock_status() argument 266 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_set_params() local 338 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_get_status() local 357 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_get_rf_strength() local 385 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_get_frequency() local 392 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_get_bandwidth() local 400 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_get_if_frequency() local 447 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_release() local 481 struct mxl111sf_tuner_state *state = NULL; mxl111sf_tuner_attach() local [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-tuner.c | 34 static int mxl111sf_tuner_read_reg(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_read_reg() argument 37 return (state->cfg->read_reg) ? in mxl111sf_tuner_read_reg() 38 state->cfg->read_reg(state->mxl_state, addr, data) : in mxl111sf_tuner_read_reg() 42 static int mxl111sf_tuner_write_reg(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_write_reg() argument 45 return (state->cfg->write_reg) ? in mxl111sf_tuner_write_reg() 46 state->cfg->write_reg(state->mxl_state, addr, data) : in mxl111sf_tuner_write_reg() 50 static int mxl111sf_tuner_program_regs(struct mxl111sf_tuner_state *state, in mxl111sf_tuner_program_regs() argument 53 return (state in mxl111sf_tuner_program_regs() 58 mxl1x1sf_tuner_top_master_ctrl(struct mxl111sf_tuner_state *state, int onoff) mxl1x1sf_tuner_top_master_ctrl() argument 124 mxl1x1sf_tuner_set_if_output_freq(struct mxl111sf_tuner_state *state) mxl1x1sf_tuner_set_if_output_freq() argument 188 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl1x1sf_tune_rf() local 231 mxl1x1sf_tuner_get_lock_status(struct mxl111sf_tuner_state *state, int *rf_synth_lock, int *ref_synth_lock) mxl1x1sf_tuner_get_lock_status() argument 266 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_set_params() local 338 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_get_status() local 357 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_get_rf_strength() local 385 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_get_frequency() local 392 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_get_bandwidth() local 400 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_get_if_frequency() local 447 struct mxl111sf_tuner_state *state = fe->tuner_priv; mxl111sf_tuner_release() local 481 struct mxl111sf_tuner_state *state = NULL; mxl111sf_tuner_attach() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/chemical/ |
H A D | scd30_core.c | 51 static int scd30_command_write(struct scd30_state *state, enum scd30_cmd cmd, u16 arg) in scd30_command_write() argument 53 return state->command(state, cmd, arg, NULL, 0); in scd30_command_write() 56 static int scd30_command_read(struct scd30_state *state, enum scd30_cmd cmd, u16 *val) in scd30_command_read() argument 61 ret = state->command(state, cmd, 0, &tmp, sizeof(tmp)); in scd30_command_read() 67 static int scd30_reset(struct scd30_state *state) in scd30_reset() argument 72 ret = scd30_command_write(state, CMD_RESET, 0); in scd30_reset() 80 * some controllers end up in error state. Try to recover by placing in scd30_reset() 83 scd30_command_read(state, CMD_MEAS_READ in scd30_reset() 115 scd30_read_meas(struct scd30_state *state) scd30_read_meas() argument 138 scd30_wait_meas_irq(struct scd30_state *state) scd30_wait_meas_irq() argument 156 scd30_wait_meas_poll(struct scd30_state *state) scd30_wait_meas_poll() argument 178 scd30_read_poll(struct scd30_state *state) scd30_read_poll() argument 189 scd30_read(struct scd30_state *state) scd30_read() argument 200 struct scd30_state *state = iio_priv(indio_dev); scd30_read_raw() local 259 struct scd30_state *state = iio_priv(indio_dev); scd30_write_raw() local 375 struct scd30_state *state = iio_priv(indio_dev); calibration_auto_enable_show() local 390 struct scd30_state *state = iio_priv(indio_dev); calibration_auto_enable_store() local 409 struct scd30_state *state = iio_priv(indio_dev); calibration_forced_value_show() local 424 struct scd30_state *state = iio_priv(indio_dev); calibration_forced_value_store() local 523 struct scd30_state *state = iio_priv(indio_dev); scd30_suspend() local 536 struct scd30_state *state = iio_priv(indio_dev); scd30_resume() local 550 struct scd30_state *state = data; scd30_stop_meas() local 557 struct scd30_state *state = data; scd30_disable_regulator() local 578 struct scd30_state *state = iio_priv(indio_dev); scd30_irq_thread_handler() local 594 struct scd30_state *state = iio_priv(indio_dev); scd30_trigger_handler() local 618 scd30_set_trigger_state(struct iio_trigger *trig, bool state) scd30_set_trigger_state() argument 638 struct scd30_state *state = iio_priv(indio_dev); scd30_setup_trigger() local 677 struct scd30_state *state; scd30_probe() local [all...] |
/third_party/mesa3d/src/freedreno/decode/ |
H A D | pgmdump.c | 233 struct state { struct 278 next_sect(struct state *state, int *sect_size) in next_sect() argument 280 char *end = find_sect_end(state->buf, state->sz); in next_sect() 286 *sect_size = end - state->buf; in next_sect() 290 memcpy(sect, state->buf, *sect_size); in next_sect() 292 state->sz -= *sect_size + 4; in next_sect() 293 state->buf = end + 4; in next_sect() 387 dump_short_summary(struct state *stat argument 431 dump_shaders_a2xx(struct state *state) dump_shaders_a2xx() argument 533 dump_shaders_a3xx(struct state *state) dump_shaders_a3xx() argument 701 dump_program(struct state *state) dump_program() argument 1008 struct state state = { main() local 1070 struct state state = { main() local [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_compiler_nir_liveness.c | 55 struct live_defs_state *state) in init_liveness_block() 58 state->bitset_words); in init_liveness_block() 59 memset(block->live_in, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block() 62 state->bitset_words); in init_liveness_block() 63 memset(block->live_out, 0, state->bitset_words * sizeof(BITSET_WORD)); in init_liveness_block() 65 nir_block_worklist_push_head(&state->worklist, block); in init_liveness_block() 73 struct live_defs_state *state = void_state; in set_src_live() local 90 set_src_live(&alu->src[i].src, state); in set_src_live() 99 unsigned i = state->live_map[src_index(state in set_src_live() 54 init_liveness_block(nir_block *block, struct live_defs_state *state) init_liveness_block() argument 109 propagate_across_edge(nir_block *pred, nir_block *succ, struct live_defs_state *state) propagate_across_edge() argument 123 struct live_defs_state state; etna_live_defs() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | PixelProcessor.cpp | 30 uint32_t *state = reinterpret_cast<uint32_t *>(this); in computeHash() local 35 hash ^= state[i]; in computeHash() 41 bool PixelProcessor::State::operator==(const State &state) const in operator ==() 43 if(hash != state.hash) in operator ==() 48 return *static_cast<const States *>(this) == static_cast<const States &>(state); in operator ==() 76 State state; in update() local 78 state.numClipDistances = vertexShader->getNumOutputClipDistances(); in update() 79 state.numCullDistances = vertexShader->getNumOutputCullDistances(); in update() 83 state.shaderID = fragmentShader->getIdentifier(); in update() 84 state in update() 179 routine(const State &state, const vk::PipelineLayout *pipelineLayout, const SpirvShader *pixelShader, const vk::DescriptorSet::Bindings &descriptorSets) routine() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_plane.c | 30 * without keeping any external state to avoid races between .atomic_check() 39 * For this to work we need to access the current state of planes not touched by 70 static unsigned int rcar_du_plane_hwmask(struct rcar_du_plane_state *state) in rcar_du_plane_hwmask() argument 74 if (state->hwindex == -1) in rcar_du_plane_hwmask() 77 mask = 1 << state->hwindex; in rcar_du_plane_hwmask() 78 if (state->format->planes == 2) in rcar_du_plane_hwmask() 79 mask |= 1 << ((state->hwindex + 1) % 8); in rcar_du_plane_hwmask() 97 struct rcar_du_plane_state *state, in rcar_du_plane_hwalloc() 100 unsigned int num_planes = state->format->planes; in rcar_du_plane_hwalloc() 104 if (state in rcar_du_plane_hwalloc() 96 rcar_du_plane_hwalloc(struct rcar_du_plane *plane, struct rcar_du_plane_state *state, unsigned int free) rcar_du_plane_hwalloc() argument 129 rcar_du_atomic_check_planes(struct drm_device *dev, struct drm_atomic_state *state) rcar_du_atomic_check_planes() argument 329 rcar_du_plane_setup_scanout(struct rcar_du_group *rgrp, const struct rcar_du_plane_state *state) rcar_du_plane_setup_scanout() argument 402 rcar_du_plane_setup_mode(struct rcar_du_group *rgrp, unsigned int index, const struct rcar_du_plane_state *state) rcar_du_plane_setup_mode() argument 465 rcar_du_plane_setup_format_gen2(struct rcar_du_group *rgrp, unsigned int index, const struct rcar_du_plane_state *state) rcar_du_plane_setup_format_gen2() argument 505 rcar_du_plane_setup_format_gen3(struct rcar_du_group *rgrp, unsigned int index, const struct rcar_du_plane_state *state) rcar_du_plane_setup_format_gen3() argument 534 rcar_du_plane_setup_format(struct rcar_du_group *rgrp, unsigned int index, const struct rcar_du_plane_state *state) rcar_du_plane_setup_format() argument 561 __rcar_du_plane_setup(struct rcar_du_group *rgrp, const struct rcar_du_plane_state *state) __rcar_du_plane_setup() argument 592 __rcar_du_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state, const struct rcar_du_format_info **format) __rcar_du_plane_atomic_check() argument 637 rcar_du_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) rcar_du_plane_atomic_check() argument 648 rcar_du_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) rcar_du_plane_atomic_update() argument 686 struct rcar_du_plane_state *state; rcar_du_plane_atomic_duplicate_state() local 702 rcar_du_plane_atomic_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) rcar_du_plane_atomic_destroy_state() argument 711 struct rcar_du_plane_state *state; rcar_du_plane_reset() local 729 rcar_du_plane_atomic_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) rcar_du_plane_atomic_set_property() argument 745 rcar_du_plane_atomic_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) rcar_du_plane_atomic_get_property() argument [all...] |
/third_party/node/deps/v8/src/libsampler/ |
H A D | sampler.cc | 232 void SamplerManager::DoSample(const v8::RegisterState& state) { in DoSample() argument 246 sampler->SampleStack(state); in DoSample() 351 // Protects the process wide state below. 367 v8::RegisterState state; in HandleProfilerSignal() 368 FillRegisterState(context, &state); in HandleProfilerSignal() 369 SamplerManager::instance()->DoSample(state); in HandleProfilerSignal() 372 void SignalHandler::FillRegisterState(void* context, RegisterState* state) { in FillRegisterState() argument 382 state->pc = reinterpret_cast<void*>(mcontext.gregs[REG_EIP]); in FillRegisterState() 383 state->sp = reinterpret_cast<void*>(mcontext.gregs[REG_ESP]); in FillRegisterState() 384 state in FillRegisterState() 591 v8::RegisterState state; DoSample() local 637 v8::RegisterState state; DoSample() local [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | ParsingPrimitivesMessages.cs | 47 public static void SkipLastField(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in SkipLastField() argument 49 if (state.lastTag == 0) in SkipLastField() 53 switch (WireFormat.GetTagWireType(state.lastTag)) in SkipLastField() 56 SkipGroup(ref buffer, ref state, state.lastTag); in SkipLastField() 62 ParsingPrimitives.ParseRawLittleEndian32(ref buffer, ref state); in SkipLastField() 65 ParsingPrimitives.ParseRawLittleEndian64(ref buffer, ref state); in SkipLastField() 68 var length = ParsingPrimitives.ParseLength(ref buffer, ref state); in SkipLastField() 69 ParsingPrimitives.SkipRawBytes(ref buffer, ref state, length); in SkipLastField() 72 ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in SkipLastField() 80 SkipGroup(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, uint startGroupTag) SkipGroup() argument 214 CheckReadEndOfStreamTag(ref ParserInternalState state) CheckReadEndOfStreamTag() argument 222 CheckLastTagWas(ref ParserInternalState state, uint expectedTag) CheckLastTagWas() argument [all...] |