Home
last modified time | relevance | path

Searched refs:aux (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/linux-6.6.21/drivers/gpu/drm/msm/dp/
Ddp_aux.c46 static ssize_t dp_aux_write(struct dp_aux_private *aux, in dp_aux_write() argument
56 if (aux->read) in dp_aux_write()
72 if (aux->read) in dp_aux_write()
87 aux->catalog->aux_data = reg; in dp_aux_write()
88 dp_catalog_aux_write_data(aux->catalog); in dp_aux_write()
91 dp_catalog_aux_clear_trans(aux->catalog, false); in dp_aux_write()
92 dp_catalog_aux_clear_hw_interrupts(aux->catalog); in dp_aux_write()
95 if (!aux->native) { /* i2c */ in dp_aux_write()
98 if (aux->no_send_addr) in dp_aux_write()
101 if (aux->no_send_stop) in dp_aux_write()
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Daux.c33 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 …]
Dauxgm200.c33 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 …]
Dauxg94.c33 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 …]
Dbase.c78 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 …]
Danx9805.c139 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-6.6.21/drivers/gpu/drm/display/
Ddrm_dp_cec.c94 struct drm_dp_aux *aux = cec_get_drvdata(adap); in drm_dp_cec_adap_enable() local
98 err = drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_CONTROL, val); in drm_dp_cec_adap_enable()
104 struct drm_dp_aux *aux = cec_get_drvdata(adap); in drm_dp_cec_adap_log_addr() local
114 err = drm_dp_dpcd_write(aux, DP_CEC_LOGICAL_ADDRESS_MASK, mask, 2); in drm_dp_cec_adap_log_addr()
121 struct drm_dp_aux *aux = cec_get_drvdata(adap); in drm_dp_cec_adap_transmit() local
125 err = drm_dp_dpcd_write(aux, DP_CEC_TX_MESSAGE_BUFFER, in drm_dp_cec_adap_transmit()
130 err = drm_dp_dpcd_writeb(aux, DP_CEC_TX_MESSAGE_INFO, in drm_dp_cec_adap_transmit()
139 struct drm_dp_aux *aux = cec_get_drvdata(adap); in drm_dp_cec_adap_monitor_all_enable() local
146 err = drm_dp_dpcd_readb(aux, DP_CEC_TUNNELING_CONTROL, &val); in drm_dp_cec_adap_monitor_all_enable()
152 err = drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_CONTROL, val); in drm_dp_cec_adap_monitor_all_enable()
[all …]
Ddrm_dp_helper.c58 struct drm_dp_aux *aux; member
226 static int __8b10b_clock_recovery_delay_us(const struct drm_dp_aux *aux, u8 rd_interval) in __8b10b_clock_recovery_delay_us() argument
229 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us()
230 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us()
238 static int __8b10b_channel_eq_delay_us(const struct drm_dp_aux *aux, u8 rd_interval) in __8b10b_channel_eq_delay_us() argument
241 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us()
242 aux->name, rd_interval); in __8b10b_channel_eq_delay_us()
250 static int __128b132b_channel_eq_delay_us(const struct drm_dp_aux *aux, u8 rd_interval) in __128b132b_channel_eq_delay_us() argument
254 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x\n", in __128b132b_channel_eq_delay_us()
255 aux->name, rd_interval); in __128b132b_channel_eq_delay_us()
[all …]
Ddrm_dp_aux_bus.c27 int (*done_probing)(struct drm_dp_aux *aux);
69 ret = aux_ep_with_data->done_probing(aux_ep->aux); in dp_aux_ep_probe()
216 void of_dp_aux_depopulate_bus(struct drm_dp_aux *aux) in of_dp_aux_depopulate_bus() argument
218 device_for_each_child_reverse(aux->dev, NULL, of_dp_aux_ep_destroy); in of_dp_aux_depopulate_bus()
254 int of_dp_aux_populate_bus(struct drm_dp_aux *aux, in of_dp_aux_populate_bus() argument
255 int (*done_probing)(struct drm_dp_aux *aux)) in of_dp_aux_populate_bus() argument
263 WARN_ON_ONCE(!aux->ddc.algo); in of_dp_aux_populate_bus()
265 if (!aux->dev->of_node) in of_dp_aux_populate_bus()
267 bus = of_get_child_by_name(aux->dev->of_node, "aux-bus"); in of_dp_aux_populate_bus()
277 dev_err(aux->dev, "DP AUX EP device already populated\n"); in of_dp_aux_populate_bus()
[all …]
Ddrm_dp_aux_dev.c47 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-6.6.21/drivers/clk/spear/
Dclk-aux-synth.c44 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-6.6.21/include/drm/display/
Ddrm_dp_helper.h47 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);
403 ssize_t (*transfer)(struct drm_dp_aux *aux,
434 int (*wait_hpd_asserted)(struct drm_dp_aux *aux, unsigned long wait_us);
454 int drm_dp_dpcd_probe(struct drm_dp_aux *aux, unsigned int offset);
455 ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset,
[all …]
Ddrm_dp_aux_bus.h27 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-6.6.21/drivers/gpu/drm/i915/display/
Dintel_lspcon.c87 if (drm_dp_read_desc(&dp->aux, &dp->desc, drm_dp_is_branch(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 *adapter = &intel_dp->aux.ddc; in lspcon_get_current_mode()
149 if (drm_lspcon_get_mode(intel_dp->aux.drm_dev, adapter, &current_mode)) { in lspcon_get_current_mode()
188 struct i2c_adapter *adapter = &intel_dp->aux.ddc; in lspcon_change_mode()
190 err = drm_lspcon_get_mode(intel_dp->aux.drm_dev, adapter, &current_mode); in lspcon_change_mode()
201 err = drm_lspcon_set_mode(intel_dp->aux.drm_dev, adapter, mode); in lspcon_change_mode()
218 if (drm_dp_dpcd_readb(&lspcon_to_intel_dp(lspcon)->aux, DP_DPCD_REV, in lspcon_wake_native_aux_ch()
236 struct i2c_adapter *adapter = &intel_dp->aux.ddc; in lspcon_probe()
247 adaptor_type = drm_dp_dual_mode_detect(intel_dp->aux.drm_dev, adapter); in lspcon_probe()
[all …]
/linux-6.6.21/arch/s390/kernel/
Dperf_cpum_sf.c1380 static inline unsigned long aux_sdb_index(struct aux_buffer *aux, in aux_sdb_index() argument
1383 return i % aux->sfb.num_sdb; in aux_sdb_index()
1391 static inline unsigned long aux_sdb_num_alert(struct aux_buffer *aux) in aux_sdb_num_alert() argument
1393 return aux_sdb_num(aux->head, aux->alert_mark); in aux_sdb_num_alert()
1396 static inline unsigned long aux_sdb_num_empty(struct aux_buffer *aux) in aux_sdb_num_empty() argument
1398 return aux_sdb_num(aux->head, aux->empty_mark); in aux_sdb_num_empty()
1404 static struct hws_trailer_entry *aux_sdb_trailer(struct aux_buffer *aux, in aux_sdb_trailer() argument
1409 index = aux_sdb_index(aux, index); in aux_sdb_trailer()
1410 sdb = aux->sdb_index[index]; in aux_sdb_trailer()
1426 struct aux_buffer *aux; in aux_output_end() local
[all …]
/linux-6.6.21/drivers/md/persistent-data/
Ddm-block-manager.c358 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-6.6.21/tools/perf/arch/s390/util/
Dauxtrace.c90 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-6.6.21/kernel/bpf/
Doffload.c110 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()
252 prog->aux->offload_requested = !(attr->prog_flags & BPF_F_XDP_DEV_BOUND_ONLY); in bpf_prog_dev_bound_init()
267 if (!bpf_prog_is_dev_bound(old_prog->aux)) in bpf_prog_dev_bound_inherit()
270 if (bpf_prog_is_offloaded(old_prog->aux)) in bpf_prog_dev_bound_inherit()
273 new_prog->aux->dev_bound = old_prog->aux->dev_bound; in bpf_prog_dev_bound_inherit()
274 new_prog->aux->offload_requested = old_prog->aux->offload_requested; in bpf_prog_dev_bound_inherit()
277 if (!old_prog->aux->offload) { in bpf_prog_dev_bound_inherit()
[all …]
Dcgroup_iter.c162 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 …]
Dcore.c94 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats() local
102 aux = kzalloc(sizeof(*aux), bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats()
103 if (aux == NULL) { in bpf_prog_alloc_no_stats()
110 kfree(aux); in bpf_prog_alloc_no_stats()
115 fp->aux = aux; in bpf_prog_alloc_no_stats()
116 fp->aux->prog = fp; in bpf_prog_alloc_no_stats()
120 aux->cgroup_atype = CGROUP_BPF_ATTACH_TYPE_INVALID; in bpf_prog_alloc_no_stats()
123 INIT_LIST_HEAD_RCU(&fp->aux->ksym.lnode); in bpf_prog_alloc_no_stats()
124 mutex_init(&fp->aux->used_maps_mutex); in bpf_prog_alloc_no_stats()
125 mutex_init(&fp->aux->dst_mutex); in bpf_prog_alloc_no_stats()
[all …]
/linux-6.6.21/scripts/basic/
Dfixdep.c134 struct item *aux = malloc(sizeof(*aux) + len); in add_to_hashtable() local
136 if (!aux) { in add_to_hashtable()
140 memcpy(aux->name, name, len); in add_to_hashtable()
141 aux->len = len; in add_to_hashtable()
142 aux->hash = hash; in add_to_hashtable()
143 aux->next = hashtab[hash % HASHSZ]; in add_to_hashtable()
144 hashtab[hash % HASHSZ] = aux; in add_to_hashtable()
153 struct item *aux; in in_hashtable() local
156 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in in_hashtable()
157 if (aux->hash == hash && aux->len == len && in in_hashtable()
[all …]
/linux-6.6.21/kernel/bpf/preload/iterators/
Diterators.bpf.c50 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-6.6.21/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c128 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-6.6.21/drivers/gpu/drm/radeon/
Datombios_dp.c159 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()
234 radeon_connector->ddc_bus->aux.dev = radeon_connector->base.kdev; in radeon_dp_aux_init()
235 radeon_connector->ddc_bus->aux.drm_dev = radeon_connector->base.dev; in radeon_dp_aux_init()
238 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_native; in radeon_dp_aux_init()
240 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init()
242 radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; in radeon_dp_aux_init()
245 ret = drm_dp_aux_register(&radeon_connector->ddc_bus->aux); in radeon_dp_aux_init()
378 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in radeon_dp_probe_oui()
382 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in radeon_dp_probe_oui()
[all …]
/linux-6.6.21/fs/btrfs/
Dulist.h29 u64 aux; /* auxiliary value saved along with the val */ member
50 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask);
51 int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux,
53 int ulist_del(struct ulist *ulist, u64 val, u64 aux);
56 static inline int ulist_add_merge_ptr(struct ulist *ulist, u64 val, void *aux, in ulist_add_merge_ptr() argument
61 int ret = ulist_add_merge(ulist, val, (uintptr_t)aux, &old64, gfp_mask); in ulist_add_merge_ptr()
65 return ulist_add_merge(ulist, val, (u64)aux, (u64 *)old_aux, gfp_mask); in ulist_add_merge_ptr()

12345678910>>...21