/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_point.c | 65 struct point_info *info, in constant_coef() 70 info->a0[slot][i] = value; in constant_coef() 71 info->dadx[slot][i] = 0.0f; in constant_coef() 72 info->dady[slot][i] = 0.0f; in constant_coef() 78 const struct point_info *info, in point_persp_coeff() 89 float w0 = info->v0[0][3]; in point_persp_coeff() 93 info->a0[slot][i] = info->v0[slot][i]*w0; in point_persp_coeff() 94 info->dadx[slot][i] = 0.0f; in point_persp_coeff() 95 info in point_persp_coeff() 64 constant_coef(struct lp_setup_context *setup, struct point_info *info, unsigned slot, const float value, unsigned i) constant_coef() argument 77 point_persp_coeff(struct lp_setup_context *setup, const struct point_info *info, unsigned slot, unsigned i) point_persp_coeff() argument 108 texcoord_coef(struct lp_setup_context *setup, const struct point_info *info, unsigned slot, unsigned i, unsigned sprite_coord_origin, boolean perspective) texcoord_coef() argument 175 setup_point_fragcoord_coef(struct lp_setup_context *setup, struct point_info *info, unsigned slot, unsigned usage_mask) setup_point_fragcoord_coef() argument 210 setup_point_coefficients( struct lp_setup_context *setup, struct point_info *info) setup_point_coefficients() argument 357 struct point_info info; try_setup_point() local [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_blitter.c | 82 can_do_blit(const struct pipe_blit_info *info) in can_do_blit() argument 87 if (info->dst.box.depth != info->src.box.depth) in can_do_blit() 90 if (!ok_format(info->dst.format)) in can_do_blit() 93 if (!ok_format(info->src.format)) in can_do_blit() 101 if ((fd_resource(info->dst.resource)->layout.tile_mode || in can_do_blit() 102 fd_resource(info->src.resource)->layout.tile_mode) && in can_do_blit() 103 info->dst.format != info->src.format) in can_do_blit() 107 if ((info in can_do_blit() 191 emit_blit_buffer(struct fd_ringbuffer *ring, const struct pipe_blit_info *info) emit_blit_buffer() argument 306 emit_blit(struct fd_ringbuffer *ring, const struct pipe_blit_info *info) emit_blit() argument [all...] |
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | vf610_adc.c | 180 static inline void vf610_adc_calculate_rates(struct vf610_adc *info) in vf610_adc_calculate_rates() argument 182 struct vf610_adc_feature *adc_feature = &info->adc_feature; in vf610_adc_calculate_rates() 183 unsigned long adck_rate, ipg_rate = clk_get_rate(info->clk); in vf610_adc_calculate_rates() 187 adck_rate = info->max_adck_rate[adc_feature->conv_mode]; in vf610_adc_calculate_rates() 225 info->sample_freq_avail[i] = in vf610_adc_calculate_rates() 230 static inline void vf610_adc_cfg_init(struct vf610_adc *info) in vf610_adc_cfg_init() argument 232 struct vf610_adc_feature *adc_feature = &info->adc_feature; in vf610_adc_cfg_init() 246 vf610_adc_calculate_rates(info); in vf610_adc_cfg_init() 249 static void vf610_adc_cfg_post_set(struct vf610_adc *info) in vf610_adc_cfg_post_set() argument 251 struct vf610_adc_feature *adc_feature = &info in vf610_adc_cfg_post_set() 294 vf610_adc_calibration(struct vf610_adc *info) vf610_adc_calibration() argument 318 vf610_adc_cfg_set(struct vf610_adc *info) vf610_adc_cfg_set() argument 336 vf610_adc_sample_set(struct vf610_adc *info) vf610_adc_sample_set() argument 452 vf610_adc_hw_init(struct vf610_adc *info) vf610_adc_hw_init() argument 469 struct vf610_adc *info = iio_priv(indio_dev); vf610_set_conversion_mode() local 483 struct vf610_adc *info = iio_priv(indio_dev); vf610_get_conversion_mode() local 553 vf610_adc_read_data(struct vf610_adc *info) vf610_adc_read_data() argument 579 struct vf610_adc *info = iio_priv(indio_dev); vf610_adc_isr() local 601 struct vf610_adc *info = iio_priv(dev_to_iio_dev(dev)); vf610_show_samp_freq_avail() local 632 struct vf610_adc *info = iio_priv(indio_dev); vf610_read_raw() local 705 struct vf610_adc *info = iio_priv(indio_dev); vf610_write_raw() local 729 struct vf610_adc *info = iio_priv(indio_dev); vf610_adc_buffer_postenable() local 750 struct vf610_adc *info = iio_priv(indio_dev); vf610_adc_buffer_predisable() local 776 struct vf610_adc *info = iio_priv(indio_dev); vf610_adc_reg_access() local 802 struct vf610_adc *info; vf610_adc_probe() local 905 struct vf610_adc *info = iio_priv(indio_dev); vf610_adc_remove() local 919 struct vf610_adc *info = iio_priv(indio_dev); vf610_adc_suspend() local 936 struct vf610_adc *info = iio_priv(indio_dev); vf610_adc_resume() local [all...] |
H A D | stmpe-adc.c | 61 static int stmpe_read_voltage(struct stmpe_adc *info, in stmpe_read_voltage() argument 66 mutex_lock(&info->lock); in stmpe_read_voltage() 68 reinit_completion(&info->completion); in stmpe_read_voltage() 70 info->channel = (u8)chan->channel; in stmpe_read_voltage() 72 if (info->channel > STMPE_ADC_LAST_NR) { in stmpe_read_voltage() 73 mutex_unlock(&info->lock); in stmpe_read_voltage() 77 stmpe_reg_write(info->stmpe, STMPE_REG_ADC_CAPT, in stmpe_read_voltage() 78 STMPE_ADC_CH(info->channel)); in stmpe_read_voltage() 80 ret = wait_for_completion_timeout(&info->completion, STMPE_ADC_TIMEOUT); in stmpe_read_voltage() 83 stmpe_reg_write(info in stmpe_read_voltage() 96 stmpe_read_temp(struct stmpe_adc *info, struct iio_chan_spec const *chan, int *val) stmpe_read_temp() argument 139 struct stmpe_adc *info = iio_priv(indio_dev); stmpe_read_raw() local 177 struct stmpe_adc *info = (struct stmpe_adc *)dev_id; stmpe_adc_isr() local 256 struct stmpe_adc *info; stmpe_adc_probe() local 338 struct stmpe_adc *info = iio_priv(indio_dev); stmpe_adc_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | synaptics.c | 242 struct synaptics_device_info *info) in synaptics_identify() 246 error = synaptics_query_int(psmouse, SYN_QUE_IDENTIFY, &info->identity); in synaptics_identify() 250 return SYN_ID_IS_SYNAPTICS(info->identity) ? 0 : -ENXIO; in synaptics_identify() 258 struct synaptics_device_info *info) in synaptics_model_id() 260 return synaptics_query_int(psmouse, SYN_QUE_MODEL, &info->model_id); in synaptics_model_id() 267 struct synaptics_device_info *info) in synaptics_firmware_id() 270 &info->firmware_id); in synaptics_firmware_id() 278 struct synaptics_device_info *info) in synaptics_query_modes() 284 if (SYN_ID_FULL(info->identity) < 0x705) in synaptics_query_modes() 291 info in synaptics_query_modes() 241 synaptics_identify(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_identify() argument 257 synaptics_model_id(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_model_id() argument 266 synaptics_firmware_id(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_firmware_id() argument 277 synaptics_query_modes(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_query_modes() argument 304 synaptics_capability(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_capability() argument 361 synaptics_resolution(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_resolution() argument 419 synaptics_query_hardware(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_query_hardware() argument 526 synaptics_apply_quirks(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_apply_quirks() argument 1066 struct synaptics_device_info *info = &priv->info; synaptics_process_packet() local 1231 set_abs_position_params(struct input_dev *dev, struct synaptics_device_info *info, int x_code, int y_code) set_abs_position_params() argument 1252 struct synaptics_device_info *info = &priv->info; set_input_params() local 1423 struct synaptics_device_info info; synaptics_reconnect() local 1552 synaptics_init_ps2(struct psmouse *psmouse, struct synaptics_device_info *info, bool absolute_mode) synaptics_init_ps2() argument 1662 struct synaptics_device_info info; __synaptics_init() local 1686 synaptics_setup_ps2(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_setup_ps2() argument 1718 synaptics_setup_ps2(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_setup_ps2() argument 1744 synaptics_create_intertouch(struct psmouse *psmouse, struct synaptics_device_info *info, bool leave_breadcrumbs) synaptics_create_intertouch() argument 1779 synaptics_setup_intertouch(struct psmouse *psmouse, struct synaptics_device_info *info, bool leave_breadcrumbs) synaptics_setup_intertouch() argument 1819 struct synaptics_device_info info; synaptics_init_smbus() local 1839 synaptics_setup_intertouch(struct psmouse *psmouse, struct synaptics_device_info *info, bool leave_breadcrumbs) synaptics_setup_intertouch() argument 1858 struct synaptics_device_info info; synaptics_init() local [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_ir_performance.cpp | 261 * relative to info field Y, while X_1 specifies the independent term of 265 calculate_desc(const instruction_info &info, enum intel_eu_unit u, in calculate_desc() argument 271 return perf_desc(u, df_1 + df_sd * int(info.sd) + df_sc * int(info.sc), in calculate_desc() 272 db_1 + db_sx * int(info.sx), in calculate_desc() 273 ls_1 + l_ss * int(info.ss), in calculate_desc() 274 ld_1 + l_ss * int(info.ss) + l_sd * int(info.sd), in calculate_desc() 293 instruction_desc(const instruction_info &info) in instruction_desc() argument 295 const struct intel_device_info *devinfo = info in instruction_desc() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | fbcon.h | 7 int fbcon_fb_registered(struct fb_info *info); 8 void fbcon_fb_unregistered(struct fb_info *info); 9 void fbcon_fb_unbind(struct fb_info *info); 10 void fbcon_suspended(struct fb_info *info); 11 void fbcon_resumed(struct fb_info *info); 12 int fbcon_mode_deleted(struct fb_info *info, 14 void fbcon_new_modelist(struct fb_info *info); 15 void fbcon_get_requirement(struct fb_info *info, 17 void fbcon_fb_blanked(struct fb_info *info, int blank); 18 int fbcon_modechange_possible(struct fb_info *info, 27 fbcon_fb_registered(struct fb_info *info) fbcon_fb_registered() argument 28 fbcon_fb_unregistered(struct fb_info *info) fbcon_fb_unregistered() argument 29 fbcon_fb_unbind(struct fb_info *info) fbcon_fb_unbind() argument 30 fbcon_suspended(struct fb_info *info) fbcon_suspended() argument 31 fbcon_resumed(struct fb_info *info) fbcon_resumed() argument 32 fbcon_mode_deleted(struct fb_info *info, struct fb_videomode *mode) fbcon_mode_deleted() argument 34 fbcon_new_modelist(struct fb_info *info) fbcon_new_modelist() argument 35 fbcon_get_requirement(struct fb_info *info, struct fb_blit_caps *caps) fbcon_get_requirement() argument 37 fbcon_fb_blanked(struct fb_info *info, int blank) fbcon_fb_blanked() argument 38 fbcon_modechange_possible(struct fb_info *info, struct fb_var_screeninfo *var) fbcon_modechange_possible() argument 40 fbcon_update_vcs(struct fb_info *info, bool all) fbcon_update_vcs() argument 41 fbcon_remap_all(struct fb_info *info) fbcon_remap_all() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | fbcon.h | 7 int fbcon_fb_registered(struct fb_info *info); 8 void fbcon_fb_unregistered(struct fb_info *info); 9 void fbcon_fb_unbind(struct fb_info *info); 10 void fbcon_suspended(struct fb_info *info); 11 void fbcon_resumed(struct fb_info *info); 12 int fbcon_mode_deleted(struct fb_info *info, 14 void fbcon_new_modelist(struct fb_info *info); 15 void fbcon_get_requirement(struct fb_info *info, 17 void fbcon_fb_blanked(struct fb_info *info, int blank); 18 int fbcon_modechange_possible(struct fb_info *info, 27 fbcon_fb_registered(struct fb_info *info) fbcon_fb_registered() argument 28 fbcon_fb_unregistered(struct fb_info *info) fbcon_fb_unregistered() argument 29 fbcon_fb_unbind(struct fb_info *info) fbcon_fb_unbind() argument 30 fbcon_suspended(struct fb_info *info) fbcon_suspended() argument 31 fbcon_resumed(struct fb_info *info) fbcon_resumed() argument 32 fbcon_mode_deleted(struct fb_info *info, struct fb_videomode *mode) fbcon_mode_deleted() argument 34 fbcon_new_modelist(struct fb_info *info) fbcon_new_modelist() argument 35 fbcon_get_requirement(struct fb_info *info, struct fb_blit_caps *caps) fbcon_get_requirement() argument 37 fbcon_fb_blanked(struct fb_info *info, int blank) fbcon_fb_blanked() argument 38 fbcon_modechange_possible(struct fb_info *info, struct fb_var_screeninfo *var) fbcon_modechange_possible() argument 40 fbcon_update_vcs(struct fb_info *info, bool all) fbcon_update_vcs() argument 41 fbcon_remap_all(struct fb_info *info) fbcon_remap_all() argument [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | synaptics.c | 244 struct synaptics_device_info *info) in synaptics_identify() 248 error = synaptics_query_int(psmouse, SYN_QUE_IDENTIFY, &info->identity); in synaptics_identify() 252 return SYN_ID_IS_SYNAPTICS(info->identity) ? 0 : -ENXIO; in synaptics_identify() 260 struct synaptics_device_info *info) in synaptics_model_id() 262 return synaptics_query_int(psmouse, SYN_QUE_MODEL, &info->model_id); in synaptics_model_id() 269 struct synaptics_device_info *info) in synaptics_firmware_id() 272 &info->firmware_id); in synaptics_firmware_id() 280 struct synaptics_device_info *info) in synaptics_query_modes() 286 if (SYN_ID_FULL(info->identity) < 0x705) in synaptics_query_modes() 293 info in synaptics_query_modes() 243 synaptics_identify(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_identify() argument 259 synaptics_model_id(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_model_id() argument 268 synaptics_firmware_id(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_firmware_id() argument 279 synaptics_query_modes(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_query_modes() argument 306 synaptics_capability(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_capability() argument 363 synaptics_resolution(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_resolution() argument 421 synaptics_query_hardware(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_query_hardware() argument 528 synaptics_apply_quirks(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_apply_quirks() argument 1068 struct synaptics_device_info *info = &priv->info; synaptics_process_packet() local 1236 set_abs_position_params(struct input_dev *dev, struct synaptics_device_info *info, int x_code, int y_code) set_abs_position_params() argument 1257 struct synaptics_device_info *info = &priv->info; set_input_params() local 1428 struct synaptics_device_info info; synaptics_reconnect() local 1557 synaptics_init_ps2(struct psmouse *psmouse, struct synaptics_device_info *info, bool absolute_mode) synaptics_init_ps2() argument 1667 struct synaptics_device_info info; __synaptics_init() local 1691 synaptics_setup_ps2(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_setup_ps2() argument 1723 synaptics_setup_ps2(struct psmouse *psmouse, struct synaptics_device_info *info) synaptics_setup_ps2() argument 1749 synaptics_create_intertouch(struct psmouse *psmouse, struct synaptics_device_info *info, bool leave_breadcrumbs) synaptics_create_intertouch() argument 1784 synaptics_setup_intertouch(struct psmouse *psmouse, struct synaptics_device_info *info, bool leave_breadcrumbs) synaptics_setup_intertouch() argument 1824 struct synaptics_device_info info; synaptics_init_smbus() local 1844 synaptics_setup_intertouch(struct psmouse *psmouse, struct synaptics_device_info *info, bool leave_breadcrumbs) synaptics_setup_intertouch() argument 1863 struct synaptics_device_info info; synaptics_init() local [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_rateest.c | 17 const struct xt_rateest_match_info *info = par->matchinfo; in xt_rateest_mt() local 22 gen_estimator_read(&info->est1->rate_est, &sample); in xt_rateest_mt() 24 if (info->flags & XT_RATEEST_MATCH_DELTA) { in xt_rateest_mt() 25 bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0; in xt_rateest_mt() 26 pps1 = info->pps1 >= sample.pps ? info->pps1 - sample.pps : 0; in xt_rateest_mt() 32 if (info->flags & XT_RATEEST_MATCH_ABS) { in xt_rateest_mt() 33 bps2 = info->bps2; in xt_rateest_mt() 34 pps2 = info in xt_rateest_mt() 74 struct xt_rateest_match_info *info = par->matchinfo; xt_rateest_mt_checkentry() local 118 struct xt_rateest_match_info *info = par->matchinfo; xt_rateest_mt_destroy() local [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_rateest.c | 17 const struct xt_rateest_match_info *info = par->matchinfo; in xt_rateest_mt() local 22 gen_estimator_read(&info->est1->rate_est, &sample); in xt_rateest_mt() 24 if (info->flags & XT_RATEEST_MATCH_DELTA) { in xt_rateest_mt() 25 bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0; in xt_rateest_mt() 26 pps1 = info->pps1 >= sample.pps ? info->pps1 - sample.pps : 0; in xt_rateest_mt() 32 if (info->flags & XT_RATEEST_MATCH_ABS) { in xt_rateest_mt() 33 bps2 = info->bps2; in xt_rateest_mt() 34 pps2 = info in xt_rateest_mt() 74 struct xt_rateest_match_info *info = par->matchinfo; xt_rateest_mt_checkentry() local 118 struct xt_rateest_match_info *info = par->matchinfo; xt_rateest_mt_destroy() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vdpau_vc1.c | 41 VdpPictureInfoVC1 *info = &pic_ctx->info.vc1; in vdpau_vc1_start_frame() local 45 info->forward_reference = VDP_INVALID_HANDLE; in vdpau_vc1_start_frame() 46 info->backward_reference = VDP_INVALID_HANDLE; in vdpau_vc1_start_frame() 53 info->backward_reference = ref; in vdpau_vc1_start_frame() 60 info->forward_reference = ref; in vdpau_vc1_start_frame() 64 info->slice_count = 0; in vdpau_vc1_start_frame() 66 info->picture_type = 4; in vdpau_vc1_start_frame() 68 info->picture_type = s->pict_type - 1 + s->pict_type / 3; in vdpau_vc1_start_frame() 70 info in vdpau_vc1_start_frame() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser.c | 68 struct graphics_object_i2c_info *info); 92 struct embedded_panel_info *info); 219 struct graphics_object_i2c_info *info) in bios_parser_get_i2c_info() 227 if (!info) in bios_parser_get_i2c_info() 250 /* get the I2C info */ in bios_parser_get_i2c_info() 253 if (get_gpio_i2c_info(bp, record, info) == BP_RESULT_OK) in bios_parser_get_i2c_info() 265 struct graphics_object_hpd_info *info) in bios_parser_get_hpd_info() 271 if (!info) in bios_parser_get_hpd_info() 282 info->hpd_int_gpio_uid = record->ucHPDIntGPIOID; in bios_parser_get_hpd_info() 283 info in bios_parser_get_hpd_info() 217 bios_parser_get_i2c_info(struct dc_bios *dcb, struct graphics_object_id id, struct graphics_object_i2c_info *info) bios_parser_get_i2c_info() argument 263 bios_parser_get_hpd_info(struct dc_bios *dcb, struct graphics_object_id id, struct graphics_object_hpd_info *info) bios_parser_get_hpd_info() argument 327 bios_parser_get_device_tag( struct dc_bios *dcb, struct graphics_object_id connector_object_id, uint32_t device_tag_index, struct connector_device_tag_info *info) bios_parser_get_device_tag() argument 375 bios_parser_get_firmware_info( struct dc_bios *dcb, struct dc_firmware_info *info) bios_parser_get_firmware_info() argument 419 get_firmware_info_v1_4( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v1_4() argument 469 get_firmware_info_v2_1( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v2_1() argument 553 get_firmware_info_v2_2( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v2_2() argument 1018 get_ss_info_from_internal_ss_info_tbl_V2_1( struct bios_parser *bp, uint32_t id, struct spread_spectrum_info *info) get_ss_info_from_internal_ss_info_tbl_V2_1() argument 1174 bios_parser_get_embedded_panel_info( struct dc_bios *dcb, struct embedded_panel_info *info) bios_parser_get_embedded_panel_info() argument 1208 get_embedded_panel_info_v1_2( struct bios_parser *bp, struct embedded_panel_info *info) get_embedded_panel_info_v1_2() argument 1327 get_embedded_panel_info_v1_3( struct bios_parser *bp, struct embedded_panel_info *info) get_embedded_panel_info_v1_3() argument 1464 bios_parser_get_encoder_cap_info( struct dc_bios *dcb, struct graphics_object_id object_id, struct bp_encoder_cap_info *info) bios_parser_get_encoder_cap_info() argument 1778 bios_parser_get_gpio_pin_info( struct dc_bios *dcb, uint32_t gpio_id, struct gpio_pin_info *info) bios_parser_get_gpio_pin_info() argument 1827 get_gpio_i2c_info(struct bios_parser *bp, ATOM_I2C_RECORD *record, struct graphics_object_i2c_info *info) get_gpio_i2c_info() argument 2228 get_integrated_info_v8( struct bios_parser *bp, struct integrated_info *info) get_integrated_info_v8() argument 2378 get_integrated_info_v9( struct bios_parser *bp, struct integrated_info *info) get_integrated_info_v9() argument 2515 construct_integrated_info( struct bios_parser *bp, struct integrated_info *info) construct_integrated_info() argument 2570 struct integrated_info *info = NULL; bios_parser_create_integrated_info() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser.c | 67 struct graphics_object_i2c_info *info); 91 struct embedded_panel_info *info); 221 struct graphics_object_i2c_info *info) in bios_parser_get_i2c_info() 229 if (!info) in bios_parser_get_i2c_info() 252 /* get the I2C info */ in bios_parser_get_i2c_info() 255 if (get_gpio_i2c_info(bp, record, info) == BP_RESULT_OK) in bios_parser_get_i2c_info() 267 struct graphics_object_hpd_info *info) in bios_parser_get_hpd_info() 273 if (!info) in bios_parser_get_hpd_info() 284 info->hpd_int_gpio_uid = record->ucHPDIntGPIOID; in bios_parser_get_hpd_info() 285 info in bios_parser_get_hpd_info() 219 bios_parser_get_i2c_info(struct dc_bios *dcb, struct graphics_object_id id, struct graphics_object_i2c_info *info) bios_parser_get_i2c_info() argument 265 bios_parser_get_hpd_info(struct dc_bios *dcb, struct graphics_object_id id, struct graphics_object_hpd_info *info) bios_parser_get_hpd_info() argument 329 bios_parser_get_device_tag( struct dc_bios *dcb, struct graphics_object_id connector_object_id, uint32_t device_tag_index, struct connector_device_tag_info *info) bios_parser_get_device_tag() argument 377 bios_parser_get_firmware_info( struct dc_bios *dcb, struct dc_firmware_info *info) bios_parser_get_firmware_info() argument 421 get_firmware_info_v1_4( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v1_4() argument 471 get_firmware_info_v2_1( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v2_1() argument 555 get_firmware_info_v2_2( struct bios_parser *bp, struct dc_firmware_info *info) get_firmware_info_v2_2() argument 1022 get_ss_info_from_internal_ss_info_tbl_V2_1( struct bios_parser *bp, uint32_t id, struct spread_spectrum_info *info) get_ss_info_from_internal_ss_info_tbl_V2_1() argument 1181 bios_parser_get_embedded_panel_info( struct dc_bios *dcb, struct embedded_panel_info *info) bios_parser_get_embedded_panel_info() argument 1216 get_embedded_panel_info_v1_2( struct bios_parser *bp, struct embedded_panel_info *info) get_embedded_panel_info_v1_2() argument 1335 get_embedded_panel_info_v1_3( struct bios_parser *bp, struct embedded_panel_info *info) get_embedded_panel_info_v1_3() argument 1470 bios_parser_get_encoder_cap_info( struct dc_bios *dcb, struct graphics_object_id object_id, struct bp_encoder_cap_info *info) bios_parser_get_encoder_cap_info() argument 1787 bios_parser_get_gpio_pin_info( struct dc_bios *dcb, uint32_t gpio_id, struct gpio_pin_info *info) bios_parser_get_gpio_pin_info() argument 1838 get_gpio_i2c_info(struct bios_parser *bp, ATOM_I2C_RECORD *record, struct graphics_object_i2c_info *info) get_gpio_i2c_info() argument 2237 get_integrated_info_v8( struct bios_parser *bp, struct integrated_info *info) get_integrated_info_v8() argument 2387 get_integrated_info_v9( struct bios_parser *bp, struct integrated_info *info) get_integrated_info_v9() argument 2524 construct_integrated_info( struct bios_parser *bp, struct integrated_info *info) construct_integrated_info() argument 2579 struct integrated_info *info; bios_parser_create_integrated_info() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | stmpe-adc.c | 61 static int stmpe_read_voltage(struct stmpe_adc *info, in stmpe_read_voltage() argument 66 mutex_lock(&info->lock); in stmpe_read_voltage() 68 reinit_completion(&info->completion); in stmpe_read_voltage() 70 info->channel = (u8)chan->channel; in stmpe_read_voltage() 72 if (info->channel > STMPE_ADC_LAST_NR) { in stmpe_read_voltage() 73 mutex_unlock(&info->lock); in stmpe_read_voltage() 77 stmpe_reg_write(info->stmpe, STMPE_REG_ADC_CAPT, in stmpe_read_voltage() 78 STMPE_ADC_CH(info->channel)); in stmpe_read_voltage() 80 ret = wait_for_completion_timeout(&info->completion, STMPE_ADC_TIMEOUT); in stmpe_read_voltage() 83 stmpe_reg_write(info in stmpe_read_voltage() 96 stmpe_read_temp(struct stmpe_adc *info, struct iio_chan_spec const *chan, int *val) stmpe_read_temp() argument 139 struct stmpe_adc *info = iio_priv(indio_dev); stmpe_read_raw() local 177 struct stmpe_adc *info = (struct stmpe_adc *)dev_id; stmpe_adc_isr() local 256 struct stmpe_adc *info; stmpe_adc_probe() local 339 struct stmpe_adc *info = iio_priv(indio_dev); stmpe_adc_resume() local [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | map.c | 88 static void *alloc_value(struct bpf_map_info *info) in alloc_value() argument 90 if (map_is_per_cpu(info->type)) in alloc_value() 91 return malloc(round_up(info->value_size, 8) * in alloc_value() 94 return malloc(info->value_size); in alloc_value() 158 static void print_entry_json(struct bpf_map_info *info, unsigned char *key, in print_entry_json() argument 163 if (!map_is_per_cpu(info->type)) { in print_entry_json() 165 print_hex_data_json(key, info->key_size); in print_entry_json() 167 print_hex_data_json(value, info->value_size); in print_entry_json() 176 do_dump_btf(&d, info, key, value); in print_entry_json() 182 step = round_up(info in print_entry_json() 217 print_entry_error_msg(struct bpf_map_info *info, unsigned char *key, const char *error_msg) print_entry_error_msg() argument 270 print_entry_plain(struct bpf_map_info *info, unsigned char *key, unsigned char *value) print_entry_plain() argument 345 fill_per_cpu_value(struct bpf_map_info *info, void *value) fill_per_cpu_value() argument 358 parse_elem(char **argv, struct bpf_map_info *info, void *key, void *value, __u32 key_size, __u32 value_size, __u32 *flags, __u32 **value_fd) parse_elem() argument 468 show_map_header_json(struct bpf_map_info *info, json_writer_t *wtr) show_map_header_json() argument 483 show_map_close_json(int fd, struct bpf_map_info *info) show_map_close_json() argument 556 show_map_header_plain(struct bpf_map_info *info) show_map_header_plain() argument 572 show_map_close_plain(int fd, struct bpf_map_info *info) show_map_close_plain() argument 646 struct bpf_map_info info = {}; do_show_subset() local 690 struct bpf_map_info info = {}; do_show() local 775 struct bpf_map_info info = {}; maps_have_btf() local 795 get_map_kv_btf(const struct bpf_map_info *info) get_map_kv_btf() argument 832 map_dump(int fd, struct bpf_map_info *info, json_writer_t *wtr, bool show_header) map_dump() argument 904 struct bpf_map_info info = {}; do_dump() local 968 alloc_key_value(struct bpf_map_info *info, void **key, void **value) alloc_key_value() argument 996 struct bpf_map_info info = {}; do_update() local 1037 print_key_value(struct bpf_map_info *info, void *key, void *value) print_key_value() argument 1080 struct bpf_map_info info = {}; do_lookup() local 1131 struct bpf_map_info info = {}; do_getnext() local 1202 struct bpf_map_info info = {}; do_delete() local 1312 struct bpf_map_info info = {}; do_create() local 1360 struct bpf_map_info info = {}; do_pop_dequeue() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/dcn30/ |
H A D | hw_translate_dcn30.c | 198 struct gpio_pin_info *info) in id_to_offset() 204 info->mask = DC_GPIO_DDC6_A__DC_GPIO_DDC6DATA_A_MASK; in id_to_offset() 207 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 210 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 213 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 216 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 219 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 222 info->offset = REG(DC_GPIO_DDC6_A); in id_to_offset() 225 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 234 info in id_to_offset() 195 id_to_offset( enum gpio_id id, uint32_t en, struct gpio_pin_info *info) id_to_offset() argument [all...] |
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | twl4030-vibra.c | 52 static void vibra_enable(struct vibra_info *info) in vibra_enable() argument 66 info->enabled = true; in vibra_enable() 69 static void vibra_disable(struct vibra_info *info) in vibra_disable() argument 82 info->enabled = false; in vibra_disable() 87 struct vibra_info *info = container_of(work, in vibra_play_work() local 93 dir = info->direction; in vibra_play_work() 94 pwm = info->speed; in vibra_play_work() 98 if (pwm && (!info->coexist || !(reg & TWL4030_VIBRA_SEL))) { in vibra_play_work() 100 if (!info->enabled) in vibra_play_work() 101 vibra_enable(info); in vibra_play_work() 125 struct vibra_info *info = input_get_drvdata(input); vibra_play() local 137 struct vibra_info *info = input_get_drvdata(input); twl4030_vibra_close() local 149 struct vibra_info *info = platform_get_drvdata(pdev); twl4030_vibra_suspend() local 187 struct vibra_info *info; twl4030_vibra_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | i2c.c | 71 dcb_i2c_parse(struct nvkm_bios *bios, u8 idx, struct dcb_i2c_entry *info) in dcb_i2c_parse() argument 83 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse() 85 info->type = DCB_I2C_PMGR; in dcb_i2c_parse() 88 info->type = nvbios_rd08(bios, ent + 0x03); in dcb_i2c_parse() 90 info->type = nvbios_rd08(bios, ent + 0x03) & 0x07; in dcb_i2c_parse() 91 if (info->type == 0x07) in dcb_i2c_parse() 92 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse() 95 info->drive = DCB_I2C_UNUSED; in dcb_i2c_parse() 96 info->sense = DCB_I2C_UNUSED; in dcb_i2c_parse() 97 info in dcb_i2c_parse() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/dcn20/ |
H A D | hw_translate_dcn20.c | 192 struct gpio_pin_info *info) in id_to_offset() 198 info->mask = DC_GPIO_DDC6_A__DC_GPIO_DDC6DATA_A_MASK; in id_to_offset() 201 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 204 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 207 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 210 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 213 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 216 info->offset = REG(DC_GPIO_DDC6_A); in id_to_offset() 219 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 228 info in id_to_offset() 189 id_to_offset( enum gpio_id id, uint32_t en, struct gpio_pin_info *info) id_to_offset() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/gpio/dcn30/ |
H A D | hw_translate_dcn30.c | 200 struct gpio_pin_info *info) in id_to_offset() 206 info->mask = DC_GPIO_DDC6_A__DC_GPIO_DDC6DATA_A_MASK; in id_to_offset() 209 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 212 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 215 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 218 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 221 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 224 info->offset = REG(DC_GPIO_DDC6_A); in id_to_offset() 227 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 236 info in id_to_offset() 197 id_to_offset( enum gpio_id id, uint32_t en, struct gpio_pin_info *info) id_to_offset() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/gpio/dcn20/ |
H A D | hw_translate_dcn20.c | 195 struct gpio_pin_info *info) in id_to_offset() 201 info->mask = DC_GPIO_DDC6_A__DC_GPIO_DDC6DATA_A_MASK; in id_to_offset() 204 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 207 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 210 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 213 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 216 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 219 info->offset = REG(DC_GPIO_DDC6_A); in id_to_offset() 222 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 231 info in id_to_offset() 192 id_to_offset( enum gpio_id id, uint32_t en, struct gpio_pin_info *info) id_to_offset() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | i2c.c | 71 dcb_i2c_parse(struct nvkm_bios *bios, u8 idx, struct dcb_i2c_entry *info) in dcb_i2c_parse() argument 83 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse() 85 info->type = DCB_I2C_PMGR; in dcb_i2c_parse() 88 info->type = nvbios_rd08(bios, ent + 0x03); in dcb_i2c_parse() 90 info->type = nvbios_rd08(bios, ent + 0x03) & 0x07; in dcb_i2c_parse() 91 if (info->type == 0x07) in dcb_i2c_parse() 92 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse() 95 info->drive = DCB_I2C_UNUSED; in dcb_i2c_parse() 96 info->sense = DCB_I2C_UNUSED; in dcb_i2c_parse() 97 info in dcb_i2c_parse() [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | twl4030-vibra.c | 52 static void vibra_enable(struct vibra_info *info) in vibra_enable() argument 66 info->enabled = true; in vibra_enable() 69 static void vibra_disable(struct vibra_info *info) in vibra_disable() argument 82 info->enabled = false; in vibra_disable() 87 struct vibra_info *info = container_of(work, in vibra_play_work() local 93 dir = info->direction; in vibra_play_work() 94 pwm = info->speed; in vibra_play_work() 98 if (pwm && (!info->coexist || !(reg & TWL4030_VIBRA_SEL))) { in vibra_play_work() 100 if (!info->enabled) in vibra_play_work() 101 vibra_enable(info); in vibra_play_work() 125 struct vibra_info *info = input_get_drvdata(input); vibra_play() local 137 struct vibra_info *info = input_get_drvdata(input); twl4030_vibra_close() local 149 struct vibra_info *info = platform_get_drvdata(pdev); twl4030_vibra_suspend() local 182 struct vibra_info *info; twl4030_vibra_probe() local [all...] |
/kernel/linux/linux-6.6/samples/vfio-mdev/ |
H A D | mdpy-fb.c | 59 u_int transp, struct fb_info *info) in mdpy_fb_setcolreg() 61 u32 *pal = info->pseudo_palette; in mdpy_fb_setcolreg() 62 u32 cr = red >> (16 - info->var.red.length); in mdpy_fb_setcolreg() 63 u32 cg = green >> (16 - info->var.green.length); in mdpy_fb_setcolreg() 64 u32 cb = blue >> (16 - info->var.blue.length); in mdpy_fb_setcolreg() 70 value = (cr << info->var.red.offset) | in mdpy_fb_setcolreg() 71 (cg << info->var.green.offset) | in mdpy_fb_setcolreg() 72 (cb << info->var.blue.offset); in mdpy_fb_setcolreg() 73 if (info->var.transp.length > 0) { in mdpy_fb_setcolreg() 74 mask = (1 << info in mdpy_fb_setcolreg() 58 mdpy_fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) mdpy_fb_setcolreg() argument 83 mdpy_fb_destroy(struct fb_info *info) mdpy_fb_destroy() argument 99 struct fb_info *info; mdpy_fb_probe() local 191 struct fb_info *info = pci_get_drvdata(pdev); mdpy_fb_remove() local [all...] |