Lines Matching refs:gsb
378 struct gsb_buffer *gsb = (struct gsb_buffer *)value64; in mshw0011_space_handler() local
403 if (gsb->cmd.arg0 == MSHW0011_CMD_DEST_ADP1 && in mshw0011_space_handler()
404 gsb->cmd.arg1 == MSHW0011_CMD_ADP1_PSR) { in mshw0011_space_handler()
415 if (gsb->cmd.arg0 != MSHW0011_CMD_DEST_BAT0) { in mshw0011_space_handler()
420 switch (gsb->cmd.arg1) { in mshw0011_space_handler()
424 ret = mshw0011_bix(cdata, &gsb->bix); in mshw0011_space_handler()
427 cdata->trip_point = gsb->cmd.arg2; in mshw0011_space_handler()
430 ret = mshw0011_bst(cdata, &gsb->bst); in mshw0011_space_handler()
433 dev_info(&cdata->bat0->dev, "command(0x%02x) is not supported.\n", gsb->cmd.arg1); in mshw0011_space_handler()
439 gsb->ret = status; in mshw0011_space_handler()
440 gsb->status = 0; in mshw0011_space_handler()