Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 36) sorted by relevance

12

/misc/services/life_mngr/
A Dlife_mngr.conf20 DEV_NAME=tty:/dev/ttyS8,/dev/ttyS9,/dev/ttyS10,/dev/ttyS11,/dev/ttyS12,/dev/ttyS13,/dev/ttyS14
26 ALLOW_TRIGGER_S5=/dev/ttyS10
32 ALLOW_TRIGGER_SYSREBOOT=/dev/ttyS10
A Duart.c133 struct uart_dev *dev; in init_uart_dev() local
138 dev = calloc(1, sizeof(*dev)); in init_uart_dev()
139 if (!dev) { in init_uart_dev()
146 dev->tty_fd = tty_listen_setup(dev->tty_path); in init_uart_dev()
147 if (dev->tty_fd < 0) { in init_uart_dev()
149 free(dev); in init_uart_dev()
152 return dev; in init_uart_dev()
156 if (dev != NULL) { in deinit_uart_dev()
158 close(dev->tty_fd); in deinit_uart_dev()
159 dev->tty_fd = -1; in deinit_uart_dev()
[all …]
A Duart.h37 void deinit_uart_dev(struct uart_dev *dev);
41 ssize_t send_message_by_uart(struct uart_dev *dev, const void *buf, size_t len);
46 ssize_t receive_message_by_uart(struct uart_dev *dev, void *buf, size_t len);
50 static inline int get_uart_dev_fd(struct uart_dev *dev) in get_uart_dev_fd() argument
52 return dev->tty_fd; in get_uart_dev_fd()
57 static inline char *get_uart_dev_path(struct uart_dev *dev) in get_uart_dev_path() argument
59 return dev->tty_path; in get_uart_dev_path()
A Duart_channel.c280 struct uart_dev *dev; in create_uart_channel_dev() local
286 dev = init_uart_dev(path); in create_uart_channel_dev()
287 if (dev == NULL) { in create_uart_channel_dev()
295 deinit_uart_dev(dev); in create_uart_channel_dev()
299 c_dev->uart_device = dev; in create_uart_channel_dev()
/misc/debug_tools/acrn_log/
A Dacrnlog.c200 if (!dev) { in hvlog_open_dev()
213 if (!dev->msg) { in hvlog_open_dev()
218 return dev; in hvlog_open_dev()
221 close(dev->fd); in hvlog_open_dev()
223 free(dev); in hvlog_open_dev()
230 if (!dev) in hvlog_close_dev()
233 if (dev->msg) in hvlog_close_dev()
234 free(dev->msg); in hvlog_close_dev()
235 if (dev->fd > 0) in hvlog_close_dev()
237 free(dev); in hvlog_close_dev()
[all …]
/misc/config_tools/static_allocators/
A Dbdf.py23 for dev in range(0x1, 0x20):
24 bdf = lib.lib.BusDevFunc(bus=0x00, dev=dev, func=0x0)
25 if all((bdf.dev != in_use_bdf.dev for in_use_bdf in used_bdf)):
83 dev = int(address, 16) >> 16
93 dev_list.append(lib.lib.BusDevFunc(bus = bus, dev = dev, func = func))
109 for dev in devdict:
110 dev_name = dev
111 bdf = devdict.get(dev)
136 dev = int(address, 16) >> 16
156 used.append(lib.lib.BusDevFunc(bus = 0, dev = 1, func = 0))
A Dgpa.py158 dev = int(bdf.split(":")[1].split('.')[0], 16)
160 bdf = lib.lib.BusDevFunc(bus=bus, dev=dev, func=func)
183 dev = int(bdf.split(":")[1].split('.')[0], 16)
185 bdf = lib.lib.BusDevFunc(bus=bus, dev=dev, func=func)
346 for dev in devdict:
347 dev_name = dev[0]
348 bar_region = dev[1].split('bar')[-1]
349 bar_base = devdict.get(dev)
363 for dev in devdict:
364 vuart_id = dev[0][-1]
[all …]
A Dintx.py166 address = hex((bdf.dev << 16) | (bdf.func))
239 for dev in devs:
240 … if dev.startswith("("): # Allocation in the scenario configuration need not go to allocation.xml
242 bdf = dev.split(" ")[0]
/misc/config_tools/launch_config/
A Dlaunch_script_template.sh23 … echo "Warning: processor 0 can't be offline, there may be unexpect error!" >> /dev/stderr
29 echo cpu${processor_id} online=${online} >> /dev/stderr
59 tap_exist=$(ip a show dev $tap)
63 ip tuntap add dev $tap mode tap
71 ip link set dev "$tap" down
72 ip link set dev "$tap" up
171 echo "${options} input device path is available in the service vm." >> /dev/stderr
173 echo "${options} input device path is not found in the service vm." >> /dev/stderr
202 printf '%s,passthru,%x/%x/%x' ${slot} ${bus} ${dev} ${fun}
/misc/config_tools/data/generic_board/sample_launch_scripts/
A Dlaunch_user_vm_id1.sh28 … echo "Warning: processor 0 can't be offline, there may be unexpect error!" >> /dev/stderr
34 echo cpu${processor_id} online=${online} >> /dev/stderr
64 tap_exist=$(ip a show dev $tap)
68 ip tuntap add dev $tap mode tap
76 ip link set dev "$tap" down
77 ip link set dev "$tap" up
176 echo "${options} input device path is available in the service vm." >> /dev/stderr
178 echo "${options} input device path is not found in the service vm." >> /dev/stderr
207 printf '%s,passthru,%x/%x/%x' ${slot} ${bus} ${dev} ${fun}
A Dlaunch_user_vm_id2.sh28 … echo "Warning: processor 0 can't be offline, there may be unexpect error!" >> /dev/stderr
34 echo cpu${processor_id} online=${online} >> /dev/stderr
64 tap_exist=$(ip a show dev $tap)
68 ip tuntap add dev $tap mode tap
76 ip link set dev "$tap" down
77 ip link set dev "$tap" up
176 echo "${options} input device path is available in the service vm." >> /dev/stderr
178 echo "${options} input device path is not found in the service vm." >> /dev/stderr
207 printf '%s,passthru,%x/%x/%x' ${slot} ${bus} ${dev} ${fun}
/misc/config_tools/library/
A Dlaunch_cfg_lib.py353 def virtual_dev_slot(dev): argument
358 if dev in list(PT_SLOT.keys()):
359 return PT_SLOT[dev]
376 def get_slot(bdf_list, dev): argument
480 for dev in bdf_dic.keys():
481 dev_bdf_dic = bdf_dic[dev]
535 for dev in slot_db.keys():
541 for dev in PASSTHRU_DEVS:
542 if dev == 'gpu':
550 for dev in PASSTHRU_DEVS:
[all …]
/misc/debug_tools/acrn_crashlog/data/
A Dcrashlogctl23 echo "$1" > /dev/stderr
28 echo "$1" > /dev/stderr
33 echo "$1" > /dev/stderr
/misc/config_tools/board_inspector/inspectorlib/
A Dmmio.py13 dev = res.getparent().getparent()
14 obj = dev.get("object")
/misc/config_tools/board_config/
A Dpci_devices_h.py27 dev = int(bdf.split(':')[1].split('.')[0], 16)
31 bus, dev, fun), file=config)
A Dboard_info_h.py21 for dev,bdf_list in known_caps_pci_devs.items():
22 if dev == "VMSIX":
/misc/config_tools/board_inspector/extractors/
A D95-usb.py15 for dev in os.listdir(USB_DEVICES_PATH):
16 m = dev_regex.match(dev)
/misc/debug_tools/acrn_crashlog/acrnprobe/include/
A Dloop.h18 int e2fs_open(const char *dev, ext2_filsys *outfs);
/misc/services/acrn_manager/
A Dacrnd.service5 ConditionPathExists=/dev/acrn_hsm
/misc/sample_application/image_builder/
A Dcreate_image.sh215 sudo kpartx -vd /dev/${loop_dev}
216 sudo losetup -vd /dev/${loop_dev}
249 try_step "Resizing guest root file system" resizing_guest_root /dev/mapper/${loop_dev}p1
250 try_step "Mounting guest root file system at ${mount_point}" mount_filesystem /dev/mapper/${loop_de…
/misc/config_tools/static_allocators/lib/
A Dlib.py36 dev=int(match.group("dev"), 16),
44 if not (0x00 <= self.dev <= 0x1f):
/misc/config_tools/
A Dsetup.cfg5 author_email = acrn-dev@lists.projectacrn.org
/misc/packaging/
A D100_ACRN30 if ls /boot/vmlinuz*acrn-service-vm* 1> /dev/null 2>&1;then
/misc/config_tools/hv_config/
A Dboard_defconfig.py77 dev = int(serial_value.strip("'").split(':')[1].split(".")[0], 16)
79 value = ((bus & 0xFF) << 8) | ((dev & 0x1F) << 3) | (fun & 0x7)
/misc/debug_tools/acrn_crashlog/acrnprobe/
A Dloop.c621 int e2fs_open(const char *dev, ext2_filsys *outfs) in e2fs_open() argument
625 if (!dev || !outfs) in e2fs_open()
629 res = ext2fs_open(dev, EXT2_FLAG_64BITS, 0, 0, in e2fs_open()
632 LOGE("ext2fs fail to open (%s), error (%s)\n", dev, in e2fs_open()

Completed in 35 milliseconds

12