Lines Matching refs:ks
345 struct ks0127 *ks = to_ks0127(sd); in ks0127_write() local
351 ks->regs[reg] = val; in ks0127_write()
358 struct ks0127 *ks = to_ks0127(sd); in ks0127_and_or() local
360 u8 val = ks->regs[reg]; in ks0127_and_or()
417 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_routing() local
493 if (ks->norm & V4L2_STD_525_60) in ks0127_s_routing()
549 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_std() local
554 ks->norm = std; in ks0127_s_std()
668 struct ks0127 *ks; in ks0127_probe() local
675 ks = devm_kzalloc(&client->dev, sizeof(*ks), GFP_KERNEL); in ks0127_probe()
676 if (ks == NULL) in ks0127_probe()
678 sd = &ks->sd; in ks0127_probe()