/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_fru_eeprom.c | 208 memcpy(adev->serial, pia + addr + 1, min_t(size_t, in amdgpu_fru_get_product_info() 209 sizeof(adev->serial), in amdgpu_fru_get_product_info() 211 adev->serial[sizeof(adev->serial) - 1] = '\0'; in amdgpu_fru_get_product_info() 264 * The amdgpu driver provides a sysfs API for reporting the serial number 266 * The file serial_number is used for this and returns the serial number 278 return sysfs_emit(buf, "%s\n", adev->serial); in amdgpu_fru_serial_number_show()
|
/kernel/linux/linux-6.6/security/keys/ |
H A D | request_key_auth.c | 138 kenter("{%d}", key->serial); in request_key_auth_revoke() 150 kenter("{%d}", key->serial); in request_key_auth_destroy() 171 kenter("%d,", target->serial); in request_key_auth_new() 214 sprintf(desc, "%x", target->serial); in request_key_auth_new() 230 kleave(" = {%d,%d}", authkey->serial, refcount_read(&authkey->usage)); in request_key_auth_new()
|
H A D | request_key.c | 64 kenter("%d{%d},%d", authkey->serial, key->serial, error); in complete_request_key() 130 kenter("{%d},{%d},%s", key->serial, authkey->serial, rka->op); in call_sbin_request_key() 137 sprintf(desc, "_req.%u", key->serial); in call_sbin_request_key() 159 sprintf(key_str, "%d", key->serial); in call_sbin_request_key() 163 cred->thread_keyring ? cred->thread_keyring->serial : 0); in call_sbin_request_key() 167 prkey = cred->process_keyring->serial; in call_sbin_request_key() 173 sskey = session->serial; in call_sbin_request_key() 234 kenter("%d,%p,%zu,%p", key->serial, callout_inf in construct_key() [all...] |
/third_party/openssl/test/ |
H A D | ocspapitest.c | 79 ASN1_INTEGER *serial = ASN1_INTEGER_new(); in make_dummy_resp() local 83 || !TEST_ptr(serial) in make_dummy_resp() 88 || !TEST_true(ASN1_INTEGER_set_uint64(serial, (uint64_t)1))) in make_dummy_resp() 90 cid = OCSP_cert_id_new(EVP_sha256(), name, key, serial); in make_dummy_resp() 105 ASN1_INTEGER_free(serial); in make_dummy_resp()
|
/kernel/linux/linux-5.10/drivers/staging/fwserial/ |
H A D | Makefile | 2 obj-$(CONFIG_FIREWIRE_SERIAL) += firewire-serial.o 3 firewire-serial-objs := fwserial.o dma_fifo.o
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | oti6858.c | 3 * Ours Technology Inc. OTi-6858 USB to serial adapter driver. 25 * See Documentation/usb/usb-serial.rst for more information on using this 43 #include <linux/serial.h> 48 #include <linux/usb/serial.h> 54 "Ours Technology Inc. OTi-6858 USB to serial adapter driver" 209 result = usb_control_msg(port->serial->dev, in setup_line() 210 usb_rcvctrlpipe(port->serial->dev, 0), in setup_line() 233 result = usb_control_msg(port->serial->dev, in setup_line() 234 usb_sndctrlpipe(port->serial->dev, 0), in setup_line() 291 result = usb_control_msg(port->serial in send_data() 504 struct usb_serial *serial = port->serial; oti6858_open() local [all...] |
H A D | ti_usb_3410_5052.c | 26 #include <linux/serial.h> 31 #include <linux/usb/serial.h> 304 static int ti_startup(struct usb_serial *serial); 305 static void ti_release(struct usb_serial *serial); 516 static int ti_startup(struct usb_serial *serial) in ti_startup() argument 519 struct usb_device *dev = serial->dev; in ti_startup() 536 tdev->td_serial = serial; in ti_startup() 537 usb_set_serial_data(serial, tdev); in ti_startup() 540 if (serial->type == &ti_1port_device) in ti_startup() 556 cur_altsetting = serial in ti_startup() 599 ti_release(struct usb_serial *serial) ti_release() argument 1115 struct usb_serial *serial = tdev->td_serial; ti_interrupt_callback() local [all...] |
H A D | ipaq.c | 19 #include <linux/usb/serial.h> 32 static int ipaq_calc_num_ports(struct usb_serial *serial, 34 static int ipaq_startup(struct usb_serial *serial); 518 struct usb_serial *serial = port->serial; in ipaq_open() local 533 result = usb_control_msg(serial->dev, in ipaq_open() 534 usb_sndctrlpipe(serial->dev, 0), 0x22, 0x21, in ipaq_open() 550 static int ipaq_calc_num_ports(struct usb_serial *serial, in ipaq_calc_num_ports() argument 580 static int ipaq_startup(struct usb_serial *serial) in ipaq_startup() argument 582 if (serial in ipaq_startup() [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | oti6858.c | 3 * Ours Technology Inc. OTi-6858 USB to serial adapter driver. 25 * See Documentation/usb/usb-serial.rst for more information on using this 43 #include <linux/serial.h> 48 #include <linux/usb/serial.h> 54 "Ours Technology Inc. OTi-6858 USB to serial adapter driver" 210 result = usb_control_msg(port->serial->dev, in setup_line() 211 usb_rcvctrlpipe(port->serial->dev, 0), in setup_line() 234 result = usb_control_msg(port->serial->dev, in setup_line() 235 usb_sndctrlpipe(port->serial->dev, 0), in setup_line() 292 result = usb_control_msg(port->serial in send_data() 504 struct usb_serial *serial = port->serial; oti6858_open() local [all...] |
H A D | xr_serial.c | 21 #include <linux/usb/serial.h> 248 struct usb_serial *serial = port->serial; in xr_set_reg() local 251 ret = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in xr_set_reg() 268 struct usb_serial *serial = port->serial; in xr_get_reg() local 281 ret = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in xr_get_reg() 754 struct usb_host_interface *alt = port->serial in xr_cdc_set_line_coding() 950 xr_probe(struct usb_serial *serial, const struct usb_device_id *id) xr_probe() argument [all...] |
H A D | ipaq.c | 19 #include <linux/usb/serial.h> 32 static int ipaq_calc_num_ports(struct usb_serial *serial, 34 static int ipaq_startup(struct usb_serial *serial); 518 struct usb_serial *serial = port->serial; in ipaq_open() local 533 result = usb_control_msg(serial->dev, in ipaq_open() 534 usb_sndctrlpipe(serial->dev, 0), 0x22, 0x21, in ipaq_open() 550 static int ipaq_calc_num_ports(struct usb_serial *serial, in ipaq_calc_num_ports() argument 580 static int ipaq_startup(struct usb_serial *serial) in ipaq_startup() argument 582 if (serial in ipaq_startup() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | oggdec.c | 63 static int ogg_new_stream(AVFormatContext *s, uint32_t serial); 206 * situation where a new audio stream spawn (identified with a new serial) and 209 static int ogg_replace_stream(AVFormatContext *s, uint32_t serial, char *magic, int page_size, in ogg_replace_stream() argument 233 os->serial = serial; in ogg_replace_stream() 235 os->serial = serial; in ogg_replace_stream() 248 static int ogg_new_stream(AVFormatContext *s, uint32_t serial) in ogg_new_stream() argument 268 os->serial = serial; in ogg_new_stream() 321 uint32_t serial; ogg_read_page() local [all...] |
H A D | wtvenc.c | 78 int64_t serial; member 84 int64_t serial; member 91 int64_t serial; /**< chunk serial number */ member 100 WtvSyncEntry *st_pairs; /* (serial, timestamp) pairs */ 102 WtvSyncEntry *sp_pairs; /* (serial, position) pairs */ 112 static void add_serial_pair(WtvSyncEntry ** list, int * count, int64_t serial, int64_t value) in add_serial_pair() argument 118 new_list[*count] = (WtvSyncEntry){serial, value}; in add_serial_pair() 145 avio_wl64(pb, wctx->serial); in write_chunk_header() 151 t->serial in write_chunk_header() [all...] |
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | rxkad.c | 648 u32 serial; in rxkad_issue_challenge() local 688 serial = atomic_inc_return(&conn->serial); in rxkad_issue_challenge() 689 whdr.serial = htonl(serial); in rxkad_issue_challenge() 690 _proto("Tx CHALLENGE %%%u", serial); in rxkad_issue_challenge() 694 trace_rxrpc_tx_fail(conn->debug_id, serial, ret, in rxkad_issue_challenge() 718 u32 serial; in rxkad_send_response() local 746 serial = atomic_inc_return(&conn->serial); in rxkad_send_response() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_eeprom.c | 42 * Functions specific to the serial EEPROM on cards handled by ib_qib. 239 * support both the Pathscale 10-digit serial number and the QLogic in qib_get_eeprom_info() 244 char *snp = dd->serial; in qib_get_eeprom_info() 254 len = sizeof(dd->serial) - len; in qib_get_eeprom_info() 259 memcpy(dd->serial, ifp->if_serial, sizeof(ifp->if_serial)); in qib_get_eeprom_info() 264 dd->serial, ifp->if_comment); in qib_get_eeprom_info()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_eeprom.c | 42 * Functions specific to the serial EEPROM on cards handled by ib_qib. 239 * support both the Pathscale 10-digit serial number and the QLogic in qib_get_eeprom_info() 244 char *snp = dd->serial; in qib_get_eeprom_info() 254 len = sizeof(dd->serial) - len; in qib_get_eeprom_info() 259 memcpy(dd->serial, ifp->if_serial, sizeof(ifp->if_serial)); in qib_get_eeprom_info() 264 dd->serial, ifp->if_comment); in qib_get_eeprom_info()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ResourceVk.cpp | 20 angle::Result FinishRunningCommands(ContextVk *contextVk, Serial serial) in FinishRunningCommands() argument 22 return contextVk->finishToSerial(serial); in FinishRunningCommands() 196 void ResourceUseList::releaseResourceUsesAndUpdateSerials(Serial serial) in releaseResourceUsesAndUpdateSerials() argument 200 use.releaseAndUpdateSerial(serial); in releaseResourceUsesAndUpdateSerials()
|
/third_party/vk-gl-cts/framework/platform/lnx/wayland/ |
H A D | tcuLnxWayland.cpp | 226 void Window::handlePing (void* data, struct xdg_wm_base* shell, uint32_t serial) in handlePing() argument 229 xdg_wm_base_pong(shell, serial); in handlePing() 232 void Window::handleConfigure (void* data, struct xdg_surface* xdgSurface, uint32_t serial) in handleConfigure() argument 237 xdg_surface_ack_configure(xdgSurface, serial); in handleConfigure()
|
/third_party/mesa3d/.gitlab-ci/bare-metal/ |
H A D | google-power-relay.py | 4 import serial namespace 16 ser = serial.Serial('/dev/ttyACM0', 115200, timeout=2)
|
/third_party/mesa3d/src/gallium/auxiliary/rbug/ |
H A D | rbug_core.c | 149 uint32_t serial, in rbug_send_ping_reply() 158 LEN(4); /* serial */ in rbug_send_ping_reply() 169 WRITE(4, uint32_t, serial); /* serial */ in rbug_send_ping_reply() 187 uint32_t serial, in rbug_send_error_reply() 197 LEN(4); /* serial */ in rbug_send_error_reply() 209 WRITE(4, uint32_t, serial); /* serial */ in rbug_send_error_reply() 314 READ(4, uint32_t, serial); /* serial */ in rbug_demarshal_ping_reply() 148 rbug_send_ping_reply(struct rbug_connection *__con, uint32_t serial, uint32_t *__serial) rbug_send_ping_reply() argument 186 rbug_send_error_reply(struct rbug_connection *__con, uint32_t serial, uint32_t error, uint32_t *__serial) rbug_send_error_reply() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ess/ |
H A D | ess_lib.c | 71 /* Setting the issuer/serial if requested. */ in ESS_CERT_ID_new_init() 86 ASN1_INTEGER_free(cid->issuer_serial->serial); in ESS_CERT_ID_new_init() 87 if ((cid->issuer_serial->serial = in ESS_CERT_ID_new_init() 183 ASN1_INTEGER_free(cid->issuer_serial->serial); in ESS_CERT_ID_V2_new_init() 184 cid->issuer_serial->serial = ASN1_INTEGER_dup(X509_get0_serialNumber(cert)); in ESS_CERT_ID_V2_new_init() 185 if (cid->issuer_serial->serial == NULL) in ESS_CERT_ID_V2_new_init() 209 return ASN1_INTEGER_cmp(is->serial, X509_get0_serialNumber(cert)); in ess_issuer_serial_cmp() 267 /* Well, it's not really required to match the serial numbers. */ in find()
|
/third_party/openssl/crypto/ess/ |
H A D | ess_lib.c | 71 /* Setting the issuer/serial if requested. */ in ESS_CERT_ID_new_init() 86 ASN1_INTEGER_free(cid->issuer_serial->serial); in ESS_CERT_ID_new_init() 87 if ((cid->issuer_serial->serial = in ESS_CERT_ID_new_init() 183 ASN1_INTEGER_free(cid->issuer_serial->serial); in ESS_CERT_ID_V2_new_init() 184 cid->issuer_serial->serial = ASN1_INTEGER_dup(X509_get0_serialNumber(cert)); in ESS_CERT_ID_V2_new_init() 185 if (cid->issuer_serial->serial == NULL) in ESS_CERT_ID_V2_new_init() 209 return ASN1_INTEGER_cmp(is->serial, X509_get0_serialNumber(cert)); in ess_issuer_serial_cmp() 267 /* Well, it's not really required to match the serial numbers. */ in find()
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/ |
H A D | Device.cpp | 149 uint64_t serial = mErrorScopes.Add({callback, userdata}); in PopErrorScope() local 153 cmd.requestSerial = serial; in PopErrorScope() 241 uint64_t serial = mCreatePipelineAsyncRequests.Add(std::move(request)); in CreateComputePipelineAsync() local 246 cmd.requestSerial = serial; in CreateComputePipelineAsync() 292 uint64_t serial = mCreatePipelineAsyncRequests.Add(std::move(request)); in CreateRenderPipelineAsync() local 297 cmd.requestSerial = serial; in CreateRenderPipelineAsync()
|
/kernel/linux/linux-5.10/security/keys/ |
H A D | request_key.c | 64 kenter("%d{%d},%d", authkey->serial, key->serial, error); in complete_request_key() 130 kenter("{%d},{%d},%s", key->serial, authkey->serial, rka->op); in call_sbin_request_key() 137 sprintf(desc, "_req.%u", key->serial); in call_sbin_request_key() 159 sprintf(key_str, "%d", key->serial); in call_sbin_request_key() 163 cred->thread_keyring ? cred->thread_keyring->serial : 0); in call_sbin_request_key() 167 prkey = cred->process_keyring->serial; in call_sbin_request_key() 173 sskey = session->serial; in call_sbin_request_key() 234 kenter("%d,%p,%zu,%p", key->serial, callout_inf in construct_key() [all...] |
/third_party/eudev/src/ata_id/ |
H A D | ata_id.c | 2 * ata_id - reads product/serial number from ATA drives 424 char serial[21]; in main() local 479 disk_identify_fixup_string(identify.byte, 10, 20); /* serial */ in main() 515 util_replace_whitespace((char *) id.serial_no, serial, 20); in main() 516 util_replace_chars(serial, NULL); in main() 550 if (serial[0] != '\0') { in main() 551 printf("ID_SERIAL=%s_%s\n", model, serial); in main() 552 printf("ID_SERIAL_SHORT=%s\n", serial); in main() 673 if (serial[0] != '\0') in main() 674 printf("%s_%s\n", model, serial); in main() [all...] |