Home
last modified time | relevance | path

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

12345678910>>...76

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_aux.c55 static u32 dp_aux_write(struct dp_aux_private *aux, in dp_aux_write() argument
63 if (aux->read) in dp_aux_write()
79 if (aux->read) in dp_aux_write()
93 aux->catalog->aux_data = reg; in dp_aux_write()
94 dp_catalog_aux_write_data(aux->catalog); in dp_aux_write()
97 dp_catalog_aux_clear_trans(aux->catalog, false); in dp_aux_write()
98 dp_catalog_aux_clear_hw_interrupts(aux->catalog); in dp_aux_write()
101 if (!aux->native) { /* i2c */ in dp_aux_write()
104 if (aux->no_send_addr) in dp_aux_write()
107 if (aux->no_send_stop) in dp_aux_write()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/
Ddp_aux.c47 static ssize_t dp_aux_write(struct dp_aux_private *aux, in dp_aux_write() argument
57 if (aux->read) in dp_aux_write()
73 if (aux->read) in dp_aux_write()
88 aux->catalog->aux_data = reg; in dp_aux_write()
89 dp_catalog_aux_write_data(aux->catalog); in dp_aux_write()
92 dp_catalog_aux_clear_trans(aux->catalog, false); in dp_aux_write()
93 dp_catalog_aux_clear_hw_interrupts(aux->catalog); in dp_aux_write()
96 if (!aux->native) { /* i2c */ in dp_aux_write()
99 if (aux->no_send_addr) in dp_aux_write()
102 if (aux->no_send_stop) in dp_aux_write()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Daux.c27 #include "aux.h"
33 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
[all …]
Dbase.c25 #include "aux.h"
78 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()
[all …]
Dauxgm200.c25 #include "aux.h"
33 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()
[all …]
Dauxg94.c25 #include "aux.h"
33 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()
[all …]
Danx9805.c27 #include "aux.h"
139 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()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Daux.c24 #include "aux.h"
30 struct nvkm_i2c_aux *aux = container_of(adap, typeof(*aux), i2c); in nvkm_i2c_aux_i2c_xfer() local
34 ret = nvkm_i2c_aux_acquire(aux); in nvkm_i2c_aux_i2c_xfer()
57 ret = aux->func->xfer(aux, true, cmd, in nvkm_i2c_aux_i2c_xfer()
63 AUX_TRACE(aux, "no data after 32 retries"); in nvkm_i2c_aux_i2c_xfer()
77 nvkm_i2c_aux_release(aux); in nvkm_i2c_aux_i2c_xfer()
94 nvkm_i2c_aux_monitor(struct nvkm_i2c_aux *aux, bool monitor) in nvkm_i2c_aux_monitor() argument
96 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_monitor()
97 AUX_TRACE(aux, "monitor: %s", monitor ? "yes" : "no"); in nvkm_i2c_aux_monitor()
105 nvkm_i2c_aux_release(struct nvkm_i2c_aux *aux) in nvkm_i2c_aux_release() argument
[all …]
Dauxg94.c25 #include "aux.h"
33 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()
[all …]
Dauxgm200.c25 #include "aux.h"
33 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()
[all …]
Dbase.c25 #include "aux.h"
79 struct nvkm_i2c_aux *aux; in nvkm_i2c_aux_find() local
81 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find()
82 if (aux->id == id) in nvkm_i2c_aux_find()
83 return aux; in nvkm_i2c_aux_find()
93 struct nvkm_i2c_aux *aux = nvkm_i2c_aux_find(i2c, id); in nvkm_i2c_intr_fini() local
94 if (aux) in nvkm_i2c_intr_fini()
95 i2c->func->aux_mask(i2c, type, aux->intr, 0); in nvkm_i2c_intr_fini()
102 struct nvkm_i2c_aux *aux = nvkm_i2c_aux_find(i2c, id); in nvkm_i2c_intr_init() local
103 if (aux) in nvkm_i2c_intr_init()
[all …]
Danx9805.c27 #include "aux.h"
139 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()
[all …]
/kernel/linux/linux-5.10/drivers/clk/spear/
Dclk-aux-synth.c12 #define pr_fmt(fmt) "clk-aux-synth: " fmt
23 * Aux synth gives rate for different values of eq, x and y
47 struct clk_aux *aux = to_clk_aux(hw); in aux_calc_rate() local
48 struct aux_rate_tbl *rtbl = aux->rtbl; in aux_calc_rate()
58 struct clk_aux *aux = to_clk_aux(hw); in clk_aux_round_rate() local
62 aux->rtbl_cnt, &unused); in clk_aux_round_rate()
68 struct clk_aux *aux = to_clk_aux(hw); in clk_aux_recalc_rate() local
72 if (aux->lock) in clk_aux_recalc_rate()
73 spin_lock_irqsave(aux->lock, flags); in clk_aux_recalc_rate()
75 val = readl_relaxed(aux->reg); in clk_aux_recalc_rate()
[all …]
/kernel/linux/linux-6.6/drivers/clk/spear/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/display/
Ddrm_dp_cec.c3 * DisplayPort CEC-Tunneling-over-AUX support
21 * have a converter chip that supports CEC-Tunneling-over-AUX (usually the
56 * These functions take care of supporting the CEC-Tunneling-over-AUX
94 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()
[all …]
Ddrm_dp_helper.c58 struct drm_dp_aux *aux; member
67 * levels to deal with Display Port sink devices and related things like DP aux
68 * channel transfers, EDID reading over DP aux channels, decoding certain DPCD
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
[all …]
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
27 int (*done_probing)(struct drm_dp_aux *aux);
69 ret = aux_ep_with_data->done_probing(aux_ep->aux); in dp_aux_ep_probe()
79 "DP AUX done_probing() can't defer\n"); in dp_aux_ep_probe()
131 .name = "dp-aux",
176 * of_dp_aux_ep_destroy() - Destroy an DP AUX endpoint device
181 * is called for _all_ of the child devices of the device providing the AUX bus.
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_dp_cec.c3 * DisplayPort CEC-Tunneling-over-AUX support
21 * have a converter chip that supports CEC-Tunneling-over-AUX (usually the
56 * These functions take care of supporting the CEC-Tunneling-over-AUX
94 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()
[all …]
Ddrm_dp_helper.c43 * levels to deal with Display Port sink devices and related things like DP aux
44 * channel transfers, EDID reading over DP aux channels, decoding certain DPCD
141 DRM_DEBUG_KMS("AUX interval %lu, out of range (max 4)\n", in drm_dp_link_train_clock_recovery_delay()
159 DRM_DEBUG_KMS("AUX interval %lu, out of range (max 4)\n", in drm_dp_link_train_channel_eq_delay()
188 drm_dp_dump_access(const struct drm_dp_aux *aux, in drm_dp_dump_access() argument
194 DRM_DEBUG_DP("%s: 0x%05x AUX %s (ret=%3d) %*ph\n", in drm_dp_dump_access()
195 aux->name, offset, arrow, ret, min(ret, 20), buffer); in drm_dp_dump_access()
197 DRM_DEBUG_DP("%s: 0x%05x AUX %s (ret=%3d)\n", in drm_dp_dump_access()
198 aux->name, offset, arrow, ret); in drm_dp_dump_access()
204 * The DisplayPort AUX channel is an abstraction to allow generic, driver-
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/edp/
Dedp_aux.c33 static int edp_msg_fifo_tx(struct edp_aux *aux, struct drm_dp_aux_msg *msg) in edp_msg_fifo_tx() argument
67 edp_write(aux->base + REG_EDP_AUX_DATA, reg); in edp_msg_fifo_tx()
75 edp_write(aux->base + REG_EDP_AUX_TRANS_CTRL, reg); in edp_msg_fifo_tx()
80 static int edp_msg_fifo_rx(struct edp_aux *aux, struct drm_dp_aux_msg *msg) in edp_msg_fifo_rx() argument
87 edp_write(aux->base + REG_EDP_AUX_DATA, in edp_msg_fifo_rx()
93 data = edp_read(aux->base + REG_EDP_AUX_DATA); in edp_msg_fifo_rx()
95 data = edp_read(aux->base + REG_EDP_AUX_DATA); in edp_msg_fifo_rx()
103 * This function does the real job to process an AUX transaction.
104 * It will call msm_edp_aux_ctrl() function to reset the AUX channel,
108 * start transaction only when AUX channel is fully enabled.
[all …]
/kernel/linux/linux-6.6/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);
255 * DisplayPort AUX channel
259 * struct drm_dp_aux_msg - DisplayPort AUX channel transaction
279 * struct drm_dp_aux_cec - DisplayPort CEC-Tunneling-over-AUX
281 * @adap: the CEC adapter for CEC-Tunneling-over-AUX support.
[all …]
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
Dintel_lspcon.c45 /* AUX addresses to write MCA AVI IF */
51 /* AUX addresses to write Parade AVI IF */
87 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()
[all …]
/kernel/linux/linux-6.6/tools/perf/arch/s390/util/
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 …]
/kernel/linux/linux-5.10/tools/perf/arch/s390/util/
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
108 /* sampling in diagnose mode. alloc aux buffer */ in auxtrace_record__init()
109 aux = zalloc(sizeof(*aux)); in auxtrace_record__init()
110 if (aux == NULL) { in auxtrace_record__init()
115 aux->parse_snapshot_options = cpumsf_parse_snapshot_options; in auxtrace_record__init()
116 aux->recording_options = cpumsf_recording_options; in auxtrace_record__init()
117 aux->info_priv_size = cpumsf_info_priv_size; in auxtrace_record__init()
118 aux->info_fill = cpumsf_info_fill; in auxtrace_record__init()
[all …]

12345678910>>...76