Searched refs:state_name (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/laptop/dslm/ |
| H A D | dslm.c | 49 static char *state_name(int i) in state_name() function 85 printf(" System is in state %s\n\n", state_name(last_state)); in measure() 104 state_name(curr_state)); in measure()
|
| /linux/drivers/platform/surface/ |
| H A D | surface_aggregator_tabletsw.c | 30 const char *(*state_name)(struct ssam_tablet_sw *sw, member 56 const char *(*state_name)(struct ssam_tablet_sw *sw, member 73 const char *state = sw->ops.state_name(sw, &sw->state); in state_show() 136 sw->ops.state_name = desc->ops.state_name; in ssam_tablet_sw_probe() 309 .state_name = ssam_kip_cover_state_name, 608 .state_name = ssam_pos_state_name,
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | pxa25x_udc.h | 144 static const char *state_name[] = { variable 178 label, state_name[the_controller->ep0state], udccs0, in dump_udccs0() 198 state_name[dev->ep0state], in dump_state()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_proto.c | 207 if (pp == NULL || pp->state_name == NULL) in ip_vs_state_name() 209 return pp->state_name(state); in ip_vs_state_name()
|
| H A D | ip_vs_proto_udp.c | 496 .state_name = udp_state_name,
|
| H A D | ip_vs_proto_sctp.c | 592 .state_name = sctp_state_name,
|
| H A D | ip_vs_proto_tcp.c | 740 .state_name = tcp_state_name,
|
| /linux/drivers/nvme/host/ |
| H A D | sysfs.c | 422 static const char *const state_name[] = { in nvme_sysfs_show_state() local 432 if (state < ARRAY_SIZE(state_name) && state_name[state]) in nvme_sysfs_show_state() 433 return sysfs_emit(buf, "%s\n", state_name[state]); in nvme_sysfs_show_state()
|
| /linux/drivers/scsi/ |
| H A D | scsi_transport_srp.c | 178 static const char *const state_name[] = { in show_srp_rport_state() local 188 (unsigned)state < ARRAY_SIZE(state_name) ? in show_srp_rport_state() 189 state_name[state] : "???"); in show_srp_rport_state()
|
| /linux/drivers/usb/host/ |
| H A D | xhci.c | 4789 char *state_name; in xhci_get_timeout_no_hub_lpm() local 4797 state_name = "U1"; in xhci_get_timeout_no_hub_lpm() 4803 state_name = "U2"; in xhci_get_timeout_no_hub_lpm() 4817 state_name, sel); in xhci_get_timeout_no_hub_lpm() 4821 state_name, pel); in xhci_get_timeout_no_hub_lpm() 5055 char *state_name; in xhci_calculate_lpm_timeout() local 5060 state_name = "U1"; in xhci_calculate_lpm_timeout() 5062 state_name = "U2"; in xhci_calculate_lpm_timeout() 5094 state_name, driver->name); in xhci_calculate_lpm_timeout()
|
| /linux/kernel/locking/ |
| H A D | lockdep.c | 2635 static inline const char *state_name(enum lock_usage_bit bit) in state_name() function 2861 state_name(backward_bit)); in check_irq_usage() 4156 this, 1, state_name(bit)); in check_usage_forwards() 4159 this, 1, state_name(read_bit)); in check_usage_forwards() 4191 this, 0, state_name(bit)); in check_usage_backwards() 4194 this, 0, state_name(read_bit)); in check_usage_backwards()
|
| /linux/include/net/ |
| H A D | ip_vs.h | 515 const char *(*state_name)(int state); member
|