| /linux/drivers/clk/spear/ |
| H A D | clk-aux-synth.c | 9 #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 D | drm_dp_aux_bus.h | 5 * 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 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/tools/perf/arch/s390/util/ |
| H A D | auxtrace.c | 58 * 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 D | fcs,fsa4480.yaml | 49 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/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 | 102 struct bpf_prog_aux *aux; in bpf_prog_alloc_no_stats() local 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() 1276 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 1455 struct bpf_insn insn_buff[16], aux[2]; bpf_jit_blind_constants() local 2347 struct bpf_prog_aux *aux = fp->aux; __bpf_prog_map_compatible() local 2422 struct bpf_prog_aux *aux = fp->aux; bpf_check_tail_call() local 2817 __bpf_free_used_maps(struct bpf_prog_aux * aux,struct bpf_map ** used_maps,u32 len) __bpf_free_used_maps() argument 2835 bpf_free_used_maps(struct bpf_prog_aux * aux) bpf_free_used_maps() argument 2856 bpf_free_used_btfs(struct bpf_prog_aux * aux) bpf_free_used_btfs() argument 2864 struct bpf_prog_aux *aux; bpf_prog_free_deferred() local 2904 struct bpf_prog_aux *aux = fp->aux; bpf_prog_free() local [all...] |
| H A D | offload.c | 111 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 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 …]
|
| H A D | stream.c | 85 static struct bpf_stream *bpf_stream_get(enum bpf_stream_id stream_id, struct bpf_prog_aux *aux) in bpf_stream_get() argument 89 return &aux->stream[stream_id - 1]; in bpf_stream_get() 203 stream = bpf_stream_get(stream_id, prog->aux); in bpf_prog_stream_read() 222 struct bpf_prog_aux *aux = aux__prog; in bpf_stream_vprintk_impl() local 228 stream = bpf_stream_get(stream_id, aux); in bpf_stream_vprintk_impl() 257 for (i = 0; i < ARRAY_SIZE(prog->aux->stream); i++) { in bpf_prog_stream_init() 258 atomic_set(&prog->aux->stream[i].capacity, 0); in bpf_prog_stream_init() 259 init_llist_head(&prog->aux->stream[i].log); in bpf_prog_stream_init() 260 mutex_init(&prog->aux->stream[i].lock); in bpf_prog_stream_init() 261 prog->aux->stream[i].backlog_head = NULL; in bpf_prog_stream_init() [all …]
|
| H A D | map_iter.c | 102 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 D | coresight-perf.rst | 18 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 D | auxtrace.c | 69 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/Documentation/devicetree/bindings/display/ |
| H A D | dp-aux-bus.yaml | 4 $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 D | mmap.c | 25 /* 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 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/fs/ |
| H A D | fsopen.c | 313 * @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 D | arizona.h | 202 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 D | madera.h | 249 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 D | ulist.c | 184 * @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 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); 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 D | analogix_dp_core.c | 79 * 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 D | dp_link.c | 45 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 D | dp.c | 60 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, <->stat[0], 3); in nvkm_dp_train_sense() 114 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[4], 2); in nvkm_dp_train_sense() 119 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, <->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 D | ingenic,vpu.yaml | 24 - 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";
|