Lines Matching refs:DIR
26 if printf '\000' >"$DIR"/trigger_request 2> /dev/null; then
31 if [ ! -e "$DIR"/trigger_async_request ]; then
35 if printf '\000' >"$DIR"/trigger_async_request 2> /dev/null; then
42 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then
57 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then
71 if [ ! -e "$DIR"/trigger_async_request ]; then
75 if ! echo -n "$NAME" >"$DIR"/trigger_async_request ; then
92 if [ ! -f $DIR/reset ]; then
106 echo 1 > $DIR/reset
111 echo 1 > $DIR/release_all_firmware
116 echo -n $1 > $DIR/config_name
121 echo 1 > $DIR/config_sync_direct
126 echo 0 > $DIR/config_sync_direct
131 echo 1 > $DIR/config_send_uevent
136 echo 0 > $DIR/config_send_uevent
141 echo -n 1 > $DIR/trigger_batched_requests 2>/dev/null
146 echo -n 1 > $DIR/trigger_batched_requests_async 2> /dev/null
151 echo -n $1 > $DIR/config_read_fw_idx 2> /dev/null
162 if ! diff -q -Z "$FW" $DIR/read_firmware 2>/dev/null ; then
174 if diff -q -Z "$FW" $DIR/read_firmware 2>/dev/null ; then
220 while [ ! -e "$DIR"/"$name"/loading ]; do
225 echo "$DIR/$name/loading" >&2
229 echo -1 >"$DIR"/"$name"/loading