| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
| H A D | auxch.c | 33 struct nvkm_i2c_aux *aux = container_of(adap, typeof(*aux), i2c); in nvkm_i2c_aux_i2c_xfer() local 37 ret = nvkm_i2c_aux_acquire(aux); in nvkm_i2c_aux_i2c_xfer() 60 ret = aux->func->xfer(aux, true, cmd, in nvkm_i2c_aux_i2c_xfer() 66 AUX_TRACE(aux, "no data after 32 retries"); in nvkm_i2c_aux_i2c_xfer() 80 nvkm_i2c_aux_release(aux); in nvkm_i2c_aux_i2c_xfer() 97 nvkm_i2c_aux_monitor(struct nvkm_i2c_aux *aux, bool monitor) in nvkm_i2c_aux_monitor() argument 99 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_monitor() 100 AUX_TRACE(aux, "monitor: %s", str_yes_no(monitor)); in nvkm_i2c_aux_monitor() 108 nvkm_i2c_aux_release(struct nvkm_i2c_aux *aux) in nvkm_i2c_aux_release() argument 110 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_release() [all …]
|
| H A D | auxgm200.c | 33 gm200_i2c_aux_fini(struct gm200_i2c_aux *aux) in gm200_i2c_aux_fini() argument 35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm200_i2c_aux_fini() 36 nvkm_mask(device, 0x00d954 + (aux->ch * 0x50), 0x00710000, 0x00000000); in gm200_i2c_aux_fini() 40 gm200_i2c_aux_init(struct gm200_i2c_aux *aux) in gm200_i2c_aux_init() argument 42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm200_i2c_aux_init() 51 ctrl = nvkm_rd32(device, 0x00d954 + (aux->ch * 0x50)); in gm200_i2c_aux_init() 54 AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); in gm200_i2c_aux_init() 60 nvkm_mask(device, 0x00d954 + (aux->ch * 0x50), 0x00700000, ureq); in gm200_i2c_aux_init() 63 ctrl = nvkm_rd32(device, 0x00d954 + (aux->ch * 0x50)); in gm200_i2c_aux_init() 66 AUX_ERR(&aux->base, "magic wait %08x", ctrl); in gm200_i2c_aux_init() [all …]
|
| H A D | auxg94.c | 33 g94_i2c_aux_fini(struct g94_i2c_aux *aux) in g94_i2c_aux_fini() argument 35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_fini() 36 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00310000, 0x00000000); in g94_i2c_aux_fini() 40 g94_i2c_aux_init(struct g94_i2c_aux *aux) in g94_i2c_aux_init() argument 42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_init() 51 ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); in g94_i2c_aux_init() 54 AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); in g94_i2c_aux_init() 60 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00300000, ureq); in g94_i2c_aux_init() 63 ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); in g94_i2c_aux_init() 66 AUX_ERR(&aux->base, "magic wait %08x", ctrl); in g94_i2c_aux_init() [all …]
|
| H A D | base.c | 78 struct nvkm_i2c_aux *aux; in nvkm_i2c_aux_find() local 80 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find() 81 if (aux->id == id) in nvkm_i2c_aux_find() 82 return aux; in nvkm_i2c_aux_find() 92 struct nvkm_i2c_aux *aux = nvkm_i2c_aux_find(i2c, id); in nvkm_i2c_intr_fini() local 93 if (aux) in nvkm_i2c_intr_fini() 94 i2c->func->aux_mask(i2c, type, aux->intr, 0); in nvkm_i2c_intr_fini() 101 struct nvkm_i2c_aux *aux = nvkm_i2c_aux_find(i2c, id); in nvkm_i2c_intr_init() local 102 if (aux) in nvkm_i2c_intr_init() 103 i2c->func->aux_mask(i2c, type, aux->intr, aux->intr); in nvkm_i2c_intr_init() [all …]
|
| H A D | anx9805.c | 139 struct anx9805_aux *aux = anx9805_aux(base); in anx9805_aux_xfer() local 140 struct anx9805_pad *pad = aux->pad; in anx9805_aux_xfer() 146 AUX_DBG(&aux->base, "%02x %05x %d", type, addr, *size); in anx9805_aux_xfer() 153 nvkm_wri2cr(adap, aux->addr, 0xe4, 0x80); in anx9805_aux_xfer() 156 AUX_DBG(&aux->base, "%16ph", buf); in anx9805_aux_xfer() 158 nvkm_wri2cr(adap, aux->addr, 0xf0 + i, buf[i]); in anx9805_aux_xfer() 160 nvkm_wri2cr(adap, aux->addr, 0xe5, ((*size - 1) << 4) | type); in anx9805_aux_xfer() 161 nvkm_wri2cr(adap, aux->addr, 0xe6, (addr & 0x000ff) >> 0); in anx9805_aux_xfer() 162 nvkm_wri2cr(adap, aux->addr, 0xe7, (addr & 0x0ff00) >> 8); in anx9805_aux_xfer() 163 nvkm_wri2cr(adap, aux->addr, 0xe8, (addr & 0xf0000) >> 16); in anx9805_aux_xfer() [all …]
|
| /linux/drivers/clk/spear/ |
| H A D | clk-aux-synth.c | 9 #define pr_fmt(fmt) "clk-aux-synth: " fmt 44 struct clk_aux *aux = to_clk_aux(hw); in aux_calc_rate() local 45 struct aux_rate_tbl *rtbl = aux->rtbl; in aux_calc_rate() 55 struct clk_aux *aux = to_clk_aux(hw); in clk_aux_determine_rate() local 59 aux_calc_rate, aux->rtbl_cnt, &unused); in clk_aux_determine_rate() 67 struct clk_aux *aux = to_clk_aux(hw); in clk_aux_recalc_rate() local 71 if (aux->lock) in clk_aux_recalc_rate() 72 spin_lock_irqsave(aux->lock, flags); in clk_aux_recalc_rate() 74 val = readl_relaxed(aux->reg); in clk_aux_recalc_rate() 76 if (aux in clk_aux_recalc_rate() 101 struct clk_aux *aux = to_clk_aux(hw); clk_aux_set_rate() local 141 struct clk_aux *aux; clk_register_aux() local [all...] |
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_dp_helper.c | 62 struct drm_dp_aux *aux; member 71 * levels to deal with Display Port sink devices and related things like DP aux 72 * channel transfers, EDID reading over DP aux channels, decoding certain DPCD 238 static int __8b10b_clock_recovery_delay_us(const struct drm_dp_aux *aux, u8 rd_interval) in __8b10b_clock_recovery_delay_us() argument 241 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us() 242 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us() 250 static int __8b10b_channel_eq_delay_us(const struct drm_dp_aux *aux, u8 rd_interval) in __8b10b_channel_eq_delay_us() argument 253 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us() 254 aux->name, rd_interval); in __8b10b_channel_eq_delay_us() 262 static int __128b132b_channel_eq_delay_us(const struct drm_dp_aux *aux, u argument 296 __read_delay(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE],enum drm_dp_phy dp_phy,bool uhbr,bool cr) __read_delay() argument 351 drm_dp_read_clock_recovery_delay(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE],enum drm_dp_phy dp_phy,bool uhbr) drm_dp_read_clock_recovery_delay() argument 358 drm_dp_read_channel_eq_delay(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE],enum drm_dp_phy dp_phy,bool uhbr) drm_dp_read_channel_eq_delay() argument 366 drm_dp_128b132b_read_aux_rd_interval(struct drm_dp_aux * aux) drm_dp_128b132b_read_aux_rd_interval() argument 385 drm_dp_link_train_clock_recovery_delay(const struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE]) drm_dp_link_train_clock_recovery_delay() argument 401 __drm_dp_link_train_channel_eq_delay(const struct drm_dp_aux * aux,u8 rd_interval) __drm_dp_link_train_channel_eq_delay() argument 409 drm_dp_link_train_channel_eq_delay(const struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE]) drm_dp_link_train_channel_eq_delay() argument 461 drm_dp_lttpr_link_train_channel_eq_delay(const struct drm_dp_aux * aux,const u8 phy_cap[DP_LTTPR_PHY_CAP_SIZE]) drm_dp_lttpr_link_train_channel_eq_delay() argument 483 drm_dp_lttpr_wake_timeout_setup(struct drm_dp_aux * aux,bool transparent_mode) drm_dp_lttpr_wake_timeout_setup() argument 565 drm_dp_dump_access(const struct drm_dp_aux * aux,u8 request,uint offset,void * buffer,int ret) drm_dp_dump_access() argument 590 drm_dp_dpcd_access(struct drm_dp_aux * aux,u8 request,unsigned int offset,void * buffer,size_t size) drm_dp_dpcd_access() argument 667 drm_dp_dpcd_probe(struct drm_dp_aux * aux,unsigned int offset) drm_dp_dpcd_probe() argument 693 drm_dp_dpcd_set_powered(struct drm_dp_aux * aux,bool powered) drm_dp_dpcd_set_powered() argument 709 drm_dp_dpcd_set_probe(struct drm_dp_aux * aux,bool enable) drm_dp_dpcd_set_probe() argument 715 dpcd_access_needs_probe(struct drm_dp_aux * aux) dpcd_access_needs_probe() argument 748 drm_dp_dpcd_read(struct drm_dp_aux * aux,unsigned int offset,void * buffer,size_t size) drm_dp_dpcd_read() argument 786 drm_dp_dpcd_write(struct drm_dp_aux * aux,unsigned int offset,void * buffer,size_t size) drm_dp_dpcd_write() argument 809 drm_dp_dpcd_read_link_status(struct drm_dp_aux * aux,u8 status[DP_LINK_STATUS_SIZE]) drm_dp_dpcd_read_link_status() argument 830 drm_dp_dpcd_read_phy_link_status(struct drm_dp_aux * aux,enum drm_dp_phy dp_phy,u8 link_status[DP_LINK_STATUS_SIZE]) drm_dp_dpcd_read_phy_link_status() argument 867 drm_dp_link_power_up(struct drm_dp_aux * aux,unsigned char revision) drm_dp_link_power_up() argument 905 drm_dp_link_power_down(struct drm_dp_aux * aux,unsigned char revision) drm_dp_link_power_down() argument 929 read_payload_update_status(struct drm_dp_aux * aux) read_payload_update_status() argument 954 drm_dp_dpcd_write_payload(struct drm_dp_aux * aux,int vcpid,u8 start_time_slot,u8 time_slot_count) drm_dp_dpcd_write_payload() argument 1006 drm_dp_dpcd_clear_payload(struct drm_dp_aux * aux) drm_dp_dpcd_clear_payload() argument 1024 drm_dp_dpcd_poll_act_handled(struct drm_dp_aux * aux,int timeout_ms) drm_dp_dpcd_poll_act_handled() argument 1126 drm_dp_send_real_edid_checksum(struct drm_dp_aux * aux,u8 real_edid_checksum) drm_dp_send_real_edid_checksum() argument 1188 drm_dp_read_extended_dpcd_caps(struct drm_dp_aux * aux,u8 dpcd[DP_RECEIVER_CAP_SIZE]) drm_dp_read_extended_dpcd_caps() argument 1240 drm_dp_read_dpcd_caps(struct drm_dp_aux * aux,u8 dpcd[DP_RECEIVER_CAP_SIZE]) drm_dp_read_dpcd_caps() argument 1274 drm_dp_read_downstream_info(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE],u8 downstream_ports[DP_MAX_DOWNSTREAM_PORTS]) drm_dp_read_downstream_info() argument 1655 drm_dp_downstream_id(struct drm_dp_aux * aux,char id[6]) drm_dp_downstream_id() argument 1674 drm_dp_downstream_debug(struct seq_file * m,const u8 dpcd[DP_RECEIVER_CAP_SIZE],const u8 port_cap[4],const struct drm_edid * drm_edid,struct drm_dp_aux * aux) drm_dp_downstream_debug() argument 1861 drm_dp_read_sink_count(struct drm_dp_aux * aux) drm_dp_read_sink_count() argument 1991 drm_dp_i2c_do_msg(struct drm_dp_aux * aux,struct drm_dp_aux_msg * msg) drm_dp_i2c_do_msg() argument 2114 drm_dp_i2c_drain_msg(struct drm_dp_aux * aux,struct drm_dp_aux_msg * orig_msg) drm_dp_i2c_drain_msg() argument 2151 struct drm_dp_aux *aux = adapter->algo_data; drm_dp_i2c_xfer() local 2259 drm_dp_aux_get_crc(struct drm_dp_aux * aux,u8 * crc) drm_dp_aux_get_crc() argument 2289 struct drm_dp_aux *aux = container_of(work, struct drm_dp_aux, drm_dp_aux_crc_work() local 2334 drm_dp_remote_aux_init(struct drm_dp_aux * aux) drm_dp_remote_aux_init() argument 2357 drm_dp_aux_init(struct drm_dp_aux * aux) drm_dp_aux_init() argument 2398 drm_dp_aux_register(struct drm_dp_aux * aux) drm_dp_aux_register() argument 2431 drm_dp_aux_unregister(struct drm_dp_aux * aux) drm_dp_aux_unregister() argument 2478 drm_dp_start_crc(struct drm_dp_aux * aux,struct drm_crtc * crtc) drm_dp_start_crc() argument 2505 drm_dp_stop_crc(struct drm_dp_aux * aux) drm_dp_stop_crc() argument 2603 drm_dp_read_ident(struct drm_dp_aux * aux,unsigned int offset,struct drm_dp_dpcd_ident * ident) drm_dp_read_ident() argument 2609 drm_dp_dump_desc(struct drm_dp_aux * aux,const char * device_name,const struct drm_dp_desc * desc) drm_dp_dump_desc() argument 2635 drm_dp_read_desc(struct drm_dp_aux * aux,struct drm_dp_desc * desc,bool is_branch) drm_dp_read_desc() argument 2664 drm_dp_dump_lttpr_desc(struct drm_dp_aux * aux,enum drm_dp_phy dp_phy) drm_dp_dump_lttpr_desc() argument 3031 drm_dp_read_lttpr_regs(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE],int address,u8 * buf,int buf_size) drm_dp_read_lttpr_regs() argument 3065 drm_dp_read_lttpr_common_caps(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE],u8 caps[DP_LTTPR_COMMON_CAP_SIZE]) drm_dp_read_lttpr_common_caps() argument 3086 drm_dp_read_lttpr_phy_caps(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE],enum drm_dp_phy dp_phy,u8 caps[DP_LTTPR_PHY_CAP_SIZE]) drm_dp_read_lttpr_phy_caps() argument 3151 drm_dp_lttpr_set_transparent_mode(struct drm_dp_aux * aux,bool enable) drm_dp_lttpr_set_transparent_mode() argument 3173 drm_dp_lttpr_init(struct drm_dp_aux * aux,int lttpr_count) drm_dp_lttpr_init() argument 3258 drm_dp_get_phy_test_pattern(struct drm_dp_aux * aux,struct drm_dp_phy_test_params * data) drm_dp_get_phy_test_pattern() argument 3309 drm_dp_set_phy_test_pattern(struct drm_dp_aux * aux,struct drm_dp_phy_test_params * data,u8 dp_rev) drm_dp_set_phy_test_pattern() argument 3560 drm_dp_as_sdp_supported(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE]) drm_dp_as_sdp_supported() argument 3585 drm_dp_vsc_sdp_supported(struct drm_dp_aux * aux,const u8 dpcd[DP_RECEIVER_CAP_SIZE]) drm_dp_vsc_sdp_supported() argument 3733 drm_dp_pcon_frl_prepare(struct drm_dp_aux * aux,bool enable_frl_ready_hpd) drm_dp_pcon_frl_prepare() argument 3751 drm_dp_pcon_is_frl_ready(struct drm_dp_aux * aux) drm_dp_pcon_is_frl_ready() argument 3779 drm_dp_pcon_frl_configure_1(struct drm_dp_aux * aux,int max_frl_gbps,u8 frl_mode) drm_dp_pcon_frl_configure_1() argument 3835 drm_dp_pcon_frl_configure_2(struct drm_dp_aux * aux,int max_frl_mask,u8 frl_type) drm_dp_pcon_frl_configure_2() argument 3860 drm_dp_pcon_reset_frl_config(struct drm_dp_aux * aux) drm_dp_pcon_reset_frl_config() argument 3872 drm_dp_pcon_frl_enable(struct drm_dp_aux * aux) drm_dp_pcon_frl_enable() argument 3896 drm_dp_pcon_hdmi_link_active(struct drm_dp_aux * aux) drm_dp_pcon_hdmi_link_active() argument 3920 drm_dp_pcon_hdmi_link_mode(struct drm_dp_aux * aux,u8 * frl_trained_mask) drm_dp_pcon_hdmi_link_mode() argument 3947 drm_dp_pcon_hdmi_frl_link_error_count(struct drm_dp_aux * aux,struct drm_connector * connector) drm_dp_pcon_hdmi_frl_link_error_count() argument 4085 drm_dp_pcon_configure_dsc_enc(struct drm_dp_aux * aux,u8 pps_buf_config) drm_dp_pcon_configure_dsc_enc() argument 4111 drm_dp_pcon_pps_default(struct drm_dp_aux * aux) drm_dp_pcon_pps_default() argument 4125 drm_dp_pcon_pps_override_buf(struct drm_dp_aux * aux,u8 pps_buf[128]) drm_dp_pcon_pps_override_buf() argument 4146 drm_dp_pcon_pps_override_param(struct drm_dp_aux * aux,u8 pps_param[6]) drm_dp_pcon_pps_override_param() argument 4171 drm_dp_pcon_convert_rgb_to_ycbcr(struct drm_dp_aux * aux,u8 color_spc) drm_dp_pcon_convert_rgb_to_ycbcr() argument 4200 drm_edp_backlight_set_level(struct drm_dp_aux * aux,const struct drm_edp_backlight_info * bl,u32 level) drm_edp_backlight_set_level() argument 4240 drm_edp_backlight_set_enable(struct drm_dp_aux * aux,const struct drm_edp_backlight_info * bl,bool enable) drm_edp_backlight_set_enable() argument 4289 drm_edp_backlight_enable(struct drm_dp_aux * aux,const struct drm_edp_backlight_info * bl,const u32 level) drm_edp_backlight_enable() argument 4354 drm_edp_backlight_disable(struct drm_dp_aux * aux,const struct drm_edp_backlight_info * bl) drm_edp_backlight_disable() argument 4367 drm_edp_backlight_probe_max(struct drm_dp_aux * aux,struct drm_edp_backlight_info * bl,u16 driver_pwm_freq_hz,const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE]) drm_edp_backlight_probe_max() argument 4491 drm_edp_backlight_probe_state(struct drm_dp_aux * aux,struct drm_edp_backlight_info * bl,u8 * current_mode) drm_edp_backlight_probe_state() argument 4573 drm_edp_backlight_init(struct drm_dp_aux * aux,struct drm_edp_backlight_info * bl,u32 max_luminance,u16 driver_pwm_freq_hz,const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE],u32 * current_level,u8 * current_mode,bool need_luminance) drm_edp_backlight_init() argument 4680 drm_panel_dp_aux_backlight(struct drm_panel * panel,struct drm_dp_aux * aux) drm_panel_dp_aux_backlight() argument [all...] |
| H A D | drm_dp_aux_bus.c | 28 int (*done_probing)(struct drm_dp_aux *aux); 70 ret = aux_ep_with_data->done_probing(aux_ep->aux); in dp_aux_ep_probe() 217 void of_dp_aux_depopulate_bus(struct drm_dp_aux *aux) in of_dp_aux_depopulate_bus() argument 219 device_for_each_child_reverse(aux->dev, NULL, of_dp_aux_ep_destroy); in of_dp_aux_depopulate_bus() 255 int of_dp_aux_populate_bus(struct drm_dp_aux *aux, in of_dp_aux_populate_bus() argument 256 int (*done_probing)(struct drm_dp_aux *aux)) in of_dp_aux_populate_bus() argument 264 WARN_ON_ONCE(!aux->ddc.algo); in of_dp_aux_populate_bus() 266 if (!aux->dev->of_node) in of_dp_aux_populate_bus() 268 bus = of_get_child_by_name(aux->dev->of_node, "aux-bus"); in of_dp_aux_populate_bus() 278 dev_err(aux->dev, "DP AUX EP device already populated\n"); in of_dp_aux_populate_bus() [all …]
|
| H A D | drm_dp_aux_dev.c | 47 struct drm_dp_aux *aux; member 73 static struct drm_dp_aux_dev *alloc_drm_dp_aux_dev(struct drm_dp_aux *aux) in alloc_drm_dp_aux_dev() argument 81 aux_dev->aux = aux; in alloc_drm_dp_aux_dev() 115 res = sprintf(buf, "%s\n", aux_dev->aux->name); in name_show() 166 res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); in auxdev_read_iter() 214 res = drm_dp_dpcd_write(aux_dev->aux, pos, buf, todo); in auxdev_write_iter() 249 #define to_auxdev(d) container_of(d, struct drm_dp_aux_dev, aux) 251 static struct drm_dp_aux_dev *drm_dp_aux_dev_get_by_aux(struct drm_dp_aux *aux) in drm_dp_aux_dev_get_by_aux() argument 263 if (iter->aux == aux) { in drm_dp_aux_dev_get_by_aux() 272 void drm_dp_aux_unregister_devnode(struct drm_dp_aux *aux) in drm_dp_aux_unregister_devnode() argument [all …]
|
| /linux/include/drm/display/ |
| H A D | drm_dp_helper.h | 48 int drm_dp_read_clock_recovery_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], 50 int drm_dp_read_channel_eq_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], 53 void drm_dp_link_train_clock_recovery_delay(const struct drm_dp_aux *aux, 56 void drm_dp_link_train_channel_eq_delay(const struct drm_dp_aux *aux, 58 void drm_dp_lttpr_link_train_channel_eq_delay(const struct drm_dp_aux *aux, 61 int drm_dp_128b132b_read_aux_rd_interval(struct drm_dp_aux *aux); 137 bool drm_dp_vsc_sdp_supported(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE]); 138 bool drm_dp_as_sdp_supported(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE]); 480 ssize_t (*transfer)(struct drm_dp_aux *aux, 522 int (*wait_hpd_asserted)(struct drm_dp_aux *aux, unsigne 569 drm_dp_dpcd_readb(struct drm_dp_aux * aux,unsigned int offset,u8 * valuep) drm_dp_dpcd_readb() argument 589 drm_dp_dpcd_read_data(struct drm_dp_aux * aux,unsigned int offset,void * buffer,size_t size) drm_dp_dpcd_read_data() argument 635 drm_dp_dpcd_write_data(struct drm_dp_aux * aux,unsigned int offset,void * buffer,size_t size) drm_dp_dpcd_write_data() argument 660 drm_dp_dpcd_writeb(struct drm_dp_aux * aux,unsigned int offset,u8 value) drm_dp_dpcd_writeb() argument 674 drm_dp_dpcd_read_byte(struct drm_dp_aux * aux,unsigned int offset,u8 * valuep) drm_dp_dpcd_read_byte() argument 688 drm_dp_dpcd_write_byte(struct drm_dp_aux * aux,unsigned int offset,u8 value) drm_dp_dpcd_write_byte() argument 925 drm_panel_dp_aux_backlight(struct drm_panel * panel,struct drm_dp_aux * aux) drm_panel_dp_aux_backlight() argument 941 drm_dp_cec_irq(struct drm_dp_aux * aux) drm_dp_cec_irq() argument 946 drm_dp_cec_register_connector(struct drm_dp_aux * aux,struct drm_connector * connector) drm_dp_cec_register_connector() argument 951 drm_dp_cec_unregister_connector(struct drm_dp_aux * aux) drm_dp_cec_unregister_connector() argument 955 drm_dp_cec_attach(struct drm_dp_aux * aux,u16 source_physical_address) drm_dp_cec_attach() argument 960 drm_dp_cec_set_edid(struct drm_dp_aux * aux,const struct edid * edid) drm_dp_cec_set_edid() argument 965 drm_dp_cec_unset_edid(struct drm_dp_aux * aux) drm_dp_cec_unset_edid() argument [all...] |
| H A D | drm_dp_aux_bus.h | 27 struct drm_dp_aux *aux; member 47 int of_dp_aux_populate_bus(struct drm_dp_aux *aux, 48 int (*done_probing)(struct drm_dp_aux *aux)); 49 void of_dp_aux_depopulate_bus(struct drm_dp_aux *aux); 50 int devm_of_dp_aux_populate_bus(struct drm_dp_aux *aux, 51 int (*done_probing)(struct drm_dp_aux *aux)); 54 static inline int of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux) in of_dp_aux_populate_ep_devices() argument 58 ret = of_dp_aux_populate_bus(aux, NULL); in of_dp_aux_populate_ep_devices() 64 static inline int devm_of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux) in devm_of_dp_aux_populate_ep_devices() argument 68 ret = devm_of_dp_aux_populate_bus(aux, NULL); in devm_of_dp_aux_populate_ep_devices() [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | perf_cpum_sf.c | 1258 static inline unsigned long aux_sdb_index(struct aux_buffer *aux, in aux_sdb_index() argument 1261 return i % aux->sfb.num_sdb; in aux_sdb_index() 1269 static inline unsigned long aux_sdb_num_alert(struct aux_buffer *aux) in aux_sdb_num_alert() argument 1271 return aux_sdb_num(aux->head, aux->alert_mark); in aux_sdb_num_alert() 1274 static inline unsigned long aux_sdb_num_empty(struct aux_buffer *aux) in aux_sdb_num_empty() argument 1276 return aux_sdb_num(aux->head, aux->empty_mark); in aux_sdb_num_empty() 1282 static struct hws_trailer_entry *aux_sdb_trailer(struct aux_buffer *aux, in aux_sdb_trailer() argument 1287 index = aux_sdb_index(aux, index); in aux_sdb_trailer() 1288 sdb = aux->sdb_index[index]; in aux_sdb_trailer() 1304 struct aux_buffer *aux; in aux_output_end() local [all …]
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-block-manager.c | 358 struct buffer_aux *aux = dm_bufio_get_aux_data(buf); in dm_block_manager_alloc_callback() local 360 aux->validator = NULL; in dm_block_manager_alloc_callback() 361 bl_init(&aux->lock); in dm_block_manager_alloc_callback() 366 struct buffer_aux *aux = dm_bufio_get_aux_data(buf); in dm_block_manager_write_callback() local 368 if (aux->validator) { in dm_block_manager_write_callback() 369 aux->validator->prepare_for_write(aux->validator, (struct dm_block *) buf, in dm_block_manager_write_callback() 443 struct buffer_aux *aux, in dm_bm_validate_buffer() argument 446 if (unlikely(!aux->validator)) { in dm_bm_validate_buffer() 457 aux->validator = v; in dm_bm_validate_buffer() 459 if (unlikely(aux->validator != v)) { in dm_bm_validate_buffer() [all …]
|
| /linux/kernel/bpf/ |
| H A D | core.c | 108 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats() 116 aux = kzalloc_obj(*aux, bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats() 117 if (aux == NULL) { in bpf_prog_alloc_no_stats() 125 kfree(aux); in bpf_prog_alloc_no_stats() 130 fp->aux = aux; in bpf_prog_alloc_no_stats() 131 fp->aux->main_prog_aux = aux; in bpf_prog_alloc_no_stats() 132 fp->aux in bpf_prog_alloc_no_stats() 104 struct bpf_prog_aux *aux; bpf_prog_alloc_no_stats() local 1359 bpf_jit_blind_insn(const struct bpf_insn * from,const struct bpf_insn * aux,struct bpf_insn * to_buff,bool emit_zext) bpf_jit_blind_insn() argument 1569 struct bpf_insn insn_buff[16], aux[2]; bpf_jit_blind_constants() local 2516 struct bpf_prog_aux *aux = fp->aux; __bpf_prog_map_compatible() local 2593 struct bpf_prog_aux *aux = fp->aux; bpf_check_tail_call() local 3031 __bpf_free_used_maps(struct bpf_prog_aux * aux,struct bpf_map ** used_maps,u32 len) __bpf_free_used_maps() argument 3049 bpf_free_used_maps(struct bpf_prog_aux * aux) bpf_free_used_maps() argument 3070 bpf_free_used_btfs(struct bpf_prog_aux * aux) bpf_free_used_btfs() argument 3078 struct bpf_prog_aux *aux; bpf_prog_free_deferred() local 3119 struct bpf_prog_aux *aux = fp->aux; bpf_prog_free() local [all...] |
| H A D | offload.c | 106 if (!bpf_prog_is_dev_bound(prog->aux)) in __bpf_prog_offload_destroy() 110 if (prog->aux->offload) 111 prog->aux->offload->prog = prog; in bpf_map_offload_ndo() 117 struct bpf_prog_offload *offload = prog->aux->offload; in bpf_map_offload_ndo() 124 prog->aux->offload = NULL; in bpf_map_offload_ndo() 212 if (bpf_prog_is_offloaded(prog->aux) && (!ondev || !ondev->offdev)) { in __bpf_prog_dev_bound_init() 226 prog->aux->offload = offload; in bpf_prog_dev_bound_init() 266 prog->aux->offload_requested = !(attr->prog_flags & BPF_F_XDP_DEV_BOUND_ONLY); in bpf_prog_dev_bound_inherit() 288 if (!bpf_prog_is_dev_bound(old_prog->aux)) in bpf_prog_offload_verifier_prep() 291 if (bpf_prog_is_offloaded(old_prog->aux)) in bpf_prog_offload_verifier_prep() 429 struct bpf_prog_aux *aux = args->prog->aux; bpf_prog_offload_info_fill_ns() local 458 struct bpf_prog_aux *aux = prog->aux; bpf_prog_offload_info_fill() local [all...] |
| H A D | fixups.c | 30 struct bpf_map *arena = (struct bpf_map *)prog->aux->arena; in is_addr_space_cast32() 125 tab = prog->aux->kfunc_tab; in kfunc_desc_cmp_by_imm_off() 188 /* aux info at OFF always needs adjustment, no matter fast path 286 struct bpf_jit_poke_descriptor *tab = prog->aux->poke_tab; in adjust_insn_arrays() 287 int i, sz = prog->aux->size_poke_tab; 454 struct bpf_prog_aux *aux = env->prog->aux; in adjust_subprog_starts_after_remove() 465 /* remove func_info and its aux */ in bpf_adj_linfo_after_remove() 466 if (aux->func_info) { in bpf_adj_linfo_after_remove() 467 move = aux in bpf_adj_linfo_after_remove() 416 struct bpf_prog_aux *aux = env->prog->aux; adjust_subprog_starts_after_remove() local 671 struct bpf_insn_aux_data *aux = env->insn_aux_data; bpf_opt_subreg_zext_lo32_rnd_hi32() local 1542 struct bpf_insn_aux_data *aux; bpf_do_misc_fixups() local 2662 struct bpf_insn_aux_data *aux = env->insn_aux_data; bpf_remove_fastcall_spills_fills() local [all...] |
| H A D | arraymap.c | 755 struct bpf_iter_aux_info *aux) in bpf_iter_init_array_map() argument 758 struct bpf_map *map = aux->map; in bpf_iter_init_array_map() 978 mutex_lock(&array->aux->poke_mutex); in bpf_fd_array_map_update_elem() 981 mutex_unlock(&array->aux->poke_mutex); in bpf_fd_array_map_update_elem() 1001 mutex_lock(&array->aux->poke_mutex); in __fd_array_map_delete_elem() 1004 mutex_unlock(&array->aux->poke_mutex); in __fd_array_map_delete_elem() 1037 mutex_lock(&prog->aux->ext_mutex); in prog_fd_array_get_ptr() 1038 is_extended = prog->aux->freplace_link_cnt > 0; in prog_fd_array_get_ptr() 1040 prog->aux->prog_array_member_cnt++; in prog_fd_array_get_ptr() 1041 mutex_unlock(&prog->aux in prog_fd_array_get_ptr() 1108 struct bpf_prog_aux *aux; global() member 1115 struct bpf_array_aux *aux; prog_array_map_poke_track() local 1148 struct bpf_array_aux *aux; prog_array_map_poke_untrack() local 1173 struct bpf_array_aux *aux; prog_array_map_poke_run() local 1227 struct bpf_array_aux *aux = container_of(map, struct bpf_array, prog_array_map_clear() local 1235 struct bpf_array_aux *aux; prog_array_map_alloc() local 1261 struct bpf_array_aux *aux; prog_array_map_free() local [all...] |
| /linux/tools/perf/arch/s390/util/ |
| H A D | auxtrace.c | 91 struct auxtrace_record *aux; in auxtrace_record__init() local 111 aux = zalloc(sizeof(*aux)); in auxtrace_record__init() 112 if (aux == NULL) { in auxtrace_record__init() 117 aux->parse_snapshot_options = cpumsf_parse_snapshot_options; in auxtrace_record__init() 118 aux->recording_options = cpumsf_recording_options; in auxtrace_record__init() 119 aux->info_priv_size = cpumsf_info_priv_size; in auxtrace_record__init() 120 aux->info_fill = cpumsf_info_fill; in auxtrace_record__init() 121 aux->free = cpumsf_free; in auxtrace_record__init() 122 aux->reference = cpumsf_reference; in auxtrace_record__init() 124 return aux; in auxtrace_record__init()
|
| /linux/tools/perf/arch/powerpc/util/ |
| H A D | auxtrace.c | 70 struct auxtrace_record *aux; in auxtrace_record__init() 97 aux = zalloc(sizeof(*aux)); in auxtrace_record__init() 98 if (aux == NULL) { in auxtrace_record__init() 99 pr_debug("aux record is NULL\n"); in auxtrace_record__init() 104 aux->recording_options = powerpc_vpadtl_recording_options; 105 aux->info_priv_size = powerpc_vpadtl_info_priv_size; 106 aux->info_fill = powerpc_vpadtl_info_fill; 107 aux->free = powerpc_vpadtl_free; 108 aux 69 struct auxtrace_record *aux; auxtrace_record__init() local [all...] |
| /linux/scripts/basic/ |
| H A D | fixdep.c | 136 struct item *aux; in add_to_hashtable() local 138 aux = xmalloc(sizeof(*aux) + len); in add_to_hashtable() 139 memcpy(aux->name, name, len); in add_to_hashtable() 140 aux->len = len; in add_to_hashtable() 141 aux->hash = hash; in add_to_hashtable() 142 aux->next = hashtab[hash % HASHSZ]; in add_to_hashtable() 143 hashtab[hash % HASHSZ] = aux; in add_to_hashtable() 152 struct item *aux; in in_hashtable() local 155 for (aux in in_hashtable() [all...] |
| /linux/kernel/bpf/preload/iterators/ |
| H A D | iterators.bpf.c | 50 struct bpf_prog_aux *aux; member 104 struct bpf_prog_aux *aux; in dump_bpf_prog() local 109 aux = prog->aux; in dump_bpf_prog() 113 BPF_SEQ_PRINTF(seq, "%4u %-16s %s %s\n", aux->id, in dump_bpf_prog() 114 get_name(aux->btf, aux->func_info[0].type_id, aux->name), in dump_bpf_prog() 115 aux->attach_func_name, aux->dst_prog->aux->name); in dump_bpf_prog()
|
| /linux/tools/testing/selftests/perf_events/ |
| H A D | mmap.c | 43 bool aux; in FIXTURE_VARIANT() local 49 .aux = false, in FIXTURE_VARIANT_ADD() 53 FIXTURE_VARIANT_ADD(perf_mmap, aux) in FIXTURE_VARIANT_ADD() argument 55 .aux = true, in FIXTURE_VARIANT_ADD() 87 void *aux, *region; in FIXTURE_SETUP() local 127 if (!variant->aux) in FIXTURE_SETUP() 134 aux = mmap(region + REGION_AUX_OFFS, AUX_SIZE, PROT_READ | PROT_WRITE, in FIXTURE_SETUP() 136 if (aux == MAP_FAILED) { in FIXTURE_SETUP() 144 munmap(aux, AUX_SIZE); in FIXTURE_SETUP() 164 if (!variant->aux) { in FIXTURE_SETUP() [all …]
|
| /linux/drivers/power/reset/ |
| H A D | ep93xx-restart.c | 33 struct ep93xx_regmap_adev *aux = priv->aux_dev; in ep93xx_restart_handle() local 36 aux->update_bits(aux->map, aux->lock, EP93XX_SYSCON_DEVCFG, in ep93xx_restart_handle() 38 aux->update_bits(aux->map, aux->lock, EP93XX_SYSCON_DEVCFG, in ep93xx_restart_handle()
|
| /linux/fs/btrfs/ |
| H A D | ulist.h | 30 u64 aux; /* auxiliary value saved along with the val */ member 53 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask); 54 int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux, 56 int ulist_del(struct ulist *ulist, u64 val, u64 aux); 59 static inline int ulist_add_merge_ptr(struct ulist *ulist, u64 val, void *aux, in ulist_add_merge_ptr() argument 64 int ret = ulist_add_merge(ulist, val, (uintptr_t)aux, &old64, gfp_mask); in ulist_add_merge_ptr() 68 return ulist_add_merge(ulist, val, (u64)aux, (u64 *)old_aux, gfp_mask); in ulist_add_merge_ptr()
|
| H A D | ulist.c | 200 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask) in ulist_add() argument 202 return ulist_add_merge(ulist, val, aux, NULL, gfp_mask); in ulist_add() 205 int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux, in ulist_add_merge() argument 214 *old_aux = node->aux; in ulist_add_merge() 228 node->aux = aux; in ulist_add_merge() 249 int ulist_del(struct ulist *ulist, u64 val, u64 aux) in ulist_del() argument 258 if (node->aux != aux) in ulist_del()
|