Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c43 static int analogix_dp_init_dp(struct analogix_dp_device *dp) in analogix_dp_init_dp() argument
47 analogix_dp_reset(dp); in analogix_dp_init_dp()
49 analogix_dp_swreset(dp); in analogix_dp_init_dp()
51 analogix_dp_init_analog_param(dp); in analogix_dp_init_dp()
52 analogix_dp_init_interrupt(dp); in analogix_dp_init_dp()
55 analogix_dp_enable_sw_function(dp); in analogix_dp_init_dp()
57 analogix_dp_config_interrupt(dp); in analogix_dp_init_dp()
58 ret = analogix_dp_init_analog_func(dp); in analogix_dp_init_dp()
62 analogix_dp_init_hpd(dp); in analogix_dp_init_dp()
63 analogix_dp_init_aux(dp); in analogix_dp_init_dp()
[all …]
Danalogix_dp_reg.c26 void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable) in analogix_dp_enable_video_mute() argument
31 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute()
33 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute()
35 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute()
37 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_enable_video_mute()
41 void analogix_dp_stop_video(struct analogix_dp_device *dp) in analogix_dp_stop_video() argument
45 reg = readl(dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_stop_video()
47 writel(reg, dp->reg_base + ANALOGIX_DP_VIDEO_CTL_1); in analogix_dp_stop_video()
50 void analogix_dp_lane_swap(struct analogix_dp_device *dp, bool enable) in analogix_dp_lane_swap() argument
61 writel(reg, dp->reg_base + ANALOGIX_DP_LANE_MAP); in analogix_dp_lane_swap()
[all …]
Danalogix_dp_core.h184 void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable);
185 void analogix_dp_stop_video(struct analogix_dp_device *dp);
186 void analogix_dp_lane_swap(struct analogix_dp_device *dp, bool enable);
187 void analogix_dp_init_analog_param(struct analogix_dp_device *dp);
188 void analogix_dp_init_interrupt(struct analogix_dp_device *dp);
189 void analogix_dp_reset(struct analogix_dp_device *dp);
190 void analogix_dp_swreset(struct analogix_dp_device *dp);
191 void analogix_dp_config_interrupt(struct analogix_dp_device *dp);
192 void analogix_dp_mute_hpd_interrupt(struct analogix_dp_device *dp);
193 void analogix_dp_unmute_hpd_interrupt(struct analogix_dp_device *dp);
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c62 static int cdn_dp_grf_write(struct cdn_dp_device *dp, in cdn_dp_grf_write() argument
67 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write()
69 DRM_DEV_ERROR(dp->dev, "Failed to prepare_enable grf clock\n"); in cdn_dp_grf_write()
73 ret = regmap_write(dp->grf, reg, val); in cdn_dp_grf_write()
75 DRM_DEV_ERROR(dp->dev, "Could not write to GRF: %d\n", ret); in cdn_dp_grf_write()
76 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
80 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
85 static int cdn_dp_clk_enable(struct cdn_dp_device *dp) in cdn_dp_clk_enable() argument
90 ret = clk_prepare_enable(dp->pclk); in cdn_dp_clk_enable()
92 DRM_DEV_ERROR(dp->dev, "cannot enable dp pclk %d\n", ret); in cdn_dp_clk_enable()
[all …]
Dcdn-dp-reg.c24 void cdn_dp_set_fw_clk(struct cdn_dp_device *dp, unsigned long clk) in cdn_dp_set_fw_clk() argument
26 writel(clk / 1000000, dp->regs + SW_CLK_H); in cdn_dp_set_fw_clk()
29 void cdn_dp_clock_reset(struct cdn_dp_device *dp) in cdn_dp_clock_reset() argument
45 writel(val, dp->regs + SOURCE_DPTX_CAR); in cdn_dp_clock_reset()
48 writel(val, dp->regs + SOURCE_PHY_CAR); in cdn_dp_clock_reset()
54 writel(val, dp->regs + SOURCE_PKT_CAR); in cdn_dp_clock_reset()
62 writel(val, dp->regs + SOURCE_AIF_CAR); in cdn_dp_clock_reset()
68 writel(val, dp->regs + SOURCE_CIPHER_CAR); in cdn_dp_clock_reset()
72 writel(val, dp->regs + SOURCE_CRYPTO_CAR); in cdn_dp_clock_reset()
75 writel(0, dp->regs + APB_INT_MASK); in cdn_dp_clock_reset()
[all …]
Danalogix_dp-rockchip.c76 static int rockchip_dp_pre_init(struct rockchip_dp_device *dp) in rockchip_dp_pre_init() argument
78 reset_control_assert(dp->rst); in rockchip_dp_pre_init()
80 reset_control_deassert(dp->rst); in rockchip_dp_pre_init()
87 struct rockchip_dp_device *dp = to_dp(plat_data); in rockchip_dp_poweron_start() local
90 ret = clk_prepare_enable(dp->pclk); in rockchip_dp_poweron_start()
92 DRM_DEV_ERROR(dp->dev, "failed to enable pclk %d\n", ret); in rockchip_dp_poweron_start()
96 ret = rockchip_dp_pre_init(dp); in rockchip_dp_poweron_start()
98 DRM_DEV_ERROR(dp->dev, "failed to dp pre init %d\n", ret); in rockchip_dp_poweron_start()
99 clk_disable_unprepare(dp->pclk); in rockchip_dp_poweron_start()
108 struct rockchip_dp_device *dp = to_dp(plat_data); in rockchip_dp_powerdown() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_display.c184 struct dp_display_private *dp; in dp_display_signal_audio_start() local
186 dp = container_of(dp_display, struct dp_display_private, dp_display); in dp_display_signal_audio_start()
188 reinit_completion(&dp->audio_comp); in dp_display_signal_audio_start()
193 struct dp_display_private *dp; in dp_display_signal_audio_complete() local
195 dp = container_of(dp_display, struct dp_display_private, dp_display); in dp_display_signal_audio_complete()
197 complete_all(&dp->audio_comp); in dp_display_signal_audio_complete()
206 struct dp_display_private *dp; in dp_display_bind() local
212 dp = container_of(g_dp_display, in dp_display_bind()
214 if (!dp) { in dp_display_bind()
219 dp->dp_display.drm_dev = drm; in dp_display_bind()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c333 static void zynqmp_dp_write(struct zynqmp_dp *dp, int offset, u32 val) in zynqmp_dp_write() argument
335 writel(val, dp->iomem + offset); in zynqmp_dp_write()
338 static u32 zynqmp_dp_read(struct zynqmp_dp *dp, int offset) in zynqmp_dp_read() argument
340 return readl(dp->iomem + offset); in zynqmp_dp_read()
343 static void zynqmp_dp_clr(struct zynqmp_dp *dp, int offset, u32 clr) in zynqmp_dp_clr() argument
345 zynqmp_dp_write(dp, offset, zynqmp_dp_read(dp, offset) & ~clr); in zynqmp_dp_clr()
348 static void zynqmp_dp_set(struct zynqmp_dp *dp, int offset, u32 set) in zynqmp_dp_set() argument
350 zynqmp_dp_write(dp, offset, zynqmp_dp_read(dp, offset) | set); in zynqmp_dp_set()
359 static int zynqmp_dp_reset(struct zynqmp_dp *dp, bool assert) in zynqmp_dp_reset() argument
364 reset_control_assert(dp->reset); in zynqmp_dp_reset()
[all …]
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/
Ddisplayport.c50 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_enter() local
51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter()
56 mutex_lock(&dp->con->lock); in ucsi_displayport_enter()
58 if (!dp->override && dp->initialized) { in ucsi_displayport_enter()
67 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter()
76 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
86 dp->header = VDO(USB_TYPEC_DP_SID, 1, CMD_ENTER_MODE); in ucsi_displayport_enter()
87 dp->header |= VDO_OPOS(USB_TYPEC_DP_MODE); in ucsi_displayport_enter()
88 dp->header |= VDO_CMDT(CMDT_RSP_ACK); in ucsi_displayport_enter()
90 dp->vdo_data = NULL; in ucsi_displayport_enter()
[all …]
/kernel/linux/linux-5.10/net/dsa/
Dport.c33 static int dsa_port_notify(const struct dsa_port *dp, unsigned long e, void *v) in dsa_port_notify() argument
35 struct raw_notifier_head *nh = &dp->ds->dst->nh; in dsa_port_notify()
43 int dsa_port_set_state(struct dsa_port *dp, u8 state, in dsa_port_set_state() argument
46 struct dsa_switch *ds = dp->ds; in dsa_port_set_state()
47 int port = dp->index; in dsa_port_set_state()
61 if ((dp->stp_state == BR_STATE_LEARNING || in dsa_port_set_state()
62 dp->stp_state == BR_STATE_FORWARDING) && in dsa_port_set_state()
69 dp->stp_state = state; in dsa_port_set_state()
74 static void dsa_port_set_state_now(struct dsa_port *dp, u8 state) in dsa_port_set_state_now() argument
78 err = dsa_port_set_state(dp, state, NULL); in dsa_port_set_state_now()
[all …]
Ddsa2.c27 struct dsa_port *dp; in dsa_switch_find() local
33 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find()
34 if (dp->ds->index != sw_index) in dsa_switch_find()
37 return dp->ds; in dsa_switch_find()
128 static bool dsa_port_is_user(struct dsa_port *dp) in dsa_port_is_user() argument
130 return dp->type == DSA_PORT_TYPE_USER; in dsa_port_is_user()
136 struct dsa_port *dp; in dsa_tree_find_port_by_node() local
138 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_port_by_node()
139 if (dp->dn == dn) in dsa_tree_find_port_by_node()
140 return dp; in dsa_tree_find_port_by_node()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddp.c37 struct nvkm_dp *dp; member
48 struct nvkm_dp *dp = lt->dp; in nvkm_dp_train_sense() local
51 if (dp->dpcd[DPCD_RC0E_AUX_RD_INTERVAL]) in nvkm_dp_train_sense()
52 mdelay(dp->dpcd[DPCD_RC0E_AUX_RD_INTERVAL] * 4); in nvkm_dp_train_sense()
56 ret = nvkm_rdaux(dp->aux, DPCD_LS02, lt->stat, 6); in nvkm_dp_train_sense()
61 ret = nvkm_rdaux(dp->aux, DPCD_LS0C, &lt->pc2stat, 1); in nvkm_dp_train_sense()
64 OUTP_TRACE(&dp->outp, "status %6ph pc2 %02x", in nvkm_dp_train_sense()
67 OUTP_TRACE(&dp->outp, "status %6ph", lt->stat); in nvkm_dp_train_sense()
76 struct nvkm_dp *dp = lt->dp; in nvkm_dp_train_drive() local
77 struct nvkm_ior *ior = dp->outp.ior; in nvkm_dp_train_drive()
[all …]
/kernel/linux/linux-5.10/drivers/usb/typec/altmodes/
Ddisplayport.c67 static int dp_altmode_notify(struct dp_altmode *dp) in dp_altmode_notify() argument
69 u8 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
71 return typec_altmode_notify(dp->alt, TYPEC_MODAL_STATE(state), in dp_altmode_notify()
72 &dp->data); in dp_altmode_notify()
75 static int dp_altmode_configure(struct dp_altmode *dp, u8 con) in dp_altmode_configure() argument
85 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
86 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
91 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
92 DP_CAP_PIN_ASSIGN_DFP_D(dp->port->vdo); in dp_altmode_configure()
99 if (!DP_CONF_GET_PIN_ASSIGN(dp->data.conf)) { in dp_altmode_configure()
[all …]
/kernel/linux/linux-5.10/sound/core/seq/oss/
Dseq_oss_init.c42 static int create_port(struct seq_oss_devinfo *dp);
43 static int delete_port(struct seq_oss_devinfo *dp);
44 static int alloc_seq_queue(struct seq_oss_devinfo *dp);
175 struct seq_oss_devinfo *dp; in snd_seq_oss_open() local
177 dp = kzalloc(sizeof(*dp), GFP_KERNEL); in snd_seq_oss_open()
178 if (!dp) in snd_seq_oss_open()
181 dp->cseq = system_client; in snd_seq_oss_open()
182 dp->port = -1; in snd_seq_oss_open()
183 dp->queue = -1; in snd_seq_oss_open()
190 dp->index = i; in snd_seq_oss_open()
[all …]
Dseq_oss_ioctl.c18 static int snd_seq_oss_synth_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_synth_info_user() argument
24 if (snd_seq_oss_synth_make_info(dp, info.device, &info) < 0) in snd_seq_oss_synth_info_user()
31 static int snd_seq_oss_midi_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_midi_info_user() argument
37 if (snd_seq_oss_midi_make_info(dp, info.device, &info) < 0) in snd_seq_oss_midi_info_user()
44 static int snd_seq_oss_oob_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_oob_user() argument
52 snd_seq_oss_fill_addr(dp, &tmpev, dp->addr.client, dp->addr.port); in snd_seq_oss_oob_user()
54 if (! snd_seq_oss_process_event(dp, (union evrec *)ev, &tmpev)) { in snd_seq_oss_oob_user()
55 snd_seq_oss_dispatch(dp, &tmpev, 0, 0); in snd_seq_oss_oob_user()
61 snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long carg) in snd_seq_oss_ioctl() argument
77 return snd_seq_oss_timer_ioctl(dp->timer, cmd, arg); in snd_seq_oss_ioctl()
[all …]
Dseq_oss_event.c22 static int extended_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev);
23 static int chn_voice_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event…
24 static int chn_common_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_even…
25 static int timing_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *e…
26 static int local_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *ev…
27 static int old_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev);
28 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd…
29 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct sn…
30 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel,…
31 static int set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int …
[all …]
Dseq_oss_rw.c23 static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt);
31 snd_seq_oss_read(struct seq_oss_devinfo *dp, char __user *buf, int count) in snd_seq_oss_read() argument
33 struct seq_oss_readq *readq = dp->readq; in snd_seq_oss_read()
39 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read()
46 !is_nonblock_mode(dp->file_mode) && result == 0) { in snd_seq_oss_read()
83 snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt) in snd_seq_oss_write() argument
89 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_write()
105 return snd_seq_oss_synth_load_patch(dp, rec.s.dev, in snd_seq_oss_write()
111 dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write()
127 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_dp.c50 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_crtc_clock_enable() local
51 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable()
74 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_get_modes() local
78 if (dp->plat_data.panel) in exynos_dp_get_modes()
83 DRM_DEV_ERROR(dp->dev, in exynos_dp_get_modes()
88 drm_display_mode_from_videomode(&dp->vm, mode); in exynos_dp_get_modes()
103 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_bridge_attach() local
106 dp->connector = connector; in exynos_dp_bridge_attach()
109 if (dp->ptn_bridge) { in exynos_dp_bridge_attach()
110 ret = drm_bridge_attach(&dp->encoder, dp->ptn_bridge, bridge, in exynos_dp_bridge_attach()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dprom_64.c66 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() argument
68 const char *name = of_get_property(dp, "name", NULL); in sun4v_path_component()
73 rprop = of_find_property(dp, "reg", NULL); in sun4v_path_component()
78 if (!of_node_is_root(dp->parent)) { in sun4v_path_component()
108 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() argument
110 const char *name = of_get_property(dp, "name", NULL); in sun4u_path_component()
114 prop = of_find_property(dp, "reg", NULL); in sun4u_path_component()
119 if (!of_node_is_root(dp->parent)) { in sun4u_path_component()
127 prop = of_find_property(dp, "upa-portid", NULL); in sun4u_path_component()
129 prop = of_find_property(dp, "portid", NULL); in sun4u_path_component()
[all …]
Dprom_32.c57 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument
59 const char *name = of_get_property(dp, "name", NULL); in sparc32_path_component()
63 rprop = of_find_property(dp, "reg", NULL); in sparc32_path_component()
74 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument
76 const char *name = of_get_property(dp, "name", NULL); in sbus_path_component()
80 prop = of_find_property(dp, "reg", NULL); in sbus_path_component()
92 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument
94 const char *name = of_get_property(dp, "name", NULL); in pci_path_component()
99 prop = of_find_property(dp, "reg", NULL); in pci_path_component()
118 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() argument
[all …]
Dprom_irqtrans.c43 static unsigned int psycho_irq_build(struct device_node *dp, in psycho_irq_build() argument
73 static void __init psycho_irq_trans_init(struct device_node *dp) in psycho_irq_trans_init() argument
77 dp->irq_trans = prom_early_alloc(sizeof(struct of_irq_controller)); in psycho_irq_trans_init()
78 dp->irq_trans->irq_build = psycho_irq_build; in psycho_irq_trans_init()
80 regs = of_get_property(dp, "reg", NULL); in psycho_irq_trans_init()
81 dp->irq_trans->data = (void *) regs[2].phys_addr; in psycho_irq_trans_init()
182 static int sabre_device_needs_wsync(struct device_node *dp) in sabre_device_needs_wsync() argument
184 struct device_node *parent = dp->parent; in sabre_device_needs_wsync()
221 static unsigned int sabre_irq_build(struct device_node *dp, in sabre_irq_build() argument
258 regs = of_get_property(dp, "reg", NULL); in sabre_irq_build()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-io.c162 void (*get_page)(struct dpages *dp,
164 void (*next_page)(struct dpages *dp);
179 static void list_get_page(struct dpages *dp, in list_get_page() argument
182 unsigned o = dp->context_u; in list_get_page()
183 struct page_list *pl = (struct page_list *) dp->context_ptr; in list_get_page()
190 static void list_next_page(struct dpages *dp) in list_next_page() argument
192 struct page_list *pl = (struct page_list *) dp->context_ptr; in list_next_page()
193 dp->context_ptr = pl->next; in list_next_page()
194 dp->context_u = 0; in list_next_page()
197 static void list_dp_init(struct dpages *dp, struct page_list *pl, unsigned offset) in list_dp_init() argument
[all …]
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dunwind_decoder.c86 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument
91 byte1 = *dp++; in unw_decode_x1()
92 t = unw_decode_uleb128 (&dp); in unw_decode_x1()
93 off = unw_decode_uleb128 (&dp); in unw_decode_x1()
99 return dp; in unw_decode_x1()
103 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument
108 byte1 = *dp++; byte2 = *dp++; in unw_decode_x2()
109 t = unw_decode_uleb128 (&dp); in unw_decode_x2()
117 return dp; in unw_decode_x2()
121 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_attr_inactive.c35 struct xfs_inode *dp, in xfs_attr3_rmt_stale() argument
52 error = xfs_bmapi_read(dp, (xfs_fileoff_t)blkno, blkcnt, in xfs_attr3_rmt_stale()
56 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
64 error = xfs_attr_rmtval_stale(dp, &map, 0); in xfs_attr3_rmt_stale()
84 struct xfs_inode *dp, in xfs_attr3_leaf_inactive() argument
112 blkcnt = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive()
114 error = xfs_attr3_rmt_stale(dp, in xfs_attr3_leaf_inactive()
132 struct xfs_inode *dp, in xfs_attr3_node_inactive() argument
136 struct xfs_mount *mp = dp->i_mount; in xfs_attr3_node_inactive()
153 xfs_da3_node_hdr_from_disk(dp->i_mount, &ichdr, bp->b_addr); in xfs_attr3_node_inactive()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c66 static dma_addr_t nfp_net_dma_map_rx(struct nfp_net_dp *dp, void *frag) in nfp_net_dma_map_rx() argument
68 return dma_map_single_attrs(dp->dev, frag + NFP_NET_RX_BUF_HEADROOM, in nfp_net_dma_map_rx()
69 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_map_rx()
70 dp->rx_dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in nfp_net_dma_map_rx()
74 nfp_net_dma_sync_dev_rx(const struct nfp_net_dp *dp, dma_addr_t dma_addr) in nfp_net_dma_sync_dev_rx() argument
76 dma_sync_single_for_device(dp->dev, dma_addr, in nfp_net_dma_sync_dev_rx()
77 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_sync_dev_rx()
78 dp->rx_dma_dir); in nfp_net_dma_sync_dev_rx()
81 static void nfp_net_dma_unmap_rx(struct nfp_net_dp *dp, dma_addr_t dma_addr) in nfp_net_dma_unmap_rx() argument
83 dma_unmap_single_attrs(dp->dev, dma_addr, in nfp_net_dma_unmap_rx()
[all …]

12345678910>>...23