Benign repos Download

dwc3-google.c

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

Evidence

Includes Linux kernel module header lines 1–26
⋯6 lines
7 */
8
9#include <linux/bitfield.h>
10#include <linux/clk.h>
11#include <linux/iopoll.h>
12#include <linux/irq.h>
13#include <linux/kernel.h>
14#include <linux/mfd/syscon.h>
15#include <linux/module.h>
16#include <linux/of.h>
17#include <linux/platform_device.h>
18#include <linux/pm_domain.h>
19#include <linux/regmap.h>
20#include <linux/reset.h>
21#include "core.h"
22#include "glue.h"
23
24/* HOST CFG registers */
25#define HC_STATUS_OFFSET 0x0
26#define HC_STATUS_CURRENT_POWER_STATE_ …
English function-word token "the" lines 122–131
⋯4 lines
126
127/*
128 * Clear pme interrupts and report their status.
129 * The hardware requires write-1 then write-0 sequence to clear the interrupt bits.
130 */
131static u32 dwc …
Assigns a negative errno constant lines 317–325
317:28… ) {
318 dev_err(google->usb_psw_pd, "failed to add device link");
319 ret = -ENODEV;
320 goto err;
321 }
⋯4 lines
English function-word token "for" lines 325–327
325:41… ontroller in a power-gated state,
326 * essential for hibernation. Acquire a handle to usb_top_pd and sets it as
327 * wakeup-capable to allow the doma …
Kernel error code return lines 373–381
373:18… alloc(&pdev->dev, sizeof(*google), GFP_KERNEL);
374 if (!google)
375 return -ENOMEM;
376
377 google->dev = &pdev->dev;
⋯4 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.