Home
last modified time | relevance | path

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

12345678910>>...33

/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_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()
[all …]
/linux/include/drm/display/
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_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/tools/perf/arch/s390/util/
H A Dauxtrace.c57 * The AUX buffer size should be set properly to avoid in cpumsf_recording_options()
61 * of sampling data. The size used for AUX buffer will scale in cpumsf_recording_options()
90 struct auxtrace_record *aux; in auxtrace_record__init() local
109 /* sampling in diagnose mode. alloc aux buffer */ in auxtrace_record__init()
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()
[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/arch/s390/kernel/
H A Dperf_cpum_sf.c111 struct perf_output_handle handle; /* AUX buffer output handle */
804 /* Use AUX buffer. No need to allocate it by ourself */ in __hw_perf_event_init()
1179 * AUX buffer is used when in diagnostic sampling mode. in hw_perf_event_update()
1255 static inline unsigned long aux_sdb_index(struct aux_buffer *aux, in aux_sdb_index() argument
1258 return i % aux->sfb.num_sdb; in aux_sdb_index()
1266 static inline unsigned long aux_sdb_num_alert(struct aux_buffer *aux) in aux_sdb_num_alert() argument
1268 return aux_sdb_num(aux->head, aux->alert_mark); in aux_sdb_num_alert()
1271 static inline unsigned long aux_sdb_num_empty(struct aux_buffer *aux) in aux_sdb_num_empty() argument
1273 return aux_sdb_num(aux->head, aux->empty_mark); in aux_sdb_num_empty()
1279 static struct hws_trailer_entry *aux_sdb_trailer(struct aux_buffer *aux, in aux_sdb_trailer() argument
[all …]
/linux/kernel/bpf/
H A Dcore.c102 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats()
110 aux = kzalloc(sizeof(*aux), bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); in bpf_prog_alloc_no_stats()
111 if (aux == NULL) { in bpf_prog_alloc_no_stats()
118 kfree(aux); in bpf_prog_alloc_no_stats()
123 fp->aux = aux; in bpf_prog_alloc_no_stats()
124 fp->aux->main_prog_aux = aux; in bpf_prog_alloc_no_stats()
125 fp->aux in bpf_prog_alloc_no_stats()
100 struct bpf_prog_aux *aux; bpf_prog_alloc_no_stats() local
1308 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
1487 struct bpf_insn insn_buff[16], aux[2]; bpf_jit_blind_constants() local
2379 struct bpf_prog_aux *aux = fp->aux; __bpf_prog_map_compatible() local
2449 struct bpf_prog_aux *aux = fp->aux; bpf_check_tail_call() local
2844 __bpf_free_used_maps(struct bpf_prog_aux * aux,struct bpf_map ** used_maps,u32 len) __bpf_free_used_maps() argument
2862 bpf_free_used_maps(struct bpf_prog_aux * aux) bpf_free_used_maps() argument
2883 bpf_free_used_btfs(struct bpf_prog_aux * aux) bpf_free_used_btfs() argument
2891 struct bpf_prog_aux *aux; bpf_prog_free_deferred() local
2931 struct bpf_prog_aux *aux = fp->aux; bpf_prog_free() local
[all...]
H A Doffload.c111 struct bpf_prog_offload *offload = prog->aux->offload; in __bpf_prog_offload_destroy()
118 prog->aux->offload = NULL; in __bpf_prog_offload_destroy()
206 if (bpf_prog_is_offloaded(prog->aux) && (!ondev || !ondev->offdev)) { in __bpf_prog_dev_bound_init()
220 prog->aux->offload = offload; in __bpf_prog_dev_bound_init()
260 prog->aux->offload_requested = !(attr->prog_flags & BPF_F_XDP_DEV_BOUND_ONLY); in bpf_prog_dev_bound_init()
275 if (!bpf_prog_is_dev_bound(old_prog->aux)) in bpf_prog_dev_bound_inherit()
278 if (bpf_prog_is_offloaded(old_prog->aux)) in bpf_prog_dev_bound_inherit()
281 new_prog->aux->dev_bound = old_prog->aux->dev_bound; in bpf_prog_dev_bound_inherit()
282 new_prog->aux->offload_requested = old_prog->aux->offload_requested; in bpf_prog_dev_bound_inherit()
285 if (!old_prog->aux->offload) { in bpf_prog_dev_bound_inherit()
[all …]
H A Darraymap.c690 struct bpf_iter_aux_info *aux) in bpf_iter_init_array_map()
693 struct bpf_map *map = aux->map; in bpf_iter_init_array_map()
910 mutex_lock(&array->aux->poke_mutex); in __fd_array_map_delete_elem()
913 mutex_unlock(&array->aux->poke_mutex); in __fd_array_map_delete_elem()
933 mutex_lock(&array->aux->poke_mutex);
936 mutex_unlock(&array->aux->poke_mutex); in fd_array_map_delete_elem()
969 mutex_lock(&prog->aux->ext_mutex); in prog_fd_array_get_ptr()
970 is_extended = prog->aux->is_extended; in prog_fd_array_get_ptr()
972 prog->aux->prog_array_member_cnt++; in prog_fd_array_put_ptr()
973 mutex_unlock(&prog->aux in prog_fd_array_put_ptr()
676 bpf_iter_init_array_map(void * priv_data,struct bpf_iter_aux_info * aux) bpf_iter_init_array_map() argument
1023 struct bpf_prog_aux *aux; global() member
1030 struct bpf_array_aux *aux; prog_array_map_poke_track() local
1063 struct bpf_array_aux *aux; prog_array_map_poke_untrack() local
1088 struct bpf_array_aux *aux; prog_array_map_poke_run() local
1142 struct bpf_array_aux *aux = container_of(map, struct bpf_array, prog_array_map_clear() local
1150 struct bpf_array_aux *aux; prog_array_map_alloc() local
1176 struct bpf_array_aux *aux; prog_array_map_free() local
[all...]
H A 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 …]
H A Dmap_iter.c102 struct bpf_iter_aux_info *aux) in bpf_iter_attach_map() argument
125 key_acc_size = prog->aux->max_rdonly_access; in bpf_iter_attach_map()
126 value_acc_size = prog->aux->max_rdwr_access; in bpf_iter_attach_map()
138 aux->map = map; in bpf_iter_attach_map()
146 static void bpf_iter_detach_map(struct bpf_iter_aux_info *aux) in bpf_iter_detach_map() argument
148 bpf_map_put_with_uref(aux->map); in bpf_iter_detach_map()
151 void bpf_iter_map_show_fdinfo(const struct bpf_iter_aux_info *aux, in bpf_iter_map_show_fdinfo() argument
154 seq_printf(seq, "map_id:\t%u\n", aux->map->id); in bpf_iter_map_show_fdinfo()
157 int bpf_iter_map_fill_link_info(const struct bpf_iter_aux_info *aux, in bpf_iter_map_fill_link_info() argument
160 info->iter.map.map_id = aux->map->id; in bpf_iter_map_fill_link_info()
/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/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/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/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 …]
H A Dmadera.h249 MADERA_MUX(name_str " Aux 1", &name##_aux1_mux), \
250 MADERA_MUX(name_str " Aux 2", &name##_aux2_mux), \
251 MADERA_MUX(name_str " Aux 3", &name##_aux3_mux), \
252 MADERA_MUX(name_str " Aux 4", &name##_aux4_mux), \
253 MADERA_MUX(name_str " Aux 5", &name##_aux5_mux), \
254 MADERA_MUX(name_str " Aux 6", &name##_aux6_mux)
276 { name, NULL, name " Aux 1" }, \
277 { name, NULL, name " Aux 2" }, \
278 { name, NULL, name " Aux 3" }, \
279 { 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 …]
H A Dulist.h30 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);
58 /* just like ulist_add_merge() but take a pointer for the aux data */
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 Danalogix_dp_core.c79 * The eDP TRM indicate that if HPD_STATUS(RO) is 0, AUX CH in analogix_dp_detect_hpd()
102 ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_SUPPORT, &psr_version); in analogix_dp_detect_sink_psr()
118 ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_EN_CFG, &psr_en); in analogix_dp_enable_sink_psr()
125 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr()
133 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr()
141 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr()
165 ret = drm_dp_dpcd_readb(&dp->aux, DP_LANE_COUNT_SET, &data); in analogix_dp_enable_rx_to_enhanced_mode()
170 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, in analogix_dp_enable_rx_to_enhanced_mode()
174 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, in analogix_dp_enable_rx_to_enhanced_mode()
186 ret = drm_dp_dpcd_readb(&dp->aux, DP_MAX_LANE_COUNT, &data); in analogix_dp_is_enhanced_mode_available()
[all …]
/linux/drivers/gpu/drm/hisilicon/hibmc/dp/
H A Ddp_link.c45 ret = drm_dp_dpcd_write(dp->aux, DP_LINK_BW_SET, buf, sizeof(buf)); in hibmc_dp_link_training_configure()
47 drm_dbg_dp(dp->dev, "dp aux write link rate and lanes failed, ret: %d\n", ret); in hibmc_dp_link_training_configure()
54 ret = drm_dp_dpcd_write(dp->aux, DP_DOWNSPREAD_CTRL, buf, sizeof(buf)); in hibmc_dp_link_training_configure()
56 drm_dbg_dp(dp->dev, "dp aux write 8b/10b and downspread failed, ret: %d\n", ret); in hibmc_dp_link_training_configure()
99 ret = drm_dp_dpcd_write(dp->aux, DP_TRAINING_PATTERN_SET, &buf, sizeof(buf)); in hibmc_dp_link_set_pattern()
101 drm_dbg_dp(dp->dev, "dp aux write training pattern set failed\n"); in hibmc_dp_link_set_pattern()
129 ret = drm_dp_dpcd_write(dp->aux, DP_TRAINING_LANE0_SET, train_set, dp->link.cap.lanes); in hibmc_dp_link_training_cr_pre()
131 drm_dbg_dp(dp->dev, "dp aux write training lane set failed\n"); in hibmc_dp_link_training_cr_pre()
213 drm_dp_link_train_clock_recovery_delay(dp->aux, dp->dpcd); in hibmc_dp_link_training_cr()
215 ret = drm_dp_dpcd_read_link_status(dp->aux, lane_status); in hibmc_dp_link_training_cr()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Ddp.c60 int ret = nvkm_i2c_aux_acquire(outp->dp.aux); in nvkm_dp_aux_xfer()
65 ret = nvkm_i2c_aux_xfer(outp->dp.aux, false, type, addr, data, size); in nvkm_dp_aux_xfer()
66 nvkm_i2c_aux_release(outp->dp.aux); in nvkm_dp_aux_xfer()
105 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[0], 3); in nvkm_dp_train_sense()
114 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[4], 2); in nvkm_dp_train_sense()
119 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, &lt->pc2stat, 1); in nvkm_dp_train_sense()
189 ret = nvkm_wraux(outp->dp.aux, addr, lt->conf, 4); in nvkm_dp_train_drive()
194 ret = nvkm_wraux(outp->dp.aux, DPCD_LC0F, lt->pc2conf, 2); in nvkm_dp_train_drive()
217 nvkm_rdaux(outp->dp.aux, addr, &sink_tp, 1); in nvkm_dp_train_pattern()
225 nvkm_wraux(outp->dp.aux, addr, &sink_tp, 1); in nvkm_dp_train_pattern()
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dingenic,vpu.yaml24 - description: aux registers
31 - const: aux
38 - description: aux clock
43 - const: aux
66 reg = <0x132a0000 0x20>, /* AUX */
70 reg-names = "aux", "tcsm0", "tcsm1", "sram";
73 clock-names = "aux", "vpu";
/linux/drivers/power/reset/
H A Dep93xx-restart.c34 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()

12345678910>>...33