Home
last modified time | relevance | path

Searched full:aux (Results 1 – 25 of 844) sorted by relevance

12345678910>>...34

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dauxch.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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/drivers/clk/spear/
H A Dclk-aux-synth.c9 #define pr_fmt(fmt) "clk-aux-synth: " fmt
20 * Aux synth gives rate for different values of eq, x and y
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()
[all …]
/linux/include/drm/display/
H A Ddrm_dp_helper.h48 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);
135 bool drm_dp_vsc_sdp_supported(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE]);
136 bool drm_dp_as_sdp_supported(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE]);
324 * DisplayPort AUX channel
328 * struct drm_dp_aux_msg - DisplayPort AUX channel transaction
[all …]
H A Ddrm_dp_aux_bus.h5 * The DP AUX bus is used for devices that are connected over a DisplayPort
6 * AUX bus. The devices on the far side of the bus are referred to as
17 * struct dp_aux_ep_device - Main dev structure for DP AUX endpoints
19 * This is used to instantiate devices that are connected via a DP AUX
26 /** @aux: Pointer to the aux bus */
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,
[all …]
/linux/drivers/gpu/drm/display/
H A Ddrm_dp_aux_bus.c5 * The DP AUX bus is used for devices that are connected over a DisplayPort
6 * AUX bus. The device on the far side of the bus is referred to as an
9 * There is only one device connected to the DP AUX bus: an eDP panel.
11 * platform devices, putting them under the DP AUX bus allows the panel driver
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()
80 "DP AUX done_probing() can't defer\n"); in dp_aux_ep_probe()
132 .name = "dp-aux",
177 * of_dp_aux_ep_destroy() - Destroy an DP AUX endpoint device
182 * is called for _all_ of the child devices of the device providing the AUX bus.
[all …]
H A 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/kernel/bpf/
H A Dcore.c103 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats() local
111 aux = kzalloc_obj(*aux, bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats()
112 if (aux == NULL) { in bpf_prog_alloc_no_stats()
120 kfree(aux); in bpf_prog_alloc_no_stats()
125 fp->aux = aux; in bpf_prog_alloc_no_stats()
126 fp->aux->main_prog_aux = aux; in bpf_prog_alloc_no_stats()
127 fp->aux->prog = fp; in bpf_prog_alloc_no_stats()
131 aux->cgroup_atype = CGROUP_BPF_ATTACH_TYPE_INVALID; in bpf_prog_alloc_no_stats()
134 INIT_LIST_HEAD_RCU(&fp->aux->ksym.lnode); in bpf_prog_alloc_no_stats()
136 INIT_LIST_HEAD_RCU(&fp->aux->ksym_prefix.lnode); in bpf_prog_alloc_no_stats()
[all …]
H A Doffload.c101 struct bpf_prog_offload *offload = prog->aux->offload; in __bpf_prog_offload_destroy()
108 prog->aux->offload = NULL; in __bpf_prog_offload_destroy()
196 if (bpf_prog_is_offloaded(prog->aux) && (!ondev || !ondev->offdev)) { in __bpf_prog_dev_bound_init()
210 prog->aux->offload = offload; in __bpf_prog_dev_bound_init()
250 prog->aux->offload_requested = !(attr->prog_flags & BPF_F_XDP_DEV_BOUND_ONLY); in bpf_prog_dev_bound_init()
265 if (!bpf_prog_is_dev_bound(old_prog->aux)) in bpf_prog_dev_bound_inherit()
268 if (bpf_prog_is_offloaded(old_prog->aux)) in bpf_prog_dev_bound_inherit()
271 new_prog->aux->dev_bound = old_prog->aux->dev_bound; in bpf_prog_dev_bound_inherit()
272 new_prog->aux->offload_requested = old_prog->aux->offload_requested; in bpf_prog_dev_bound_inherit()
275 if (!old_prog->aux->offload) { in bpf_prog_dev_bound_inherit()
[all …]
H A Darraymap.c699 struct bpf_iter_aux_info *aux) in bpf_iter_init_array_map() argument
702 struct bpf_map *map = aux->map; in bpf_iter_init_array_map()
919 mutex_lock(&array->aux->poke_mutex); in bpf_fd_array_map_update_elem()
922 mutex_unlock(&array->aux->poke_mutex); in bpf_fd_array_map_update_elem()
942 mutex_lock(&array->aux->poke_mutex); in __fd_array_map_delete_elem()
945 mutex_unlock(&array->aux->poke_mutex); in __fd_array_map_delete_elem()
978 mutex_lock(&prog->aux->ext_mutex); in prog_fd_array_get_ptr()
979 is_extended = prog->aux->is_extended; in prog_fd_array_get_ptr()
981 prog->aux->prog_array_member_cnt++; in prog_fd_array_get_ptr()
982 mutex_unlock(&prog->aux->ext_mutex); in prog_fd_array_get_ptr()
[all …]
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c110 struct perf_output_handle handle; /* AUX buffer output handle */
803 /* Use AUX buffer. No need to allocate it by ourself */ in __hw_perf_event_init()
1178 * AUX buffer is used when in diagnostic sampling mode. in hw_perf_event_update()
1254 static inline unsigned long aux_sdb_index(struct aux_buffer *aux, in aux_sdb_index() argument
1257 return i % aux->sfb.num_sdb; in aux_sdb_index()
1265 static inline unsigned long aux_sdb_num_alert(struct aux_buffer *aux) in aux_sdb_num_alert() argument
1267 return aux_sdb_num(aux->head, aux->alert_mark); in aux_sdb_num_alert()
1270 static inline unsigned long aux_sdb_num_empty(struct aux_buffer *aux) in aux_sdb_num_empty() argument
1272 return aux_sdb_num(aux->head, aux->empty_mark); in aux_sdb_num_empty()
1278 static struct hws_trailer_entry *aux_sdb_trailer(struct aux_buffer *aux, in aux_sdb_trailer() argument
[all …]
/linux/drivers/md/persistent-data/
H A 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/tools/perf/arch/s390/util/
H A Dauxtrace.c58 * The AUX buffer size should be set properly to avoid in cpumsf_recording_options()
62 * of sampling data. The size used for AUX buffer will scale in cpumsf_recording_options()
91 struct auxtrace_record *aux; in auxtrace_record__init() local
110 /* sampling in diagnose mode. alloc aux buffer */ in auxtrace_record__init()
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()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dfcs,fsa4480.yaml49 Specifies how the AUX+/- lines are connected to SBU1/2.
55 Default AUX/SBU layout (FSA4480)
56 - AUX+ connected to SBU2
57 - AUX- connected to SBU1
58 Default AUX/SBU layout (OCP96011)
59 - AUX+ connected to SBU1
60 - AUX- connected to SBU2
65 Swapped AUX/SBU layout (FSA4480)
66 - AUX+ connected to SBU1
67 - AUX- connected to SBU2
[all …]
/linux/Documentation/trace/coresight/
H A Dcoresight-perf.rst18 a perf.data trace file. That file would have AUX sections if CoreSight
24 You should find some sections of this file have AUX data blocks like::
81 Fine-grained tracing with AUX pause and resume
87 provides AUX pause and resume functionality for fine-grained tracing.
89 The AUX pause and resume can be triggered by associated events. These
92 session with AUX pause / resume, three configuration terms are
95 - "aux-action=start-paused": it is specified for the cs_etm PMU event to
97 - "aux-action=pause": an associated event is specified with this term
98 to pause AUX trace.
99 - "aux-action=resume": an associated event is specified with this term
[all …]
/linux/tools/perf/arch/powerpc/util/
H A Dauxtrace.c69 struct auxtrace_record *aux; in auxtrace_record__init() local
90 aux = zalloc(sizeof(*aux)); in auxtrace_record__init()
91 if (aux == NULL) { in auxtrace_record__init()
92 pr_debug("aux record is NULL\n"); in auxtrace_record__init()
97 aux->recording_options = powerpc_vpadtl_recording_options; in auxtrace_record__init()
98 aux->info_priv_size = powerpc_vpadtl_info_priv_size; in auxtrace_record__init()
99 aux->info_fill = powerpc_vpadtl_info_fill; in auxtrace_record__init()
100 aux->free = powerpc_vpadtl_free; in auxtrace_record__init()
101 aux->reference = powerpc_vpadtl_reference; in auxtrace_record__init()
102 return aux; in auxtrace_record__init()
/linux/tools/testing/selftests/perf_events/
H A Dmmap.c25 /* Reserve space for rb, aux with space for shrink-beyond-vma testing. */
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
122 // Save the event in case that no AUX capable event is found in FIXTURE_SETUP()
127 if (!variant->aux) in FIXTURE_SETUP()
133 // Check whether it supports a AUX buffer in FIXTURE_SETUP()
134 aux = mmap(region + REGION_AUX_OFFS, AUX_SIZE, PROT_READ | PROT_WRITE, in FIXTURE_SETUP()
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Ddp-aux-bus.yaml4 $id: http://devicetree.org/schemas/display/dp-aux-bus.yaml#
7 title: DisplayPort AUX bus
14 are hooked up to them. This is the DP AUX bus. Over the DP AUX bus
16 particular, DP sinks support DDC over DP AUX which allows tunneling
17 a standard I2C DDC connection over the AUX channel.
20 of the DP controller under the "aux-bus" node.
24 For DP, presumably a connector would be listed under the DP AUX
29 const: aux-bus
/linux/kernel/bpf/preload/iterators/
H A 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/fs/
H A Dfsopen.c313 * @aux: Additional information for the value
324 * @_value and @aux are used to specify the value, should a value be required:
328 * setting. @_value must be NULL and @aux must be 0.
333 * path). @_value points to a NUL-terminated string and @aux must be 0.
336 * blob and @aux indicates its size. The parameter must be expecting a
341 * is the path and @aux is a file descriptor at which to start a relative
348 * NULL and @aux indicates the file descriptor.
355 int, aux) in SYSCALL_DEFINE5() argument
370 if (!_key || _value || aux) in SYSCALL_DEFINE5()
374 if (!_key || !_value || aux) in SYSCALL_DEFINE5()
[all …]
/linux/sound/soc/codecs/
H A Darizona.h202 ARIZONA_MUX(name_str " Aux 1", &name##_aux1_mux), \
203 ARIZONA_MUX(name_str " Aux 2", &name##_aux2_mux), \
204 ARIZONA_MUX(name_str " Aux 3", &name##_aux3_mux), \
205 ARIZONA_MUX(name_str " Aux 4", &name##_aux4_mux), \
206 ARIZONA_MUX(name_str " Aux 5", &name##_aux5_mux), \
207 ARIZONA_MUX(name_str " Aux 6", &name##_aux6_mux)
228 { name, NULL, name " Aux 1" }, \
229 { name, NULL, name " Aux 2" }, \
230 { name, NULL, name " Aux 3" }, \
231 { name, NULL, name " Aux 4" }, \
[all …]
/linux/fs/btrfs/
H A Dulist.c184 * @aux: auxiliary value to store along with val
191 * already exist. If it is added, the auxiliary value @aux is stored along with
192 * it. In case @val already exists in the ulist, @aux is ignored, even if
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()
243 * @aux: aux to delete
245 * The deletion will only be done when *BOTH* val and aux matches.
[all …]

12345678910>>...34