Home
last modified time | relevance | path

Searched refs:card (Results 1 – 25 of 593) sorted by relevance

12345678910>>...24

/external/python/cpython2/Demo/tkinter/guido/
Dsolitaire.py293 def add(self, card): argument
294 self.cards.append(card)
295 card.tkraise()
296 self.position(card)
297 self.group.addtag_withtag(card.group)
299 def delete(self, card): argument
300 self.cards.remove(card)
301 card.group.dtag(self.group)
310 card = self.cards[-1]
311 self.delete(card)
[all …]
/external/libkmsxx/kms++/src/
Dframebuffer.cpp15 Framebuffer::Framebuffer(Card& card, uint32_t width, uint32_t height) in Framebuffer() argument
16 : DrmObject(card, DRM_MODE_OBJECT_FB), m_width(width), m_height(height) in Framebuffer()
18 card.m_framebuffers.push_back(this); in Framebuffer()
21 Framebuffer::Framebuffer(Card& card, uint32_t id) in Framebuffer() argument
22 : DrmObject(card, id, DRM_MODE_OBJECT_FB) in Framebuffer()
24 auto fb = drmModeGetFB(card.fd(), id); in Framebuffer()
35 card.m_framebuffers.push_back(this); in Framebuffer()
45 drmModeDirtyFB(card().fd(), id(), &clip, 1); in flush()
50 auto& fbs = card().m_framebuffers; in ~Framebuffer()
52 card().m_framebuffers.erase(iter); in ~Framebuffer()
Dcrtc.cpp20 Crtc::Crtc(Card &card, uint32_t id, uint32_t idx) in Crtc() argument
21 :DrmPropObject(card, id, DRM_MODE_OBJECT_CRTC, idx) in Crtc()
24 m_priv->drm_crtc = drmModeGetCrtc(this->card().fd(), this->id()); in Crtc()
38 m_priv->drm_crtc = drmModeGetCrtc(this->card().fd(), this->id()); in refresh()
44 for (Plane* plane : card().get_planes()) { in setup()
56 drmModeSetCrtc(card().fd(), id(), c->buffer_id, in restore_mode()
63 AtomicReq req(card()); in set_mode()
65 unique_ptr<Blob> blob = mode.to_blob(card()); in set_mode()
88 return drmModeSetCrtc(card().fd(), id(), fb.id(), in set_mode()
95 return drmModeSetCrtc(card().fd(), id(), 0, 0, 0, 0, 0, 0); in disable_mode()
[all …]
Ddrmpropobject.cpp15 DrmPropObject::DrmPropObject(Card& card, uint32_t object_type) in DrmPropObject() argument
16 : DrmObject(card, object_type) in DrmPropObject()
20 DrmPropObject::DrmPropObject(Card& card, uint32_t id, uint32_t object_type, uint32_t idx) in DrmPropObject() argument
21 : DrmObject(card, id, object_type, idx) in DrmPropObject()
33 auto props = drmModeObjectGetProperties(card().fd(), this->id(), this->object_type()); in refresh_props()
51 auto prop = card().get_prop(pair.first); in get_prop()
68 auto prop = card().get_prop(pair.first); in get_prop_value()
80 return unique_ptr<Blob>(new Blob(card(), blob_id)); in get_prop_value_as_blob()
85 return drmModeObjectSetProperty(card().fd(), this->id(), this->object_type(), prop->id(), value); in set_prop_value()
90 return drmModeObjectSetProperty(card().fd(), this->id(), this->object_type(), id, value); in set_prop_value()
Dblob.cpp11 Blob::Blob(Card& card, uint32_t blob_id) in Blob() argument
12 : DrmObject(card, blob_id, DRM_MODE_OBJECT_BLOB), m_created(false) in Blob()
17 Blob::Blob(Card& card, void* data, size_t len) in Blob() argument
18 : DrmObject(card, DRM_MODE_OBJECT_BLOB), m_created(true) in Blob()
22 int r = drmModeCreatePropertyBlob(card.fd(), data, len, &id); in Blob()
32 drmModeDestroyPropertyBlob(card().fd(), id()); in ~Blob()
37 drmModePropertyBlobPtr blob = drmModeGetPropertyBlob(card().fd(), id()); in data()
Ddumbframebuffer.cpp23 DumbFramebuffer::DumbFramebuffer(Card &card, uint32_t width, uint32_t height, const string& fourcc) in DumbFramebuffer() argument
24 :DumbFramebuffer(card, width, height, FourCCToPixelFormat(fourcc)) in DumbFramebuffer()
28 DumbFramebuffer::DumbFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format) in DumbFramebuffer() argument
29 :Framebuffer(card, width, height), m_format(format) in DumbFramebuffer()
56 r = drmIoctl(card().fd(), DRM_IOCTL_MODE_CREATE_DUMB, &creq); in Create()
73 r = drmModeAddFB2(card().fd(), width(), height(), (uint32_t)format(), in Create()
84 drmModeRmFB(card().fd(), id()); in Destroy()
96 drmIoctl(card().fd(), DRM_IOCTL_MODE_DESTROY_DUMB, &dreq); in Destroy()
112 int r = drmIoctl(card().fd(), DRM_IOCTL_MODE_MAP_DUMB, &mreq); in map()
118 card().fd(), mreq.offset); in map()
[all …]
/external/libkmsxx/kmscube/
Dcube-gbm.cpp28 GbmDevice(Card& card) in GbmDevice() argument
30 m_dev = gbm_create_device(card.fd()); in GbmDevice()
91 GbmEglSurface(Card& card, GbmDevice& gdev, const EglState& egl, int width, int height) in GbmEglSurface() argument
92 : card(card), egl(egl), m_width(width), m_height(height), in GbmEglSurface()
125 static Framebuffer* drm_fb_get_from_bo(struct gbm_bo *bo, Card& card) in drm_fb_get_from_bo() argument
141 fb = new ExtFramebuffer(card, width, height, format, handles, strides, offsets); in drm_fb_get_from_bo()
153 return drm_fb_get_from_bo(bo_next, card); in lock_next()
168 Card& card; member in GbmEglSurface
184 …OutputHandler(Card& card, GbmDevice& gdev, const EglState& egl, Connector* connector, Crtc* crtc, … in OutputHandler() argument
188 …m_surface1 = unique_ptr<GbmEglSurface>(new GbmEglSurface(card, gdev, egl, mode.hdisplay, mode.vdis… in OutputHandler()
[all …]
/external/u-boot/arch/arm/dts/
Dam3517-evm-ui.dtsi13 compatible = "simple-audio-card";
14 simple-audio-card,name = "tlv320aic23-hifi";
16 simple-audio-card,widgets =
21 simple-audio-card,routing =
28 simple-audio-card,format = "i2s";
29 simple-audio-card,bitclock-master = <&sound_master>;
30 simple-audio-card,frame-master = <&sound_master>;
32 simple-audio-card,cpu {
36 sound_master: simple-audio-card,codec {
43 compatible = "simple-audio-card";
[all …]
/external/libkmsxx/py/tests/
Dplane_hog.py6 card = pykms.Card() variable
7 res = pykms.ResourceManager(card)
12 for conn in card.connectors:
22 modeb1 = mode1.to_blob(card)
28 modeb2 = mode2.to_blob(card)
34 fb = pykms.DumbFramebuffer(card, fbwidth, fbheight, "AR24");
38 card.disable_planes()
52 req = pykms.AtomicReq(card)
69 req = pykms.AtomicReq(card)
91 req = pykms.AtomicReq(card)
[all …]
Dtest.py14 card = pykms.OmapCard() variable
16 card = pykms.Card() variable
18 res = pykms.ResourceManager(card)
23 modeb = mode.to_blob(card)
26 origfb = pykms.OmapFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
28 origfb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
31 fb = pykms.ExtFramebuffer(card, origfb.width, origfb.height, origfb.format,
38 card.disable_planes()
40 req = pykms.AtomicReq(card)
Dplane_move.py14 card = pykms.Card() variable
16 if not card.has_atomic:
20 res = pykms.ResourceManager(card)
50 fb_tmp = pykms.DumbFramebuffer(card, src_w, src_h, 'XR24');
56 card.disable_planes()
70 req = pykms.AtomicReq(card)
71 modeb = mode_list[i].to_blob(card)
90 req = pykms.AtomicReq(card)
95 req = pykms.AtomicReq(card)
112 req = pykms.AtomicReq(card)
[all …]
Dctm_test.py6 def ctm_to_blob(ctm, card): argument
22 return pykms.Blob(card, arr);
30 card = pykms.Card() variable
31 res = pykms.ResourceManager(card)
36 fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
47 ctmb = ctm_to_blob(ctm, card)
57 ctmb = ctm_to_blob(ctm, card)
69 ctmb = ctm_to_blob(ctm, card)
Dmodeset_event.py8 for ev in card.read_events():
23 card = pykms.Card() variable
25 sel.register(card.fd, selectors.EVENT_READ, readdrm)
27 res = pykms.ResourceManager(card)
33 modeb = mode.to_blob(card)
41 fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, format);
45 card.disable_planes()
49 req = pykms.AtomicReq(card)
Dscale.py8 def plane_commit(card, crtc, plane, fb, x, y, w, h) : argument
9 req = pykms.AtomicReq(card)
23 card = pykms.Card() variable
24 res = pykms.ResourceManager(card)
32 plane = card.planes[int(args.plane)]
35 modeb = mode.to_blob(card)
36 req = pykms.AtomicReq(card)
46 fb = pykms.DumbFramebuffer(card, fbX, fbY, format);
70 plane_commit(card, crtc, plane, fb, X, Y, W, H)
Dglobal_alpha_test.py6 card = pykms.Card() variable
7 res = pykms.ResourceManager(card)
11 modeb = mode.to_blob(card)
19 fb1 = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, format);
22 fb2 = pykms.DumbFramebuffer(card, mode.hdisplay >> 1, mode.vdisplay >> 1, format);
27 req = pykms.AtomicReq(card)
39 req = pykms.AtomicReq(card)
Dgamma.py6 card = pykms.Card() variable
7 card = 0 variable
9 card = pykms.Card() variable
10 res = pykms.ResourceManager(card)
15 fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
32 gamma = pykms.Blob(card, arr);
Dplane_csc.py5 card = pykms.Card() variable
6 res = pykms.ResourceManager(card)
10 modeb = mode.to_blob(card)
15 fb = pykms.DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "UYVY");
18 req = pykms.AtomicReq(card)
28 req = pykms.AtomicReq(card)
46 req = pykms.AtomicReq(card)
/external/ltp/testcases/kernel/security/mmc_security/
DREADME11 the card or assigning a new password to an unlocked card.
12 - change_password.sh: used to change the password from a unlocked card.
13 - forced_erase.sh: used to force-erase a card, usually when the user has forgot
14 the password and wants to unlock the card. NOTE: all the card's contents are
16 - remove_password.sh: used to remove the passwor from a card previously unlocked.
34 1) Unlocking a card:
38 2) Assigning a password to an unlocked card:
42 3) Changing the password (card must be unlocked first):
46 4) Removing the password (card must be unlocked first):
50 5) Force erase card (card must be LOCKED):
/external/libkmsxx/utils/
Dkmstest.cpp113 static void parse_crtc(ResourceManager& resman, Card& card, const string& crtc_str, OutputInfo& out… in parse_crtc() argument
136 Crtc* c = card.get_crtc(num); in parse_crtc()
142 auto crtcs = card.get_crtcs(); in parse_crtc()
185 Crtc* c = card.get_crtc(num); in parse_crtc()
191 auto crtcs = card.get_crtcs(); in parse_crtc()
246 static void parse_plane(ResourceManager& resman, Card& card, const string& plane_str, const OutputI… in parse_plane() argument
262 Plane* p = card.get_plane(num); in parse_plane()
268 auto planes = card.get_planes(); in parse_plane()
310 static void get_props(Card& card, vector<PropInfo> &props, const DrmPropObject* propobj) in get_props() argument
316 static vector<Framebuffer*> get_default_fb(Card& card, unsigned width, unsigned height) in get_default_fb() argument
[all …]
Dkmsprint.cpp117 if (p.card().has_atomic()) { in format_plane()
167 Blob blob(prop->card(), blob_id); in format_property()
236 const Property* p = o->card().get_prop(pp.first); in format_props()
372 static void print_as_list(Card& card) in print_as_list() argument
377 for (Connector* conn : card.get_connectors()) { in print_as_list()
381 for (Encoder* enc : card.get_encoders()) { in print_as_list()
385 for (Crtc* crtc : card.get_crtcs()) { in print_as_list()
387 if (crtc->buffer_id() && !card.has_has_universal_planes()) { in print_as_list()
388 Framebuffer* fb = new Framebuffer(card, crtc->buffer_id()); in print_as_list()
393 for (Plane* plane : card.get_planes()) { in print_as_list()
[all …]
/external/adhd/cras/src/server/
Dcras_system_state.c28 struct cras_alsa_card *card; member
376 struct card_list *card; in cras_system_add_alsa_card() local
385 DL_FOREACH (state.cards, card) { in cras_system_add_alsa_card()
386 if (card_index == cras_alsa_card_get_index(card->card)) in cras_system_add_alsa_card()
396 card = calloc(1, sizeof(*card)); in cras_system_add_alsa_card()
397 if (card == NULL) in cras_system_add_alsa_card()
399 card->card = alsa_card; in cras_system_add_alsa_card()
400 DL_APPEND(state.cards, card); in cras_system_add_alsa_card()
406 struct card_list *card; in cras_system_remove_alsa_card() local
408 DL_FOREACH (state.cards, card) { in cras_system_remove_alsa_card()
[all …]
/external/adhd/scripts/
Daudio_diagnostics10 for card in ${@}
12 echo '=== amixer -c' $card scontents '==='
13 amixer -c $card scontents
14 echo '=== amixer -c' $card contents '==='
15 amixer -c $card contents
36 output_cards=$(aplay -l | egrep ^card | sed 's/card \([0-9]\+\).*/\1/' | sort -u)
39 input_cards=$(arecord -l | egrep ^card | sed 's/card \([0-9]\+\).*/\1/' | sort -u)
/external/u-boot/board/boundary/nitrogen6x/
DREADME.mx6qsabrelite17 2. Boot from SD card
21 to be reflashed with a small SD card loader to support boot from SD card. The
23 BootROM to load the U-Boot from SD card.
25 The SD card loader is available from
34 1. Write this SD card loader onto a large SD card using:
38 Note: Replace sXx with the device representing the SD card in your system.
40 Note: This writes SD card loader at address 0
42 2. Put this SD card into the slot for the large SD card (SD3 on the bottom of
56 4. Write the u-boot.imx produced during the U-Boot build to the SD card:
60 Note: Replace sXx with the device representing the SD card in your system.
[all …]
/external/u-boot/board/novtech/meerkat96/
DREADME9 * Install U-Boot to MicroSD card
11 Plug MicroSD card to a Linux machine (with card reader), find the
16 It will install U-Boot to MicroSD card at 1KiB offset. Insert the
17 card to Meerkat96 MicroSD slot, power up the board, and U-Boot should
18 boot from the card.
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_QUERYCAP.c77 cap.card, in test_VIDIOC_QUERYCAP()
93 CU_ASSERT(0 < strlen((char *)cap.card)); in test_VIDIOC_QUERYCAP()
94 CU_ASSERT(valid_string((char *)cap.card, sizeof(cap.card))); in test_VIDIOC_QUERYCAP()
118 strncpy((char *)cap2.card, (char *)cap.card, sizeof(cap2.card)); in test_VIDIOC_QUERYCAP()

12345678910>>...24