get_type
type = get_type("P");
type = get_type("N");
type = get_type(type_name);
u8 get_type[] = { 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
get_type[7] = dst_check_sum(get_type, 7);
if (dst_command(state, get_type, 8) < 0) {
static bool halbtc_get(void *void_btcoexist, u8 get_type, void *out_buf)
switch (get_type) {
bool (*btc_get)(void *btcoexist, u8 get_type, void *out_buf);
enum regulator_get_type get_type)
if (get_type >= MAX_GET_TYPE) {
dev_err(dev, "invalid type %d in %s\n", get_type, __func__);
const char *id, enum regulator_get_type get_type)
switch (get_type) {
if (get_type == EXCLUSIVE_GET && rdev->open_count) {
if (get_type == EXCLUSIVE_GET) {
enum regulator_get_type get_type)
ret = _regulator_get_common_check(dev, id, get_type);
return _regulator_get_common(rdev, dev, id, get_type);
struct regulator_bulk_data *consumers, enum regulator_get_type get_type)
consumers[i].supply, get_type);
int get_type)
enum regulator_get_type get_type)
ret = _regulator_bulk_get(dev, num_consumers, consumers, get_type);
regulator = _regulator_get(dev, id, get_type);
const char *id, int get_type)
regulator = _of_regulator_get(dev, node, id, get_type);
int get_type)
r = _devm_regulator_get(dev, id, get_type);
enum regulator_get_type get_type);
const char *id, enum regulator_get_type get_type);
enum regulator_get_type get_type);
struct regulator_bulk_data *consumers, enum regulator_get_type get_type);
const char *id, enum regulator_get_type get_type);
const char *id, enum regulator_get_type get_type)
ret = _regulator_get_common_check(dev, id, get_type);
return _regulator_get_common(r, dev, id, get_type);
u8 get_type, struct scatterlist *res_sg,
if (get_type != VIRTIO_ADMIN_CMD_DEV_PARTS_GET_TYPE_ALL)
data->type = get_type;
u8 get_type, struct scatterlist *res_sg, u32 *res_size);