/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix_dp_reg.c | 3 * Analogix DP (Display port) core register interface driver. 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 [all …]
|
H A D | analogix_dp_core.c | 3 * Analogix DP (Display Port) core interface driver. 39 static void analogix_dp_init_dp(struct analogix_dp_device *dp) in analogix_dp_init_dp() argument 41 analogix_dp_reset(dp); in analogix_dp_init_dp() 43 analogix_dp_swreset(dp); in analogix_dp_init_dp() 45 analogix_dp_init_analog_param(dp); in analogix_dp_init_dp() 46 analogix_dp_init_interrupt(dp); in analogix_dp_init_dp() 49 analogix_dp_enable_sw_function(dp); in analogix_dp_init_dp() 51 analogix_dp_config_interrupt(dp); in analogix_dp_init_dp() 53 analogix_dp_init_hpd(dp); in analogix_dp_init_dp() 54 analogix_dp_init_aux(dp); in analogix_dp_init_dp() [all …]
|
H A D | analogix_dp_core.h | 3 * Header file for Analogix DP (Display Port) core interface driver. 179 void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable); 180 void analogix_dp_stop_video(struct analogix_dp_device *dp); 181 void analogix_dp_lane_swap(struct analogix_dp_device *dp, bool enable); 182 void analogix_dp_init_analog_param(struct analogix_dp_device *dp); 183 void analogix_dp_init_interrupt(struct analogix_dp_device *dp); 184 void analogix_dp_reset(struct analogix_dp_device *dp); 185 void analogix_dp_swreset(struct analogix_dp_device *dp); 186 void analogix_dp_config_interrupt(struct analogix_dp_device *dp); 187 void analogix_dp_mute_hpd_interrupt(struct analogix_dp_device *dp); [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.c | 25 #include "cdn-dp-core.h" 26 #include "cdn-dp-reg.h" 61 { .compatible = "rockchip,rk3399-cdn-dp", 68 static int cdn_dp_grf_write(struct cdn_dp_device *dp, in cdn_dp_grf_write() argument 73 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write() 75 DRM_DEV_ERROR(dp->dev, "Failed to prepare_enable grf clock\n"); in cdn_dp_grf_write() 79 ret = regmap_write(dp->grf, reg, val); in cdn_dp_grf_write() 81 DRM_DEV_ERROR(dp->dev, "Could not write to GRF: %d\n", ret); in cdn_dp_grf_write() 82 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write() 86 clk_disable_unprepare(dp->grf_clk); in cdn_dp_grf_write() [all …]
|
H A D | cdn-dp-reg.c | 14 #include "cdn-dp-core.h" 15 #include "cdn-dp-reg.h" 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() [all …]
|
H A D | analogix_dp-rockchip.c | 3 * Rockchip SoC DP (Display Port) interface driver. 87 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() local 101 ret = clk_prepare_enable(dp->pclk); in rockchip_dp_poweron() 103 DRM_DEV_ERROR(dp->dev, "failed to enable pclk %d\n", ret); in rockchip_dp_poweron() 107 ret = rockchip_dp_pre_init(dp); in rockchip_dp_poweron() 109 DRM_DEV_ERROR(dp->dev, "failed to dp pre init %d\n", ret); in rockchip_dp_poweron() 110 clk_disable_unprepare(dp->pclk); in rockchip_dp_poweron() [all …]
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_display.c | 32 MODULE_PARM_DESC(psr_enabled, "enable PSR for eDP and DP displays"); 173 { .compatible = "qcom,sa8775p-dp", .data = &msm_dp_desc_sa8775p }, 174 { .compatible = "qcom,sc7180-dp", .data = &msm_dp_desc_sc7180 }, 175 { .compatible = "qcom,sc7280-dp", .data = &msm_dp_desc_sc7280 }, 177 { .compatible = "qcom,sc8180x-dp", .data = &msm_dp_desc_sc8180x }, 179 { .compatible = "qcom,sc8280xp-dp", .data = &msm_dp_desc_sc8280xp }, 181 { .compatible = "qcom,sdm845-dp", .data = &msm_dp_desc_sc7180 }, 182 { .compatible = "qcom,sm8350-dp", .data = &msm_dp_desc_sc7180 }, 183 { .compatible = "qcom,sm8650-dp", .data = &msm_dp_desc_sm8650 }, 184 { .compatible = "qcom,x1e80100-dp", .data = &msm_dp_desc_x1e80100 }, [all …]
|
/linux/drivers/usb/typec/ucsi/ |
H A 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/sound/core/seq/oss/ |
H A 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); 169 struct seq_oss_devinfo *dp; in snd_seq_oss_open() local 171 dp = kzalloc(sizeof(*dp), GFP_KERNEL); in snd_seq_oss_open() 172 if (!dp) in snd_seq_oss_open() 175 dp->cseq = system_client; in snd_seq_oss_open() 176 dp->port = -1; in snd_seq_oss_open() 177 dp->queue = -1; in snd_seq_oss_open() 184 dp->index = i; in snd_seq_oss_open() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | seq_oss_rw.c | 23 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 …]
|
/linux/net/dsa/ |
H A D | port.h | 18 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 …]
|
H A D | switch.c | 26 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 …]
|
H A D | user.c | 88 struct dsa_port *dp = dsa_user_to_port(dev); in dsa_user_standalone_event_work() local 90 struct dsa_switch *ds = dp->ds; in dsa_user_standalone_event_work() 96 err = dsa_port_standalone_host_fdb_add(dp, addr, vid); in dsa_user_standalone_event_work() 100 dp->index, addr, vid, err); in dsa_user_standalone_event_work() 106 err = dsa_port_standalone_host_fdb_del(dp, addr, vid); in dsa_user_standalone_event_work() 110 dp->index, addr, vid, err); in dsa_user_standalone_event_work() 118 err = dsa_port_standalone_host_mdb_add(dp, &mdb); in dsa_user_standalone_event_work() 122 dp->index, addr, vid, err); in dsa_user_standalone_event_work() 130 err = dsa_port_standalone_host_mdb_del(dp, &mdb); in dsa_user_standalone_event_work() 134 dp->index, addr, vid, err); in dsa_user_standalone_event_work() [all …]
|
H A D | trace.h | 22 const char *dsa_port_kind(const struct dsa_port *dp); 26 TP_PROTO(const struct dsa_port *dp, const unsigned char *addr, u16 vid, 29 TP_ARGS(dp, addr, vid, db, err), 32 __string(dev, dev_name(dp->ds->dev)) 33 __string(kind, dsa_port_kind(dp)) 44 __entry->port = dp->index; 61 TP_PROTO(const struct dsa_port *dp, const unsigned char *addr, 63 TP_ARGS(dp, addr, vid, db, err)); 66 TP_PROTO(const struct dsa_port *dp, const unsigned char *addr, 68 TP_ARGS(dp, add [all...] |
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_dp.c | 10 * @dp: NFP Net data path struct 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() 47 * @dp: NFP Net data path struct [all …]
|
H A 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 …]
|
H A D | nfp_net_common.c | 407 struct nfp_net_dp *dp = &nn->dp; in nfp_net_irqs_assign() local 410 dp->num_r_vecs = nn->max_r_vecs; in nfp_net_irqs_assign() 414 if (dp->num_rx_rings > dp->num_r_vecs || in nfp_net_irqs_assign() 415 dp->num_tx_rings > dp->num_r_vecs) in nfp_net_irqs_assign() 416 dev_warn(nn->dp.dev, "More rings (%d,%d) than vectors (%d).\n", in nfp_net_irqs_assign() 417 dp->num_rx_rings, dp->num_tx_rings, in nfp_net_irqs_assign() 418 dp->num_r_vecs); in nfp_net_irqs_assign() 420 dp->num_rx_rings = min(dp->num_r_vecs, dp->num_rx_rings); in nfp_net_irqs_assign() 421 dp->num_tx_rings = min(dp->num_r_vecs, dp->num_tx_rings); in nfp_net_irqs_assign() 422 dp->num_stack_tx_rings = dp->num_tx_rings; in nfp_net_irqs_assign() [all …]
|
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_dp.c | 3 * Samsung SoC DP (Display Port) interface driver. 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 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() 108 /* Pre-empt DP connector creation if there's a bridge */ in exynos_dp_bridge_attach() [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_dp.c | 42 return drm_dp_read_sink_count_cap(connector, outp->dp.dpcd, &outp->dp.desc); in nouveau_dp_has_sink_count() 69 u8 *dpcd = outp->dp.dpcd; in nouveau_dp_probe_dpcd() 71 outp->dp.lttpr.nr = 0; in nouveau_dp_probe_dpcd() 72 outp->dp.rate_nr = 0; in nouveau_dp_probe_dpcd() 73 outp->dp.link_nr = 0; in nouveau_dp_probe_dpcd() 74 outp->dp.link_bw = 0; in nouveau_dp_probe_dpcd() 79 !drm_dp_read_lttpr_common_caps(aux, dpcd, outp->dp.lttpr.caps)) { in nouveau_dp_probe_dpcd() 80 int nr = drm_dp_lttpr_count(outp->dp.lttpr.caps); in nouveau_dp_probe_dpcd() 93 outp->dp.lttpr.nr = nr; in nouveau_dp_probe_dpcd() 103 outp->dp.link_nr = dpcd[DP_MAX_LANE_COUNT] & DP_MAX_LANE_COUNT_MASK; in nouveau_dp_probe_dpcd() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_link_encoder.h | 54 SRI(DP_CONFIG, DP, id), \ 55 SRI(DP_DPHY_CNTL, DP, id), \ 56 SRI(DP_DPHY_PRBS_CNTL, DP, id), \ 57 SRI(DP_DPHY_SCRAM_CNTL, DP, id),\ 58 SRI(DP_DPHY_SYM0, DP, id), \ 59 SRI(DP_DPHY_SYM1, DP, id), \ 60 SRI(DP_DPHY_SYM2, DP, id), \ 61 SRI(DP_DPHY_TRAINING_PATTERN_SEL, DP, id), \ 62 SRI(DP_LINK_CNTL, DP, id), \ 63 SRI(DP_LINK_FRAMING_CNTL, DP, id), \ [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dp.c | 24 #include "dp.h" 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() 73 outp->dp.enabled = pu; in nvkm_dp_aux_pwr() 74 nvkm_dp_enable(outp, outp->dp.enabled); in nvkm_dp_aux_pwr() 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() 144 for (i = 0; i < ior->dp.nr; i++) { in nvkm_dp_train_drive() [all …]
|
/linux/drivers/md/ |
H A D | dm-io.c | 169 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/arch/sparc/kernel/ |
H A D | ds.c | 135 void (*data)(struct ds_info *dp, 147 static void md_update_data(struct ds_info *dp, struct ds_cap_state *cp, 149 static void domain_shutdown_data(struct ds_info *dp, 152 static void domain_panic_data(struct ds_info *dp, 156 static void dr_cpu_data(struct ds_info *dp, 160 static void ds_pri_data(struct ds_info *dp, 163 static void ds_var_data(struct ds_info *dp, 221 static struct ds_cap_state *find_cap(struct ds_info *dp, u64 handle) in find_cap() argument 225 if (index >= dp->num_ds_states) in find_cap() 227 return &dp->ds_states[index]; in find_cap() [all …]
|