Home
last modified time | relevance | path

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

12345678910>>...29

/linux-6.6.21/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c44 static int analogix_dp_init_dp(struct analogix_dp_device *dp) in analogix_dp_init_dp() argument
48 analogix_dp_reset(dp); in analogix_dp_init_dp()
50 analogix_dp_swreset(dp); in analogix_dp_init_dp()
52 analogix_dp_init_analog_param(dp); in analogix_dp_init_dp()
53 analogix_dp_init_interrupt(dp); in analogix_dp_init_dp()
56 analogix_dp_enable_sw_function(dp); in analogix_dp_init_dp()
58 analogix_dp_config_interrupt(dp); in analogix_dp_init_dp()
59 ret = analogix_dp_init_analog_func(dp); in analogix_dp_init_dp()
63 analogix_dp_init_hpd(dp); in analogix_dp_init_dp()
64 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 …]
/linux-6.6.21/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c69 static int cdn_dp_grf_write(struct cdn_dp_device *dp, in cdn_dp_grf_write() argument
74 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write()
76 DRM_DEV_ERROR(dp->dev, "Failed to prepare_enable grf clock\n"); in cdn_dp_grf_write()
80 ret = regmap_write(dp->grf, reg, val); in cdn_dp_grf_write()
82 DRM_DEV_ERROR(dp->dev, "Could not write to GRF: %d\n", ret); in cdn_dp_grf_write()
83 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
87 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write()
92 static int cdn_dp_clk_enable(struct cdn_dp_device *dp) in cdn_dp_clk_enable() argument
97 ret = clk_prepare_enable(dp->pclk); in cdn_dp_clk_enable()
99 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.c87 static int rockchip_dp_pre_init(struct rockchip_dp_device *dp) in rockchip_dp_pre_init() argument
89 reset_control_assert(dp->rst); in rockchip_dp_pre_init()
91 reset_control_deassert(dp->rst); in rockchip_dp_pre_init()
98 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); in rockchip_dp_poweron_start() local
101 ret = clk_prepare_enable(dp->pclk); in rockchip_dp_poweron_start()
103 DRM_DEV_ERROR(dp->dev, "failed to enable pclk %d\n", ret); in rockchip_dp_poweron_start()
107 ret = rockchip_dp_pre_init(dp); in rockchip_dp_poweron_start()
109 DRM_DEV_ERROR(dp->dev, "failed to dp pre init %d\n", ret); in rockchip_dp_poweron_start()
110 clk_disable_unprepare(dp->pclk); in rockchip_dp_poweron_start()
119 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); in rockchip_dp_powerdown() local
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/dp/
Ddp_display.c195 struct msm_dp *dp = dev_get_drvdata(dev); in dev_get_dp_display_private() local
197 return container_of(dp, struct dp_display_private, dp_display); in dev_get_dp_display_private()
256 struct dp_display_private *dp; in dp_display_signal_audio_start() local
258 dp = container_of(dp_display, struct dp_display_private, dp_display); in dp_display_signal_audio_start()
260 reinit_completion(&dp->audio_comp); in dp_display_signal_audio_start()
265 struct dp_display_private *dp; in dp_display_signal_audio_complete() local
267 dp = container_of(dp_display, struct dp_display_private, dp_display); in dp_display_signal_audio_complete()
269 complete_all(&dp->audio_comp); in dp_display_signal_audio_complete()
278 struct dp_display_private *dp = dev_get_dp_display_private(dev); in dp_display_bind() local
282 dp->dp_display.drm_dev = drm; in dp_display_bind()
[all …]
/linux-6.6.21/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 return dsa_tree_notify(dp->ds->dst, e, v); in dsa_port_notify()
38 static void dsa_port_notify_bridge_fdb_flush(const struct dsa_port *dp, u16 vid) in dsa_port_notify_bridge_fdb_flush() argument
40 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_notify_bridge_fdb_flush()
55 static void dsa_port_fast_age(const struct dsa_port *dp) in dsa_port_fast_age() argument
57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age()
62 ds->ops->port_fast_age(ds, dp->index); in dsa_port_fast_age()
65 dsa_port_notify_bridge_fdb_flush(dp, 0); in dsa_port_fast_age()
68 static int dsa_port_vlan_fast_age(const struct dsa_port *dp, u16 vid) in dsa_port_vlan_fast_age() argument
70 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age()
[all …]
Dport.h18 bool dsa_port_supports_hwtstamp(struct dsa_port *dp);
21 int dsa_port_set_state(struct dsa_port *dp, u8 state, bool do_fast_age);
22 int dsa_port_set_mst_state(struct dsa_port *dp,
25 int dsa_port_enable_rt(struct dsa_port *dp, struct phy_device *phy);
26 int dsa_port_enable(struct dsa_port *dp, struct phy_device *phy);
27 void dsa_port_disable_rt(struct dsa_port *dp);
28 void dsa_port_disable(struct dsa_port *dp);
29 int dsa_port_bridge_join(struct dsa_port *dp, struct net_device *br,
31 void dsa_port_pre_bridge_leave(struct dsa_port *dp, struct net_device *br);
32 void dsa_port_bridge_leave(struct dsa_port *dp, struct net_device *br);
[all …]
Dswitch.c26 struct dsa_port *dp; in dsa_switch_fastest_ageing_time() local
28 dsa_switch_for_each_port(dp, ds) in dsa_switch_fastest_ageing_time()
29 if (dp->ageing_time && dp->ageing_time < ageing_time) in dsa_switch_fastest_ageing_time()
30 ageing_time = dp->ageing_time; in dsa_switch_fastest_ageing_time()
55 static bool dsa_port_mtu_match(struct dsa_port *dp, in dsa_port_mtu_match() argument
58 return dp == info->dp || dsa_port_is_dsa(dp) || dsa_port_is_cpu(dp); in dsa_port_mtu_match()
64 struct dsa_port *dp; in dsa_switch_mtu() local
70 dsa_switch_for_each_port(dp, ds) { in dsa_switch_mtu()
71 if (dsa_port_mtu_match(dp, info)) { in dsa_switch_mtu()
72 ret = ds->ops->port_change_mtu(ds, dp->index, in dsa_switch_mtu()
[all …]
Ddsa.c108 struct dsa_port *dp; in dsa_tree_lag_find() local
110 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_lag_find()
111 if (dsa_port_lag_dev_get(dp) == lag_dev) in dsa_tree_lag_find()
112 return dp->lag; in dsa_tree_lag_find()
120 struct dsa_port *dp; in dsa_tree_bridge_find() local
122 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_bridge_find()
123 if (dsa_port_bridge_dev_get(dp) == br) in dsa_tree_bridge_find()
124 return dp->bridge; in dsa_tree_bridge_find()
183 struct dsa_port *dp; in dsa_switch_find() local
189 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find()
[all …]
/linux-6.6.21/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c326 static void zynqmp_dp_write(struct zynqmp_dp *dp, int offset, u32 val) in zynqmp_dp_write() argument
328 writel(val, dp->iomem + offset); in zynqmp_dp_write()
331 static u32 zynqmp_dp_read(struct zynqmp_dp *dp, int offset) in zynqmp_dp_read() argument
333 return readl(dp->iomem + offset); in zynqmp_dp_read()
336 static void zynqmp_dp_clr(struct zynqmp_dp *dp, int offset, u32 clr) in zynqmp_dp_clr() argument
338 zynqmp_dp_write(dp, offset, zynqmp_dp_read(dp, offset) & ~clr); in zynqmp_dp_clr()
341 static void zynqmp_dp_set(struct zynqmp_dp *dp, int offset, u32 set) in zynqmp_dp_set() argument
343 zynqmp_dp_write(dp, offset, zynqmp_dp_read(dp, offset) | set); in zynqmp_dp_set()
352 static int zynqmp_dp_reset(struct zynqmp_dp *dp, bool assert) in zynqmp_dp_reset() argument
357 reset_control_assert(dp->reset); in zynqmp_dp_reset()
[all …]
/linux-6.6.21/drivers/usb/typec/altmodes/
Ddisplayport.c72 static int dp_altmode_notify(struct dp_altmode *dp) in dp_altmode_notify() argument
77 if (dp->data.conf) { in dp_altmode_notify()
78 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
84 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify()
87 static int dp_altmode_configure(struct dp_altmode *dp, u8 con) in dp_altmode_configure() argument
97 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
98 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
103 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
104 DP_CAP_PIN_ASSIGN_DFP_D(dp->port->vdo); in dp_altmode_configure()
111 if (!DP_CONF_GET_PIN_ASSIGN(dp->data.conf)) { in dp_altmode_configure()
[all …]
/linux-6.6.21/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()
57 mutex_lock(&dp->con->lock); in ucsi_displayport_enter()
59 if (!dp->override && dp->initialized) { in ucsi_displayport_enter()
68 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter()
77 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
93 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_ENTER_MODE); in ucsi_displayport_enter()
94 dp->header |= VDO_OPOS(USB_TYPEC_DP_MODE); in ucsi_displayport_enter()
95 dp->header |= VDO_CMDT(CMDT_RSP_ACK); in ucsi_displayport_enter()
97 dp->vdo_data = NULL; in ucsi_displayport_enter()
[all …]
/linux-6.6.21/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);
174 struct seq_oss_devinfo *dp; in snd_seq_oss_open() local
176 dp = kzalloc(sizeof(*dp), GFP_KERNEL); in snd_seq_oss_open()
177 if (!dp) in snd_seq_oss_open()
180 dp->cseq = system_client; in snd_seq_oss_open()
181 dp->port = -1; in snd_seq_oss_open()
182 dp->queue = -1; in snd_seq_oss_open()
189 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 …]
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.c17 void *nfp_net_rx_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_net_rx_alloc_one() argument
21 if (!dp->xdp_prog) { in nfp_net_rx_alloc_one()
22 frag = netdev_alloc_frag(dp->fl_bufsz); in nfp_net_rx_alloc_one()
30 nn_dp_warn(dp, "Failed to alloc receive page frag\n"); in nfp_net_rx_alloc_one()
34 *dma_addr = nfp_net_dma_map_rx(dp, frag); in nfp_net_rx_alloc_one()
35 if (dma_mapping_error(dp->dev, *dma_addr)) { in nfp_net_rx_alloc_one()
36 nfp_net_free_frag(frag, dp->xdp_prog); in nfp_net_rx_alloc_one()
37 nn_dp_warn(dp, "Failed to map DMA RX buffer\n"); in nfp_net_rx_alloc_one()
53 nfp_net_tx_ring_init(struct nfp_net_tx_ring *tx_ring, struct nfp_net_dp *dp, in nfp_net_tx_ring_init() argument
65 tx_ring->txrwb = dp->txrwb ? &dp->txrwb[idx] : NULL; in nfp_net_tx_ring_init()
[all …]
Dnfp_net_dp.h9 static inline dma_addr_t nfp_net_dma_map_rx(struct nfp_net_dp *dp, void *frag) in nfp_net_dma_map_rx() argument
11 return dma_map_single_attrs(dp->dev, frag + NFP_NET_RX_BUF_HEADROOM, in nfp_net_dma_map_rx()
12 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_map_rx()
13 dp->rx_dma_dir, DMA_ATTR_SKIP_CPU_SYNC); in nfp_net_dma_map_rx()
17 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
19 dma_sync_single_for_device(dp->dev, dma_addr, in nfp_net_dma_sync_dev_rx()
20 dp->fl_bufsz - NFP_NET_RX_BUF_NON_DATA, in nfp_net_dma_sync_dev_rx()
21 dp->rx_dma_dir); in nfp_net_dma_sync_dev_rx()
24 static inline void nfp_net_dma_unmap_rx(struct nfp_net_dp *dp, in nfp_net_dma_unmap_rx() argument
27 dma_unmap_single_attrs(dp->dev, dma_addr, in nfp_net_dma_unmap_rx()
[all …]
/linux-6.6.21/drivers/gpu/drm/exynos/
Dexynos_dp.c51 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_crtc_clock_enable() local
52 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable()
75 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_get_modes() local
79 if (dp->plat_data.panel) in exynos_dp_get_modes()
84 DRM_DEV_ERROR(dp->dev, in exynos_dp_get_modes()
89 drm_display_mode_from_videomode(&dp->vm, mode); in exynos_dp_get_modes()
104 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_bridge_attach() local
107 dp->connector = connector; in exynos_dp_bridge_attach()
110 if (dp->ptn_bridge) { in exynos_dp_bridge_attach()
111 ret = drm_bridge_attach(&dp->encoder, dp->ptn_bridge, bridge, in exynos_dp_bridge_attach()
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddp.c71 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[0], 3); in nvkm_dp_train_sense()
80 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[4], 2); in nvkm_dp_train_sense()
85 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, &lt->pc2stat, 1); in nvkm_dp_train_sense()
110 for (i = 0; i < ior->dp.nr; i++) { in nvkm_dp_train_drive()
147 ior->func->dp->drive(ior, i, ocfg.pc, ocfg.dc, ocfg.pe, ocfg.tx_pu); in nvkm_dp_train_drive()
155 ret = nvkm_wraux(outp->dp.aux, addr, lt->conf, 4); in nvkm_dp_train_drive()
160 ret = nvkm_wraux(outp->dp.aux, DPCD_LC0F, lt->pc2conf, 2); in nvkm_dp_train_drive()
176 outp->ior->func->dp->pattern(outp->ior, pattern); in nvkm_dp_train_pattern()
183 nvkm_rdaux(outp->dp.aux, addr, &sink_tp, 1); in nvkm_dp_train_pattern()
191 nvkm_wraux(outp->dp.aux, addr, &sink_tp, 1); in nvkm_dp_train_pattern()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/md/
Ddm-io.c169 void (*get_page)(struct dpages *dp,
171 void (*next_page)(struct dpages *dp);
186 static void list_get_page(struct dpages *dp, in list_get_page() argument
189 unsigned int o = dp->context_u; in list_get_page()
190 struct page_list *pl = dp->context_ptr; in list_get_page()
197 static void list_next_page(struct dpages *dp) in list_next_page() argument
199 struct page_list *pl = dp->context_ptr; in list_next_page()
201 dp->context_ptr = pl->next; in list_next_page()
202 dp->context_u = 0; in list_next_page()
205 static void list_dp_init(struct dpages *dp, struct page_list *pl, unsigned int offset) in list_dp_init() argument
[all …]
/linux-6.6.21/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 …]

12345678910>>...29