Home
last modified time | relevance | path

Searched refs:consumer_label (Results 1 – 12 of 12) sorted by relevance

/openbmc/gpioplus/src/gpioplus/
H A Devent.cpp30 std::string_view consumer_label) in build() argument
37 if (consumer_label.size() >= sizeof(req.consumer_label)) in build()
41 memcpy(req.consumer_label, consumer_label.data(), consumer_label.size()); in build()
54 EventFlags event_flags, std::string_view consumer_label) : in Event() argument
55 fd(build(chip, line_offset, handle_flags, event_flags, consumer_label), in Event()
H A Dhandle.cpp45 HandleFlags flags, std::string_view consumer_label) in build() argument
60 if (consumer_label.size() >= sizeof(req.consumer_label)) in build()
64 memcpy(req.consumer_label, consumer_label.data(), consumer_label.size()); in build()
78 HandleFlags flags, std::string_view consumer_label) : in Handle() argument
79 fd(build(chip, lines, flags, consumer_label), std::false_type(), in Handle()
H A Devent.hpp71 EventFlags event_flags, std::string_view consumer_label);
H A Dhandle.hpp81 std::string_view consumer_label);
/openbmc/witherspoon-pfault-analysis/
H A Dgpio.cpp97 strncpy(request.consumer_label, "witherspoon-pfault-analysis", in requestLine()
98 sizeof(request.consumer_label)); in requestLine()
/openbmc/phosphor-power/
H A Dgpio.cpp97 strncpy(request.consumer_label, "phosphor-power", in requestLine()
98 sizeof(request.consumer_label)); in requestLine()
/openbmc/gpioplus/test/
H A Devent.cpp84 EXPECT_EQ(label, req.consumer_label); in TEST_F()
92 reinterpret_cast<struct gpioevent_request*>(NULL)->consumer_label); in TEST_F()
117 EXPECT_EQ(label, req.consumer_label); in TEST_F()
H A Dhandle.cpp99 EXPECT_EQ(label, req.consumer_label); in TEST_F()
120 reinterpret_cast<struct gpiohandle_request*>(NULL)->consumer_label); in TEST_F()
143 EXPECT_EQ(label, req.consumer_label); in TEST_F()
/openbmc/linux/include/uapi/linux/
H A Dgpio.h416 char consumer_label[GPIO_MAX_NAME_SIZE]; member
479 char consumer_label[GPIO_MAX_NAME_SIZE]; member
/openbmc/skeleton/libopenbmc_intf/
H A Dgpio.c322 strncpy(req.consumer_label, "skeleton-gpio", sizeof(req.consumer_label)); in gpio_open()
/openbmc/linux/tools/testing/selftests/gpio/
H A Dgpio-mockup-cdev.c69 strcpy(req.consumer_label, CONSUMER); in request_line_v1()
/openbmc/linux/drivers/gpio/
H A Dgpiolib-cdev.c368 if (handlereq.consumer_label[0] != '\0') { in linehandle_create()
370 lh->label = kstrndup(handlereq.consumer_label, in linehandle_create()
371 sizeof(handlereq.consumer_label) - 1, in linehandle_create()
2305 if (eventreq.consumer_label[0] != '\0') { in lineevent_create()
2307 le->label = kstrndup(eventreq.consumer_label, in lineevent_create()
2308 sizeof(eventreq.consumer_label) - 1, in lineevent_create()