Lines Matching refs:ks
332 struct ks0127 *ks = to_ks0127(sd); in ks0127_write() local
338 ks->regs[reg] = val; in ks0127_write()
345 struct ks0127 *ks = to_ks0127(sd); in ks0127_and_or() local
347 u8 val = ks->regs[reg]; in ks0127_and_or()
404 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_routing() local
480 if (ks->norm & V4L2_STD_525_60) in ks0127_s_routing()
536 struct ks0127 *ks = to_ks0127(sd); in ks0127_s_std() local
541 ks->norm = std; in ks0127_s_std()
655 struct ks0127 *ks; in ks0127_probe() local
662 ks = devm_kzalloc(&client->dev, sizeof(*ks), GFP_KERNEL); in ks0127_probe()
663 if (ks == NULL) in ks0127_probe()
665 sd = &ks->sd; in ks0127_probe()