Searched refs:vccp (Results 1 – 2 of 2) sorted by relevance
1145 int vccp = nr - 6; in show_in_min() local1148 if ((nr == 6 || nr == 7) && vccp_limit_type[vccp]) { in show_in_min()1149 vid = LM93_VID_FROM_REG(data->vid[vccp]); in show_in_min()1150 rc = LM93_IN_MIN_FROM_REG(data->vccp_limits[vccp], vid); in show_in_min()1163 int vccp = nr - 6; in store_in_min() local1173 if ((nr == 6 || nr == 7) && vccp_limit_type[vccp]) { in store_in_min()1174 vid = LM93_VID_FROM_REG(data->vid[vccp]); in store_in_min()1175 data->vccp_limits[vccp] = (data->vccp_limits[vccp] & 0xf0) | in store_in_min()1177 lm93_write_byte(client, LM93_REG_VCCP_LIMIT_OFF(vccp), in store_in_min()1178 data->vccp_limits[vccp]); in store_in_min()[all …]
2142 hrz_vcc * vccp; // allocated late in hrz_open() local2447 vccp = kmalloc (sizeof(hrz_vcc), GFP_KERNEL); in hrz_open()2448 if (!vccp) { in hrz_open()2452 *vccp = vcc; in hrz_open()2480 kfree (vccp); in hrz_open()2498 kfree (vccp); in hrz_open()2506 atm_vcc->dev_data = (void *) vccp; in hrz_open()