/linux-6.1.9/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 44 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 …]
|
D | analogix_dp_reg.c | 26 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 …]
|
D | analogix_dp_core.h | 184 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.1.9/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.c | 69 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 …]
|
D | cdn-dp-reg.c | 24 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 …]
|
D | analogix_dp-rockchip.c | 86 static int rockchip_dp_pre_init(struct rockchip_dp_device *dp) in rockchip_dp_pre_init() argument 88 reset_control_assert(dp->rst); in rockchip_dp_pre_init() 90 reset_control_deassert(dp->rst); in rockchip_dp_pre_init() 97 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); in rockchip_dp_poweron_start() local 100 ret = clk_prepare_enable(dp->pclk); in rockchip_dp_poweron_start() 102 DRM_DEV_ERROR(dp->dev, "failed to enable pclk %d\n", ret); in rockchip_dp_poweron_start() 106 ret = rockchip_dp_pre_init(dp); in rockchip_dp_poweron_start() 108 DRM_DEV_ERROR(dp->dev, "failed to dp pre init %d\n", ret); in rockchip_dp_poweron_start() 109 clk_disable_unprepare(dp->pclk); in rockchip_dp_poweron_start() 118 struct rockchip_dp_device *dp = pdata_encoder_to_dp(plat_data); in rockchip_dp_powerdown() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/dp/ |
D | dp_display.c | 185 struct msm_dp *dp = dev_get_drvdata(dev); in dev_get_dp_display_private() local 187 return container_of(dp, struct dp_display_private, dp_display); in dev_get_dp_display_private() 246 struct dp_display_private *dp; in dp_display_signal_audio_start() local 248 dp = container_of(dp_display, struct dp_display_private, dp_display); in dp_display_signal_audio_start() 250 reinit_completion(&dp->audio_comp); in dp_display_signal_audio_start() 255 struct dp_display_private *dp; in dp_display_signal_audio_complete() local 257 dp = container_of(dp_display, struct dp_display_private, dp_display); in dp_display_signal_audio_complete() 259 complete_all(&dp->audio_comp); in dp_display_signal_audio_complete() 268 struct dp_display_private *dp = dev_get_dp_display_private(dev); in dp_display_bind() local 272 dp->dp_display.drm_dev = drm; in dp_display_bind() [all …]
|
/linux-6.1.9/net/dsa/ |
D | port.c | 29 static int dsa_port_notify(const struct dsa_port *dp, unsigned long e, void *v) in dsa_port_notify() argument 31 return dsa_tree_notify(dp->ds->dst, e, v); in dsa_port_notify() 34 static void dsa_port_notify_bridge_fdb_flush(const struct dsa_port *dp, u16 vid) in dsa_port_notify_bridge_fdb_flush() argument 36 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_notify_bridge_fdb_flush() 51 static void dsa_port_fast_age(const struct dsa_port *dp) in dsa_port_fast_age() argument 53 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() 58 ds->ops->port_fast_age(ds, dp->index); in dsa_port_fast_age() 61 dsa_port_notify_bridge_fdb_flush(dp, 0); in dsa_port_fast_age() 64 static int dsa_port_vlan_fast_age(const struct dsa_port *dp, u16 vid) in dsa_port_vlan_fast_age() argument 66 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() [all …]
|
D | switch.c | 20 struct dsa_port *dp; in dsa_switch_fastest_ageing_time() local 22 dsa_switch_for_each_port(dp, ds) in dsa_switch_fastest_ageing_time() 23 if (dp->ageing_time && dp->ageing_time < ageing_time) in dsa_switch_fastest_ageing_time() 24 ageing_time = dp->ageing_time; in dsa_switch_fastest_ageing_time() 49 static bool dsa_port_mtu_match(struct dsa_port *dp, in dsa_port_mtu_match() argument 52 return dp == info->dp || dsa_port_is_dsa(dp) || dsa_port_is_cpu(dp); in dsa_port_mtu_match() 58 struct dsa_port *dp; in dsa_switch_mtu() local 64 dsa_switch_for_each_port(dp, ds) { in dsa_switch_mtu() 65 if (dsa_port_mtu_match(dp, info)) { in dsa_switch_mtu() 66 ret = ds->ops->port_change_mtu(ds, dp->index, in dsa_switch_mtu() [all …]
|
D | dsa2.c | 130 struct dsa_port *dp; in dsa_tree_lag_find() local 132 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_lag_find() 133 if (dsa_port_lag_dev_get(dp) == lag_dev) in dsa_tree_lag_find() 134 return dp->lag; in dsa_tree_lag_find() 142 struct dsa_port *dp; in dsa_tree_bridge_find() local 144 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_bridge_find() 145 if (dsa_port_bridge_dev_get(dp) == br) in dsa_tree_bridge_find() 146 return dp->bridge; in dsa_tree_bridge_find() 205 struct dsa_port *dp; in dsa_switch_find() local 211 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find() [all …]
|
D | dsa_priv.h | 57 const struct dsa_port *dp; member 65 const struct dsa_port *dp; member 81 const struct dsa_port *dp; member 88 const struct dsa_port *dp; member 96 const struct dsa_port *dp; member 103 const struct dsa_port *dp; member 114 const struct dsa_port *dp; member 160 struct dsa_port *dp; member 199 struct dsa_port *dp; in dsa_master_find_slave() local 201 list_for_each_entry(dp, &dst->ports, list) in dsa_master_find_slave() [all …]
|
/linux-6.1.9/drivers/gpu/drm/xlnx/ |
D | zynqmp_dp.c | 334 static void zynqmp_dp_write(struct zynqmp_dp *dp, int offset, u32 val) in zynqmp_dp_write() argument 336 writel(val, dp->iomem + offset); in zynqmp_dp_write() 339 static u32 zynqmp_dp_read(struct zynqmp_dp *dp, int offset) in zynqmp_dp_read() argument 341 return readl(dp->iomem + offset); in zynqmp_dp_read() 344 static void zynqmp_dp_clr(struct zynqmp_dp *dp, int offset, u32 clr) in zynqmp_dp_clr() argument 346 zynqmp_dp_write(dp, offset, zynqmp_dp_read(dp, offset) & ~clr); in zynqmp_dp_clr() 349 static void zynqmp_dp_set(struct zynqmp_dp *dp, int offset, u32 set) in zynqmp_dp_set() argument 351 zynqmp_dp_write(dp, offset, zynqmp_dp_read(dp, offset) | set); in zynqmp_dp_set() 360 static int zynqmp_dp_reset(struct zynqmp_dp *dp, bool assert) in zynqmp_dp_reset() argument 365 reset_control_assert(dp->reset); in zynqmp_dp_reset() [all …]
|
/linux-6.1.9/drivers/usb/typec/ucsi/ |
D | displayport.c | 50 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.1.9/drivers/usb/typec/altmodes/ |
D | displayport.c | 71 static int dp_altmode_notify(struct dp_altmode *dp) in dp_altmode_notify() argument 76 if (dp->data.conf) { in dp_altmode_notify() 77 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify() 83 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify() 86 static int dp_altmode_configure(struct dp_altmode *dp, u8 con) in dp_altmode_configure() argument 96 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure() 97 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure() 102 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure() 103 DP_CAP_PIN_ASSIGN_DFP_D(dp->port->vdo); in dp_altmode_configure() 110 if (!DP_CONF_GET_PIN_ASSIGN(dp->data.conf)) { in dp_altmode_configure() [all …]
|
/linux-6.1.9/sound/core/seq/oss/ |
D | seq_oss_init.c | 42 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 …]
|
D | seq_oss_ioctl.c | 18 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 …]
|
D | seq_oss_event.c | 22 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.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_dp.c | 17 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 …]
|
D | nfp_net_dp.h | 9 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.1.9/drivers/gpu/drm/exynos/ |
D | exynos_dp.c | 51 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.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dp.c | 69 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[0], 3); in nvkm_dp_train_sense() 78 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[4], 2); in nvkm_dp_train_sense() 83 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, <->pc2stat, 1); in nvkm_dp_train_sense() 108 for (i = 0; i < ior->dp.nr; i++) { in nvkm_dp_train_drive() 145 ior->func->dp->drive(ior, i, ocfg.pc, ocfg.dc, ocfg.pe, ocfg.tx_pu); in nvkm_dp_train_drive() 153 ret = nvkm_wraux(outp->dp.aux, addr, lt->conf, 4); in nvkm_dp_train_drive() 158 ret = nvkm_wraux(outp->dp.aux, DPCD_LC0F, lt->pc2conf, 2); in nvkm_dp_train_drive() 174 outp->ior->func->dp->pattern(outp->ior, pattern); in nvkm_dp_train_pattern() 181 nvkm_rdaux(outp->dp.aux, addr, &sink_tp, 1); in nvkm_dp_train_pattern() 189 nvkm_wraux(outp->dp.aux, addr, &sink_tp, 1); in nvkm_dp_train_pattern() [all …]
|
/linux-6.1.9/arch/sparc/kernel/ |
D | prom_64.c | 66 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 …]
|
D | prom_32.c | 57 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.1.9/drivers/md/ |
D | dm-io.c | 162 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 …]
|
/linux-6.1.9/arch/ia64/kernel/ |
D | unwind_decoder.c | 86 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 …]
|