Searched refs:consumer_label (Results 1 – 12 of 12) sorted by relevance
/openbmc/gpioplus/src/gpioplus/ |
H A D | event.cpp | 30 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 D | handle.cpp | 45 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 D | event.hpp | 71 EventFlags event_flags, std::string_view consumer_label);
|
H A D | handle.hpp | 81 std::string_view consumer_label);
|
/openbmc/phosphor-power/ |
H A D | gpio.cpp | 97 strncpy(request.consumer_label, "phosphor-power", in requestLine() 98 sizeof(request.consumer_label)); in requestLine()
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | gpio.cpp | 97 strncpy(request.consumer_label, "witherspoon-pfault-analysis", in requestLine() 98 sizeof(request.consumer_label)); in requestLine()
|
/openbmc/gpioplus/test/ |
H A D | event.cpp | 84 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 D | handle.cpp | 99 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 D | gpio.h | 416 char consumer_label[GPIO_MAX_NAME_SIZE]; member 479 char consumer_label[GPIO_MAX_NAME_SIZE]; member
|
/openbmc/skeleton/libopenbmc_intf/ |
H A D | gpio.c | 364 strncpy(req.consumer_label, "skeleton-gpio", sizeof(req.consumer_label)); in gpio_open()
|
/openbmc/linux/tools/testing/selftests/gpio/ |
H A D | gpio-mockup-cdev.c | 69 strcpy(req.consumer_label, CONSUMER); in request_line_v1()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-cdev.c | 372 if (handlereq.consumer_label[0] != '\0') { in linehandle_create() 374 lh->label = kstrndup(handlereq.consumer_label, in linehandle_create() 375 sizeof(handlereq.consumer_label) - 1, in linehandle_create() 2311 if (eventreq.consumer_label[0] != '\0') { in lineevent_create() 2313 le->label = kstrndup(eventreq.consumer_label, in lineevent_create() 2314 sizeof(eventreq.consumer_label) - 1, in lineevent_create()
|