/* * Analogix DP (Display Port) Core interface driver. * * Copyright (C) 2015 Rockchip Electronics Co., Ltd. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #ifndef _ANALOGIX_DP_H_ #define _ANALOGIX_DP_H_ #include enum analogix_dp_devtype { EXYNOS_DP, RK3288_DP, RK3399_EDP, }; static inline bool is_rockchip(enum analogix_dp_devtype type) { return type == RK3288_DP || type == RK3399_EDP; } struct analogix_dp_plat_data { enum analogix_dp_devtype dev_type; struct drm_panel *panel; struct drm_encoder *encoder; struct drm_connector *connector; int (*power_on)(struct analogix_dp_plat_data *); int (*power_off)(struct analogix_dp_plat_data *); int (*attach)(struct analogix_dp_plat_data *, struct drm_bridge *, struct drm_connector *); int (*get_modes)(struct analogix_dp_plat_data *, struct drm_connector *); }; int analogix_dp_psr_supported(struct device *dev); int analogix_dp_enable_psr(struct device *dev); int analogix_dp_disable_psr(struct device *dev); int analogix_dp_resume(struct device *dev); int analogix_dp_suspend(struct device *dev); int analogix_dp_bind(struct device *dev, struct drm_device *drm_dev, struct analogix_dp_plat_data *plat_data); void analogix_dp_unbind(struct device *dev, struct device *master, void *data); #endif /* _ANALOGIX_DP_H_ */ .git/'>summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/exynos5440.h
indings/pinctrl/keystone.h?id=6989606a7224a2d5a925df22a49e4f7a0bfed0d6&id2=ed40875dd4b4c7b5c991db9e06c984180ab0b3ce'>keystone.h
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
Diffstat (limited to 'include/dt-bindings/pinctrl/keystone.h')
eating maps with element pre-allocation, we really want such requests to fail instead of killing other user space processes. Also, don't spam the kernel log with warnings should any of the allocations fail under pressure. Given that, we can make backend selection in bpf_map_area_alloc() generic, and convert all maps over to use this API for spots with potentially large allocation requests. Note, replacing the one kmalloc_array() is fine as overflow checks happen earlier in htab_map_alloc(), since it must also protect the multiplication for vmalloc() should kmalloc_array() fail. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat