Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-5.10/drivers/media/platform/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 …]
/kernel/linux/linux-5.10/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.c1105 * osd map
1459 u32 osd; in __decode_primary_temp() local
1461 ceph_decode_32_safe(p, end, osd, e_inval); in __decode_primary_temp()
1462 if (osd == (u32)-1 && incremental) in __decode_primary_temp()
1469 pg->primary_temp.osd = osd; in __decode_primary_temp()
1489 u32 ceph_get_primary_affinity(struct ceph_osdmap *map, int osd) in ceph_get_primary_affinity() argument
1491 BUG_ON(osd >= map->max_osd); in ceph_get_primary_affinity()
1496 return map->osd_primary_affinity[osd]; in ceph_get_primary_affinity()
1499 static int set_primary_affinity(struct ceph_osdmap *map, int osd, u32 aff) in set_primary_affinity() argument
1501 BUG_ON(osd >= map->max_osd); in set_primary_affinity()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/aspeed/
Daspeed_gfx.h38 #define CRT_OSD_H 0xA0 /* CRT OSD Horizontal Start/End */
39 #define CRT_OSD_V 0xA4 /* CRT OSD Vertical Start/End */
40 #define CRT_OSD_ADDR 0xA8 /* CRT OSD Pattern Address */
41 #define CRT_OSD_DISP 0xAC /* CRT OSD Offset */
42 #define CRT_OSD_THRESH 0xB0 /* CRT OSD Threshold & Alpha */
49 #define OSD_COLOR1 0xE0 /* OSD Color Palette Index 1 & 0 */
50 #define OSD_COLOR2 0xE4 /* OSD Color Palette Index 3 & 2 */
51 #define OSD_COLOR3 0xE8 /* OSD Color Palette Index 5 & 4 */
52 #define OSD_COLOR4 0xEC /* OSD Color Palette Index 7 & 6 */
53 #define OSD_COLOR5 0xF0 /* OSD Color Palette Index 9 & 8 */
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/
Dzx_vou.c171 void __iomem *osd; member
553 zplane->layer = vou->osd + MAIN_GL_OFFSET; in zx_crtc_init()
554 zplane->csc = vou->osd + MAIN_GL_CSC_OFFSET; in zx_crtc_init()
555 zplane->hbsc = vou->osd + MAIN_HBSC_OFFSET; in zx_crtc_init()
558 zcrtc->chnreg = vou->osd + OSD_MAIN_CHN; in zx_crtc_init()
559 zcrtc->chncsc = vou->osd + MAIN_CHN_CSC_OFFSET; in zx_crtc_init()
560 zcrtc->dither = vou->osd + MAIN_DITHER_OFFSET; in zx_crtc_init()
564 zplane->layer = vou->osd + AUX_GL_OFFSET; in zx_crtc_init()
565 zplane->csc = vou->osd + AUX_GL_CSC_OFFSET; in zx_crtc_init()
566 zplane->hbsc = vou->osd + AUX_HBSC_OFFSET; in zx_crtc_init()
[all …]
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-cec.c231 char osd[14]; in vivid_received() local
241 cec_ops_set_osd_string(msg, &disp_ctl, osd); in vivid_received()
244 strscpy(dev->osd, osd, sizeof(dev->osd)); in vivid_received()
248 strscpy(dev->osd, osd, sizeof(dev->osd)); in vivid_received()
252 dev->osd[0] = 0; in vivid_received()
/kernel/linux/linux-6.6/include/uapi/linux/dvb/
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 */
/kernel/linux/linux-6.6/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()

12345678910