/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_cec.c | 95 struct drm_dp_aux *aux = cec_get_drvdata(adap); in drm_dp_cec_adap_enable() local 99 err = drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_CONTROL, val); in drm_dp_cec_adap_enable() 105 struct drm_dp_aux *aux = cec_get_drvdata(adap); in drm_dp_cec_adap_log_addr() local 115 err = drm_dp_dpcd_write(aux, DP_CEC_LOGICAL_ADDRESS_MASK, mask, 2); in drm_dp_cec_adap_log_addr() 122 struct drm_dp_aux *aux = cec_get_drvdata(adap); in drm_dp_cec_adap_transmit() local 126 err = drm_dp_dpcd_write(aux, DP_CEC_TX_MESSAGE_BUFFER, in drm_dp_cec_adap_transmit() 131 err = drm_dp_dpcd_writeb(aux, DP_CEC_TX_MESSAGE_INFO, in drm_dp_cec_adap_transmit() 140 struct drm_dp_aux *aux = cec_get_drvdata(adap); in drm_dp_cec_adap_monitor_all_enable() local 147 err = drm_dp_dpcd_readb(aux, DP_CEC_TUNNELING_CONTROL, &val); in drm_dp_cec_adap_monitor_all_enable() 153 err = drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_CONTROL, val); in drm_dp_cec_adap_monitor_all_enable() [all …]
|
H A D | drm_dp_helper.c | 59 struct drm_dp_aux *aux; member 227 static int __8b10b_clock_recovery_delay_us(const struct drm_dp_aux *aux, u8 rd_interval) in __8b10b_clock_recovery_delay_us() argument 230 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us() 231 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us() 239 static int __8b10b_channel_eq_delay_us(const struct drm_dp_aux *aux, u8 rd_interval) in __8b10b_channel_eq_delay_us() argument 242 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us() 243 aux->name, rd_interval); in __8b10b_channel_eq_delay_us() 251 static int __128b132b_channel_eq_delay_us(const struct drm_dp_aux *aux, u8 rd_interval) in __128b132b_channel_eq_delay_us() argument 255 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x\n", in __128b132b_channel_eq_delay_us() 256 aux->name, rd_interval); in __128b132b_channel_eq_delay_us() [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/drivers/clk/spear/ |
H A D | clk-aux-synth.c | 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_round_rate() local 59 aux->rtbl_cnt, &unused); in clk_aux_round_rate() 65 struct clk_aux *aux = to_clk_aux(hw); in clk_aux_recalc_rate() local 69 if (aux->lock) in clk_aux_recalc_rate() 70 spin_lock_irqsave(aux->lock, flags); in clk_aux_recalc_rate() 72 val = readl_relaxed(aux->reg); in clk_aux_recalc_rate() 74 if (aux->lock) in clk_aux_recalc_rate() 75 spin_unlock_irqrestore(aux->lock, flags); in clk_aux_recalc_rate() [all …]
|
/linux/include/drm/display/ |
H A D | drm_dp_helper.h | 47 int drm_dp_read_clock_recovery_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], 49 int drm_dp_read_channel_eq_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], 52 void drm_dp_link_train_clock_recovery_delay(const struct drm_dp_aux *aux, 55 void drm_dp_link_train_channel_eq_delay(const struct drm_dp_aux *aux, 57 void drm_dp_lttpr_link_train_channel_eq_delay(const struct drm_dp_aux *aux, 60 int drm_dp_128b132b_read_aux_rd_interval(struct drm_dp_aux *aux); 134 bool drm_dp_vsc_sdp_supported(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE]); 135 bool drm_dp_as_sdp_supported(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE]); 456 ssize_t (*transfer)(struct drm_dp_aux *aux, 498 int (*wait_hpd_asserted)(struct drm_dp_aux *aux, unsigned long wait_us); [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/drivers/gpu/drm/i915/display/ |
H A D | intel_lspcon.c | 87 if (drm_dp_read_desc(&intel_dp->aux, &intel_dp->desc, drm_dp_is_branch(intel_dp->dpcd))) { in lspcon_detect_vendor() 130 ret = drm_dp_dpcd_read(&intel_dp->aux, get_hdr_status_reg(lspcon), in lspcon_detect_hdr_capability() 147 struct i2c_adapter *ddc = &intel_dp->aux.ddc; in lspcon_get_current_mode() 149 if (drm_lspcon_get_mode(intel_dp->aux.drm_dev, ddc, ¤t_mode)) { in lspcon_get_current_mode() 201 struct i2c_adapter *ddc = &intel_dp->aux.ddc; in lspcon_change_mode() 203 err = drm_lspcon_get_mode(intel_dp->aux.drm_dev, ddc, ¤t_mode); in lspcon_change_mode() 214 err = drm_lspcon_set_mode(intel_dp->aux.drm_dev, ddc, mode); in lspcon_change_mode() 231 if (drm_dp_dpcd_readb(&lspcon_to_intel_dp(lspcon)->aux, DP_DPCD_REV, in lspcon_wake_native_aux_ch() 247 struct i2c_adapter *ddc = &intel_dp->aux.ddc; in lspcon_probe() 260 adaptor_type = drm_dp_dual_mode_detect(intel_dp->aux.drm_dev, ddc); in lspcon_probe() [all …]
|
H A D | intel_dp_hdcp.c | 66 dpcd_ret = drm_dp_dpcd_write(&dig_port->dp.aux, DP_AUX_HDCP_AN, in intel_dp_hdcp_write_an_aksv() 82 dpcd_ret = drm_dp_dpcd_write(&dig_port->dp.aux, DP_AUX_HDCP_AKSV, in intel_dp_hdcp_write_an_aksv() 99 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BKSV, bksv, in intel_dp_hdcp_read_bksv() 120 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BINFO, in intel_dp_hdcp_read_bstatus() 131 int intel_dp_hdcp_read_bcaps(struct drm_dp_aux *aux, in intel_dp_hdcp_read_bcaps() argument 137 ret = drm_dp_dpcd_read(aux, DP_AUX_HDCP_BCAPS, in intel_dp_hdcp_read_bcaps() 156 ret = intel_dp_hdcp_read_bcaps(&dig_port->dp.aux, display, &bcaps); in intel_dp_hdcp_repeater_present() 171 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_RI_PRIME, in intel_dp_hdcp_read_ri_prime() 190 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, in intel_dp_hdcp_read_ksv_ready() 212 ret = drm_dp_dpcd_read(&dig_port->dp.aux, in intel_dp_hdcp_read_ksv_fifo() [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/tools/perf/arch/s390/util/ |
H A D | auxtrace.c | 90 struct auxtrace_record *aux; in auxtrace_record__init() local 110 aux = zalloc(sizeof(*aux)); in auxtrace_record__init() 111 if (aux == NULL) { in auxtrace_record__init() 116 aux->parse_snapshot_options = cpumsf_parse_snapshot_options; in auxtrace_record__init() 117 aux->recording_options = cpumsf_recording_options; in auxtrace_record__init() 118 aux->info_priv_size = cpumsf_info_priv_size; in auxtrace_record__init() 119 aux->info_fill = cpumsf_info_fill; in auxtrace_record__init() 120 aux->free = cpumsf_free; in auxtrace_record__init() 121 aux->reference = cpumsf_reference; in auxtrace_record__init() 123 return aux; in auxtrace_record__init()
|
/linux/kernel/bpf/ |
H A D | offload.c | 110 struct bpf_prog_offload *offload = prog->aux->offload; in __bpf_prog_offload_destroy() 117 prog->aux->offload = NULL; in __bpf_prog_offload_destroy() 205 if (bpf_prog_is_offloaded(prog->aux) && (!ondev || !ondev->offdev)) { in __bpf_prog_dev_bound_init() 219 prog->aux->offload = offload; in __bpf_prog_dev_bound_init() 259 prog->aux->offload_requested = !(attr->prog_flags & BPF_F_XDP_DEV_BOUND_ONLY); in bpf_prog_dev_bound_init() 274 if (!bpf_prog_is_dev_bound(old_prog->aux)) in bpf_prog_dev_bound_inherit() 277 if (bpf_prog_is_offloaded(old_prog->aux)) in bpf_prog_dev_bound_inherit() 280 new_prog->aux->dev_bound = old_prog->aux->dev_bound; in bpf_prog_dev_bound_inherit() 281 new_prog->aux->offload_requested = old_prog->aux->offload_requested; in bpf_prog_dev_bound_inherit() 284 if (!old_prog->aux->offload) { in bpf_prog_dev_bound_inherit() [all …]
|
H A D | core.c | 100 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats() local 108 aux = kzalloc(sizeof(*aux), bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats() 109 if (aux == NULL) { in bpf_prog_alloc_no_stats() 116 kfree(aux); in bpf_prog_alloc_no_stats() 121 fp->aux = aux; in bpf_prog_alloc_no_stats() 122 fp->aux->prog = fp; in bpf_prog_alloc_no_stats() 126 aux->cgroup_atype = CGROUP_BPF_ATTACH_TYPE_INVALID; in bpf_prog_alloc_no_stats() 129 INIT_LIST_HEAD_RCU(&fp->aux->ksym.lnode); in bpf_prog_alloc_no_stats() 131 INIT_LIST_HEAD_RCU(&fp->aux->ksym_prefix.lnode); in bpf_prog_alloc_no_stats() 133 mutex_init(&fp->aux->used_maps_mutex); in bpf_prog_alloc_no_stats() [all …]
|
H A D | arraymap.c | 681 struct bpf_iter_aux_info *aux) in bpf_iter_init_array_map() argument 684 struct bpf_map *map = aux->map; in bpf_iter_init_array_map() 902 mutex_lock(&array->aux->poke_mutex); in bpf_fd_array_map_update_elem() 905 mutex_unlock(&array->aux->poke_mutex); in bpf_fd_array_map_update_elem() 925 mutex_lock(&array->aux->poke_mutex); in __fd_array_map_delete_elem() 928 mutex_unlock(&array->aux->poke_mutex); in __fd_array_map_delete_elem() 961 mutex_lock(&prog->aux->ext_mutex); in prog_fd_array_get_ptr() 962 is_extended = prog->aux->is_extended; in prog_fd_array_get_ptr() 964 prog->aux->prog_array_member_cnt++; in prog_fd_array_get_ptr() 965 mutex_unlock(&prog->aux->ext_mutex); in prog_fd_array_get_ptr() [all …]
|
H A D | cgroup_iter.c | 162 static int cgroup_iter_seq_init(void *priv, struct bpf_iter_aux_info *aux) in BTF_ID_LIST_GLOBAL_SINGLE() 165 struct cgroup *cgrp = aux->cgroup.start; in BTF_ID_LIST_GLOBAL_SINGLE() 176 p->order = aux->cgroup.order; in BTF_ID_LIST_GLOBAL_SINGLE() 196 struct bpf_iter_aux_info *aux) in bpf_iter_attach_cgroup() argument 222 aux->cgroup.start = cgrp; in bpf_iter_attach_cgroup() 223 aux->cgroup.order = order; in bpf_iter_attach_cgroup() 227 static void bpf_iter_detach_cgroup(struct bpf_iter_aux_info *aux) in bpf_iter_detach_cgroup() argument 229 cgroup_put(aux->cgroup.start); in bpf_iter_detach_cgroup() 232 static void bpf_iter_cgroup_show_fdinfo(const struct bpf_iter_aux_info *aux, in bpf_iter_cgroup_show_fdinfo() argument 248 cgroup_path_ns(aux->cgroup.start, buf, PATH_MAX, in bpf_iter_cgroup_show_fdinfo() [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 = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in in_hashtable() 156 if (aux->hash == hash && aux->len == len && in in_hashtable() [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 65 struct drm_dp_aux *aux = &nv_connector->aux; in nouveau_dp_probe_dpcd() local 78 !drm_dp_read_dpcd_caps(aux, dpcd) && in nouveau_dp_probe_dpcd() 79 !drm_dp_read_lttpr_common_caps(aux, dpcd, outp->dp.lttpr.caps)) { in nouveau_dp_probe_dpcd() 83 drm_dp_dpcd_writeb(aux, DP_PHY_REPEATER_MODE, in nouveau_dp_probe_dpcd() 87 ret = drm_dp_dpcd_writeb(aux, DP_PHY_REPEATER_MODE, in nouveau_dp_probe_dpcd() 90 drm_dp_dpcd_writeb(aux, DP_PHY_REPEATER_MODE, in nouveau_dp_probe_dpcd() 99 ret = drm_dp_read_dpcd_caps(aux, dpcd); in nouveau_dp_probe_dpcd() 117 ret = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, rates, sizeof(rates)); in nouveau_dp_probe_dpcd() 177 ret = drm_dp_read_desc(aux, &outp->dp.desc, drm_dp_is_branch(dpcd)); in nouveau_dp_probe_dpcd() 184 mstm->can_mst = drm_dp_read_mst_cap(aux, dpcd) == DRM_DP_MST; in nouveau_dp_probe_dpcd() [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/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_dp.c | 128 amdgpu_atombios_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) in amdgpu_atombios_dp_aux_transfer() argument 131 container_of(aux, struct amdgpu_i2c_chan, aux); in amdgpu_atombios_dp_aux_transfer() 191 amdgpu_connector->ddc_bus->aux.transfer = amdgpu_atombios_dp_aux_transfer; in amdgpu_atombios_dp_aux_init() 192 amdgpu_connector->ddc_bus->aux.drm_dev = amdgpu_connector->base.dev; in amdgpu_atombios_dp_aux_init() 194 drm_dp_aux_init(&amdgpu_connector->ddc_bus->aux); in amdgpu_atombios_dp_aux_init() 325 if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in amdgpu_atombios_dp_probe_oui() 329 if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in amdgpu_atombios_dp_probe_oui() 340 ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_ds_ports() 356 ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_DPCD_REV, in amdgpu_atombios_dp_get_dpcd() 386 if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_get_panel_mode() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atombios_dp.c | 159 radeon_dp_aux_transfer_atom(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) in radeon_dp_aux_transfer_atom() argument 162 container_of(aux, struct radeon_i2c_chan, aux); in radeon_dp_aux_transfer_atom() 233 radeon_connector->ddc_bus->aux.drm_dev = radeon_connector->base.dev; in radeon_dp_aux_init() 236 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_native; in radeon_dp_aux_init() 238 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init() 240 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init() 243 drm_dp_aux_init(&radeon_connector->ddc_bus->aux); in radeon_dp_aux_init() 373 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in radeon_dp_probe_oui() 377 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in radeon_dp_probe_oui() 388 ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_DPCD_REV, msg, in radeon_dp_getdpcd() [all …]
|
/linux/drivers/gpu/drm/tegra/ |
H A D | dp.c | 170 int drm_dp_link_probe(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_probe() argument 178 err = drm_dp_dpcd_read(aux, DP_DPCD_REV, dpcd, sizeof(dpcd)); in drm_dp_link_probe() 194 err = drm_dp_dpcd_readb(aux, DP_EDP_DPCD_REV, &value); in drm_dp_link_probe() 241 err = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, in drm_dp_link_probe() 265 int drm_dp_link_power_up(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_power_up() argument 274 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in drm_dp_link_power_up() 281 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in drm_dp_link_power_up() 302 int drm_dp_link_power_down(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_power_down() argument 311 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in drm_dp_link_power_down() 318 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in drm_dp_link_power_down() [all …]
|
H A D | dpaux.c | 40 struct drm_dp_aux aux; member 66 static inline struct tegra_dpaux *to_dpaux(struct drm_dp_aux *aux) in to_dpaux() argument 68 return container_of(aux, struct tegra_dpaux, aux); in to_dpaux() 125 static ssize_t tegra_dpaux_transfer(struct drm_dp_aux *aux, in tegra_dpaux_transfer() argument 129 struct tegra_dpaux *dpaux = to_dpaux(aux); in tegra_dpaux_transfer() 530 dpaux->aux.transfer = tegra_dpaux_transfer; in tegra_dpaux_probe() 531 dpaux->aux.dev = &pdev->dev; in tegra_dpaux_probe() 533 drm_dp_aux_init(&dpaux->aux); in tegra_dpaux_probe() 572 err = devm_of_dp_aux_populate_ep_devices(&dpaux->aux); in tegra_dpaux_probe() 712 return &dpaux->aux; in drm_dp_aux_find_by_of_node() [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | parade-ps8640.c | 100 struct drm_dp_aux aux; member 153 static inline struct ps8640 *aux_to_ps8640(struct drm_dp_aux *aux) in aux_to_ps8640() argument 155 return container_of(aux, struct ps8640, aux); in aux_to_ps8640() 189 static int ps8640_wait_hpd_asserted(struct drm_dp_aux *aux, unsigned long wait_us) in ps8640_wait_hpd_asserted() argument 191 struct ps8640 *ps_bridge = aux_to_ps8640(aux); in ps8640_wait_hpd_asserted() 208 static ssize_t ps8640_aux_transfer_msg(struct drm_dp_aux *aux, in ps8640_aux_transfer_msg() argument 211 struct ps8640 *ps_bridge = aux_to_ps8640(aux); in ps8640_aux_transfer_msg() 342 static ssize_t ps8640_aux_transfer(struct drm_dp_aux *aux, in ps8640_aux_transfer() argument 345 struct ps8640 *ps_bridge = aux_to_ps8640(aux); in ps8640_aux_transfer() 356 ret = ps8640_aux_transfer_msg(aux, msg); in ps8640_aux_transfer() [all …]
|
/linux/drivers/power/reset/ |
H A D | ep93xx-restart.c | 34 struct ep93xx_regmap_adev *aux = priv->aux_dev; in ep93xx_restart_handle() local 37 aux->update_bits(aux->map, aux->lock, EP93XX_SYSCON_DEVCFG, in ep93xx_restart_handle() 39 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()
|
/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix_dp_core.c | 101 ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_SUPPORT, &psr_version); in analogix_dp_detect_sink_psr() 117 ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_EN_CFG, &psr_en); in analogix_dp_enable_sink_psr() 124 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr() 132 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr() 140 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr() 164 ret = drm_dp_dpcd_readb(&dp->aux, DP_LANE_COUNT_SET, &data); in analogix_dp_enable_rx_to_enhanced_mode() 169 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, in analogix_dp_enable_rx_to_enhanced_mode() 173 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, in analogix_dp_enable_rx_to_enhanced_mode() 185 ret = drm_dp_dpcd_readb(&dp->aux, DP_MAX_LANE_COUNT, &data); in analogix_dp_is_enhanced_mode_available() 220 ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in analogix_dp_training_pattern_dis() [all …]
|