Lines Matching refs:sei_area
279 static void chsc_process_sei_link_incident(struct chsc_sei_area *sei_area)
285 sei_area->rs, sei_area->rsid);
286 if (sei_area->rs != 4)
288 id = __get_chpid_from_lir(sei_area->ccdf);
298 static void chsc_process_sei_res_acc(struct chsc_sei_area *sei_area)
305 "rs_id=%04x)\n", sei_area->rs, sei_area->rsid);
306 if (sei_area->rs != 4)
309 chpid.id = sei_area->rsid;
318 if ((sei_area->vf & 0xc0) != 0) {
319 link.fla = sei_area->fla;
320 if ((sei_area->vf & 0xc0) == 0xc0)
336 static void chsc_process_sei_chp_config(struct chsc_sei_area *sei_area)
344 if (sei_area->rs != 0)
346 data = (struct chp_config_data *) &(sei_area->ccdf);
368 static void chsc_process_sei(struct chsc_sei_area *sei_area)
371 if (sei_area->flags & 0x40) {
376 switch (sei_area->cc) {
378 chsc_process_sei_link_incident(sei_area);
381 chsc_process_sei_res_acc(sei_area);
384 chsc_process_sei_chp_config(sei_area);
388 sei_area->cc);
395 struct chsc_sei_area *sei_area;
409 sei_area = sei_page;
413 memset(sei_area, 0, sizeof(*sei_area));
414 sei_area->request.length = 0x0010;
415 sei_area->request.code = 0x000e;
416 if (chsc(sei_area))
419 if (sei_area->response.code == 0x0001) {
421 chsc_process_sei(sei_area);
424 sei_area->response.code);
427 } while (sei_area->flags & 0x80);