Benign repos Download

uart.c

Includes Linux kernel module headerAssigns a negative errno constant
SHA-256b640bfe01bcd04276311d5fd997c5cda6cffc0e65fcb41f3dc33947aaf83698b
MaleculeO(Er)H(Os)

Evidence

English function-word token "for" lines 1–6
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Driver for NXP PN532 NFC Chip - UART transport layer
4 *
5 * Copyright (C) 2018 Lemonage Software GmbH
6 * Au …
Includes Linux kernel module header lines 6–22
6:29… eschel@lemonage.de>
7 * All rights reserved.
8 */
9
10#include <linux/device.h>
11#include <linux/kernel.h>
12#include <linux/module.h>
13#include <linux/nfc.h>
14#include <linux/netdevice.h>
15#include <linux/of.h>
16#include <linux/serdev.h>
17#include "pn533.h"
18
19#define PN532_UART_SKB_BUFF_LEN (PN533_CMD_DATAEXCH_DATA_MAXLEN * 2)
20
21enum send_wakeup {
22 PN …
English function-word token "the" lines 33–35
33:40… trol if we need to send a wakeup
34 * request to the pn532 chip prior to our actual command. There is a
35 * little propability of a race condition. …
English function-word token "that" lines 35–41
35:51… ided to not mutex the
36 * variable as the worst that could happen is, that we send a wakeup
37 * to the chip that is already awake. This does not hurt. It is a
38 * no-op to the chip.
39 */
40 enum send_wakeup send_wakeup;
41 struct timer …
Assigns a negative errno constant lines 239–249
239{
240 struct pn532_uart_phy *pn532;
241 struct pn533 *priv;
242 int err;
243
⋯6 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.