Lines Matching full:args

36 	union nvif_conn_event_args args;  in nvkm_uconn_uevent_gsp()  local
38 args.v0.version = 0; in nvkm_uconn_uevent_gsp()
39 args.v0.types = 0; in nvkm_uconn_uevent_gsp()
41 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_gsp()
43 args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG; in nvkm_uconn_uevent_gsp()
45 args.v0.types |= NVIF_CONN_EVENT_V0_IRQ; in nvkm_uconn_uevent_gsp()
47 return object->client->event(token, &args, sizeof(args.v0)); in nvkm_uconn_uevent_gsp()
53 union nvif_conn_event_args args; in nvkm_uconn_uevent_aux() local
55 args.v0.version = 0; in nvkm_uconn_uevent_aux()
56 args.v0.types = 0; in nvkm_uconn_uevent_aux()
58 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_aux()
60 args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG; in nvkm_uconn_uevent_aux()
62 args.v0.types |= NVIF_CONN_EVENT_V0_IRQ; in nvkm_uconn_uevent_aux()
64 return object->client->event(token, &args, sizeof(args.v0)); in nvkm_uconn_uevent_aux()
70 union nvif_conn_event_args args; in nvkm_uconn_uevent_gpio() local
72 args.v0.version = 0; in nvkm_uconn_uevent_gpio()
73 args.v0.types = 0; in nvkm_uconn_uevent_gpio()
75 args.v0.types |= NVIF_CONN_EVENT_V0_PLUG; in nvkm_uconn_uevent_gpio()
77 args.v0.types |= NVIF_CONN_EVENT_V0_UNPLUG; in nvkm_uconn_uevent_gpio()
79 return object->client->event(token, &args, sizeof(args.v0)); in nvkm_uconn_uevent_gpio()
101 union nvif_conn_event_args *args = argv; in nvkm_uconn_uevent() local
110 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uconn_uevent()
122 if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG ) bits |= NVKM_DPYID_PLUG; in nvkm_uconn_uevent()
123 if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_DPYID_UNPLUG; in nvkm_uconn_uevent()
124 if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ ) bits |= NVKM_DPYID_IRQ; in nvkm_uconn_uevent()
131 if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG ) bits |= NVKM_I2C_PLUG; in nvkm_uconn_uevent()
132 if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_I2C_UNPLUG; in nvkm_uconn_uevent()
133 if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ ) bits |= NVKM_I2C_IRQ; in nvkm_uconn_uevent()
139 if (args->v0.types & NVIF_CONN_EVENT_V0_PLUG ) bits |= NVKM_GPIO_HI; in nvkm_uconn_uevent()
140 if (args->v0.types & NVIF_CONN_EVENT_V0_UNPLUG) bits |= NVKM_GPIO_LO; in nvkm_uconn_uevent()
141 if (args->v0.types & NVIF_CONN_EVENT_V0_IRQ) { in nvkm_uconn_uevent()
174 union nvif_conn_args *args = argv; in nvkm_uconn_new() local
177 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uconn_new()
181 if (cont->index == args->v0.id) { in nvkm_uconn_new()
194 case DCB_CONNECTOR_VGA : args->v0.type = NVIF_CONN_V0_VGA; break; in nvkm_uconn_new()
197 case DCB_CONNECTOR_TV_3 : args->v0.type = NVIF_CONN_V0_TV; break; in nvkm_uconn_new()
200 case DCB_CONNECTOR_DVI_I : args->v0.type = NVIF_CONN_V0_DVI_I; break; in nvkm_uconn_new()
201 case DCB_CONNECTOR_DVI_D : args->v0.type = NVIF_CONN_V0_DVI_D; break; in nvkm_uconn_new()
202 case DCB_CONNECTOR_LVDS : args->v0.type = NVIF_CONN_V0_LVDS; break; in nvkm_uconn_new()
203 case DCB_CONNECTOR_LVDS_SPWG: args->v0.type = NVIF_CONN_V0_LVDS_SPWG; break; in nvkm_uconn_new()
208 case DCB_CONNECTOR_USB_C : args->v0.type = NVIF_CONN_V0_DP; break; in nvkm_uconn_new()
209 case DCB_CONNECTOR_eDP : args->v0.type = NVIF_CONN_V0_EDP; break; in nvkm_uconn_new()
212 case DCB_CONNECTOR_HDMI_C : args->v0.type = NVIF_CONN_V0_HDMI; break; in nvkm_uconn_new()