Home
last modified time | relevance | path

Searched full:osd (Results 1 – 25 of 115) sorted by relevance

12345

/Linux-v6.1/drivers/media/platform/ti/davinci/
Dvpbe_osd.c27 #define MODULE_NAME "davinci-vpbe-osd"
50 struct osd_state *osd = sd; in osd_read() local
52 return readl(osd->osd_base + offset); in osd_read()
57 struct osd_state *osd = sd; in osd_write() local
59 writel(val, osd->osd_base + offset); in osd_write()
66 struct osd_state *osd = sd; in osd_set() local
68 void __iomem *addr = osd->osd_base + offset; in osd_set()
78 struct osd_state *osd = sd; in osd_clear() local
80 void __iomem *addr = osd->osd_base + offset; in osd_clear()
91 struct osd_state *osd = sd; in osd_modify() local
[all …]
/Linux-v6.1/net/ceph/
Dosd_client.c36 * do with the T10 OSD extensions to SCSI.) Ceph OSDs are simply
41 * are described by the osd map.
43 * We keep track of pending OSD requests (read, write), resubmit
46 * channel with an OSD is reset.
49 static void link_request(struct ceph_osd *osd, struct ceph_osd_request *req);
50 static void unlink_request(struct ceph_osd *osd, struct ceph_osd_request *req);
51 static void link_linger(struct ceph_osd *osd,
53 static void unlink_linger(struct ceph_osd *osd,
55 static void clear_backoffs(struct ceph_osd *osd);
77 static inline void verify_osd_locked(struct ceph_osd *osd) in verify_osd_locked() argument
[all …]
Ddebugfs.c24 * .../osdc - active osd requests
84 seq_printf(s, "osd%d\t%s\t%3d%%\t(%s)\t%3d%%\t%2d\n", in osdmap_show()
108 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show()
187 seq_printf(s, "osd%d\t%llu.%x\t", t->osd, t->pgid.pool, t->pgid.seed); in dump_target()
234 static void dump_requests(struct seq_file *s, struct ceph_osd *osd) in dump_requests() argument
238 mutex_lock(&osd->lock); in dump_requests()
239 for (n = rb_first(&osd->o_requests); n; n = rb_next(n)) { in dump_requests()
246 mutex_unlock(&osd->lock); in dump_requests()
260 static void dump_linger_requests(struct seq_file *s, struct ceph_osd *osd) in dump_linger_requests() argument
264 mutex_lock(&osd->lock); in dump_linger_requests()
[all …]
Dosdmap.c1121 * osd map
1475 u32 osd; in __decode_primary_temp() local
1477 ceph_decode_32_safe(p, end, osd, e_inval); in __decode_primary_temp()
1478 if (osd == (u32)-1 && incremental) in __decode_primary_temp()
1485 pg->primary_temp.osd = osd; in __decode_primary_temp()
1505 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in ceph_get_primary_affinity() argument
1507 BUG_ON(osd >= map->max_osd); in ceph_get_primary_affinity()
1512 return map->osd_primary_affinity[osd]; in ceph_get_primary_affinity()
1515 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity() argument
1517 BUG_ON(osd >= map->max_osd); in set_primary_affinity()
[all …]
/Linux-v6.1/drivers/gpu/drm/aspeed/
Daspeed_gfx.h44 #define CRT_OSD_H 0xA0 /* CRT OSD Horizontal Start/End */
45 #define CRT_OSD_V 0xA4 /* CRT OSD Vertical Start/End */
46 #define CRT_OSD_ADDR 0xA8 /* CRT OSD Pattern Address */
47 #define CRT_OSD_DISP 0xAC /* CRT OSD Offset */
48 #define CRT_OSD_THRESH 0xB0 /* CRT OSD Threshold & Alpha */
55 #define OSD_COLOR1 0xE0 /* OSD Color Palette Index 1 & 0 */
56 #define OSD_COLOR2 0xE4 /* OSD Color Palette Index 3 & 2 */
57 #define OSD_COLOR3 0xE8 /* OSD Color Palette Index 5 & 4 */
58 #define OSD_COLOR4 0xEC /* OSD Color Palette Index 7 & 6 */
59 #define OSD_COLOR5 0xF0 /* OSD Color Palette Index 9 & 8 */
[all …]
/Linux-v6.1/include/media/davinci/
Dvpbe_osd.h16 #define DM644X_VPBE_OSD_SUBDEV_NAME "dm644x,vpbe-osd"
17 #define DM365_VPBE_OSD_SUBDEV_NAME "dm365,vpbe-osd"
18 #define DM355_VPBE_OSD_SUBDEV_NAME "dm355,vpbe-osd"
28 * An enumeration of the osd display layers.
43 * An enumeration of the OSD Window layers.
61 * @PIXFMT_OSD_ATTR: OSD Attribute Window pixel format (4bpp)
150 * @OSD_0_VID_8: OSD pixels are fully transparent
151 * @OSD_1_VID_7: OSD pixels contribute 1/8, video pixels contribute 7/8
152 * @OSD_2_VID_6: OSD pixels contribute 2/8, video pixels contribute 6/8
153 * @OSD_3_VID_5: OSD pixels contribute 3/8, video pixels contribute 5/8
[all …]
/Linux-v6.1/include/linux/ceph/
Dosdmap.h11 * The osd map describes the current membership of the osd cluster and
161 int osd; member
201 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument
203 return osd >= 0 && osd < map->max_osd && in ceph_osd_exists()
204 (map->osd_state[osd] & CEPH_OSD_EXISTS); in ceph_osd_exists()
207 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up() argument
209 return ceph_osd_exists(map, osd) && in ceph_osd_is_up()
210 (map->osd_state[osd] & CEPH_OSD_UP); in ceph_osd_is_up()
213 static inline bool ceph_osd_is_down(struct ceph_osdmap *map, int osd) in ceph_osd_is_down() argument
215 return !ceph_osd_is_up(map, osd); in ceph_osd_is_down()
[all …]
Drados.h61 __le16 preferred; /* preferred primary osd */
123 * osd map bits
129 #define CEPH_OSD_AUTOOUT (1<<2) /* osd was automatically marked out */
130 #define CEPH_OSD_NEW (1<<3) /* osd is new, never marked in */
134 /* osd weights. fixed point value: 0x10000 == 1.0 ("in"), 0 == "out" */
138 /* osd primary-affinity. fixed point value: 0x10000 == baseline */
144 * osd map flag bits
153 #define CEPH_OSDMAP_NOUP (1<<5) /* block osd boot */
154 #define CEPH_OSDMAP_NODOWN (1<<6) /* block osd mark-down/failure */
155 #define CEPH_OSDMAP_NOOUT (1<<7) /* block osd auto mark-out */
[all …]
Dosd_client.h32 /* a given osd we're communicating with */
175 int osd; member
194 /* request osd ops array */
232 * osd request identifier
258 struct ceph_osd *osd; member
272 struct rb_node node; /* osd */
/Linux-v6.1/drivers/scsi/
Dconstants.c218 {0x8801, "Format OSD"},
219 {0x8802, "Create (osd)"},
220 {0x8803, "List (osd)"},
221 {0x8805, "Read (osd)"},
222 {0x8806, "Write (osd)"},
223 {0x8807, "Append (osd)"},
224 {0x8808, "Flush (osd)"},
225 {0x880a, "Remove (osd)"},
226 {0x880b, "Create partition (osd)"},
227 {0x880c, "Remove partition (osd)"},
[all …]
/Linux-v6.1/Documentation/admin-guide/media/
Ddavinci-vpbe.rst18 Loads up VENC, OSD and external encoders such as ths8200. It provides
21 a device object to access the services from OSD subdevice
55 4. OSD module
57 OSD module implements all OSD layer management and hardware specific
58 features. The VPBE module interacts with the OSD for enabling and
59 disabling appropriate features of the OSD.
/Linux-v6.1/fs/ceph/
Dioctl.h17 * it differs from the default), and an optional 'preferred osd' to
53 * Extract identity, address of the OSD and object storing a given
64 __s64 osd; /* out: osd # */ member
65 struct sockaddr_storage osd_addr; /* out: osd address */
76 * page cache and go directly to the OSD. Setting this flag on a file
Dioctl.c176 * Return object name, size/offset information, and location (OSD
223 dl.osd = ceph_pg_to_acting_primary(osdc->osdmap, &pgid); in ceph_ioctl_get_dataloc()
224 if (dl.osd >= 0) { in ceph_ioctl_get_dataloc()
226 ceph_osd_addr(osdc->osdmap, dl.osd); in ceph_ioctl_get_dataloc()
/Linux-v6.1/drivers/media/pci/ivtv/
Divtvfb.c5 This module presents the cx23415 OSD (onscreen display) framebuffer memory
206 struct ivtv_osd_coords *osd) in ivtvfb_get_osd_coords() argument
213 osd->offset = data[0] - oi->video_rbase; in ivtvfb_get_osd_coords()
214 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
215 osd->pixel_stride = data[1]; in ivtvfb_get_osd_coords()
216 osd->lines = data[2]; in ivtvfb_get_osd_coords()
217 osd->x = data[3]; in ivtvfb_get_osd_coords()
218 osd->y = data[4]; in ivtvfb_get_osd_coords()
222 static int ivtvfb_set_osd_coords(struct ivtv *itv, const struct ivtv_osd_coords *osd) in ivtvfb_set_osd_coords() argument
226 oi->display_width = osd->pixel_stride; in ivtvfb_set_osd_coords()
[all …]
/Linux-v6.1/Documentation/driver-api/media/drivers/
Dcx2341x-devel.rst285 OSD firmware API description
300 Return base and length of contiguous OSD memory.
305 OSD base address
310 OSD length
322 Query OSD format
364 Query OSD state
383 OSD switch
400 Retrieve coordinates of OSD area blended with video
405 OSD buffer address
415 Lines in OSD buffer
[all …]
/Linux-v6.1/drivers/media/test-drivers/vivid/
Dvivid-cec.c270 char osd[14]; in vivid_received() local
280 cec_ops_set_osd_string(msg, &disp_ctl, osd); in vivid_received()
283 strscpy(dev->osd, osd, sizeof(dev->osd)); in vivid_received()
287 strscpy(dev->osd, osd, sizeof(dev->osd)); in vivid_received()
291 dev->osd[0] = 0; in vivid_received()
Dvivid-kthread-cap.c40 #include "vivid-osd.h"
53 u16 *cap, const u16 *osd) in copy_pix() argument
63 *cap = *osd; in copy_pix()
82 *osd != dev->chromakey_out) in copy_pix()
362 u8 *osd = vosdbuf + vid_overlay_y * stride_osd; in vivid_copy_buffer() local
370 dev->blended_line + offset, osd, in vivid_copy_buffer()
374 osd, (dev->loop_vid_overlay.width * twopixsize) / 2); in vivid_copy_buffer()
541 if (dev->osd[0]) { in vivid_fillbuff()
544 " OSD \"%s\"", dev->osd); in vivid_fillbuff()
550 dev->osd[0] = 0; in vivid_fillbuff()
/Linux-v6.1/include/uapi/linux/dvb/
Dosd.h3 * osd.h - DEPRECATED On Screen Display API
36 * Disables OSD and releases the buffers
41 * Opens OSD with this size and bit depth
46 * enables OSD mode
51 * disables OSD mode
71 * opacity=255: pixel opacity 100% (only OSD pixel shows)
134 OSD_OpenRaw, /* Open other types of OSD windows */
/Linux-v6.1/Documentation/devicetree/bindings/display/
Damlogic,meson-vpu.yaml35 It can handle 2 OSD Planes and 2 Video Planes.
43 scaler and a "post-blending" to merge with the OSD Planes.
44 The OSD planes also have a dedicated scaler for one of the OSD.
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dvidioc-g-fbuf.rst40 :ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`
41 (OSD). The type of overlay is implied by the device type (capture or
113 :ref:`osd`).
295 ioctl, see :ref:`overlay` and :ref:`osd`.
299 and :ref:`osd`.
314 and :ref:`osd`.
328 and :ref:`osd`. Both chroma-keying are mutual exclusive to each
Ddev-osd.rst9 **Also known as On-Screen Display (OSD)**
16 The OSD function is accessible through the same character special file
22 capturing or output. The OSD function is only available after calling
56 Example: Finding a framebuffer device for OSD
/Linux-v6.1/drivers/gpu/drm/meson/
Dmeson_viu.c28 * - HDR OSD matrix for GXL/GXM
43 /* OSD csc defines */
114 /* osd matrix, VIU_MATRIX_0 */ in meson_viu_set_osd_matrix()
162 /* osd eotf matrix, VIU_MATRIX_OSD_EOTF */ in meson_viu_set_osd_matrix()
272 /* osd oetf lut: linear */
308 /* osd matrix RGB709 to YUV709 limit */ in meson_viu_load_matrix()
314 /* VIU OSD1 Reset as workaround for GXL+ Alpha OSD Bug */
452 /* Set OSD alpha replace value */ in meson_viu_init()
/Linux-v6.1/drivers/video/fbdev/
Ds3c-fb.c60 #define OSD_BASE(win, variant) ((variant).osd + ((win) * (variant).osd_stride))
77 * @osd: The base for the OSD registers.
78 * @osd_stride: stride of osd
96 unsigned short osd; member
109 * @has_osd_c: Set if has OSD C register.
110 * @has_osd_d: Set if has OSD D register.
114 * @osd_size_off: If != 0, supports setting up OSD for a window; the appropriate
388 * vidosd_set_size() - set OSD size for a window
390 * @win: the window to set OSD size for
391 * @size: OSD size register value
[all …]
/Linux-v6.1/drivers/staging/media/deprecated/saa7146/av7110/
DKconfig44 bool "AV7110 OSD support (DEPRECATED)"
52 Anyway, some popular DVB software like VDR uses this OSD to render
/Linux-v6.1/include/uapi/linux/
Dmajor.h176 #define SCSI_OSD_MAJOR 260 /* open-osd's OSD scsi device */

12345