Home
last modified time | relevance | path

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

123456

/openbmc/u-boot/cmd/
H A Dosd.c6 * based on the gdsys osd driver, which is
18 /* Container for selected OSD device */
22 * cmd_osd_set_osd_num() - Set the OSD selected for operation
24 * Set the OSD device, which will be used by all subsequent OSD commands.
26 * Devices are identified by their uclass sequence number (as listed by 'osd
29 * @osdnum: The OSD device to be selected, identified by its sequence number.
34 struct udevice *osd; in cmd_osd_set_osd_num() local
37 res = uclass_get_device_by_seq(UCLASS_VIDEO_OSD, osdnum, &osd); in cmd_osd_set_osd_num()
39 printf("%s: No OSD %u (err = %d)\n", __func__, osdnum, res); in cmd_osd_set_osd_num()
42 osd_cur = osd; in cmd_osd_set_osd_num()
[all …]
/openbmc/u-boot/include/
H A Dvideo_osd.h11 /* The width of the OSD display in columns */
13 /* The height of the OSD display in rows */
15 /* The major version of the OSD device */
17 /* The minor version of the OSD device */
22 * struct video_osd_ops - driver operations for OSD uclass
24 * The OSD uclass implements support for text-oriented on-screen displays,
34 * Functions to read device information and set the size of the virtual OSD
43 * get_info() - Get information about a OSD instance
45 * A OSD instance may keep some internal data about itself. This
48 * @dev: OSD instance to query.
[all …]
/openbmc/linux/net/ceph/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/gpu/drm/aspeed/
H A 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 …]
/openbmc/u-boot/board/gdsys/common/
H A Dosd_cmd.c6 * based on the gdsys osd driver, which is
60 printf("Could not write to video mem on osd %s\n", in do_osd_write()
94 printf("Could not print string to osd %s\n", dev->name); in do_osd_print()
122 printf("Could not set size on osd %s\n", dev->name); in do_osd_size()
132 "write 16-bit hex encoded buffer to osd memory",
133 "osdw [pos_x] [pos_y] [buffer] [count] - write 8-bit hex encoded buffer to osd memory\n"
138 "write ASCII buffer to osd memory",
139 "osdp [pos_x] [pos_y] [color] [text] - write ASCII buffer to osd memory\n"
144 "set OSD XY size in characters",
145 "osdsize [size_x] [size_y] - set OSD XY size in characters\n"
H A DMakefile10 obj-$(CONFIG_IOCON) += osd.o mclink.o dp501.o phy.o ch7301.o
11 obj-$(CONFIG_DLVISION_10G) += osd.o dp501.o
13 obj-$(CONFIG_HRCON) += osd.o mclink.o dp501.o phy.o ioep-fpga.o fanctrl.o
16 obj-$(CONFIG_STRIDER_CON) += osd.o
17 obj-$(CONFIG_STRIDER_CON_DP) += osd.o
H A Dosd.c321 printf("OSD%d-%d: Digital-OSD version %01d.%02d, %d" "x%d characters\n", in osd_probe()
326 printf("OSD%d: Digital-OSD version %01d.%02d, %d" "x%d characters\n", in osd_probe()
484 "write 16-bit hex encoded buffer to osd memory",
490 "write ASCII buffer to osd memory",
496 "set OSD XY size in characters",
/openbmc/linux/include/linux/ceph/
H A 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 …]
H A 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 …]
H A Dosd_client.h35 * Note that these come from the OSD as little-endian values. On BE arches,
75 * A given osd we're communicating with.
232 int osd; member
251 /* request osd ops array */
290 * osd request identifier
316 struct ceph_osd *osd; member
330 struct rb_node node; /* osd */
571 * just a starting value. If we get more than this back from the OSD, the
/openbmc/linux/drivers/scsi/
H A 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 …]
/openbmc/u-boot/doc/device-tree-bindings/video/osd/
H A Dgdsys,ihs_video_out.txt1 * Guntermann & Drunck Integrated Hardware Systems OSD
7 - Register base for the OSD registers
8 - Address of the OSD video memory
12 - dp_tx: phandle to the display associated with the OSD
/openbmc/linux/fs/ceph/
H A 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
/openbmc/linux/drivers/media/pci/ivtv/
H A 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 …]
/openbmc/linux/include/uapi/linux/dvb/
H A Dosd.h3 * osd.h - DEPRECATED On Screen Display API
21 * Disables OSD and releases the buffers
26 * Opens OSD with this size and bit depth
31 * enables OSD mode
36 * disables OSD mode
56 * opacity=255: pixel opacity 100% (only OSD pixel shows)
119 OSD_OpenRaw, /* Open other types of OSD windows */
/openbmc/linux/drivers/media/test-drivers/vivid/
H A 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()
/openbmc/linux/Documentation/driver-api/media/drivers/
H A 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 …]
/openbmc/u-boot/drivers/video/
H A Dihs_video_out.c6 * based on the gdsys osd driver, which is
70 /* Register map for OSD device */
82 /* OSD's sync mode (resolution + frequency) */
84 /* The display port output for this OSD */
100 * @dev: the OSD device whose control register to set
149 debug("%s: Write would be out of OSD bounds\n", in ihs_video_out_set_mem()
187 debug("%s: Desired OSD size invalid\n", dev->name); in ihs_video_out_set_size()
192 /* Center OSD on screen */ in ihs_video_out_set_size()
H A DKconfig704 config OSD config
705 bool "Enable OSD support"
709 This supports drivers that provide a OSD (on-screen display), which
714 bool "Enable sandbox OSD"
715 depends on OSD
717 Enable support for sandbox OSD device used for testing purposes.
721 depends on OSD
724 out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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
106 :ref:`osd`). For *Video Capture Overlays* this field will always be
282 ioctl, see :ref:`overlay` and :ref:`osd`.
286 and :ref:`osd`.
301 and :ref:`osd`.
315 and :ref:`osd`. Both chroma-keying are mutual exclusive to each
H A 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
/openbmc/linux/Documentation/devicetree/bindings/display/
H A 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.
/openbmc/linux/drivers/gpu/drm/meson/
H A 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 */
451 /* Set OSD alpha replace value */ in meson_viu_init()

123456