Lines Matching refs:ul_arg2
207 ulong ul_arg2 = 0;
222 ul_arg2 = simple_strtoul(argv[2], NULL, 16);
237 chip = (uint8_t)ul_arg2;
243 ret = pca953x_set_dir(chip, (1 << ul_arg2),
244 PCA953X_DIR_IN << ul_arg2);
245 val = (pca953x_get_val(chip) & (1 << ul_arg2)) != 0;
250 printf("chip 0x%02x, pin 0x%lx = %d\n", chip, ul_arg2,
255 ret = pca953x_set_dir(chip, (1 << ul_arg2),
256 (PCA953X_DIR_OUT << ul_arg2));
258 ret = pca953x_set_val(chip, (1 << ul_arg2),
259 (ul_arg3 << ul_arg2));
265 ret = pca953x_set_pol(chip, (1 << ul_arg2),
266 (ul_arg3 << ul_arg2));