/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_auth.c | 43 * DOC: master and authentication 47 * least once successfully became the device master (either through the 49 * no one else is the current master that time) there exists one &drm_master. 53 * In addition only one &drm_master can be the current master for a &drm_device. 58 * Clients can authenticate against the current master (if it matches their own) 71 ret = idr_alloc(&file_priv->master->magic_map, file_priv, 1, 0, GFP_KERNEL); in drm_getmagic() 92 file = idr_find(&file_priv->master->magic_map, auth->magic); in drm_authmagic() 95 idr_replace(&file_priv->master->magic_map, NULL, auth->magic); in drm_authmagic() 104 struct drm_master *master; in drm_master_create() local 106 master in drm_master_create() 321 struct drm_master *master; drm_master_release() local 375 drm_master_get(struct drm_master *master) drm_master_get() argument 384 struct drm_master *master = container_of(kref, struct drm_master, refcount); drm_master_destroy() local 407 drm_master_put(struct drm_master **master) drm_master_put() argument [all...] |
H A D | drm_lease.c | 25 * @master: drm_master somewhere within tree of lessees and lessors 31 struct drm_master *drm_lease_owner(struct drm_master *master) in drm_lease_owner() argument 33 while (master->lessor != NULL) { in drm_lease_owner() 34 master = master->lessor; in drm_lease_owner() 36 return master; in drm_lease_owner() 41 * @master: drm_master of lessor 49 static struct drm_master *_drm_find_lessee(struct drm_master *master, int lessee_id) in _drm_find_lessee() argument 51 lockdep_assert_held(&master->dev->mode_config.idr_mutex); in _drm_find_lessee() 52 return idr_find(&drm_lease_owner(master) in _drm_find_lessee() 66 _drm_lease_held_master(struct drm_master *master, int id) _drm_lease_held_master() argument 86 _drm_has_leased(struct drm_master *master, int id) _drm_has_leased() argument 128 struct drm_master *master; drm_lease_held() local 152 struct drm_master *master; drm_lease_filter_crtcs() local 269 drm_lease_destroy(struct drm_master *master) drm_lease_destroy() argument 310 struct drm_master *master = top; _drm_lease_revoke() local [all...] |
H A D | drm_ioctl.c | 78 * side-effect this fills out the unique name in the master structure. 79 * 2. Call GET_UNIQUE to read out the unique name from the master structure, 87 * means the the unique name for the master node just opening is _not_ filled 120 struct drm_master *master; in drm_getunique() local 123 master = file_priv->master; in drm_getunique() 124 if (u->unique_len >= master->unique_len) { in drm_getunique() 125 if (copy_to_user(u->unique, master->unique, master->unique_len)) { in drm_getunique() 130 u->unique_len = master in drm_getunique() 136 drm_unset_busid(struct drm_device *dev, struct drm_master *master) drm_unset_busid() argument 145 struct drm_master *master = file_priv->master; drm_set_busid() local [all...] |
H A D | drm_debugfs.c | 56 struct drm_master *master; in drm_name_info() local 59 master = dev->master; in drm_name_info() 64 if (master && master->unique) { in drm_name_info() 65 seq_printf(m, " master=%s", master->unique); in drm_name_info() 83 seq_printf(m, "%20s %5s %3s master a %5s %10s\n", "command", "pid", "dev", "uid", "magic"); in drm_clients_info()
|
H A D | drm_internal.h | 59 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master); 74 struct drm_master *master) in drm_pci_set_busid() 73 drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) drm_pci_set_busid() argument
|
/device/soc/rockchip/common/sdk_linux/include/drm/ |
H A D | drm_auth.h | 56 * struct drm_master - drm master structure 58 * @refcount: Refcount for this master object. 63 * @lessee_list: other lessees of the same master 68 * Note that master structures are only relevant for the legacy/primary device 92 * All of these get activated simultaneously, so drm_device master points 109 struct drm_master *drm_master_get(struct drm_master *master); 110 void drm_master_put(struct drm_master **master);
|
H A D | drm_file.h | 207 * This client has or had, master capability. Protected by struct 211 * client is or was master in the past. 218 * This client is the creator of @master. Protected by struct 227 * @master: 231 * matches &drm_device.master if the master is the currently active one. 236 struct drm_master *master; member
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_drm.c | 179 mutex_lock(&cli->drm->master.lock); in nouveau_cli_fini() 181 mutex_unlock(&cli->drm->master.lock); in nouveau_cli_fini() 205 if (cli == &drm->master) { in nouveau_cli_init() 208 mutex_lock(&drm->master.lock); in nouveau_cli_init() 209 ret = nvif_client_ctor(&drm->master.base, cli->name, device, &cli->base); in nouveau_cli_init() 210 mutex_unlock(&drm->master.lock); in nouveau_cli_init() 505 drm->master.base.object.parent = &drm->parent; in nouveau_drm_device_init() 507 ret = nouveau_cli_init(drm, "DRM-master", &drm->master); in nouveau_drm_device_init() 587 nouveau_cli_fini(&drm->master); in nouveau_drm_device_init() [all...] |
H A D | nouveau_drv.h | 134 struct nouveau_cli master; member
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/ |
H A D | drm_internal.h | 59 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master); 74 struct drm_master *master) in drm_pci_set_busid() 73 drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) drm_pci_set_busid() argument
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | dw-mipi-dsi2-rockchip.c | 262 struct dw_mipi_dsi2 *master; member 481 lanes = (dsi2->slave || dsi2->master) ? dsi2->lanes * 0x2 : dsi2->lanes; in dw_mipi_dsi2_set_lane_rate() 704 if (dsi2->slave || dsi2->master) { in dw_mipi_dsi2_ipi_set() 1040 dsi2->slave->master = dsi2; in dw_mipi_dsi2_dual_channel_probe() 1136 static int dw_mipi_dsi2_bind(struct device *dev, struct device *master, void *data) in dw_mipi_dsi2_bind() argument 1150 if (dsi2->master) { in dw_mipi_dsi2_bind() 1215 static void dw_mipi_dsi2_unbind(struct device *dev, struct device *master, void *data) in dw_mipi_dsi2_unbind() argument 1278 if (dsi2->master) { in dw_mipi_dsi2_host_attach()
|
H A D | rockchip_rgb.c | 254 static int rockchip_rgb_bind(struct device *dev, struct device *master, void *data) in rockchip_rgb_bind() argument 319 static void rockchip_rgb_unbind(struct device *dev, struct device *master, void *data) in rockchip_rgb_unbind() argument
|
H A D | analogix_dp-rockchip.c | 458 static int rockchip_dp_bind(struct device *dev, struct device *master, void *data) in rockchip_dp_bind() argument 508 static void rockchip_dp_unbind(struct device *dev, struct device *master, void *data) in rockchip_dp_unbind() argument
|
H A D | rockchip_lvds.c | 355 static int rockchip_lvds_bind(struct device *dev, struct device *master, void *data) in rockchip_lvds_bind() argument 424 static void rockchip_lvds_unbind(struct device *dev, struct device *master, void *data) in rockchip_lvds_unbind() argument
|
H A D | inno_hdmi.c | 762 static int inno_hdmi_bind(struct device *dev, struct device *master, void *data) in inno_hdmi_bind() argument 847 static void inno_hdmi_unbind(struct device *dev, struct device *master, void *data) in inno_hdmi_unbind() argument
|
H A D | rk3066_hdmi.c | 712 static int rk3066_hdmi_bind(struct device *dev, struct device *master, void *data) in rk3066_hdmi_bind() argument 800 static void rk3066_hdmi_unbind(struct device *dev, struct device *master, void *data) in rk3066_hdmi_unbind() argument
|
H A D | dw-mipi-dsi-rockchip.c | 902 static int dw_mipi_dsi_rockchip_bind(struct device *dev, struct device *master, void *data) in dw_mipi_dsi_rockchip_bind() argument 966 static void dw_mipi_dsi_rockchip_unbind(struct device *dev, struct device *master, void *data) in dw_mipi_dsi_rockchip_unbind() argument
|
H A D | cdn-dp-core.c | 951 static int cdn_dp_bind(struct device *dev, struct device *master, void *data) in cdn_dp_bind() argument 1021 static void cdn_dp_unbind(struct device *dev, struct device *master, void *data) in cdn_dp_unbind() argument
|
H A D | dw-dp.c | 2256 static int dw_dp_bind(struct device *dev, struct device *master, void *data) in dw_dp_bind() argument 2294 static void dw_dp_unbind(struct device *dev, struct device *master, void *data) in dw_dp_unbind() argument
|
H A D | dw_hdmi-rockchip.c | 2795 static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master, void *data) in dw_hdmi_rockchip_bind() argument 3046 static void dw_hdmi_rockchip_unbind(struct device *dev, struct device *master, void *data) in dw_hdmi_rockchip_unbind() argument
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | dw-mipi-dsi2-rockchip.c | 263 struct dw_mipi_dsi2 *master; member 478 lanes = (dsi2->slave || dsi2->master) ? dsi2->lanes * 2 : dsi2->lanes; in dw_mipi_dsi2_set_lane_rate() 696 if (dsi2->slave || dsi2->master) in dw_mipi_dsi2_ipi_set() 1030 dsi2->slave->master = dsi2; in dw_mipi_dsi2_dual_channel_probe() 1122 static int dw_mipi_dsi2_bind(struct device *dev, struct device *master, in dw_mipi_dsi2_bind() argument 1136 if (dsi2->master) in dw_mipi_dsi2_bind() 1206 static void dw_mipi_dsi2_unbind(struct device *dev, struct device *master, in dw_mipi_dsi2_unbind() argument 1273 if (dsi2->master) in dw_mipi_dsi2_host_attach()
|
H A D | dw-dp.c | 2290 static int dw_dp_bind(struct device *dev, struct device *master, void *data) in dw_dp_bind() argument 2327 static void dw_dp_unbind(struct device *dev, struct device *master, void *data) in dw_dp_unbind() argument
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 257 struct dw_mipi_dsi *master; /* dual-dsi master ptr */ member 264 * Check if either a link to a master or slave is present 268 return dsi->slave || dsi->master; in dw_mipi_is_dual_mode() 871 /* this instance is the slave, so add the master's lanes */ in dw_mipi_dsi_get_lanes() 872 if (dsi->master) { in dw_mipi_dsi_get_lanes() 873 return dsi->master->lanes + dsi->lanes; in dw_mipi_dsi_get_lanes() 876 /* this instance is the master, so add the slave's lanes */ in dw_mipi_dsi_get_lanes() 1176 dsi->slave->master = dsi; in dw_mipi_dsi_set_slave()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | ssl.h | 799 unsigned char master[48]; /*!< the master secret */ member 890 /** Callback to export key block and master secret */ 996 unsigned int extended_ms : 1; /*!< negotiate extended master secret? */ 1517 * \brief Callback type: Export key block and master secret 1521 * therefore must not be stored. The master secret and keys 1526 * \param ms Pointer to master secret (fixed length: 48 bytes) 1911 * If a valid entry is found, it should fill the master of
|
/device/soc/rockchip/common/sdk_linux/drivers/spi/ |
H A D | spidev.c | 759 dev = device_create(spidev_class, &spi->dev, spidev->devt, spidev, "spidev%d.%d", spi->master->bus_num,
in spidev_probe()
|